@camstack/addon-provider-wyze 0.2.26 → 0.2.28

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
@@ -7598,7 +7598,7 @@ var RecordingBandSchema = object({
7598
7598
  postBufferSec: number().min(0).optional()
7599
7599
  });
7600
7600
  ({
7601
- preBufferSec: 10,
7601
+ preBufferSec: 15,
7602
7602
  postBufferSec: 30
7603
7603
  }).postBufferSec * 1e3;
7604
7604
  /**
@@ -13818,128 +13818,103 @@ var COCO_TO_MACRO = {
13818
13818
  var AUDIO_MACRO_LABELS = [
13819
13819
  {
13820
13820
  id: "speech",
13821
- name: "Speech",
13822
- icon: "🗣️"
13821
+ name: "Speech"
13823
13822
  },
13824
13823
  {
13825
13824
  id: "scream",
13826
- name: "Scream / Shout",
13827
- icon: "😱"
13825
+ name: "Scream / Shout"
13828
13826
  },
13829
13827
  {
13830
13828
  id: "crying",
13831
- name: "Crying / Baby",
13832
- icon: "😢"
13829
+ name: "Crying / Baby"
13833
13830
  },
13834
13831
  {
13835
13832
  id: "laughter",
13836
- name: "Laughter",
13837
- icon: "😂"
13833
+ name: "Laughter"
13838
13834
  },
13839
13835
  {
13840
13836
  id: "music",
13841
- name: "Music",
13842
- icon: "🎵"
13837
+ name: "Music"
13843
13838
  },
13844
13839
  {
13845
13840
  id: "dog",
13846
- name: "Dog",
13847
- icon: "🐕"
13841
+ name: "Dog"
13848
13842
  },
13849
13843
  {
13850
13844
  id: "cat",
13851
- name: "Cat",
13852
- icon: "🐈"
13845
+ name: "Cat"
13853
13846
  },
13854
13847
  {
13855
13848
  id: "bird",
13856
- name: "Bird",
13857
- icon: "🐦"
13849
+ name: "Bird"
13858
13850
  },
13859
13851
  {
13860
13852
  id: "animal",
13861
- name: "Animal (other)",
13862
- icon: "🐾"
13853
+ name: "Animal (other)"
13863
13854
  },
13864
13855
  {
13865
13856
  id: "alarm",
13866
- name: "Alarm / Siren",
13867
- icon: "🚨"
13857
+ name: "Alarm / Siren"
13868
13858
  },
13869
13859
  {
13870
13860
  id: "doorbell",
13871
- name: "Doorbell / Knock",
13872
- icon: "🔔"
13861
+ name: "Doorbell / Knock"
13873
13862
  },
13874
13863
  {
13875
13864
  id: "glass_breaking",
13876
- name: "Glass Breaking",
13877
- icon: "💥"
13865
+ name: "Glass Breaking"
13878
13866
  },
13879
13867
  {
13880
13868
  id: "gunshot",
13881
- name: "Gunshot / Explosion",
13882
- icon: "💣"
13869
+ name: "Gunshot / Explosion"
13883
13870
  },
13884
13871
  {
13885
13872
  id: "vehicle",
13886
- name: "Vehicle",
13887
- icon: "🚗"
13873
+ name: "Vehicle"
13888
13874
  },
13889
13875
  {
13890
13876
  id: "siren",
13891
- name: "Emergency Siren",
13892
- icon: "🚑"
13877
+ name: "Emergency Siren"
13893
13878
  },
13894
13879
  {
13895
13880
  id: "fire",
13896
- name: "Fire / Smoke",
13897
- icon: "🔥"
13881
+ name: "Fire / Smoke"
13898
13882
  },
13899
13883
  {
13900
13884
  id: "water",
13901
- name: "Water",
13902
- icon: "💧"
13885
+ name: "Water"
13903
13886
  },
13904
13887
  {
13905
13888
  id: "wind",
13906
- name: "Wind / Weather",
13907
- icon: "🌬️"
13889
+ name: "Wind / Weather"
13908
13890
  },
13909
13891
  {
13910
13892
  id: "door",
13911
- name: "Door",
13912
- icon: "🚪"
13893
+ name: "Door"
13913
13894
  },
13914
13895
  {
13915
13896
  id: "footsteps",
13916
- name: "Footsteps",
13917
- icon: "👣"
13897
+ name: "Footsteps"
13918
13898
  },
13919
13899
  {
13920
13900
  id: "crowd",
13921
- name: "Crowd / Chatter",
13922
- icon: "👥"
13901
+ name: "Crowd / Chatter"
13923
13902
  },
13924
13903
  {
13925
13904
  id: "telephone",
13926
- name: "Telephone",
13927
- icon: "📞"
13905
+ name: "Telephone"
13928
13906
  },
13929
13907
  {
13930
13908
  id: "engine",
13931
- name: "Engine / Motor",
13932
- icon: "⚙️"
13909
+ name: "Engine / Motor"
13933
13910
  },
13934
13911
  {
13935
13912
  id: "tools",
13936
- name: "Tools / Construction",
13937
- icon: "🔨"
13913
+ name: "Tools / Construction"
13938
13914
  },
13939
13915
  {
13940
13916
  id: "silence",
13941
- name: "Silence",
13942
- icon: "🤫"
13917
+ name: "Silence"
13943
13918
  }
13944
13919
  ];
13945
13920
  var YAMNET_TO_MACRO = {
@@ -16441,7 +16416,7 @@ var TrackEnvelopeSchema = object({
16441
16416
  * `snapshots[]` references — megabytes across a page of tracks. `slim`
16442
16417
  * keeps every scalar the list surfaces actually render (ids, class(es),
16443
16418
  * label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
16444
- * zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
16419
+ * zonesVisited, bestEventId, envelope, hasFace, hasEmbeddedFace, hasRider) and returns `positions` /
16445
16420
  * `snapshots` as EMPTY arrays — detail views re-fetch the full row via
16446
16421
  * `getTrack`. Mirrors the event-store `projection` convention
16447
16422
  * (`getObjectEvents` et al.).
@@ -16736,6 +16711,35 @@ var TrackSchema = object({
16736
16711
  */
