@camstack/addon-provider-velux 0.2.23 → 0.2.24

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
@@ -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
  /**
@@ -13769,128 +13769,103 @@ var COCO_TO_MACRO = {
13769
13769
  var AUDIO_MACRO_LABELS = [
13770
13770
  {
13771
13771
  id: "speech",
13772
- name: "Speech",
13773
- icon: "🗣️"
13772
+ name: "Speech"
13774
13773
  },
13775
13774
  {
13776
13775
  id: "scream",
13777
- name: "Scream / Shout",
13778
- icon: "😱"
13776
+ name: "Scream / Shout"
13779
13777
  },
13780
13778
  {
13781
13779
  id: "crying",
13782
- name: "Crying / Baby",
13783
- icon: "😢"
13780
+ name: "Crying / Baby"
13784
13781
  },
13785
13782
  {
13786
13783
  id: "laughter",
13787
- name: "Laughter",
13788
- icon: "😂"
13784
+ name: "Laughter"
13789
13785
  },
13790
13786
  {
13791
13787
  id: "music",
13792
- name: "Music",
13793
- icon: "🎵"
13788
+ name: "Music"
13794
13789
  },
13795
13790
  {
13796
13791
  id: "dog",
13797
- name: "Dog",
13798
- icon: "🐕"
13792
+ name: "Dog"
13799
13793
  },
13800
13794
  {
13801
13795
  id: "cat",
13802
- name: "Cat",
13803
- icon: "🐈"
13796
+ name: "Cat"
13804
13797
  },
13805
13798
  {
13806
13799
  id: "bird",
13807
- name: "Bird",
13808
- icon: "🐦"
13800
+ name: "Bird"
13809
13801
  },
13810
13802
  {
13811
13803
  id: "animal",
13812
- name: "Animal (other)",
13813
- icon: "🐾"
13804
+ name: "Animal (other)"
13814
13805
  },
13815
13806
  {
13816
13807
  id: "alarm",
13817
- name: "Alarm / Siren",
13818
- icon: "🚨"
13808
+ name: "Alarm / Siren"
13819
13809
  },
13820
13810
  {
13821
13811
  id: "doorbell",
13822
- name: "Doorbell / Knock",
13823
- icon: "🔔"
13812
+ name: "Doorbell / Knock"
13824
13813
  },
13825
13814
  {
13826
13815
  id: "glass_breaking",
13827
- name: "Glass Breaking",
13828
- icon: "💥"
13816
+ name: "Glass Breaking"
13829
13817
  },
13830
13818
  {
13831
13819
  id: "gunshot",
13832
- name: "Gunshot / Explosion",
13833
- icon: "💣"
13820
+ name: "Gunshot / Explosion"
13834
13821
  },
13835
13822
  {
13836
13823
  id: "vehicle",
13837
- name: "Vehicle",
13838
- icon: "🚗"
13824
+ name: "Vehicle"
13839
13825
  },
13840
13826
  {
13841
13827
  id: "siren",
13842
- name: "Emergency Siren",
13843
- icon: "🚑"
13828
+ name: "Emergency Siren"
13844
13829
  },
13845
13830
  {
13846
13831
  id: "fire",
13847
- name: "Fire / Smoke",
13848
- icon: "🔥"
13832
+ name: "Fire / Smoke"
13849
13833
  },
13850
13834
  {
13851
13835
  id: "water",
13852
- name: "Water",
13853
- icon: "💧"
13836
+ name: "Water"
13854
13837
  },
13855
13838
  {
13856
13839
  id: "wind",
13857
- name: "Wind / Weather",
13858
- icon: "🌬️"
13840
+ name: "Wind / Weather"
13859
13841
  },
13860
13842
  {
13861
13843
  id: "door",
13862
- name: "Door",
13863
- icon: "🚪"
13844
+ name: "Door"
13864
13845
  },
13865
13846
  {
13866
13847
  id: "footsteps",
13867
- name: "Footsteps",
13868
- icon: "👣"
13848
+ name: "Footsteps"
13869
13849
  },
13870
13850
  {
13871
13851
  id: "crowd",
13872
- name: "Crowd / Chatter",
13873
- icon: "👥"
13852
+ name: "Crowd / Chatter"
13874
13853
  },
13875
13854
  {
13876
13855
  id: "telephone",
13877
- name: "Telephone",
13878
- icon: "📞"
13856
+ name: "Telephone"
13879
13857
  },
13880
13858
  {
13881
13859
  id: "engine",
13882
- name: "Engine / Motor",
13883
- icon: "⚙️"
13860
+ name: "Engine / Motor"
13884
13861
  },
13885
13862
  {
13886
13863
  id: "tools",
13887
- name: "Tools / Construction",
13888
- icon: "🔨"
13864
+ name: "Tools / Construction"
13889
13865
  },
13890
13866
  {
13891
13867
  id: "silence",
13892
- name: "Silence",
13893
- icon: "🤫"
13868
+ name: "Silence"
13894
13869
  }
13895
13870
  ];
13896
13871
  var YAMNET_TO_MACRO = {
@@ -16392,7 +16367,7 @@ var TrackEnvelopeSchema = object({
16392
16367
  * `snapshots[]` references — megabytes across a page of tracks. `slim`
16393
16368
  * keeps every scalar the list surfaces actually render (ids, class(es),
16394
16369
  * label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
16395
- * zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
16370
+ * zonesVisited, bestEventId, envelope, hasFace, hasEmbeddedFace, hasRider) and returns `positions` /
16396
16371
  * `snapshots` as EMPTY arrays — detail views re-fetch the full row via
16397
16372
  * `getTrack`. Mirrors the event-store `projection` convention
16398
16373
  * (`getObjectEvents` et al.).
@@ -16687,6 +16662,35 @@ var TrackSchema = object({
16687
16662
  */
