@camstack/addon-provider-onvif 1.2.22 → 1.2.23

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 +138 -56
  2. package/dist/addon.mjs +138 -56
  3. package/package.json +1 -1
package/dist/addon.js CHANGED
@@ -7565,7 +7565,7 @@ var RecordingBandSchema = object({
7565
7565
  postBufferSec: number().min(0).optional()
7566
7566
  });
7567
7567
  ({
7568
- preBufferSec: 10,
7568
+ preBufferSec: 15,
7569
7569
  postBufferSec: 30
7570
7570
  }).postBufferSec * 1e3;
7571
7571
  /**
@@ -13559,128 +13559,103 @@ var COCO_TO_MACRO = {
13559
13559
  var AUDIO_MACRO_LABELS = [
13560
13560
  {
13561
13561
  id: "speech",
13562
- name: "Speech",
13563
- icon: "🗣️"
13562
+ name: "Speech"
13564
13563
  },
13565
13564
  {
13566
13565
  id: "scream",
13567
- name: "Scream / Shout",
13568
- icon: "😱"
13566
+ name: "Scream / Shout"
13569
13567
  },
13570
13568
  {
13571
13569
  id: "crying",
13572
- name: "Crying / Baby",
13573
- icon: "😢"
13570
+ name: "Crying / Baby"
13574
13571
  },
13575
13572
  {
13576
13573
  id: "laughter",
13577
- name: "Laughter",
13578
- icon: "😂"
13574
+ name: "Laughter"
13579
13575
  },
13580
13576
  {
13581
13577
  id: "music",
13582
- name: "Music",
13583
- icon: "🎵"
13578
+ name: "Music"
13584
13579
  },
13585
13580
  {
13586
13581
  id: "dog",
13587
- name: "Dog",
13588
- icon: "🐕"
13582
+ name: "Dog"
13589
13583
  },
13590
13584
  {
13591
13585
  id: "cat",
13592
- name: "Cat",
13593
- icon: "🐈"
13586
+ name: "Cat"
13594
13587
  },
13595
13588
  {
13596
13589
  id: "bird",
13597
- name: "Bird",
13598
- icon: "🐦"
13590
+ name: "Bird"
13599
13591
  },
13600
13592
  {
13601
13593
  id: "animal",
13602
- name: "Animal (other)",
13603
- icon: "🐾"
13594
+ name: "Animal (other)"
13604
13595
  },
13605
13596
  {
13606
13597
  id: "alarm",
13607
- name: "Alarm / Siren",
13608
- icon: "🚨"
13598
+ name: "Alarm / Siren"
13609
13599
  },
13610
13600
  {
13611
13601
  id: "doorbell",
13612
- name: "Doorbell / Knock",
13613
- icon: "🔔"
13602
+ name: "Doorbell / Knock"
13614
13603
  },
13615
13604
  {
13616
13605
  id: "glass_breaking",
13617
- name: "Glass Breaking",
13618
- icon: "💥"
13606
+ name: "Glass Breaking"
13619
13607
  },
13620
13608
  {
13621
13609
  id: "gunshot",
13622
- name: "Gunshot / Explosion",
13623
- icon: "💣"
13610
+ name: "Gunshot / Explosion"
13624
13611
  },
13625
13612
  {
13626
13613
  id: "vehicle",
13627
- name: "Vehicle",
13628
- icon: "🚗"
13614
+ name: "Vehicle"
13629
13615
  },
13630
13616
  {
13631
13617
  id: "siren",
13632
- name: "Emergency Siren",
13633
- icon: "🚑"
13618
+ name: "Emergency Siren"
13634
13619
  },
13635
13620
  {
13636
13621
  id: "fire",
13637
- name: "Fire / Smoke",
13638
- icon: "🔥"
13622
+ name: "Fire / Smoke"
13639
13623
  },
13640
13624
  {
13641
13625
  id: "water",
13642
- name: "Water",
13643
- icon: "💧"
13626
+ name: "Water"
13644
13627
  },
13645
13628
  {
13646
13629
  id: "wind",
13647
- name: "Wind / Weather",
13648
- icon: "🌬️"
13630
+ name: "Wind / Weather"
13649
13631
  },
13650
13632
  {
13651
13633
  id: "door",
13652
- name: "Door",
13653
- icon: "🚪"
13634
+ name: "Door"
13654
13635
  },
13655
13636
  {
13656
13637
  id: "footsteps",
13657
- name: "Footsteps",
13658
- icon: "👣"
13638
+ name: "Footsteps"
13659
13639
  },
13660
13640
  {
13661
13641
  id: "crowd",
13662
- name: "Crowd / Chatter",
13663
- icon: "👥"
13642
+ name: "Crowd / Chatter"
13664
13643
  },
13665
13644
  {
13666
13645
  id: "telephone",
13667
- name: "Telephone",
13668
- icon: "📞"
13646
+ name: "Telephone"
13669
13647
  },
13670
13648
  {
13671
13649
  id: "engine",
13672
- name: "Engine / Motor",
13673
- icon: "⚙️"
13650
+ name: "Engine / Motor"
13674
13651
  },
13675
13652
  {
13676
13653
  id: "tools",
13677
- name: "Tools / Construction",
13678
- icon: "🔨"
13654
+ name: "Tools / Construction"
13679
13655
  },
13680
13656
  {
13681
13657
  id: "silence",
13682
- name: "Silence",
13683
- icon: "🤫"
13658
+ name: "Silence"
13684
13659
  }
13685
13660
  ];
13686
13661
  var YAMNET_TO_MACRO = {
@@ -16144,7 +16119,7 @@ var TrackEnvelopeSchema = object({
16144
16119
  * `snapshots[]` references — megabytes across a page of tracks. `slim`
16145
16120
  * keeps every scalar the list surfaces actually render (ids, class(es),
16146
16121
  * label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
16147
- * zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
16122
+ * zonesVisited, bestEventId, envelope, hasFace, hasEmbeddedFace, hasRider) and returns `positions` /
16148
16123
  * `snapshots` as EMPTY arrays — detail views re-fetch the full row via
16149
16124
  * `getTrack`. Mirrors the event-store `projection` convention
16150
16125
  * (`getObjectEvents` et al.).
@@ -16439,6 +16414,35 @@ var TrackSchema = object({
16439
16414
  */