16737
16712
  hasFace: boolean().optional(),
16738
16713
  /**
16714
+ * This track has a face row IN THE GALLERY: a crop **and** an embedding — a
16715
+ * face an operator could ASSIGN to an identity.
16716
+ *
16717
+ * The STRICT twin of {@link hasFace}, and the pair only earns its keep
16718
+ * because the two disagree. `hasFace` is stamped at the TOP of the face
16719
+ * branch, before every gate, and means no more than "a face detector produced
16720
+ * a face detail". This one is stamped at the single moment the gallery row
16721
+ * LANDS — after `FaceRecognizer.onTrackEnd` successfully persists it, i.e.
16722
+ * past the embedding-magnitude verdict, the `minFacePx` detection gate, the
16723
+ * candidate gate, the imageless-track drop (no crop was ever captured) and
16724
+ * the crop-store drop. Everything between the detector and that insert can
16725
+ * legitimately refuse the face, so a flag written any earlier promises the
16726
+ * operator something to assign and delivers nothing.
16727
+ *
16728
+ * **Independent of recognition.** A face collected but never auto-matched is
16729
+ * still assignable — it is in fact the face an operator most wants to reach —
16730
+ * so this is NOT gated on `recognizedIdentityId`. Recognition lands in
16731
+ * `subLabel`; this says only that the raw material exists.
16732
+ *
16733
+ * **Set once, never cleared.** A track that produced a gallery row produced
16734
+ * one; deleting the row later is the gallery's business, not this flag's.
16735
+ *
16736
+ * **Absent ≠ false**, the same rule as {@link hasFace}: every row written
16737
+ * before the column omits it, and so does every server that predates the
16738
+ * field. A consumer must test `=== true` and render nothing otherwise —
16739
+ * never infer "no assignable face".
16740
+ */
16741
+ hasEmbeddedFace: boolean().optional(),
16742
+ /**
16739
16743
  * This subject CONTAINS a folded rider — a person the rider-pairing step
16740
16744
  * ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
16741
16745
  * so the passage is tracked once and as a VEHICLE.
@@ -18125,6 +18129,32 @@ var DetailResultSchema = object({
18125
18129
  /** FRAME-space bbox (already mapped back from crop space). */