16688
16663
  hasFace: boolean().optional(),
16689
16664
  /**
16665
+ * This track has a face row IN THE GALLERY: a crop **and** an embedding — a
16666
+ * face an operator could ASSIGN to an identity.
16667
+ *
16668
+ * The STRICT twin of {@link hasFace}, and the pair only earns its keep
16669
+ * because the two disagree. `hasFace` is stamped at the TOP of the face
16670
+ * branch, before every gate, and means no more than "a face detector produced
16671
+ * a face detail". This one is stamped at the single moment the gallery row
16672
+ * LANDS — after `FaceRecognizer.onTrackEnd` successfully persists it, i.e.
16673
+ * past the embedding-magnitude verdict, the `minFacePx` detection gate, the
16674
+ * candidate gate, the imageless-track drop (no crop was ever captured) and
16675
+ * the crop-store drop. Everything between the detector and that insert can
16676
+ * legitimately refuse the face, so a flag written any earlier promises the
16677
+ * operator something to assign and delivers nothing.
16678
+ *
16679
+ * **Independent of recognition.** A face collected but never auto-matched is
16680
+ * still assignable — it is in fact the face an operator most wants to reach —
16681
+ * so this is NOT gated on `recognizedIdentityId`. Recognition lands in
16682
+ * `subLabel`; this says only that the raw material exists.
16683
+ *
16684
+ * **Set once, never cleared.** A track that produced a gallery row produced
16685
+ * one; deleting the row later is the gallery's business, not this flag's.
16686
+ *
16687
+ * **Absent ≠ false**, the same rule as {@link hasFace}: every row written
16688
+ * before the column omits it, and so does every server that predates the
16689
+ * field. A consumer must test `=== true` and render nothing otherwise —
16690
+ * never infer "no assignable face".
16691
+ */
16692
+ hasEmbeddedFace: boolean().optional(),
16693
+ /**
16690
16694
  * This subject CONTAINS a folded rider — a person the rider-pairing step
16691
16695
  * ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
16692
16696
  * so the passage is tracked once and as a VEHICLE.
@@ -18076,6 +18080,32 @@ var DetailResultSchema = object({
18076
18080
  /** FRAME-space bbox (already mapped back from crop space). */