16440
16415
  hasFace: boolean().optional(),
16441
16416
  /**
16417
+ * This track has a face row IN THE GALLERY: a crop **and** an embedding — a
16418
+ * face an operator could ASSIGN to an identity.
16419
+ *
16420
+ * The STRICT twin of {@link hasFace}, and the pair only earns its keep
16421
+ * because the two disagree. `hasFace` is stamped at the TOP of the face
16422
+ * branch, before every gate, and means no more than "a face detector produced
16423
+ * a face detail". This one is stamped at the single moment the gallery row
16424
+ * LANDS — after `FaceRecognizer.onTrackEnd` successfully persists it, i.e.
16425
+ * past the embedding-magnitude verdict, the `minFacePx` detection gate, the
16426
+ * candidate gate, the imageless-track drop (no crop was ever captured) and
16427
+ * the crop-store drop. Everything between the detector and that insert can
16428
+ * legitimately refuse the face, so a flag written any earlier promises the
16429
+ * operator something to assign and delivers nothing.
16430
+ *
16431
+ * **Independent of recognition.** A face collected but never auto-matched is
16432
+ * still assignable — it is in fact the face an operator most wants to reach —
16433
+ * so this is NOT gated on `recognizedIdentityId`. Recognition lands in
16434
+ * `subLabel`; this says only that the raw material exists.
16435
+ *
16436
+ * **Set once, never cleared.** A track that produced a gallery row produced
16437
+ * one; deleting the row later is the gallery's business, not this flag's.
16438
+ *
16439
+ * **Absent ≠ false**, the same rule as {@link hasFace}: every row written
16440
+ * before the column omits it, and so does every server that predates the
16441
+ * field. A consumer must test `=== true` and render nothing otherwise —
16442
+ * never infer "no assignable face".
16443
+ */
16444
+ hasEmbeddedFace: boolean().optional(),
16445
+ /**
16442
16446
  * This subject CONTAINS a folded rider — a person the rider-pairing step
16443
16447
  * ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
16444
16448
  * so the passage is tracked once and as a VEHICLE.
@@ -17788,6 +17792,32 @@ var DetailResultSchema = object({
17788
17792
  /** FRAME-space bbox (already mapped back from crop space). */