18126
18130
  bbox: NativeCropBboxSchema.optional(),
18127
18131
  embedding: string().optional(),
18132
+ /**
18133
+ * L2 magnitude of the RAW pre-normalization embedding. Additive and optional
18134
+ * so an older runner that does not send it degrades to "unmeasurable", which
18135
+ * the consuming gate treats as accept — never as reject.
18136
+ */
18137
+ embeddingMagnitude: number().optional(),
18138
+ /**
18139
+ * Model that produced `embedding` — the SAME contract `labelModelId` has for
18140
+ * `label`, and for the same reason: the producing node is the only side that
18141
+ * knows which model actually ran, and re-deriving it downstream is exactly
18142
+ * the inference this model exists to forbid.
18143
+ *
18144
+ * Additive and optional, so a runner that predates it degrades to
18145
+ * "unmeasurable" rather than to a wrong answer — the consumer falls back to
18146
+ * its previous assumption instead of refusing.
18147
+ *
18148
+ * Its absence was not cosmetic. `FaceRecognizer` needs the probe's model id
18149
+ * to use `face-matcher`'s same-model gate (`sample.modelId !== probe.modelId`);
18150
+ * with nothing on the wire it took the id from the GALLERY, so the gate
18151
+ * compared the gallery against itself and could never fire. That turned the
18152
+ * one guard protecting the face feature space into a tautology, and it is
18153
+ * why swapping `face-embedding`'s model would NOT have stranded the enrolled
18154
+ * gallery as the catalog comment predicts — it would have scored the new
18155
+ * model's vectors against the old model's samples in one cosine space.
18156
+ */
18157
+ embeddingModelId: string().optional(),
18128
18158
  label: string().optional(),
18129
18159
  /**
18130
18160
  * The tier `label` occupies, copied VERBATIM from the producing step's
@@ -19589,6 +19619,7 @@ var snapshotCapability = {
19589
19619
  isBattery: boolean(),
19590
19620
  reason: _enum([
19591
19621
  "disabled",
19622
+ "offline",
19592
19623
  "sleeping",
19593
19624
  "unreachable",
19594
19625
  "waking"
@@ -19678,9 +19709,17 @@ targets: array(object({
19678
19709
  sleeping: boolean(),
19679
19710
  /** Current device state rendered over the cached frame. State images
19680
19711
  * remain authoritative even when their photographic background is
19681
- * old; null means the link must carry a current camera frame. */
19712
+ * old; null means the link must carry a current camera frame.
19713
+ *
19714
+ * **This is the ONLY source a surface may derive an inactive tile
19715
+ * from.** A client that reads a device's `online`/`disabled` flags and
19716
+ * draws its own verdict will disagree with the pixels it is painting
19717
+ * — the frame comes from here, and so must the sentence over it
19718
+ * (D190). Pair with `ageMs` for the age of the photograph behind the
19719
+ * state. */
19682
19720
  stateReason: _enum([
19683
19721
  "disabled",
19722
+ "offline",
19684
19723
  "sleeping",
19685
19724
  "unreachable",
19686
19725
  "waking"
@@ -37237,7 +37276,6 @@ var NC_AUDIO_DEFAULTS = {
37237
37276
  hitPercent: 60,
37238
37277
  samplingSeconds: 10
37239
37278
  };
37240
- new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
37241
37279
  new Set(["devices", "classes"]);
37242
37280
  NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
37243
37281
  /**
@@ -37471,6 +37509,39 @@ TimelapseRuleInputSchema.extend({
37471
37509
  createdAt: number(),
37472
37510
  updatedAt: number()
37473
37511
  });
37512
+ Object.freeze(Object.fromEntries([{
37513
+ stepId: "face-embedding",
37514
+ label: "Face recognition model",
37515
+ defaultModelId: "arcface-r100",
37516
+ indexName: "the enrolled face gallery",
37517
+ options: [
37518
+ {
37519
+ id: "arcface-r100",
37520
+ label: "ArcFace (ResNet34)"
37521
+ },
37522
+ {
37523
+ id: "auraface-r100",
37524
+ label: "AuraFace R100"
37525
+ },
37526
+ {
37527
+ id: "inception-resnet-v1",
37528
+ label: "Inception ResNet V1"
37529
+ }
37530
+ ]
37531
+ }, {
37532
+ stepId: "clip-embedding",
37533
+ label: "Semantic search model",
37534
+ defaultModelId: "mobileclip-s1",
37535
+ indexName: "the object semantic-search index",
37536
+ options: [{
37537
+ id: "mobileclip-s1",
37538
+ label: "MobileCLIP S1"
37539
+ }, {
37540
+ id: "mobileclip-s2",
37541
+ label: "MobileCLIP S2"
37542
+ }]
37543
+ }].map((s) => [s.stepId, s.defaultModelId])));
37544
+ string().min(1);
37474
37545
  object({
37475
37546
  /**
37476
37547
  * Fraction of the box's own size added on EACH side before cutting.
@@ -37491,10 +37562,21 @@ object({
37491
37562
  */
37492
37563
  square: boolean()
37493
37564
  });