18077
18081
  bbox: NativeCropBboxSchema.optional(),
18078
18082
  embedding: string().optional(),
18083
+ /**
18084
+ * L2 magnitude of the RAW pre-normalization embedding. Additive and optional
18085
+ * so an older runner that does not send it degrades to "unmeasurable", which
18086
+ * the consuming gate treats as accept — never as reject.
18087
+ */
18088
+ embeddingMagnitude: number().optional(),
18089
+ /**
18090
+ * Model that produced `embedding` — the SAME contract `labelModelId` has for
18091
+ * `label`, and for the same reason: the producing node is the only side that
18092
+ * knows which model actually ran, and re-deriving it downstream is exactly
18093
+ * the inference this model exists to forbid.
18094
+ *
18095
+ * Additive and optional, so a runner that predates it degrades to
18096
+ * "unmeasurable" rather than to a wrong answer — the consumer falls back to
18097
+ * its previous assumption instead of refusing.
18098
+ *
18099
+ * Its absence was not cosmetic. `FaceRecognizer` needs the probe's model id
18100
+ * to use `face-matcher`'s same-model gate (`sample.modelId !== probe.modelId`);
18101
+ * with nothing on the wire it took the id from the GALLERY, so the gate
18102
+ * compared the gallery against itself and could never fire. That turned the
18103
+ * one guard protecting the face feature space into a tautology, and it is
18104
+ * why swapping `face-embedding`'s model would NOT have stranded the enrolled
18105
+ * gallery as the catalog comment predicts — it would have scored the new
18106
+ * model's vectors against the old model's samples in one cosine space.
18107
+ */
18108
+ embeddingModelId: string().optional(),
18079
18109
  label: string().optional(),
18080
18110
  /**
18081
18111
  * The tier `label` occupies, copied VERBATIM from the producing step's
@@ -19486,6 +19516,7 @@ DeviceType.Camera, method(object({
19486
19516
  isBattery: boolean(),
19487
19517
  reason: _enum([
19488
19518
  "disabled",
19519
+ "offline",
19489
19520
  "sleeping",
19490
19521
  "unreachable",
19491
19522
  "waking"
@@ -19531,9 +19562,17 @@ targets: array(object({
19531
19562
  sleeping: boolean(),
19532
19563
  /** Current device state rendered over the cached frame. State images
19533
19564
  * remain authoritative even when their photographic background is
19534
- * old; null means the link must carry a current camera frame. */
19565
+ * old; null means the link must carry a current camera frame.
19566
+ *
19567
+ * **This is the ONLY source a surface may derive an inactive tile
19568
+ * from.** A client that reads a device's `online`/`disabled` flags and
19569
+ * draws its own verdict will disagree with the pixels it is painting
19570
+ * — the frame comes from here, and so must the sentence over it
19571
+ * (D190). Pair with `ageMs` for the age of the photograph behind the
19572
+ * state. */
19535
19573
  stateReason: _enum([
19536
19574
  "disabled",
19575
+ "offline",
19537
19576
  "sleeping",
19538
19577
  "unreachable",
19539
19578
  "waking"
@@ -37076,7 +37115,6 @@ var NC_AUDIO_DEFAULTS = {
37076
37115
  hitPercent: 60,
37077
37116
  samplingSeconds: 10
37078
37117
  };
37079
- new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
37080
37118
  new Set(["devices", "classes"]);
37081
37119
  NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
37082
37120
  /**
@@ -37310,6 +37348,39 @@ TimelapseRuleInputSchema.extend({
37310
37348
  createdAt: number(),
37311
37349
  updatedAt: number()
37312
37350
  });
37351
+ Object.freeze(Object.fromEntries([{
37352
+ stepId: "face-embedding",
37353
+ label: "Face recognition model",
37354
+ defaultModelId: "arcface-r100",
37355
+ indexName: "the enrolled face gallery",
37356
+ options: [
37357
+ {
37358
+ id: "arcface-r100",
37359
+ label: "ArcFace (ResNet34)"
37360
+ },
37361
+ {
37362
+ id: "auraface-r100",
37363
+ label: "AuraFace R100"
37364
+ },
37365
+ {
37366
+ id: "inception-resnet-v1",
37367
+ label: "Inception ResNet V1"
37368
+ }
37369
+ ]
37370
+ }, {
37371
+ stepId: "clip-embedding",
37372
+ label: "Semantic search model",
37373
+ defaultModelId: "mobileclip-s1",
37374
+ indexName: "the object semantic-search index",
37375
+ options: [{
37376
+ id: "mobileclip-s1",
37377
+ label: "MobileCLIP S1"
37378
+ }, {
37379
+ id: "mobileclip-s2",
37380
+ label: "MobileCLIP S2"
37381
+ }]
37382
+ }].map((s) => [s.stepId, s.defaultModelId])));
37383
+ string().min(1);
37313
37384
  object({
37314
37385
  /**
37315
37386
  * Fraction of the box's own size added on EACH side before cutting.
@@ -37330,10 +37401,21 @@ object({
37330
37401
  */
37331
37402
  square: boolean()
37332
37403
  });