17789
17793
  bbox: NativeCropBboxSchema.optional(),
17790
17794
  embedding: string().optional(),
17795
+ /**
17796
+ * L2 magnitude of the RAW pre-normalization embedding. Additive and optional
17797
+ * so an older runner that does not send it degrades to "unmeasurable", which
17798
+ * the consuming gate treats as accept — never as reject.
17799
+ */
17800
+ embeddingMagnitude: number().optional(),
17801
+ /**
17802
+ * Model that produced `embedding` — the SAME contract `labelModelId` has for
17803
+ * `label`, and for the same reason: the producing node is the only side that
17804
+ * knows which model actually ran, and re-deriving it downstream is exactly
17805
+ * the inference this model exists to forbid.
17806
+ *
17807
+ * Additive and optional, so a runner that predates it degrades to
17808
+ * "unmeasurable" rather than to a wrong answer — the consumer falls back to
17809
+ * its previous assumption instead of refusing.
17810
+ *
17811
+ * Its absence was not cosmetic. `FaceRecognizer` needs the probe's model id
17812
+ * to use `face-matcher`'s same-model gate (`sample.modelId !== probe.modelId`);
17813
+ * with nothing on the wire it took the id from the GALLERY, so the gate
17814
+ * compared the gallery against itself and could never fire. That turned the
17815
+ * one guard protecting the face feature space into a tautology, and it is
17816
+ * why swapping `face-embedding`'s model would NOT have stranded the enrolled
17817
+ * gallery as the catalog comment predicts — it would have scored the new
17818
+ * model's vectors against the old model's samples in one cosine space.
17819
+ */
17820
+ embeddingModelId: string().optional(),
17791
17821
  label: string().optional(),
17792
17822
  /**
17793
17823
  * The tier `label` occupies, copied VERBATIM from the producing step's
@@ -19252,6 +19282,7 @@ var snapshotCapability = {
19252
19282
  isBattery: boolean(),
19253
19283
  reason: _enum([
19254
19284
  "disabled",
19285
+ "offline",
19255
19286
  "sleeping",
19256
19287
  "unreachable",
19257
19288
  "waking"
@@ -19341,9 +19372,17 @@ targets: array(object({
19341
19372
  sleeping: boolean(),
19342
19373
  /** Current device state rendered over the cached frame. State images
19343
19374
  * remain authoritative even when their photographic background is
19344
- * old; null means the link must carry a current camera frame. */
19375
+ * old; null means the link must carry a current camera frame.
19376
+ *
19377
+ * **This is the ONLY source a surface may derive an inactive tile
19378
+ * from.** A client that reads a device's `online`/`disabled` flags and
19379
+ * draws its own verdict will disagree with the pixels it is painting
19380
+ * — the frame comes from here, and so must the sentence over it
19381
+ * (D190). Pair with `ageMs` for the age of the photograph behind the
19382
+ * state. */
19345
19383
  stateReason: _enum([
19346
19384
  "disabled",
19385
+ "offline",
19347
19386
  "sleeping",
19348
19387
  "unreachable",
19349
19388
  "waking"
@@ -33987,7 +34026,6 @@ var NC_AUDIO_DEFAULTS = {
33987
34026
  hitPercent: 60,
33988
34027
  samplingSeconds: 10
33989
34028
  };
33990
- new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
33991
34029
  new Set(["devices", "classes"]);
33992
34030
  NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
33993
34031
  /**
@@ -34221,6 +34259,39 @@ TimelapseRuleInputSchema.extend({
34221
34259
  createdAt: number(),
34222
34260
  updatedAt: number()
34223
34261
  });
34262
+ Object.freeze(Object.fromEntries([{
34263
+ stepId: "face-embedding",
34264
+ label: "Face recognition model",
34265
+ defaultModelId: "arcface-r100",
34266
+ indexName: "the enrolled face gallery",
34267
+ options: [
34268
+ {
34269
+ id: "arcface-r100",
34270
+ label: "ArcFace (ResNet34)"
34271
+ },
34272
+ {
34273
+ id: "auraface-r100",
34274
+ label: "AuraFace R100"
34275
+ },
34276
+ {
34277
+ id: "inception-resnet-v1",
34278
+ label: "Inception ResNet V1"
34279
+ }
34280
+ ]
34281
+ }, {
34282
+ stepId: "clip-embedding",
34283
+ label: "Semantic search model",
34284
+ defaultModelId: "mobileclip-s1",
34285
+ indexName: "the object semantic-search index",
34286
+ options: [{
34287
+ id: "mobileclip-s1",
34288
+ label: "MobileCLIP S1"
34289
+ }, {
34290
+ id: "mobileclip-s2",
34291
+ label: "MobileCLIP S2"
34292
+ }]
34293
+ }].map((s) => [s.stepId, s.defaultModelId])));
34294
+ string().min(1);
34224
34295
  object({
34225
34296
  /**
34226
34297
  * Fraction of the box's own size added on EACH side before cutting.
@@ -34241,10 +34312,21 @@ object({
34241
34312
  */
34242
34313
  square: boolean()
34243
34314
  });
