@camstack/addon-provider-unraid 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
|
@@ -7566,7 +7566,7 @@ var RecordingBandSchema = object({
|
|
|
7566
7566
|
postBufferSec: number().min(0).optional()
|
|
7567
7567
|
});
|
|
7568
7568
|
({
|
|
7569
|
-
preBufferSec:
|
|
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"
|
|
@@ -26269,9 +26308,21 @@ var RecordingLocationUsageSchema = object({
|
|
|
26269
26308
|
* previously rendered as two identical "disks" with a nonsensical used
|
|
26270
26309
|
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
26271
26310
|
locationIds: array(string()).optional(),
|
|
26272
|
-
/**
|
|
26311
|
+
/**
|
|
26312
|
+
* Filesystem root of the physical volume this row accounts — the only
|
|
26313
|
+
* operator-legible identity when a location has no `displayName` yet, and
|
|
26314
|
+
* what a "which disk is full" alert has to name. OPTIONAL for the same
|
|
26315
|
+
* train-skew reason as `oldestMs`: a recorder that predates the field omits
|
|
26316
|
+
* it, and this schema must keep validating that older provider's payload.
|
|
26317
|
+
*/
|
|
26318
|
+
root: string().optional(),
|
|
26319
|
+
/** Bytes of recordings stored on this PHYSICAL volume (all aliases). This is
|
|
26320
|
+
* the footage's SHARE of the volume, not how full the volume is — the disk
|
|
26321
|
+
* also holds everything that is not recordings. Volume fill is
|
|
26322
|
+
* `(totalBytes - availableBytes) / totalBytes`. */
|
|
26273
26323
|
usedBytes: number(),
|
|
26274
|
-
/** Free bytes on the location's volume; null when capacity is unknown
|
|
26324
|
+
/** Free bytes on the location's volume; null when capacity is unknown
|
|
26325
|
+
* (remote/unstattable — the recorder logs the statfs failure with the root). */
|
|
26275
26326
|
availableBytes: number().nullable(),
|
|
26276
26327
|
/** Total bytes of the location's volume; null when unknown. */
|
|
26277
26328
|
totalBytes: number().nullable()
|
|
@@ -26283,7 +26334,15 @@ var RecordingStorageUsageSchema = object({
|
|
|
26283
26334
|
nodeId: string(),
|
|
26284
26335
|
totalUsedBytes: number(),
|
|
26285
26336
|
devices: array(RecordingDeviceUsageSchema),
|
|
26286
|
-
|
|
26337
|
+
/**
|
|
26338
|
+
* Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
|
|
26339
|
+
* of the payload without it: the hub serves this method through a BAKED
|
|
26340
|
+
* router, so a hub whose framework train predates a change to this array
|
|
26341
|
+
* strips it out of an answer a newer recorder happily produced. A UI that
|
|
26342
|
+
* dereferences it unconditionally crashes the whole Storage page over a
|
|
26343
|
+
* missing disk bar.
|
|
26344
|
+
*/
|
|
26345
|
+
locations: array(RecordingLocationUsageSchema).optional()
|
|
26287
26346
|
});
|
|
26288
26347
|
/**
|
|
26289
26348
|
* The OPERATOR-ARMED half of multi-location recordings (D116).
|
|
@@ -37068,8 +37127,13 @@ Object.freeze({
|
|
|
37068
37127
|
"network-access": "ingress",
|
|
37069
37128
|
"smtp-provider": "email"
|
|
37070
37129
|
});
|
|
37071
|
-
|
|
37130
|
+
/** Schema defaults — an untouched sub-field must author exactly these. */
|
|
37131
|
+
var NC_AUDIO_DEFAULTS = {
|
|
37132
|
+
hitPercent: 60,
|
|
37133
|
+
samplingSeconds: 10
|
|
37134
|
+
};
|
|
37072
37135
|
new Set(["devices", "classes"]);
|
|
37136
|
+
NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
|
|
37073
37137
|
/**
|
|
37074
37138
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
37075
37139
|
*
|
|
@@ -37301,6 +37365,39 @@ TimelapseRuleInputSchema.extend({
|
|
|
37301
37365
|
createdAt: number(),
|
|
37302
37366
|
updatedAt: number()
|
|
37303
37367
|
});
|
|
37368
|
+
Object.freeze(Object.fromEntries([{
|
|
37369
|
+
stepId: "face-embedding",
|
|
37370
|
+
label: "Face recognition model",
|
|
37371
|
+
defaultModelId: "arcface-r100",
|
|
37372
|
+
indexName: "the enrolled face gallery",
|
|
37373
|
+
options: [
|
|
37374
|
+
{
|
|
37375
|
+
id: "arcface-r100",
|
|
37376
|
+
label: "ArcFace (ResNet34)"
|
|
37377
|
+
},
|
|
37378
|
+
{
|
|
37379
|
+
id: "auraface-r100",
|
|
37380
|
+
label: "AuraFace R100"
|
|
37381
|
+
},
|
|
37382
|
+
{
|
|
37383
|
+
id: "inception-resnet-v1",
|
|
37384
|
+
label: "Inception ResNet V1"
|
|
37385
|
+
}
|
|
37386
|
+
]
|
|
37387
|
+
}, {
|
|
37388
|
+
stepId: "clip-embedding",
|
|
37389
|
+
label: "Semantic search model",
|
|
37390
|
+
defaultModelId: "mobileclip-s1",
|
|
37391
|
+
indexName: "the object semantic-search index",
|
|
37392
|
+
options: [{
|
|
37393
|
+
id: "mobileclip-s1",
|
|
37394
|
+
label: "MobileCLIP S1"
|
|
37395
|
+
}, {
|
|
37396
|
+
id: "mobileclip-s2",
|
|
37397
|
+
label: "MobileCLIP S2"
|
|
37398
|
+
}]
|
|
37399
|
+
}].map((s) => [s.stepId, s.defaultModelId])));
|
|
37400
|
+
string().min(1);
|
|
37304
37401
|
object({
|
|
37305
37402
|
/**
|
|
37306
37403
|
* Fraction of the box's own size added on EACH side before cutting.
|
|
@@ -37321,10 +37418,21 @@ object({
|
|
|
37321
37418
|
*/
|
|
37322
37419
|
square: boolean()
|
|
37323
37420
|
});
|
|
37324
|
-
|
|
37421
|
+
/**
|
|
37422
|
+
* The convention in force when nobody has configured one — byte-for-byte the
|
|
37423
|
+
* behaviour of the pre-unification LIVE path (`DETAIL_CROP_PADDING_RATIO`).
|
|
37424
|
+
*/
|
|
37425
|
+
var DEFAULT_DETAIL_CROP_CONVENTION = {
|
|
37325
37426
|
paddingRatio: .15,
|
|
37326
37427
|
square: false
|
|
37327
|
-
}
|
|
37428
|
+
};
|
|
37429
|
+
Object.freeze({
|
|
37430
|
+
x: 0,
|
|
37431
|
+
y: 0,
|
|
37432
|
+
w: 1,
|
|
37433
|
+
h: 1
|
|
37434
|
+
});
|
|
37435
|
+
DEFAULT_DETAIL_CROP_CONVENTION.paddingRatio;
|
|
37328
37436
|
/**
|
|
37329
37437
|
* WHICH delivered frames the decode worker retains a native copy of.
|
|
37330
37438
|
*
|
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:
|
|
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"
|
|
@@ -26268,9 +26307,21 @@ var RecordingLocationUsageSchema = object({
|
|
|
26268
26307
|
* previously rendered as two identical "disks" with a nonsensical used
|
|
26269
26308
|
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
26270
26309
|
locationIds: array(string()).optional(),
|
|
26271
|
-
/**
|
|
26310
|
+
/**
|
|
26311
|
+
* Filesystem root of the physical volume this row accounts — the only
|
|
26312
|
+
* operator-legible identity when a location has no `displayName` yet, and
|
|
26313
|
+
* what a "which disk is full" alert has to name. OPTIONAL for the same
|
|
26314
|
+
* train-skew reason as `oldestMs`: a recorder that predates the field omits
|
|
26315
|
+
* it, and this schema must keep validating that older provider's payload.
|
|
26316
|
+
*/
|
|
26317
|
+
root: string().optional(),
|
|
26318
|
+
/** Bytes of recordings stored on this PHYSICAL volume (all aliases). This is
|
|
26319
|
+
* the footage's SHARE of the volume, not how full the volume is — the disk
|
|
26320
|
+
* also holds everything that is not recordings. Volume fill is
|
|
26321
|
+
* `(totalBytes - availableBytes) / totalBytes`. */
|
|
26272
26322
|
usedBytes: number(),
|
|
26273
|
-
/** Free bytes on the location's volume; null when capacity is unknown
|
|
26323
|
+
/** Free bytes on the location's volume; null when capacity is unknown
|
|
26324
|
+
* (remote/unstattable — the recorder logs the statfs failure with the root). */
|
|
26274
26325
|
availableBytes: number().nullable(),
|
|
26275
26326
|
/** Total bytes of the location's volume; null when unknown. */
|
|
26276
26327
|
totalBytes: number().nullable()
|
|
@@ -26282,7 +26333,15 @@ var RecordingStorageUsageSchema = object({
|
|
|
26282
26333
|
nodeId: string(),
|
|
26283
26334
|
totalUsedBytes: number(),
|
|
26284
26335
|
devices: array(RecordingDeviceUsageSchema),
|
|
26285
|
-
|
|
26336
|
+
/**
|
|
26337
|
+
* Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
|
|
26338
|
+
* of the payload without it: the hub serves this method through a BAKED
|
|
26339
|
+
* router, so a hub whose framework train predates a change to this array
|
|
26340
|
+
* strips it out of an answer a newer recorder happily produced. A UI that
|
|
26341
|
+
* dereferences it unconditionally crashes the whole Storage page over a
|
|
26342
|
+
* missing disk bar.
|
|
26343
|
+
*/
|
|
26344
|
+
locations: array(RecordingLocationUsageSchema).optional()
|
|
26286
26345
|
});
|
|
26287
26346
|
/**
|
|
26288
26347
|
* The OPERATOR-ARMED half of multi-location recordings (D116).
|
|
@@ -37067,8 +37126,13 @@ Object.freeze({
|
|
|
37067
37126
|
"network-access": "ingress",
|
|
37068
37127
|
"smtp-provider": "email"
|
|
37069
37128
|
});
|
|
37070
|
-
|
|
37129
|
+
/** Schema defaults — an untouched sub-field must author exactly these. */
|
|
37130
|
+
var NC_AUDIO_DEFAULTS = {
|
|
37131
|
+
hitPercent: 60,
|
|
37132
|
+
samplingSeconds: 10
|
|
37133
|
+
};
|
|
37071
37134
|
new Set(["devices", "classes"]);
|
|
37135
|
+
NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
|
|
37072
37136
|
/**
|
|
37073
37137
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
37074
37138
|
*
|
|
@@ -37300,6 +37364,39 @@ TimelapseRuleInputSchema.extend({
|
|
|
37300
37364
|
createdAt: number(),
|
|
37301
37365
|
updatedAt: number()
|
|
37302
37366
|
});
|
|
37367
|
+
Object.freeze(Object.fromEntries([{
|
|
37368
|
+
stepId: "face-embedding",
|
|
37369
|
+
label: "Face recognition model",
|
|
37370
|
+
defaultModelId: "arcface-r100",
|
|
37371
|
+
indexName: "the enrolled face gallery",
|
|
37372
|
+
options: [
|
|
37373
|
+
{
|
|
37374
|
+
id: "arcface-r100",
|
|
37375
|
+
label: "ArcFace (ResNet34)"
|
|
37376
|
+
},
|
|
37377
|
+
{
|
|
37378
|
+
id: "auraface-r100",
|
|
37379
|
+
label: "AuraFace R100"
|
|
37380
|
+
},
|
|
37381
|
+
{
|
|
37382
|
+
id: "inception-resnet-v1",
|
|
37383
|
+
label: "Inception ResNet V1"
|
|
37384
|
+
}
|
|
37385
|
+
]
|
|
37386
|
+
}, {
|
|
37387
|
+
stepId: "clip-embedding",
|
|
37388
|
+
label: "Semantic search model",
|
|
37389
|
+
defaultModelId: "mobileclip-s1",
|
|
37390
|
+
indexName: "the object semantic-search index",
|
|
37391
|
+
options: [{
|
|
37392
|
+
id: "mobileclip-s1",
|
|
37393
|
+
label: "MobileCLIP S1"
|
|
37394
|
+
}, {
|
|
37395
|
+
id: "mobileclip-s2",
|
|
37396
|
+
label: "MobileCLIP S2"
|
|
37397
|
+
}]
|
|
37398
|
+
}].map((s) => [s.stepId, s.defaultModelId])));
|
|
37399
|
+
string().min(1);
|
|
37303
37400
|
object({
|
|
37304
37401
|
/**
|
|
37305
37402
|
* Fraction of the box's own size added on EACH side before cutting.
|
|
@@ -37320,10 +37417,21 @@ object({
|
|
|
37320
37417
|
*/
|
|
37321
37418
|
square: boolean()
|
|
37322
37419
|
});
|
|
37323
|
-
|
|
37420
|
+
/**
|
|
37421
|
+
* The convention in force when nobody has configured one — byte-for-byte the
|
|
37422
|
+
* behaviour of the pre-unification LIVE path (`DETAIL_CROP_PADDING_RATIO`).
|
|
37423
|
+
*/
|
|
37424
|
+
var DEFAULT_DETAIL_CROP_CONVENTION = {
|
|
37324
37425
|
paddingRatio: .15,
|
|
37325
37426
|
square: false
|
|
37326
|
-
}
|
|
37427
|
+
};
|
|
37428
|
+
Object.freeze({
|
|
37429
|
+
x: 0,
|
|
37430
|
+
y: 0,
|
|
37431
|
+
w: 1,
|
|
37432
|
+
h: 1
|
|
37433
|
+
});
|
|
37434
|
+
DEFAULT_DETAIL_CROP_CONVENTION.paddingRatio;
|
|
37327
37435
|
/**
|
|
37328
37436
|
* WHICH delivered frames the decode worker retains a native copy of.
|
|
37329
37437
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-unraid",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.24",
|
|
4
4
|
"description": "Unraid device-provider addon for CamStack — one Container per Unraid instance fanning out array, disk, docker and notification entities",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|