37333
- ({
37404
+ /**
37405
+ * The convention in force when nobody has configured one — byte-for-byte the
37406
+ * behaviour of the pre-unification LIVE path (`DETAIL_CROP_PADDING_RATIO`).
37407
+ */
37408
+ var DEFAULT_DETAIL_CROP_CONVENTION = {
37334
37409
  paddingRatio: .15,
37335
37410
  square: false
37336
- }).paddingRatio;
37411
+ };
37412
+ Object.freeze({
37413
+ x: 0,
37414
+ y: 0,
37415
+ w: 1,
37416
+ h: 1
37417
+ });
37418
+ DEFAULT_DETAIL_CROP_CONVENTION.paddingRatio;
37337
37419
  /**
37338
37420
  * WHICH delivered frames the decode worker retains a native copy of.
37339
37421
  *
package/dist/addon.mjs 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
  /**
@@ -13768,128 +13768,103 @@ var COCO_TO_MACRO = {
13768
13768
  var AUDIO_MACRO_LABELS = [
13769
13769
  {
13770
13770
  id: "speech",
13771
- name: "Speech",
13772
- icon: "🗣️"
13771
+ name: "Speech"
13773
13772
  },
13774
13773
  {
13775
13774
  id: "scream",
13776
- name: "Scream / Shout",
13777
- icon: "😱"
13775
+ name: "Scream / Shout"
13778
13776
  },
13779
13777
  {
13780
13778
  id: "crying",
13781
- name: "Crying / Baby",
13782
- icon: "😢"
13779
+ name: "Crying / Baby"
13783
13780
  },
13784
13781
  {
13785
13782
  id: "laughter",
13786
- name: "Laughter",
13787
- icon: "😂"
13783
+ name: "Laughter"
13788
13784
  },
13789
13785
  {
13790
13786
  id: "music",
13791
- name: "Music",
13792
- icon: "🎵"
13787
+ name: "Music"
13793
13788
  },
13794
13789
  {
13795
13790
  id: "dog",
13796
- name: "Dog",
13797
- icon: "🐕"
13791
+ name: "Dog"
13798
13792
  },
13799
13793
  {
13800
13794
  id: "cat",
13801
- name: "Cat",
13802
- icon: "🐈"
13795
+ name: "Cat"
13803
13796
  },
13804
13797
  {
13805
13798
  id: "bird",
13806
- name: "Bird",
13807
- icon: "🐦"
13799
+ name: "Bird"
13808
13800
  },
13809
13801
  {
13810
13802
  id: "animal",
13811
- name: "Animal (other)",
13812
- icon: "🐾"
13803
+ name: "Animal (other)"
13813
13804
  },
13814
13805
  {
13815
13806
  id: "alarm",
13816
- name: "Alarm / Siren",
13817
- icon: "🚨"
13807
+ name: "Alarm / Siren"
13818
13808
  },
13819
13809
  {
13820
13810
  id: "doorbell",
13821
- name: "Doorbell / Knock",
13822
- icon: "🔔"
13811
+ name: "Doorbell / Knock"
13823
13812
  },
13824
13813
  {
13825
13814
  id: "glass_breaking",
13826
- name: "Glass Breaking",
13827
- icon: "💥"
13815
+ name: "Glass Breaking"
13828
13816
  },
13829
13817
  {
13830
13818
  id: "gunshot",
13831
- name: "Gunshot / Explosion",
13832
- icon: "💣"
13819
+ name: "Gunshot / Explosion"
13833
13820
  },
13834
13821
  {
13835
13822
  id: "vehicle",
13836
- name: "Vehicle",
13837
- icon: "🚗"
13823
+ name: "Vehicle"
13838
13824
  },
13839
13825
  {
13840
13826
  id: "siren",
13841
- name: "Emergency Siren",
13842
- icon: "🚑"
13827
+ name: "Emergency Siren"
13843
13828
  },
13844
13829
  {
13845
13830
  id: "fire",
13846
- name: "Fire / Smoke",
13847
- icon: "🔥"
13831
+ name: "Fire / Smoke"
13848
13832
  },
13849
13833
  {
13850
13834
  id: "water",
13851
- name: "Water",
13852
- icon: "💧"
13835
+ name: "Water"
13853
13836
  },
13854
13837
  {
13855
13838
  id: "wind",
13856
- name: "Wind / Weather",
13857
- icon: "🌬️"
13839
+ name: "Wind / Weather"
13858
13840
  },
13859
13841
  {
13860
13842
  id: "door",
13861
- name: "Door",
13862
- icon: "🚪"
13843
+ name: "Door"
13863
13844
  },
13864
13845
  {
13865
13846
  id: "footsteps",
13866
- name: "Footsteps",
13867
- icon: "👣"
13847
+ name: "Footsteps"
13868
13848
  },
13869
13849
  {
13870
13850
  id: "crowd",
13871
- name: "Crowd / Chatter",
13872
- icon: "👥"
13851
+ name: "Crowd / Chatter"
13873
13852
  },
13874
13853
  {
13875
13854
  id: "telephone",
13876
- name: "Telephone",
13877
- icon: "📞"
13855
+ name: "Telephone"
13878
13856
  },
13879
13857
  {
13880
13858
  id: "engine",
13881
- name: "Engine / Motor",
13882
- icon: "⚙️"
13859
+ name: "Engine / Motor"
13883
13860
  },
13884
13861
  {
13885
13862
  id: "tools",
13886
- name: "Tools / Construction",
13887
- icon: "🔨"
13863
+ name: "Tools / Construction"
13888
13864
  },
13889
13865
  {
13890
13866
  id: "silence",
13891
- name: "Silence",
13892
- icon: "🤫"
13867
+ name: "Silence"
13893
13868
  }
13894
13869
  ];
13895
13870
  var YAMNET_TO_MACRO = {
@@ -16391,7 +16366,7 @@ var TrackEnvelopeSchema = object({
16391
16366
  * `snapshots[]` references — megabytes across a page of tracks. `slim`
16392
16367
  * keeps every scalar the list surfaces actually render (ids, class(es),
16393
16368
  * label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
16394
- * zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
16369
+ * zonesVisited, bestEventId, envelope, hasFace, hasEmbeddedFace, hasRider) and returns `positions` /
16395
16370
  * `snapshots` as EMPTY arrays — detail views re-fetch the full row via
16396
16371
  * `getTrack`. Mirrors the event-store `projection` convention
16397
16372
  * (`getObjectEvents` et al.).
@@ -16686,6 +16661,35 @@ var TrackSchema = object({
16686
16661
  */