34244
- ({
34315
+ /**
34316
+ * The convention in force when nobody has configured one — byte-for-byte the
34317
+ * behaviour of the pre-unification LIVE path (`DETAIL_CROP_PADDING_RATIO`).
34318
+ */
34319
+ var DEFAULT_DETAIL_CROP_CONVENTION = {
34245
34320
  paddingRatio: .15,
34246
34321
  square: false
34247
- }).paddingRatio;
34322
+ };
34323
+ Object.freeze({
34324
+ x: 0,
34325
+ y: 0,
34326
+ w: 1,
34327
+ h: 1
34328
+ });
34329
+ DEFAULT_DETAIL_CROP_CONVENTION.paddingRatio;
34248
34330
  /**
34249
34331
  * WHICH delivered frames the decode worker retains a native copy of.
34250
34332
  *
package/dist/addon.mjs CHANGED
@@ -7566,7 +7566,7 @@ var RecordingBandSchema = object({
7566
7566
  postBufferSec: number().min(0).optional()
7567
7567
  });
7568
7568
  ({
7569
- preBufferSec: 10,
7569
+ preBufferSec: 15,
7570
7570
  postBufferSec: 30
7571
7571
  }).postBufferSec * 1e3;
7572
7572
  /**
@@ -13560,128 +13560,103 @@ var COCO_TO_MACRO = {
13560
13560
  var AUDIO_MACRO_LABELS = [
13561
13561
  {
13562
13562
  id: "speech",
13563
- name: "Speech",
13564
- icon: "🗣️"
13563
+ name: "Speech"
13565
13564
  },
13566
13565
  {
13567
13566
  id: "scream",
13568
- name: "Scream / Shout",
13569
- icon: "😱"
13567
+ name: "Scream / Shout"
13570
13568
  },
13571
13569
  {
13572
13570
  id: "crying",
13573
- name: "Crying / Baby",
13574
- icon: "😢"
13571
+ name: "Crying / Baby"
13575
13572
  },
13576
13573
  {
13577
13574
  id: "laughter",
13578
- name: "Laughter",
13579
- icon: "😂"
13575
+ name: "Laughter"
13580
13576
  },
13581
13577
  {
13582
13578
  id: "music",
13583
- name: "Music",
13584
- icon: "🎵"
13579
+ name: "Music"
13585
13580
  },
13586
13581
  {
13587
13582
  id: "dog",
13588
- name: "Dog",
13589
- icon: "🐕"
13583
+ name: "Dog"
13590
13584
  },
13591
13585
  {
13592
13586
  id: "cat",
13593
- name: "Cat",
13594
- icon: "🐈"
13587
+ name: "Cat"
13595
13588
  },
13596
13589
  {
13597
13590
  id: "bird",
13598
- name: "Bird",
13599
- icon: "🐦"
13591
+ name: "Bird"
13600
13592
  },
13601
13593
  {
13602
13594
  id: "animal",
13603
- name: "Animal (other)",
13604
- icon: "🐾"
13595
+ name: "Animal (other)"
13605
13596
  },
13606
13597
  {
13607
13598
  id: "alarm",
13608
- name: "Alarm / Siren",
13609
- icon: "🚨"
13599
+ name: "Alarm / Siren"
13610
13600
  },
13611
13601
  {
13612
13602
  id: "doorbell",
13613
- name: "Doorbell / Knock",
13614
- icon: "🔔"
13603
+ name: "Doorbell / Knock"
13615
13604
  },
13616
13605
  {
13617
13606
  id: "glass_breaking",
13618
- name: "Glass Breaking",
13619
- icon: "💥"
13607
+ name: "Glass Breaking"
13620
13608
  },
13621
13609
  {
13622
13610
  id: "gunshot",
13623
- name: "Gunshot / Explosion",
13624
- icon: "💣"
13611
+ name: "Gunshot / Explosion"
13625
13612
  },
13626
13613
  {
13627
13614
  id: "vehicle",
13628
- name: "Vehicle",
13629
- icon: "🚗"
13615
+ name: "Vehicle"
13630
13616
  },
13631
13617
  {
13632
13618
  id: "siren",
13633
- name: "Emergency Siren",
13634
- icon: "🚑"
13619
+ name: "Emergency Siren"
13635
13620
  },
13636
13621
  {
13637
13622
  id: "fire",
13638
- name: "Fire / Smoke",
13639
- icon: "🔥"
13623
+ name: "Fire / Smoke"
13640
13624
  },
13641
13625
  {
13642
13626
  id: "water",
13643
- name: "Water",
13644
- icon: "💧"
13627
+ name: "Water"
13645
13628
  },
13646
13629
  {
13647
13630
  id: "wind",
13648
- name: "Wind / Weather",
13649
- icon: "🌬️"
13631
+ name: "Wind / Weather"
13650
13632
  },
13651
13633
  {
13652
13634
  id: "door",
13653
- name: "Door",
13654
- icon: "🚪"
13635
+ name: "Door"
13655
13636
  },
13656
13637
  {
13657
13638
  id: "footsteps",
13658
- name: "Footsteps",
13659
- icon: "👣"
13639
+ name: "Footsteps"
13660
13640
  },
13661
13641
  {
13662
13642
  id: "crowd",
13663
- name: "Crowd / Chatter",
13664
- icon: "👥"
13643
+ name: "Crowd / Chatter"
13665
13644
  },
13666
13645
  {
13667
13646
  id: "telephone",
13668
- name: "Telephone",
13669
- icon: "📞"
13647
+ name: "Telephone"
13670
13648
  },
13671
13649
  {
13672
13650
  id: "engine",
13673
- name: "Engine / Motor",
13674
- icon: "⚙️"
13651
+ name: "Engine / Motor"
13675
13652
  },
13676
13653
  {
13677
13654
  id: "tools",
13678
- name: "Tools / Construction",
13679
- icon: "🔨"
13655
+ name: "Tools / Construction"
13680
13656
  },
13681
13657
  {
13682
13658
  id: "silence",
13683
- name: "Silence",
13684
- icon: "🤫"
13659
+ name: "Silence"
13685
13660
  }
13686
13661
  ];
13687
13662
  var YAMNET_TO_MACRO = {
@@ -16145,7 +16120,7 @@ var TrackEnvelopeSchema = object({
16145
16120
  * `snapshots[]` references — megabytes across a page of tracks. `slim`
16146
16121
  * keeps every scalar the list surfaces actually render (ids, class(es),
16147
16122
  * label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
16148
- * zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
16123
+ * zonesVisited, bestEventId, envelope, hasFace, hasEmbeddedFace, hasRider) and returns `positions` /
16149
16124
  * `snapshots` as EMPTY arrays — detail views re-fetch the full row via
16150
16125
  * `getTrack`. Mirrors the event-store `projection` convention
16151
16126
  * (`getObjectEvents` et al.).
@@ -16440,6 +16415,35 @@ var TrackSchema = object({
16440
16415
  */
