@camstack/addon-provider-dreame 0.2.22 → 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.
- package/dist/addon.js +167 -59
- package/dist/addon.mjs +167 -59
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -58071,7 +58071,7 @@ var RecordingBandSchema = object({
|
|
|
58071
58071
|
postBufferSec: number().min(0).optional()
|
|
58072
58072
|
});
|
|
58073
58073
|
({
|
|
58074
|
-
preBufferSec:
|
|
58074
|
+
preBufferSec: 15,
|
|
58075
58075
|
postBufferSec: 30
|
|
58076
58076
|
}).postBufferSec * 1e3;
|
|
58077
58077
|
/**
|
|
@@ -64291,128 +64291,103 @@ var COCO_TO_MACRO = {
|
|
|
64291
64291
|
var AUDIO_MACRO_LABELS = [
|
|
64292
64292
|
{
|
|
64293
64293
|
id: "speech",
|
|
64294
|
-
name: "Speech"
|
|
64295
|
-
icon: "🗣️"
|
|
64294
|
+
name: "Speech"
|
|
64296
64295
|
},
|
|
64297
64296
|
{
|
|
64298
64297
|
id: "scream",
|
|
64299
|
-
name: "Scream / Shout"
|
|
64300
|
-
icon: "😱"
|
|
64298
|
+
name: "Scream / Shout"
|
|
64301
64299
|
},
|
|
64302
64300
|
{
|
|
64303
64301
|
id: "crying",
|
|
64304
|
-
name: "Crying / Baby"
|
|
64305
|
-
icon: "😢"
|
|
64302
|
+
name: "Crying / Baby"
|
|
64306
64303
|
},
|
|
64307
64304
|
{
|
|
64308
64305
|
id: "laughter",
|
|
64309
|
-
name: "Laughter"
|
|
64310
|
-
icon: "😂"
|
|
64306
|
+
name: "Laughter"
|
|
64311
64307
|
},
|
|
64312
64308
|
{
|
|
64313
64309
|
id: "music",
|
|
64314
|
-
name: "Music"
|
|
64315
|
-
icon: "🎵"
|
|
64310
|
+
name: "Music"
|
|
64316
64311
|
},
|
|
64317
64312
|
{
|
|
64318
64313
|
id: "dog",
|
|
64319
|
-
name: "Dog"
|
|
64320
|
-
icon: "🐕"
|
|
64314
|
+
name: "Dog"
|
|
64321
64315
|
},
|
|
64322
64316
|
{
|
|
64323
64317
|
id: "cat",
|
|
64324
|
-
name: "Cat"
|
|
64325
|
-
icon: "🐈"
|
|
64318
|
+
name: "Cat"
|
|
64326
64319
|
},
|
|
64327
64320
|
{
|
|
64328
64321
|
id: "bird",
|
|
64329
|
-
name: "Bird"
|
|
64330
|
-
icon: "🐦"
|
|
64322
|
+
name: "Bird"
|
|
64331
64323
|
},
|
|
64332
64324
|
{
|
|
64333
64325
|
id: "animal",
|
|
64334
|
-
name: "Animal (other)"
|
|
64335
|
-
icon: "🐾"
|
|
64326
|
+
name: "Animal (other)"
|
|
64336
64327
|
},
|
|
64337
64328
|
{
|
|
64338
64329
|
id: "alarm",
|
|
64339
|
-
name: "Alarm / Siren"
|
|
64340
|
-
icon: "🚨"
|
|
64330
|
+
name: "Alarm / Siren"
|
|
64341
64331
|
},
|
|
64342
64332
|
{
|
|
64343
64333
|
id: "doorbell",
|
|
64344
|
-
name: "Doorbell / Knock"
|
|
64345
|
-
icon: "🔔"
|
|
64334
|
+
name: "Doorbell / Knock"
|
|
64346
64335
|
},
|
|
64347
64336
|
{
|
|
64348
64337
|
id: "glass_breaking",
|
|
64349
|
-
name: "Glass Breaking"
|
|
64350
|
-
icon: "💥"
|
|
64338
|
+
name: "Glass Breaking"
|
|
64351
64339
|
},
|
|
64352
64340
|
{
|
|
64353
64341
|
id: "gunshot",
|
|
64354
|
-
name: "Gunshot / Explosion"
|
|
64355
|
-
icon: "💣"
|
|
64342
|
+
name: "Gunshot / Explosion"
|
|
64356
64343
|
},
|
|
64357
64344
|
{
|
|
64358
64345
|
id: "vehicle",
|
|
64359
|
-
name: "Vehicle"
|
|
64360
|
-
icon: "🚗"
|
|
64346
|
+
name: "Vehicle"
|
|
64361
64347
|
},
|
|
64362
64348
|
{
|
|
64363
64349
|
id: "siren",
|
|
64364
|
-
name: "Emergency Siren"
|
|
64365
|
-
icon: "🚑"
|
|
64350
|
+
name: "Emergency Siren"
|
|
64366
64351
|
},
|
|
64367
64352
|
{
|
|
64368
64353
|
id: "fire",
|
|
64369
|
-
name: "Fire / Smoke"
|
|
64370
|
-
icon: "🔥"
|
|
64354
|
+
name: "Fire / Smoke"
|
|
64371
64355
|
},
|
|
64372
64356
|
{
|
|
64373
64357
|
id: "water",
|
|
64374
|
-
name: "Water"
|
|
64375
|
-
icon: "💧"
|
|
64358
|
+
name: "Water"
|
|
64376
64359
|
},
|
|
64377
64360
|
{
|
|
64378
64361
|
id: "wind",
|
|
64379
|
-
name: "Wind / Weather"
|
|
64380
|
-
icon: "🌬️"
|
|
64362
|
+
name: "Wind / Weather"
|
|
64381
64363
|
},
|
|
64382
64364
|
{
|
|
64383
64365
|
id: "door",
|
|
64384
|
-
name: "Door"
|
|
64385
|
-
icon: "🚪"
|
|
64366
|
+
name: "Door"
|
|
64386
64367
|
},
|
|
64387
64368
|
{
|
|
64388
64369
|
id: "footsteps",
|
|
64389
|
-
name: "Footsteps"
|
|
64390
|
-
icon: "👣"
|
|
64370
|
+
name: "Footsteps"
|
|
64391
64371
|
},
|
|
64392
64372
|
{
|
|
64393
64373
|
id: "crowd",
|
|
64394
|
-
name: "Crowd / Chatter"
|
|
64395
|
-
icon: "👥"
|
|
64374
|
+
name: "Crowd / Chatter"
|
|
64396
64375
|
},
|
|
64397
64376
|
{
|
|
64398
64377
|
id: "telephone",
|
|
64399
|
-
name: "Telephone"
|
|
64400
|
-
icon: "📞"
|
|
64378
|
+
name: "Telephone"
|
|
64401
64379
|
},
|
|
64402
64380
|
{
|
|
64403
64381
|
id: "engine",
|
|
64404
|
-
name: "Engine / Motor"
|
|
64405
|
-
icon: "⚙️"
|
|
64382
|
+
name: "Engine / Motor"
|
|
64406
64383
|
},
|
|
64407
64384
|
{
|
|
64408
64385
|
id: "tools",
|
|
64409
|
-
name: "Tools / Construction"
|
|
64410
|
-
icon: "🔨"
|
|
64386
|
+
name: "Tools / Construction"
|
|
64411
64387
|
},
|
|
64412
64388
|
{
|
|
64413
64389
|
id: "silence",
|
|
64414
|
-
name: "Silence"
|
|
64415
|
-
icon: "🤫"
|
|
64390
|
+
name: "Silence"
|
|
64416
64391
|
}
|
|
64417
64392
|
];
|
|
64418
64393
|
var YAMNET_TO_MACRO = {
|
|
@@ -66914,7 +66889,7 @@ var TrackEnvelopeSchema = object({
|
|
|
66914
66889
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
66915
66890
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
66916
66891
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
66917
|
-
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
66892
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasEmbeddedFace, hasRider) and returns `positions` /
|
|
66918
66893
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
66919
66894
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
66920
66895
|
* (`getObjectEvents` et al.).
|
|
@@ -67209,6 +67184,35 @@ var TrackSchema = object({
|
|
|
67209
67184
|
*/
|
|
67210
67185
|
hasFace: boolean().optional(),
|
|
67211
67186
|
/**
|
|
67187
|
+
* This track has a face row IN THE GALLERY: a crop **and** an embedding — a
|
|
67188
|
+
* face an operator could ASSIGN to an identity.
|
|
67189
|
+
*
|
|
67190
|
+
* The STRICT twin of {@link hasFace}, and the pair only earns its keep
|
|
67191
|
+
* because the two disagree. `hasFace` is stamped at the TOP of the face
|
|
67192
|
+
* branch, before every gate, and means no more than "a face detector produced
|
|
67193
|
+
* a face detail". This one is stamped at the single moment the gallery row
|
|
67194
|
+
* LANDS — after `FaceRecognizer.onTrackEnd` successfully persists it, i.e.
|
|
67195
|
+
* past the embedding-magnitude verdict, the `minFacePx` detection gate, the
|
|
67196
|
+
* candidate gate, the imageless-track drop (no crop was ever captured) and
|
|
67197
|
+
* the crop-store drop. Everything between the detector and that insert can
|
|
67198
|
+
* legitimately refuse the face, so a flag written any earlier promises the
|
|
67199
|
+
* operator something to assign and delivers nothing.
|
|
67200
|
+
*
|
|
67201
|
+
* **Independent of recognition.** A face collected but never auto-matched is
|
|
67202
|
+
* still assignable — it is in fact the face an operator most wants to reach —
|
|
67203
|
+
* so this is NOT gated on `recognizedIdentityId`. Recognition lands in
|
|
67204
|
+
* `subLabel`; this says only that the raw material exists.
|
|
67205
|
+
*
|
|
67206
|
+
* **Set once, never cleared.** A track that produced a gallery row produced
|
|
67207
|
+
* one; deleting the row later is the gallery's business, not this flag's.
|
|
67208
|
+
*
|
|
67209
|
+
* **Absent ≠ false**, the same rule as {@link hasFace}: every row written
|
|
67210
|
+
* before the column omits it, and so does every server that predates the
|
|
67211
|
+
* field. A consumer must test `=== true` and render nothing otherwise —
|
|
67212
|
+
* never infer "no assignable face".
|
|
67213
|
+
*/
|
|
67214
|
+
hasEmbeddedFace: boolean().optional(),
|
|
67215
|
+
/**
|
|
67212
67216
|
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
67213
67217
|
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
67214
67218
|
* so the passage is tracked once and as a VEHICLE.
|
|
@@ -68598,6 +68602,32 @@ var DetailResultSchema = object({
|
|
|
68598
68602
|
/** FRAME-space bbox (already mapped back from crop space). */
|
|
68599
68603
|
bbox: NativeCropBboxSchema.optional(),
|
|
68600
68604
|
embedding: string().optional(),
|
|
68605
|
+
/**
|
|
68606
|
+
* L2 magnitude of the RAW pre-normalization embedding. Additive and optional
|
|
68607
|
+
* so an older runner that does not send it degrades to "unmeasurable", which
|
|
68608
|
+
* the consuming gate treats as accept — never as reject.
|
|
68609
|
+
*/
|
|
68610
|
+
embeddingMagnitude: number().optional(),
|
|
68611
|
+
/**
|
|
68612
|
+
* Model that produced `embedding` — the SAME contract `labelModelId` has for
|
|
68613
|
+
* `label`, and for the same reason: the producing node is the only side that
|
|
68614
|
+
* knows which model actually ran, and re-deriving it downstream is exactly
|
|
68615
|
+
* the inference this model exists to forbid.
|
|
68616
|
+
*
|
|
68617
|
+
* Additive and optional, so a runner that predates it degrades to
|
|
68618
|
+
* "unmeasurable" rather than to a wrong answer — the consumer falls back to
|
|
68619
|
+
* its previous assumption instead of refusing.
|
|
68620
|
+
*
|
|
68621
|
+
* Its absence was not cosmetic. `FaceRecognizer` needs the probe's model id
|
|
68622
|
+
* to use `face-matcher`'s same-model gate (`sample.modelId !== probe.modelId`);
|
|
68623
|
+
* with nothing on the wire it took the id from the GALLERY, so the gate
|
|
68624
|
+
* compared the gallery against itself and could never fire. That turned the
|
|
68625
|
+
* one guard protecting the face feature space into a tautology, and it is
|
|
68626
|
+
* why swapping `face-embedding`'s model would NOT have stranded the enrolled
|
|
68627
|
+
* gallery as the catalog comment predicts — it would have scored the new
|
|
68628
|
+
* model's vectors against the old model's samples in one cosine space.
|
|
68629
|
+
*/
|
|
68630
|
+
embeddingModelId: string().optional(),
|
|
68601
68631
|
label: string().optional(),
|
|
68602
68632
|
/**
|
|
68603
68633
|
* The tier `label` occupies, copied VERBATIM from the producing step's
|
|
@@ -70008,6 +70038,7 @@ DeviceType.Camera, method(object({
|
|
|
70008
70038
|
isBattery: boolean(),
|
|
70009
70039
|
reason: _enum([
|
|
70010
70040
|
"disabled",
|
|
70041
|
+
"offline",
|
|
70011
70042
|
"sleeping",
|
|
70012
70043
|
"unreachable",
|
|
70013
70044
|
"waking"
|
|
@@ -70053,9 +70084,17 @@ targets: array(object({
|
|
|
70053
70084
|
sleeping: boolean(),
|
|
70054
70085
|
/** Current device state rendered over the cached frame. State images
|
|
70055
70086
|
* remain authoritative even when their photographic background is
|
|
70056
|
-
* old; null means the link must carry a current camera frame.
|
|
70087
|
+
* old; null means the link must carry a current camera frame.
|
|
70088
|
+
*
|
|
70089
|
+
* **This is the ONLY source a surface may derive an inactive tile
|
|
70090
|
+
* from.** A client that reads a device's `online`/`disabled` flags and
|
|
70091
|
+
* draws its own verdict will disagree with the pixels it is painting
|
|
70092
|
+
* — the frame comes from here, and so must the sentence over it
|
|
70093
|
+
* (D190). Pair with `ageMs` for the age of the photograph behind the
|
|
70094
|
+
* state. */
|
|
70057
70095
|
stateReason: _enum([
|
|
70058
70096
|
"disabled",
|
|
70097
|
+
"offline",
|
|
70059
70098
|
"sleeping",
|
|
70060
70099
|
"unreachable",
|
|
70061
70100
|
"waking"
|
|
@@ -76799,9 +76838,21 @@ var RecordingLocationUsageSchema = object({
|
|
|
76799
76838
|
* previously rendered as two identical "disks" with a nonsensical used
|
|
76800
76839
|
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
76801
76840
|
locationIds: array(string()).optional(),
|
|
76802
|
-
/**
|
|
76841
|
+
/**
|
|
76842
|
+
* Filesystem root of the physical volume this row accounts — the only
|
|
76843
|
+
* operator-legible identity when a location has no `displayName` yet, and
|
|
76844
|
+
* what a "which disk is full" alert has to name. OPTIONAL for the same
|
|
76845
|
+
* train-skew reason as `oldestMs`: a recorder that predates the field omits
|
|
76846
|
+
* it, and this schema must keep validating that older provider's payload.
|
|
76847
|
+
*/
|
|
76848
|
+
root: string().optional(),
|
|
76849
|
+
/** Bytes of recordings stored on this PHYSICAL volume (all aliases). This is
|
|
76850
|
+
* the footage's SHARE of the volume, not how full the volume is — the disk
|
|
76851
|
+
* also holds everything that is not recordings. Volume fill is
|
|
76852
|
+
* `(totalBytes - availableBytes) / totalBytes`. */
|
|
76803
76853
|
usedBytes: number(),
|
|
76804
|
-
/** Free bytes on the location's volume; null when capacity is unknown
|
|
76854
|
+
/** Free bytes on the location's volume; null when capacity is unknown
|
|
76855
|
+
* (remote/unstattable — the recorder logs the statfs failure with the root). */
|
|
76805
76856
|
availableBytes: number().nullable(),
|
|
76806
76857
|
/** Total bytes of the location's volume; null when unknown. */
|
|
76807
76858
|
totalBytes: number().nullable()
|
|
@@ -76813,7 +76864,15 @@ var RecordingStorageUsageSchema = object({
|
|
|
76813
76864
|
nodeId: string(),
|
|
76814
76865
|
totalUsedBytes: number(),
|
|
76815
76866
|
devices: array(RecordingDeviceUsageSchema),
|
|
76816
|
-
|
|
76867
|
+
/**
|
|
76868
|
+
* Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
|
|
76869
|
+
* of the payload without it: the hub serves this method through a BAKED
|
|
76870
|
+
* router, so a hub whose framework train predates a change to this array
|
|
76871
|
+
* strips it out of an answer a newer recorder happily produced. A UI that
|
|
76872
|
+
* dereferences it unconditionally crashes the whole Storage page over a
|
|
76873
|
+
* missing disk bar.
|
|
76874
|
+
*/
|
|
76875
|
+
locations: array(RecordingLocationUsageSchema).optional()
|
|
76817
76876
|
});
|
|
76818
76877
|
/**
|
|
76819
76878
|
* The OPERATOR-ARMED half of multi-location recordings (D116).
|
|
@@ -87598,8 +87657,13 @@ Object.freeze({
|
|
|
87598
87657
|
"network-access": "ingress",
|
|
87599
87658
|
"smtp-provider": "email"
|
|
87600
87659
|
});
|
|
87601
|
-
|
|
87660
|
+
/** Schema defaults — an untouched sub-field must author exactly these. */
|
|
87661
|
+
var NC_AUDIO_DEFAULTS = {
|
|
87662
|
+
hitPercent: 60,
|
|
87663
|
+
samplingSeconds: 10
|
|
87664
|
+
};
|
|
87602
87665
|
new Set(["devices", "classes"]);
|
|
87666
|
+
NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
|
|
87603
87667
|
/**
|
|
87604
87668
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
87605
87669
|
*
|
|
@@ -87831,6 +87895,39 @@ TimelapseRuleInputSchema.extend({
|
|
|
87831
87895
|
createdAt: number(),
|
|
87832
87896
|
updatedAt: number()
|
|
87833
87897
|
});
|
|
87898
|
+
Object.freeze(Object.fromEntries([{
|
|
87899
|
+
stepId: "face-embedding",
|
|
87900
|
+
label: "Face recognition model",
|
|
87901
|
+
defaultModelId: "arcface-r100",
|
|
87902
|
+
indexName: "the enrolled face gallery",
|
|
87903
|
+
options: [
|
|
87904
|
+
{
|
|
87905
|
+
id: "arcface-r100",
|
|
87906
|
+
label: "ArcFace (ResNet34)"
|
|
87907
|
+
},
|
|
87908
|
+
{
|
|
87909
|
+
id: "auraface-r100",
|
|
87910
|
+
label: "AuraFace R100"
|
|
87911
|
+
},
|
|
87912
|
+
{
|
|
87913
|
+
id: "inception-resnet-v1",
|
|
87914
|
+
label: "Inception ResNet V1"
|
|
87915
|
+
}
|
|
87916
|
+
]
|
|
87917
|
+
}, {
|
|
87918
|
+
stepId: "clip-embedding",
|
|
87919
|
+
label: "Semantic search model",
|
|
87920
|
+
defaultModelId: "mobileclip-s1",
|
|
87921
|
+
indexName: "the object semantic-search index",
|
|
87922
|
+
options: [{
|
|
87923
|
+
id: "mobileclip-s1",
|
|
87924
|
+
label: "MobileCLIP S1"
|
|
87925
|
+
}, {
|
|
87926
|
+
id: "mobileclip-s2",
|
|
87927
|
+
label: "MobileCLIP S2"
|
|
87928
|
+
}]
|
|
87929
|
+
}].map((s) => [s.stepId, s.defaultModelId])));
|
|
87930
|
+
string().min(1);
|
|
87834
87931
|
object({
|
|
87835
87932
|
/**
|
|
87836
87933
|
* Fraction of the box's own size added on EACH side before cutting.
|
|
@@ -87851,10 +87948,21 @@ object({
|
|
|
87851
87948
|
*/
|
|
87852
87949
|
square: boolean()
|
|
87853
87950
|
});
|
|
87854
|
-
|
|
87951
|
+
/**
|
|
87952
|
+
* The convention in force when nobody has configured one — byte-for-byte the
|
|
87953
|
+
* behaviour of the pre-unification LIVE path (`DETAIL_CROP_PADDING_RATIO`).
|
|
87954
|
+
*/
|
|
87955
|
+
var DEFAULT_DETAIL_CROP_CONVENTION = {
|
|
87855
87956
|
paddingRatio: .15,
|
|
87856
87957
|
square: false
|
|
87857
|
-
}
|
|
87958
|
+
};
|
|
87959
|
+
Object.freeze({
|
|
87960
|
+
x: 0,
|
|
87961
|
+
y: 0,
|
|
87962
|
+
w: 1,
|
|
87963
|
+
h: 1
|
|
87964
|
+
});
|
|
87965
|
+
DEFAULT_DETAIL_CROP_CONVENTION.paddingRatio;
|
|
87858
87966
|
/**
|
|
87859
87967
|
* WHICH delivered frames the decode worker retains a native copy of.
|
|
87860
87968
|
*
|
package/dist/addon.mjs
CHANGED
|
@@ -58071,7 +58071,7 @@ var RecordingBandSchema = object({
|
|
|
58071
58071
|
postBufferSec: number().min(0).optional()
|
|
58072
58072
|
});
|
|
58073
58073
|
({
|
|
58074
|
-
preBufferSec:
|
|
58074
|
+
preBufferSec: 15,
|
|
58075
58075
|
postBufferSec: 30
|
|
58076
58076
|
}).postBufferSec * 1e3;
|
|
58077
58077
|
/**
|
|
@@ -64291,128 +64291,103 @@ var COCO_TO_MACRO = {
|
|
|
64291
64291
|
var AUDIO_MACRO_LABELS = [
|
|
64292
64292
|
{
|
|
64293
64293
|
id: "speech",
|
|
64294
|
-
name: "Speech"
|
|
64295
|
-
icon: "🗣️"
|
|
64294
|
+
name: "Speech"
|
|
64296
64295
|
},
|
|
64297
64296
|
{
|
|
64298
64297
|
id: "scream",
|
|
64299
|
-
name: "Scream / Shout"
|
|
64300
|
-
icon: "😱"
|
|
64298
|
+
name: "Scream / Shout"
|
|
64301
64299
|
},
|
|
64302
64300
|
{
|
|
64303
64301
|
id: "crying",
|
|
64304
|
-
name: "Crying / Baby"
|
|
64305
|
-
icon: "😢"
|
|
64302
|
+
name: "Crying / Baby"
|
|
64306
64303
|
},
|
|
64307
64304
|
{
|
|
64308
64305
|
id: "laughter",
|
|
64309
|
-
name: "Laughter"
|
|
64310
|
-
icon: "😂"
|
|
64306
|
+
name: "Laughter"
|
|
64311
64307
|
},
|
|
64312
64308
|
{
|
|
64313
64309
|
id: "music",
|
|
64314
|
-
name: "Music"
|
|
64315
|
-
icon: "🎵"
|
|
64310
|
+
name: "Music"
|
|
64316
64311
|
},
|
|
64317
64312
|
{
|
|
64318
64313
|
id: "dog",
|
|
64319
|
-
name: "Dog"
|
|
64320
|
-
icon: "🐕"
|
|
64314
|
+
name: "Dog"
|
|
64321
64315
|
},
|
|
64322
64316
|
{
|
|
64323
64317
|
id: "cat",
|
|
64324
|
-
name: "Cat"
|
|
64325
|
-
icon: "🐈"
|
|
64318
|
+
name: "Cat"
|
|
64326
64319
|
},
|
|
64327
64320
|
{
|
|
64328
64321
|
id: "bird",
|
|
64329
|
-
name: "Bird"
|
|
64330
|
-
icon: "🐦"
|
|
64322
|
+
name: "Bird"
|
|
64331
64323
|
},
|
|
64332
64324
|
{
|
|
64333
64325
|
id: "animal",
|
|
64334
|
-
name: "Animal (other)"
|
|
64335
|
-
icon: "🐾"
|
|
64326
|
+
name: "Animal (other)"
|
|
64336
64327
|
},
|
|
64337
64328
|
{
|
|
64338
64329
|
id: "alarm",
|
|
64339
|
-
name: "Alarm / Siren"
|
|
64340
|
-
icon: "🚨"
|
|
64330
|
+
name: "Alarm / Siren"
|
|
64341
64331
|
},
|
|
64342
64332
|
{
|
|
64343
64333
|
id: "doorbell",
|
|
64344
|
-
name: "Doorbell / Knock"
|
|
64345
|
-
icon: "🔔"
|
|
64334
|
+
name: "Doorbell / Knock"
|
|
64346
64335
|
},
|
|
64347
64336
|
{
|
|
64348
64337
|
id: "glass_breaking",
|
|
64349
|
-
name: "Glass Breaking"
|
|
64350
|
-
icon: "💥"
|
|
64338
|
+
name: "Glass Breaking"
|
|
64351
64339
|
},
|
|
64352
64340
|
{
|
|
64353
64341
|
id: "gunshot",
|
|
64354
|
-
name: "Gunshot / Explosion"
|
|
64355
|
-
icon: "💣"
|
|
64342
|
+
name: "Gunshot / Explosion"
|
|
64356
64343
|
},
|
|
64357
64344
|
{
|
|
64358
64345
|
id: "vehicle",
|
|
64359
|
-
name: "Vehicle"
|
|
64360
|
-
icon: "🚗"
|
|
64346
|
+
name: "Vehicle"
|
|
64361
64347
|
},
|
|
64362
64348
|
{
|
|
64363
64349
|
id: "siren",
|
|
64364
|
-
name: "Emergency Siren"
|
|
64365
|
-
icon: "🚑"
|
|
64350
|
+
name: "Emergency Siren"
|
|
64366
64351
|
},
|
|
64367
64352
|
{
|
|
64368
64353
|
id: "fire",
|
|
64369
|
-
name: "Fire / Smoke"
|
|
64370
|
-
icon: "🔥"
|
|
64354
|
+
name: "Fire / Smoke"
|
|
64371
64355
|
},
|
|
64372
64356
|
{
|
|
64373
64357
|
id: "water",
|
|
64374
|
-
name: "Water"
|
|
64375
|
-
icon: "💧"
|
|
64358
|
+
name: "Water"
|
|
64376
64359
|
},
|
|
64377
64360
|
{
|
|
64378
64361
|
id: "wind",
|
|
64379
|
-
name: "Wind / Weather"
|
|
64380
|
-
icon: "🌬️"
|
|
64362
|
+
name: "Wind / Weather"
|
|
64381
64363
|
},
|
|
64382
64364
|
{
|
|
64383
64365
|
id: "door",
|
|
64384
|
-
name: "Door"
|
|
64385
|
-
icon: "🚪"
|
|
64366
|
+
name: "Door"
|
|
64386
64367
|
},
|
|
64387
64368
|
{
|
|
64388
64369
|
id: "footsteps",
|
|
64389
|
-
name: "Footsteps"
|
|
64390
|
-
icon: "👣"
|
|
64370
|
+
name: "Footsteps"
|
|
64391
64371
|
},
|
|
64392
64372
|
{
|
|
64393
64373
|
id: "crowd",
|
|
64394
|
-
name: "Crowd / Chatter"
|
|
64395
|
-
icon: "👥"
|
|
64374
|
+
name: "Crowd / Chatter"
|
|
64396
64375
|
},
|
|
64397
64376
|
{
|
|
64398
64377
|
id: "telephone",
|
|
64399
|
-
name: "Telephone"
|
|
64400
|
-
icon: "📞"
|
|
64378
|
+
name: "Telephone"
|
|
64401
64379
|
},
|
|
64402
64380
|
{
|
|
64403
64381
|
id: "engine",
|
|
64404
|
-
name: "Engine / Motor"
|
|
64405
|
-
icon: "⚙️"
|
|
64382
|
+
name: "Engine / Motor"
|
|
64406
64383
|
},
|
|
64407
64384
|
{
|
|
64408
64385
|
id: "tools",
|
|
64409
|
-
name: "Tools / Construction"
|
|
64410
|
-
icon: "🔨"
|
|
64386
|
+
name: "Tools / Construction"
|
|
64411
64387
|
},
|
|
64412
64388
|
{
|
|
64413
64389
|
id: "silence",
|
|
64414
|
-
name: "Silence"
|
|
64415
|
-
icon: "🤫"
|
|
64390
|
+
name: "Silence"
|
|
64416
64391
|
}
|
|
64417
64392
|
];
|
|
64418
64393
|
var YAMNET_TO_MACRO = {
|
|
@@ -66914,7 +66889,7 @@ var TrackEnvelopeSchema = object({
|
|
|
66914
66889
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
66915
66890
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
66916
66891
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
66917
|
-
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
66892
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasEmbeddedFace, hasRider) and returns `positions` /
|
|
66918
66893
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
66919
66894
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
66920
66895
|
* (`getObjectEvents` et al.).
|
|
@@ -67209,6 +67184,35 @@ var TrackSchema = object({
|
|
|
67209
67184
|
*/
|
|
67210
67185
|
hasFace: boolean().optional(),
|
|
67211
67186
|
/**
|
|
67187
|
+
* This track has a face row IN THE GALLERY: a crop **and** an embedding — a
|
|
67188
|
+
* face an operator could ASSIGN to an identity.
|
|
67189
|
+
*
|
|
67190
|
+
* The STRICT twin of {@link hasFace}, and the pair only earns its keep
|
|
67191
|
+
* because the two disagree. `hasFace` is stamped at the TOP of the face
|
|
67192
|
+
* branch, before every gate, and means no more than "a face detector produced
|
|
67193
|
+
* a face detail". This one is stamped at the single moment the gallery row
|
|
67194
|
+
* LANDS — after `FaceRecognizer.onTrackEnd` successfully persists it, i.e.
|
|
67195
|
+
* past the embedding-magnitude verdict, the `minFacePx` detection gate, the
|
|
67196
|
+
* candidate gate, the imageless-track drop (no crop was ever captured) and
|
|
67197
|
+
* the crop-store drop. Everything between the detector and that insert can
|
|
67198
|
+
* legitimately refuse the face, so a flag written any earlier promises the
|
|
67199
|
+
* operator something to assign and delivers nothing.
|
|
67200
|
+
*
|
|
67201
|
+
* **Independent of recognition.** A face collected but never auto-matched is
|
|
67202
|
+
* still assignable — it is in fact the face an operator most wants to reach —
|
|
67203
|
+
* so this is NOT gated on `recognizedIdentityId`. Recognition lands in
|
|
67204
|
+
* `subLabel`; this says only that the raw material exists.
|
|
67205
|
+
*
|
|
67206
|
+
* **Set once, never cleared.** A track that produced a gallery row produced
|
|
67207
|
+
* one; deleting the row later is the gallery's business, not this flag's.
|
|
67208
|
+
*
|
|
67209
|
+
* **Absent ≠ false**, the same rule as {@link hasFace}: every row written
|
|
67210
|
+
* before the column omits it, and so does every server that predates the
|
|
67211
|
+
* field. A consumer must test `=== true` and render nothing otherwise —
|
|
67212
|
+
* never infer "no assignable face".
|
|
67213
|
+
*/
|
|
67214
|
+
hasEmbeddedFace: boolean().optional(),
|
|
67215
|
+
/**
|
|
67212
67216
|
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
67213
67217
|
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
67214
67218
|
* so the passage is tracked once and as a VEHICLE.
|
|
@@ -68598,6 +68602,32 @@ var DetailResultSchema = object({
|
|
|
68598
68602
|
/** FRAME-space bbox (already mapped back from crop space). */
|
|
68599
68603
|
bbox: NativeCropBboxSchema.optional(),
|
|
68600
68604
|
embedding: string().optional(),
|
|
68605
|
+
/**
|
|
68606
|
+
* L2 magnitude of the RAW pre-normalization embedding. Additive and optional
|
|
68607
|
+
* so an older runner that does not send it degrades to "unmeasurable", which
|
|
68608
|
+
* the consuming gate treats as accept — never as reject.
|
|
68609
|
+
*/
|
|
68610
|
+
embeddingMagnitude: number().optional(),
|
|
68611
|
+
/**
|
|
68612
|
+
* Model that produced `embedding` — the SAME contract `labelModelId` has for
|
|
68613
|
+
* `label`, and for the same reason: the producing node is the only side that
|
|
68614
|
+
* knows which model actually ran, and re-deriving it downstream is exactly
|
|
68615
|
+
* the inference this model exists to forbid.
|
|
68616
|
+
*
|
|
68617
|
+
* Additive and optional, so a runner that predates it degrades to
|
|
68618
|
+
* "unmeasurable" rather than to a wrong answer — the consumer falls back to
|
|
68619
|
+
* its previous assumption instead of refusing.
|
|
68620
|
+
*
|
|
68621
|
+
* Its absence was not cosmetic. `FaceRecognizer` needs the probe's model id
|
|
68622
|
+
* to use `face-matcher`'s same-model gate (`sample.modelId !== probe.modelId`);
|
|
68623
|
+
* with nothing on the wire it took the id from the GALLERY, so the gate
|
|
68624
|
+
* compared the gallery against itself and could never fire. That turned the
|
|
68625
|
+
* one guard protecting the face feature space into a tautology, and it is
|
|
68626
|
+
* why swapping `face-embedding`'s model would NOT have stranded the enrolled
|
|
68627
|
+
* gallery as the catalog comment predicts — it would have scored the new
|
|
68628
|
+
* model's vectors against the old model's samples in one cosine space.
|
|
68629
|
+
*/
|
|
68630
|
+
embeddingModelId: string().optional(),
|
|
68601
68631
|
label: string().optional(),
|
|
68602
68632
|
/**
|
|
68603
68633
|
* The tier `label` occupies, copied VERBATIM from the producing step's
|
|
@@ -70008,6 +70038,7 @@ DeviceType.Camera, method(object({
|
|
|
70008
70038
|
isBattery: boolean(),
|
|
70009
70039
|
reason: _enum([
|
|
70010
70040
|
"disabled",
|
|
70041
|
+
"offline",
|
|
70011
70042
|
"sleeping",
|
|
70012
70043
|
"unreachable",
|
|
70013
70044
|
"waking"
|
|
@@ -70053,9 +70084,17 @@ targets: array(object({
|
|
|
70053
70084
|
sleeping: boolean(),
|
|
70054
70085
|
/** Current device state rendered over the cached frame. State images
|
|
70055
70086
|
* remain authoritative even when their photographic background is
|
|
70056
|
-
* old; null means the link must carry a current camera frame.
|
|
70087
|
+
* old; null means the link must carry a current camera frame.
|
|
70088
|
+
*
|
|
70089
|
+
* **This is the ONLY source a surface may derive an inactive tile
|
|
70090
|
+
* from.** A client that reads a device's `online`/`disabled` flags and
|
|
70091
|
+
* draws its own verdict will disagree with the pixels it is painting
|
|
70092
|
+
* — the frame comes from here, and so must the sentence over it
|
|
70093
|
+
* (D190). Pair with `ageMs` for the age of the photograph behind the
|
|
70094
|
+
* state. */
|
|
70057
70095
|
stateReason: _enum([
|
|
70058
70096
|
"disabled",
|
|
70097
|
+
"offline",
|
|
70059
70098
|
"sleeping",
|
|
70060
70099
|
"unreachable",
|
|
70061
70100
|
"waking"
|
|
@@ -76799,9 +76838,21 @@ var RecordingLocationUsageSchema = object({
|
|
|
76799
76838
|
* previously rendered as two identical "disks" with a nonsensical used
|
|
76800
76839
|
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
76801
76840
|
locationIds: array(string()).optional(),
|
|
76802
|
-
/**
|
|
76841
|
+
/**
|
|
76842
|
+
* Filesystem root of the physical volume this row accounts — the only
|
|
76843
|
+
* operator-legible identity when a location has no `displayName` yet, and
|
|
76844
|
+
* what a "which disk is full" alert has to name. OPTIONAL for the same
|
|
76845
|
+
* train-skew reason as `oldestMs`: a recorder that predates the field omits
|
|
76846
|
+
* it, and this schema must keep validating that older provider's payload.
|
|
76847
|
+
*/
|
|
76848
|
+
root: string().optional(),
|
|
76849
|
+
/** Bytes of recordings stored on this PHYSICAL volume (all aliases). This is
|
|
76850
|
+
* the footage's SHARE of the volume, not how full the volume is — the disk
|
|
76851
|
+
* also holds everything that is not recordings. Volume fill is
|
|
76852
|
+
* `(totalBytes - availableBytes) / totalBytes`. */
|
|
76803
76853
|
usedBytes: number(),
|
|
76804
|
-
/** Free bytes on the location's volume; null when capacity is unknown
|
|
76854
|
+
/** Free bytes on the location's volume; null when capacity is unknown
|
|
76855
|
+
* (remote/unstattable — the recorder logs the statfs failure with the root). */
|
|
76805
76856
|
availableBytes: number().nullable(),
|
|
76806
76857
|
/** Total bytes of the location's volume; null when unknown. */
|
|
76807
76858
|
totalBytes: number().nullable()
|
|
@@ -76813,7 +76864,15 @@ var RecordingStorageUsageSchema = object({
|
|
|
76813
76864
|
nodeId: string(),
|
|
76814
76865
|
totalUsedBytes: number(),
|
|
76815
76866
|
devices: array(RecordingDeviceUsageSchema),
|
|
76816
|
-
|
|
76867
|
+
/**
|
|
76868
|
+
* Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
|
|
76869
|
+
* of the payload without it: the hub serves this method through a BAKED
|
|
76870
|
+
* router, so a hub whose framework train predates a change to this array
|
|
76871
|
+
* strips it out of an answer a newer recorder happily produced. A UI that
|
|
76872
|
+
* dereferences it unconditionally crashes the whole Storage page over a
|
|
76873
|
+
* missing disk bar.
|
|
76874
|
+
*/
|
|
76875
|
+
locations: array(RecordingLocationUsageSchema).optional()
|
|
76817
76876
|
});
|
|
76818
76877
|
/**
|
|
76819
76878
|
* The OPERATOR-ARMED half of multi-location recordings (D116).
|
|
@@ -87598,8 +87657,13 @@ Object.freeze({
|
|
|
87598
87657
|
"network-access": "ingress",
|
|
87599
87658
|
"smtp-provider": "email"
|
|
87600
87659
|
});
|
|
87601
|
-
|
|
87660
|
+
/** Schema defaults — an untouched sub-field must author exactly these. */
|
|
87661
|
+
var NC_AUDIO_DEFAULTS = {
|
|
87662
|
+
hitPercent: 60,
|
|
87663
|
+
samplingSeconds: 10
|
|
87664
|
+
};
|
|
87602
87665
|
new Set(["devices", "classes"]);
|
|
87666
|
+
NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
|
|
87603
87667
|
/**
|
|
87604
87668
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
87605
87669
|
*
|
|
@@ -87831,6 +87895,39 @@ TimelapseRuleInputSchema.extend({
|
|
|
87831
87895
|
createdAt: number(),
|
|
87832
87896
|
updatedAt: number()
|
|
87833
87897
|
});
|
|
87898
|
+
Object.freeze(Object.fromEntries([{
|
|
87899
|
+
stepId: "face-embedding",
|
|
87900
|
+
label: "Face recognition model",
|
|
87901
|
+
defaultModelId: "arcface-r100",
|
|
87902
|
+
indexName: "the enrolled face gallery",
|
|
87903
|
+
options: [
|
|
87904
|
+
{
|
|
87905
|
+
id: "arcface-r100",
|
|
87906
|
+
label: "ArcFace (ResNet34)"
|
|
87907
|
+
},
|
|
87908
|
+
{
|
|
87909
|
+
id: "auraface-r100",
|
|
87910
|
+
label: "AuraFace R100"
|
|
87911
|
+
},
|
|
87912
|
+
{
|
|
87913
|
+
id: "inception-resnet-v1",
|
|
87914
|
+
label: "Inception ResNet V1"
|
|
87915
|
+
}
|
|
87916
|
+
]
|
|
87917
|
+
}, {
|
|
87918
|
+
stepId: "clip-embedding",
|
|
87919
|
+
label: "Semantic search model",
|
|
87920
|
+
defaultModelId: "mobileclip-s1",
|
|
87921
|
+
indexName: "the object semantic-search index",
|
|
87922
|
+
options: [{
|
|
87923
|
+
id: "mobileclip-s1",
|
|
87924
|
+
label: "MobileCLIP S1"
|
|
87925
|
+
}, {
|
|
87926
|
+
id: "mobileclip-s2",
|
|
87927
|
+
label: "MobileCLIP S2"
|
|
87928
|
+
}]
|
|
87929
|
+
}].map((s) => [s.stepId, s.defaultModelId])));
|
|
87930
|
+
string().min(1);
|
|
87834
87931
|
object({
|
|
87835
87932
|
/**
|
|
87836
87933
|
* Fraction of the box's own size added on EACH side before cutting.
|
|
@@ -87851,10 +87948,21 @@ object({
|
|
|
87851
87948
|
*/
|
|
87852
87949
|
square: boolean()
|
|
87853
87950
|
});
|
|
87854
|
-
|
|
87951
|
+
/**
|
|
87952
|
+
* The convention in force when nobody has configured one — byte-for-byte the
|
|
87953
|
+
* behaviour of the pre-unification LIVE path (`DETAIL_CROP_PADDING_RATIO`).
|
|
87954
|
+
*/
|
|
87955
|
+
var DEFAULT_DETAIL_CROP_CONVENTION = {
|
|
87855
87956
|
paddingRatio: .15,
|
|
87856
87957
|
square: false
|
|
87857
|
-
}
|
|
87958
|
+
};
|
|
87959
|
+
Object.freeze({
|
|
87960
|
+
x: 0,
|
|
87961
|
+
y: 0,
|
|
87962
|
+
w: 1,
|
|
87963
|
+
h: 1
|
|
87964
|
+
});
|
|
87965
|
+
DEFAULT_DETAIL_CROP_CONVENTION.paddingRatio;
|
|
87858
87966
|
/**
|
|
87859
87967
|
* WHICH delivered frames the decode worker retains a native copy of.
|
|
87860
87968
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-dreame",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.24",
|
|
4
4
|
"description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|