16687
16662
  hasFace: boolean().optional(),
16688
16663
  /**
16664
+ * This track has a face row IN THE GALLERY: a crop **and** an embedding — a
16665
+ * face an operator could ASSIGN to an identity.
16666
+ *
16667
+ * The STRICT twin of {@link hasFace}, and the pair only earns its keep
16668
+ * because the two disagree. `hasFace` is stamped at the TOP of the face
16669
+ * branch, before every gate, and means no more than "a face detector produced
16670
+ * a face detail". This one is stamped at the single moment the gallery row
16671
+ * LANDS — after `FaceRecognizer.onTrackEnd` successfully persists it, i.e.
16672
+ * past the embedding-magnitude verdict, the `minFacePx` detection gate, the
16673
+ * candidate gate, the imageless-track drop (no crop was ever captured) and
16674
+ * the crop-store drop. Everything between the detector and that insert can
16675
+ * legitimately refuse the face, so a flag written any earlier promises the
16676
+ * operator something to assign and delivers nothing.
16677
+ *
16678
+ * **Independent of recognition.** A face collected but never auto-matched is
16679
+ * still assignable — it is in fact the face an operator most wants to reach —
16680
+ * so this is NOT gated on `recognizedIdentityId`. Recognition lands in
16681
+ * `subLabel`; this says only that the raw material exists.
16682
+ *
16683
+ * **Set once, never cleared.** A track that produced a gallery row produced
16684
+ * one; deleting the row later is the gallery's business, not this flag's.
16685
+ *
16686
+ * **Absent ≠ false**, the same rule as {@link hasFace}: every row written
16687
+ * before the column omits it, and so does every server that predates the
16688
+ * field. A consumer must test `=== true` and render nothing otherwise —
16689
+ * never infer "no assignable face".
16690
+ */
16691
+ hasEmbeddedFace: boolean().optional(),
16692
+ /**
16689
16693
  * This subject CONTAINS a folded rider — a person the rider-pairing step
16690
16694
  * ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
16691
16695
  * so the passage is tracked once and as a VEHICLE.
@@ -18075,6 +18079,32 @@ var DetailResultSchema = object({
18075
18079
  /** FRAME-space bbox (already mapped back from crop space). */