37494
- ({
37565
+ /**
37566
+ * The convention in force when nobody has configured one — byte-for-byte the
37567
+ * behaviour of the pre-unification LIVE path (`DETAIL_CROP_PADDING_RATIO`).
37568
+ */
37569
+ var DEFAULT_DETAIL_CROP_CONVENTION = {
37495
37570
  paddingRatio: .15,
37496
37571
  square: false
37497
- }).paddingRatio;
37572
+ };
37573
+ Object.freeze({
37574
+ x: 0,
37575
+ y: 0,
37576
+ w: 1,
37577
+ h: 1
37578
+ });
37579
+ DEFAULT_DETAIL_CROP_CONVENTION.paddingRatio;
37498
37580
  /**
37499
37581
  * WHICH delivered frames the decode worker retains a native copy of.
37500
37582
  *
package/dist/addon.mjs CHANGED
@@ -7577,7 +7577,7 @@ var RecordingBandSchema = object({
7577
7577
  postBufferSec: number().min(0).optional()
7578
7578
  });
7579
7579
  ({
7580
- preBufferSec: 10,
7580
+ preBufferSec: 15,
7581
7581
  postBufferSec: 30
7582
7582
  }).postBufferSec * 1e3;
7583
7583
  /**
@@ -13797,128 +13797,103 @@ var COCO_TO_MACRO = {
13797
13797
  var AUDIO_MACRO_LABELS = [
13798
13798
  {
13799
13799
  id: "speech",
13800
- name: "Speech",
13801
- icon: "🗣️"
13800
+ name: "Speech"
13802
13801
  },
13803
13802
  {
13804
13803
  id: "scream",
13805
- name: "Scream / Shout",
13806
- icon: "😱"
13804
+ name: "Scream / Shout"
13807
13805
  },
13808
13806
  {
13809
13807
  id: "crying",
13810
- name: "Crying / Baby",
13811
- icon: "😢"
13808
+ name: "Crying / Baby"
13812
13809
  },
13813
13810
  {
13814
13811
  id: "laughter",
13815
- name: "Laughter",
13816
- icon: "😂"
13812
+ name: "Laughter"
13817
13813
  },
13818
13814
  {
13819
13815
  id: "music",
13820
- name: "Music",
13821
- icon: "🎵"
13816
+ name: "Music"
13822
13817
  },
13823
13818
  {
13824
13819
  id: "dog",
13825
- name: "Dog",
13826
- icon: "🐕"
13820
+ name: "Dog"
13827
13821
  },
13828
13822
  {
13829
13823
  id: "cat",
13830
- name: "Cat",
13831
- icon: "🐈"
13824
+ name: "Cat"
13832
13825
  },
13833
13826
  {
13834
13827
  id: "bird",
13835
- name: "Bird",
13836
- icon: "🐦"
13828
+ name: "Bird"
13837
13829
  },
13838
13830
  {
13839
13831
  id: "animal",
13840
- name: "Animal (other)",
13841
- icon: "🐾"
13832
+ name: "Animal (other)"
13842
13833
  },
13843
13834
  {
13844
13835
  id: "alarm",
13845
- name: "Alarm / Siren",
13846
- icon: "🚨"
13836
+ name: "Alarm / Siren"
13847
13837
  },
13848
13838
  {
13849
13839
  id: "doorbell",
13850
- name: "Doorbell / Knock",
13851
- icon: "🔔"
13840
+ name: "Doorbell / Knock"
13852
13841
  },
13853
13842
  {
13854
13843
  id: "glass_breaking",
13855
- name: "Glass Breaking",
13856
- icon: "💥"
13844
+ name: "Glass Breaking"
13857
13845
  },
13858
13846
  {
13859
13847
  id: "gunshot",
13860
- name: "Gunshot / Explosion",
13861
- icon: "💣"
13848
+ name: "Gunshot / Explosion"
13862
13849
  },
13863
13850
  {
13864
13851
  id: "vehicle",
13865
- name: "Vehicle",
13866
- icon: "🚗"
13852
+ name: "Vehicle"
13867
13853
  },
13868
13854
  {
13869
13855
  id: "siren",
13870
- name: "Emergency Siren",
13871
- icon: "🚑"
13856
+ name: "Emergency Siren"
13872
13857
  },
13873
13858
  {
13874
13859
  id: "fire",
13875
- name: "Fire / Smoke",
13876
- icon: "🔥"
13860
+ name: "Fire / Smoke"
13877
13861
  },
13878
13862
  {
13879
13863
  id: "water",
13880
- name: "Water",
13881
- icon: "💧"
13864
+ name: "Water"
13882
13865
  },
13883
13866
  {
13884
13867
  id: "wind",
13885
- name: "Wind / Weather",
13886
- icon: "🌬️"
13868
+ name: "Wind / Weather"
13887
13869
  },
13888
13870
  {
13889
13871
  id: "door",
13890
- name: "Door",
13891
- icon: "🚪"
13872
+ name: "Door"
13892
13873
  },
13893
13874
  {
13894
13875
  id: "footsteps",
13895
- name: "Footsteps",
13896
- icon: "👣"
13876
+ name: "Footsteps"
13897
13877
  },
13898
13878
  {
13899
13879
  id: "crowd",
13900
- name: "Crowd / Chatter",
13901
- icon: "👥"
13880
+ name: "Crowd / Chatter"
13902
13881
  },
13903
13882
  {
13904
13883
  id: "telephone",
13905
- name: "Telephone",
13906
- icon: "📞"
13884
+ name: "Telephone"
13907
13885
  },
13908
13886
  {
13909
13887
  id: "engine",
13910
- name: "Engine / Motor",
13911
- icon: "⚙️"
13888
+ name: "Engine / Motor"
13912
13889
  },
13913
13890
  {
13914
13891
  id: "tools",
13915
- name: "Tools / Construction",
13916
- icon: "🔨"
13892
+ name: "Tools / Construction"
13917
13893
  },
13918
13894
  {
13919
13895
  id: "silence",
13920
- name: "Silence",
13921
- icon: "🤫"
13896
+ name: "Silence"
13922
13897
  }
13923
13898
  ];
13924
13899
  var YAMNET_TO_MACRO = {
@@ -16420,7 +16395,7 @@ var TrackEnvelopeSchema = object({
16420
16395
  * `snapshots[]` references — megabytes across a page of tracks. `slim`
16421
16396
  * keeps every scalar the list surfaces actually render (ids, class(es),
16422
16397
  * label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
16423
- * zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
16398
+ * zonesVisited, bestEventId, envelope, hasFace, hasEmbeddedFace, hasRider) and returns `positions` /
16424
16399
  * `snapshots` as EMPTY arrays — detail views re-fetch the full row via
16425
16400
  * `getTrack`. Mirrors the event-store `projection` convention
16426
16401
  * (`getObjectEvents` et al.).
@@ -16715,6 +16690,35 @@ var TrackSchema = object({
16715
16690
  */