16441
16416
  hasFace: boolean().optional(),
16442
16417
  /**
16418
+ * This track has a face row IN THE GALLERY: a crop **and** an embedding — a
16419
+ * face an operator could ASSIGN to an identity.
16420
+ *
16421
+ * The STRICT twin of {@link hasFace}, and the pair only earns its keep
16422
+ * because the two disagree. `hasFace` is stamped at the TOP of the face
16423
+ * branch, before every gate, and means no more than "a face detector produced
16424
+ * a face detail". This one is stamped at the single moment the gallery row
16425
+ * LANDS — after `FaceRecognizer.onTrackEnd` successfully persists it, i.e.
16426
+ * past the embedding-magnitude verdict, the `minFacePx` detection gate, the
16427
+ * candidate gate, the imageless-track drop (no crop was ever captured) and
16428
+ * the crop-store drop. Everything between the detector and that insert can
16429
+ * legitimately refuse the face, so a flag written any earlier promises the
16430
+ * operator something to assign and delivers nothing.
16431
+ *
16432
+ * **Independent of recognition.** A face collected but never auto-matched is
16433
+ * still assignable — it is in fact the face an operator most wants to reach —
16434
+ * so this is NOT gated on `recognizedIdentityId`. Recognition lands in
16435
+ * `subLabel`; this says only that the raw material exists.
16436
+ *
16437
+ * **Set once, never cleared.** A track that produced a gallery row produced
16438
+ * one; deleting the row later is the gallery's business, not this flag's.
16439
+ *
16440
+ * **Absent ≠ false**, the same rule as {@link hasFace}: every row written
16441
+ * before the column omits it, and so does every server that predates the
16442
+ * field. A consumer must test `=== true` and render nothing otherwise —
16443
+ * never infer "no assignable face".
16444
+ */
16445
+ hasEmbeddedFace: boolean().optional(),
16446
+ /**
16443
16447
  * This subject CONTAINS a folded rider — a person the rider-pairing step
16444
16448
  * ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
16445
16449
  * so the passage is tracked once and as a VEHICLE.
@@ -17789,6 +17793,32 @@ var DetailResultSchema = object({
17789
17793
  /** FRAME-space bbox (already mapped back from crop space). */