18076
18080
  bbox: NativeCropBboxSchema.optional(),
18077
18081
  embedding: string().optional(),
18082
+ /**
18083
+ * L2 magnitude of the RAW pre-normalization embedding. Additive and optional
18084
+ * so an older runner that does not send it degrades to "unmeasurable", which
18085
+ * the consuming gate treats as accept — never as reject.
18086
+ */
18087
+ embeddingMagnitude: number().optional(),
18088
+ /**
18089
+ * Model that produced `embedding` — the SAME contract `labelModelId` has for
18090
+ * `label`, and for the same reason: the producing node is the only side that
18091
+ * knows which model actually ran, and re-deriving it downstream is exactly
18092
+ * the inference this model exists to forbid.
18093
+ *
18094
+ * Additive and optional, so a runner that predates it degrades to
18095
+ * "unmeasurable" rather than to a wrong answer — the consumer falls back to
18096
+ * its previous assumption instead of refusing.
18097
+ *
18098
+ * Its absence was not cosmetic. `FaceRecognizer` needs the probe's model id
18099
+ * to use `face-matcher`'s same-model gate (`sample.modelId !== probe.modelId`);
18100
+ * with nothing on the wire it took the id from the GALLERY, so the gate
18101
+ * compared the gallery against itself and could never fire. That turned the
18102
+ * one guard protecting the face feature space into a tautology, and it is
18103
+ * why swapping `face-embedding`'s model would NOT have stranded the enrolled
18104
+ * gallery as the catalog comment predicts — it would have scored the new
18105
+ * model's vectors against the old model's samples in one cosine space.
18106
+ */
18107
+ embeddingModelId: string().optional(),
18078
18108
  label: string().optional(),