16716
16691
  hasFace: boolean().optional(),
16717
16692
  /**
16693
+ * This track has a face row IN THE GALLERY: a crop **and** an embedding — a
16694
+ * face an operator could ASSIGN to an identity.
16695
+ *
16696
+ * The STRICT twin of {@link hasFace}, and the pair only earns its keep
16697
+ * because the two disagree. `hasFace` is stamped at the TOP of the face
16698
+ * branch, before every gate, and means no more than "a face detector produced
16699
+ * a face detail". This one is stamped at the single moment the gallery row
16700
+ * LANDS — after `FaceRecognizer.onTrackEnd` successfully persists it, i.e.
16701
+ * past the embedding-magnitude verdict, the `minFacePx` detection gate, the
16702
+ * candidate gate, the imageless-track drop (no crop was ever captured) and
16703
+ * the crop-store drop. Everything between the detector and that insert can
16704
+ * legitimately refuse the face, so a flag written any earlier promises the
16705
+ * operator something to assign and delivers nothing.
16706
+ *
16707
+ * **Independent of recognition.** A face collected but never auto-matched is
16708
+ * still assignable — it is in fact the face an operator most wants to reach —
16709
+ * so this is NOT gated on `recognizedIdentityId`. Recognition lands in
16710
+ * `subLabel`; this says only that the raw material exists.
16711
+ *
16712
+ * **Set once, never cleared.** A track that produced a gallery row produced
16713
+ * one; deleting the row later is the gallery's business, not this flag's.
16714
+ *
16715
+ * **Absent ≠ false**, the same rule as {@link hasFace}: every row written
16716
+ * before the column omits it, and so does every server that predates the
16717
+ * field. A consumer must test `=== true` and render nothing otherwise —
16718
+ * never infer "no assignable face".
16719
+ */
16720
+ hasEmbeddedFace: boolean().optional(),
16721
+ /**
16718
16722
  * This subject CONTAINS a folded rider — a person the rider-pairing step
16719
16723
  * ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
16720
16724
  * so the passage is tracked once and as a VEHICLE.
@@ -18104,6 +18108,32 @@ var DetailResultSchema = object({
18104
18108
  /** FRAME-space bbox (already mapped back from crop space). */