17790
17794
  bbox: NativeCropBboxSchema.optional(),
17791
17795
  embedding: string().optional(),
17796
+ /**
17797
+ * L2 magnitude of the RAW pre-normalization embedding. Additive and optional
17798
+ * so an older runner that does not send it degrades to "unmeasurable", which
17799
+ * the consuming gate treats as accept — never as reject.
17800
+ */
17801
+ embeddingMagnitude: number().optional(),
17802
+ /**
17803
+ * Model that produced `embedding` — the SAME contract `labelModelId` has for
17804
+ * `label`, and for the same reason: the producing node is the only side that
17805
+ * knows which model actually ran, and re-deriving it downstream is exactly
17806
+ * the inference this model exists to forbid.
17807
+ *
17808
+ * Additive and optional, so a runner that predates it degrades to
17809
+ * "unmeasurable" rather than to a wrong answer — the consumer falls back to
17810
+ * its previous assumption instead of refusing.
17811
+ *
17812
+ * Its absence was not cosmetic. `FaceRecognizer` needs the probe's model id
17813
+ * to use `face-matcher`'s same-model gate (`sample.modelId !== probe.modelId`);
17814
+ * with nothing on the wire it took the id from the GALLERY, so the gate
17815
+ * compared the gallery against itself and could never fire. That turned the
17816
+ * one guard protecting the face feature space into a tautology, and it is
17817
+ * why swapping `face-embedding`'s model would NOT have stranded the enrolled
17818
+ * gallery as the catalog comment predicts — it would have scored the new
17819
+ * model's vectors against the old model's samples in one cosine space.
17820
+ */
17821
+ embeddingModelId: string().optional(),
17792
17822
  label: string().optional(),