18079
18109
  /**
18080
18110
  * The tier `label` occupies, copied VERBATIM from the producing step's
@@ -19485,6 +19515,7 @@ DeviceType.Camera, method(object({
19485
19515
  isBattery: boolean(),
19486
19516
  reason: _enum([
19487
19517
  "disabled",
19518
+ "offline",
19488
19519
  "sleeping",
19489
19520
  "unreachable",
19490
19521
  "waking"
@@ -19530,9 +19561,17 @@ targets: array(object({
19530
19561
  sleeping: boolean(),
19531
19562
  /** Current device state rendered over the cached frame. State images
19532
19563
  * remain authoritative even when their photographic background is
19533
- * old; null means the link must carry a current camera frame. */
19564
+ * old; null means the link must carry a current camera frame.
19565
+ *
19566
+ * **This is the ONLY source a surface may derive an inactive tile
19567
+ * from.** A client that reads a device's `online`/`disabled` flags and
19568
+ * draws its own verdict will disagree with the pixels it is painting
19569
+ * — the frame comes from here, and so must the sentence over it
19570
+ * (D190). Pair with `ageMs` for the age of the photograph behind the
19571
+ * state. */
19534
19572
  stateReason: _enum([
19535
19573
  "disabled",
19574
+ "offline",
19536
19575
  "sleeping",
19537
19576
  "unreachable",
19538
19577
  "waking"
@@ -37075,7 +37114,6 @@ var NC_AUDIO_DEFAULTS = {
37075
37114
  hitPercent: 60,
37076
37115
  samplingSeconds: 10
37077
37116
  };
37078
- new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
37079
37117
  new Set(["devices", "classes"]);
37080
37118
  NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
37081
37119
  /**
@@ -37309,6 +37347,39 @@ TimelapseRuleInputSchema.extend({
37309
37347
  createdAt: number(),
37310
37348
  updatedAt: number()
37311
37349
  });
37350
+ Object.freeze(Object.fromEntries([{
37351
+ stepId: "face-embedding",
37352
+ label: "Face recognition model",
37353
+ defaultModelId: "arcface-r100",
37354
+ indexName: "the enrolled face gallery",
37355
+ options: [
37356
+ {
37357
+ id: "arcface-r100",
37358
+ label: "ArcFace (ResNet34)"
37359
+ },
37360
+ {
37361
+ id: "auraface-r100",
37362
+ label: "AuraFace R100"
37363
+ },
37364
+ {
37365
+ id: "inception-resnet-v1",
37366
+ label: "Inception ResNet V1"
37367
+ }
37368
+ ]
37369
+ }, {
37370
+ stepId: "clip-embedding",
37371
+ label: "Semantic search model",
37372
+ defaultModelId: "mobileclip-s1",
37373
+ indexName: "the object semantic-search index",
37374
+ options: [{
37375
+ id: "mobileclip-s1",
37376
+ label: "MobileCLIP S1"
37377
+ }, {
37378
+ id: "mobileclip-s2",
37379
+ label: "MobileCLIP S2"
37380
+ }]
37381
+ }].map((s) => [s.stepId, s.defaultModelId])));
37382
+ string().min(1);
37312
37383
  object({
37313
37384
  /**
37314
37385
  * Fraction of the box's own size added on EACH side before cutting.
@@ -37329,10 +37400,21 @@ object({
37329
37400
  */
37330
37401
  square: boolean()
37331
37402
  });
37332
- ({
37403
+ /**
37404
+ * The convention in force when nobody has configured one — byte-for-byte the
37405
+ * behaviour of the pre-unification LIVE path (`DETAIL_CROP_PADDING_RATIO`).
37406
+ */
37407
+ var DEFAULT_DETAIL_CROP_CONVENTION = {
37333
37408
  paddingRatio: .15,
37334
37409
  square: false
37335
- }).paddingRatio;
37410
+ };
37411
+ Object.freeze({
37412
+ x: 0,
37413
+ y: 0,
37414
+ w: 1,
37415
+ h: 1
37416
+ });
37417
+ DEFAULT_DETAIL_CROP_CONVENTION.paddingRatio;
37336
37418
  /**
37337
37419
  * WHICH delivered frames the decode worker retains a native copy of.
37338
37420
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-velux",
3
- "version": "0.2.23",
3
+ "version": "0.2.24",
4
4
  "description": "Velux KLF-200 device-provider addon for CamStack — local-gateway window + shutter covers (positional, no tilt)",
5
5
  "keywords": [
6
6
  "camstack",