18105
18109
  bbox: NativeCropBboxSchema.optional(),
18106
18110
  embedding: string().optional(),
18111
+ /**
18112
+ * L2 magnitude of the RAW pre-normalization embedding. Additive and optional
18113
+ * so an older runner that does not send it degrades to "unmeasurable", which
18114
+ * the consuming gate treats as accept — never as reject.
18115
+ */
18116
+ embeddingMagnitude: number().optional(),
18117
+ /**
18118
+ * Model that produced `embedding` — the SAME contract `labelModelId` has for
18119
+ * `label`, and for the same reason: the producing node is the only side that
18120
+ * knows which model actually ran, and re-deriving it downstream is exactly
18121
+ * the inference this model exists to forbid.
18122
+ *
18123
+ * Additive and optional, so a runner that predates it degrades to
18124
+ * "unmeasurable" rather than to a wrong answer — the consumer falls back to
18125
+ * its previous assumption instead of refusing.
18126
+ *
18127
+ * Its absence was not cosmetic. `FaceRecognizer` needs the probe's model id
18128
+ * to use `face-matcher`'s same-model gate (`sample.modelId !== probe.modelId`);
18129
+ * with nothing on the wire it took the id from the GALLERY, so the gate
18130
+ * compared the gallery against itself and could never fire. That turned the
18131
+ * one guard protecting the face feature space into a tautology, and it is
18132
+ * why swapping `face-embedding`'s model would NOT have stranded the enrolled
18133
+ * gallery as the catalog comment predicts — it would have scored the new
18134
+ * model's vectors against the old model's samples in one cosine space.
18135
+ */
18136
+ embeddingModelId: string().optional(),
18107
18137
  label: string().optional(),