17793
17823
  /**
17794
17824
  * The tier `label` occupies, copied VERBATIM from the producing step's
@@ -19253,6 +19283,7 @@ var snapshotCapability = {
19253
19283
  isBattery: boolean(),
19254
19284
  reason: _enum([
19255
19285
  "disabled",
19286
+ "offline",
19256
19287
  "sleeping",
19257
19288
  "unreachable",
19258
19289
  "waking"
@@ -19342,9 +19373,17 @@ targets: array(object({
19342
19373
  sleeping: boolean(),
19343
19374
  /** Current device state rendered over the cached frame. State images
19344
19375
  * remain authoritative even when their photographic background is
19345
- * old; null means the link must carry a current camera frame. */
19376
+ * old; null means the link must carry a current camera frame.
19377
+ *
19378
+ * **This is the ONLY source a surface may derive an inactive tile
19379
+ * from.** A client that reads a device's `online`/`disabled` flags and
19380
+ * draws its own verdict will disagree with the pixels it is painting
19381
+ * — the frame comes from here, and so must the sentence over it
19382
+ * (D190). Pair with `ageMs` for the age of the photograph behind the
19383
+ * state. */
19346
19384
  stateReason: _enum([
19347
19385
  "disabled",
19386
+ "offline",
19348
19387
  "sleeping",
19349
19388
  "unreachable",
19350
19389
  "waking"
@@ -33988,7 +34027,6 @@ var NC_AUDIO_DEFAULTS = {
33988
34027
  hitPercent: 60,
33989
34028
  samplingSeconds: 10
33990
34029
  };
33991
- new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
33992
34030
  new Set(["devices", "classes"]);
33993
34031
  NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
33994
34032
  /**
@@ -34222,6 +34260,39 @@ TimelapseRuleInputSchema.extend({
34222
34260
  createdAt: number(),
34223
34261
  updatedAt: number()
34224
34262
  });
34263
+ Object.freeze(Object.fromEntries([{
34264
+ stepId: "face-embedding",
34265
+ label: "Face recognition model",
34266
+ defaultModelId: "arcface-r100",
34267
+ indexName: "the enrolled face gallery",
34268
+ options: [
34269
+ {
34270
+ id: "arcface-r100",
34271
+ label: "ArcFace (ResNet34)"
34272
+ },
34273
+ {
34274
+ id: "auraface-r100",
34275
+ label: "AuraFace R100"
34276
+ },
34277
+ {
34278
+ id: "inception-resnet-v1",
34279
+ label: "Inception ResNet V1"
34280
+ }
34281
+ ]
34282
+ }, {
34283
+ stepId: "clip-embedding",
34284
+ label: "Semantic search model",
34285
+ defaultModelId: "mobileclip-s1",
34286
+ indexName: "the object semantic-search index",
34287
+ options: [{
34288
+ id: "mobileclip-s1",
34289
+ label: "MobileCLIP S1"
34290
+ }, {
34291
+ id: "mobileclip-s2",
34292
+ label: "MobileCLIP S2"
34293
+ }]
34294
+ }].map((s) => [s.stepId, s.defaultModelId])));
34295
+ string().min(1);
34225
34296
  object({
34226
34297
  /**
34227
34298
  * Fraction of the box's own size added on EACH side before cutting.
@@ -34242,10 +34313,21 @@ object({
34242
34313
  */
34243
34314
  square: boolean()
34244
34315
  });
34245
- ({
34316
+ /**
34317
+ * The convention in force when nobody has configured one — byte-for-byte the
34318
+ * behaviour of the pre-unification LIVE path (`DETAIL_CROP_PADDING_RATIO`).
34319
+ */
34320
+ var DEFAULT_DETAIL_CROP_CONVENTION = {
34246
34321
  paddingRatio: .15,
34247
34322
  square: false
34248
- }).paddingRatio;
34323
+ };
34324
+ Object.freeze({
34325
+ x: 0,
34326
+ y: 0,
34327
+ w: 1,
34328
+ h: 1
34329
+ });
34330
+ DEFAULT_DETAIL_CROP_CONVENTION.paddingRatio;
34249
34331
  /**
34250
34332
  * WHICH delivered frames the decode worker retains a native copy of.
34251
34333
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-onvif",
3
- "version": "1.2.22",
3
+ "version": "1.2.23",
4
4
  "description": "ONVIF camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",