18108
18138
  /**
18109
18139
  * The tier `label` occupies, copied VERBATIM from the producing step's
@@ -19568,6 +19598,7 @@ var snapshotCapability = {
19568
19598
  isBattery: boolean(),
19569
19599
  reason: _enum([
19570
19600
  "disabled",
19601
+ "offline",
19571
19602
  "sleeping",
19572
19603
  "unreachable",
19573
19604
  "waking"
@@ -19657,9 +19688,17 @@ targets: array(object({
19657
19688
  sleeping: boolean(),
19658
19689
  /** Current device state rendered over the cached frame. State images
19659
19690
  * remain authoritative even when their photographic background is
19660
- * old; null means the link must carry a current camera frame. */
19691
+ * old; null means the link must carry a current camera frame.
19692
+ *
19693
+ * **This is the ONLY source a surface may derive an inactive tile
19694
+ * from.** A client that reads a device's `online`/`disabled` flags and
19695
+ * draws its own verdict will disagree with the pixels it is painting
19696
+ * — the frame comes from here, and so must the sentence over it
19697
+ * (D190). Pair with `ageMs` for the age of the photograph behind the
19698
+ * state. */
19661
19699
  stateReason: _enum([
19662
19700
  "disabled",
19701
+ "offline",
19663
19702
  "sleeping",
19664
19703
  "unreachable",
19665
19704
  "waking"
@@ -37216,7 +37255,6 @@ var NC_AUDIO_DEFAULTS = {
37216
37255
  hitPercent: 60,
37217
37256
  samplingSeconds: 10
37218
37257
  };
37219
- new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
37220
37258
  new Set(["devices", "classes"]);
37221
37259
  NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
37222
37260
  /**
@@ -37450,6 +37488,39 @@ TimelapseRuleInputSchema.extend({
37450
37488
  createdAt: number(),
37451
37489
  updatedAt: number()
37452
37490
  });
37491
+ Object.freeze(Object.fromEntries([{
37492
+ stepId: "face-embedding",
37493
+ label: "Face recognition model",
37494
+ defaultModelId: "arcface-r100",
37495
+ indexName: "the enrolled face gallery",
37496
+ options: [
37497
+ {
37498
+ id: "arcface-r100",
37499
+ label: "ArcFace (ResNet34)"
37500
+ },
37501
+ {
37502
+ id: "auraface-r100",
37503
+ label: "AuraFace R100"
37504
+ },
37505
+ {
37506
+ id: "inception-resnet-v1",
37507
+ label: "Inception ResNet V1"
37508
+ }
37509
+ ]
37510
+ }, {
37511
+ stepId: "clip-embedding",
37512
+ label: "Semantic search model",
37513
+ defaultModelId: "mobileclip-s1",
37514
+ indexName: "the object semantic-search index",
37515
+ options: [{
37516
+ id: "mobileclip-s1",
37517
+ label: "MobileCLIP S1"
37518
+ }, {
37519
+ id: "mobileclip-s2",
37520
+ label: "MobileCLIP S2"
37521
+ }]
37522
+ }].map((s) => [s.stepId, s.defaultModelId])));
37523
+ string().min(1);
37453
37524
  object({
37454
37525
  /**
37455
37526
  * Fraction of the box's own size added on EACH side before cutting.
@@ -37470,10 +37541,21 @@ object({
37470
37541
  */
37471
37542
  square: boolean()
37472
37543
  });
37473
- ({
37544
+ /**
37545
+ * The convention in force when nobody has configured one — byte-for-byte the
37546
+ * behaviour of the pre-unification LIVE path (`DETAIL_CROP_PADDING_RATIO`).
37547
+ */
37548
+ var DEFAULT_DETAIL_CROP_CONVENTION = {
37474
37549
  paddingRatio: .15,
37475
37550
  square: false
37476
- }).paddingRatio;
37551
+ };
37552
+ Object.freeze({
37553
+ x: 0,
37554
+ y: 0,
37555
+ w: 1,
37556
+ h: 1
37557
+ });
37558
+ DEFAULT_DETAIL_CROP_CONVENTION.paddingRatio;
37477
37559
  /**
37478
37560
  * WHICH delivered frames the decode worker retains a native copy of.
37479
37561
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-wyze",
3
- "version": "0.2.26",
3
+ "version": "0.2.28",
4
4
  "description": "Wyze camera device-provider addon for CamStack — wraps the @apocaliss92/wyze-bridge-js P2P/DTLS client, feeding the stream-broker via the pull-rfc4571 lazy-publish path (a structural twin of addon-provider-reolink)",
5
5
  "keywords": [
6
6
  "camstack",