@camstack/addon-provider-unraid 0.2.23 → 0.2.25
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 +204 -61
- package/dist/addon.mjs +204 -61
- 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
|
|
@@ -18951,6 +18981,12 @@ var CameraStatusSchema = object({
|
|
|
18951
18981
|
/** Unix timestamp (ms) when this snapshot was composed server-side. */
|
|
18952
18982
|
fetchedAt: number()
|
|
18953
18983
|
});
|
|
18984
|
+
var InferenceDeviceExclusionReasonSchema = _enum([
|
|
18985
|
+
"disabled",
|
|
18986
|
+
"unavailable",
|
|
18987
|
+
"cannot-host-camera-root",
|
|
18988
|
+
"accelerator-preferred"
|
|
18989
|
+
]);
|
|
18954
18990
|
var NodeInferenceDeviceSchema = object({
|
|
18955
18991
|
/** Stable per-node device key, e.g. `openvino:npu`, `edgetpu:usb`, `cpu`. */
|
|
18956
18992
|
key: string(),
|
|
@@ -18981,7 +19017,17 @@ var NodeInferenceDeviceSchema = object({
|
|
|
18981
19017
|
* available per format; this is the stored selection that becomes the
|
|
18982
19018
|
* default for EVERY camera landing on this accelerator.
|
|
18983
19019
|
*/
|
|
18984
|
-
steps: record(string(), DeviceStepConfigSchema).optional()
|
|
19020
|
+
steps: record(string(), DeviceStepConfigSchema).optional(),
|
|
19021
|
+
/**
|
|
19022
|
+
* `null` when the device IS a camera-root candidate on this node; otherwise
|
|
19023
|
+
* the reason the dispatcher drops it. Computed by the SAME
|
|
19024
|
+
* `resolveInferenceDeviceEligibility` the dispatcher runs, so this view can
|
|
19025
|
+
* never disagree with the election — deriving it in the UI from
|
|
19026
|
+
* `enabled`/`available` would silently miss `cannot-host-camera-root` (needs
|
|
19027
|
+
* the node's model catalog) and `accelerator-preferred` (needs the node-wide
|
|
19028
|
+
* "an accelerator is serving" predicate).
|
|
19029
|
+
*/
|
|
19030
|
+
exclusion: InferenceDeviceExclusionReasonSchema.nullable()
|
|
18985
19031
|
});
|
|
18986
19032
|
var NodeInferenceDevicesSchema = object({
|
|
18987
19033
|
nodeId: string(),
|
|
@@ -19486,6 +19532,7 @@ DeviceType.Camera, method(object({
|
|
|
19486
19532
|
isBattery: boolean(),
|
|
19487
19533
|
reason: _enum([
|
|
19488
19534
|
"disabled",
|
|
19535
|
+
"offline",
|
|
19489
19536
|
"sleeping",
|
|
19490
19537
|
"unreachable",
|
|
19491
19538
|
"waking"
|
|
@@ -19531,9 +19578,17 @@ targets: array(object({
|
|
|
19531
19578
|
sleeping: boolean(),
|
|
19532
19579
|
/** Current device state rendered over the cached frame. State images
|
|
19533
19580
|
* remain authoritative even when their photographic background is
|
|
19534
|
-
* old; null means the link must carry a current camera frame.
|
|
19581
|
+
* old; null means the link must carry a current camera frame.
|
|
19582
|
+
*
|
|
19583
|
+
* **This is the ONLY source a surface may derive an inactive tile
|
|
19584
|
+
* from.** A client that reads a device's `online`/`disabled` flags and
|
|
19585
|
+
* draws its own verdict will disagree with the pixels it is painting
|
|
19586
|
+
* — the frame comes from here, and so must the sentence over it
|
|
19587
|
+
* (D190). Pair with `ageMs` for the age of the photograph behind the
|
|
19588
|
+
* state. */
|
|
19535
19589
|
stateReason: _enum([
|
|
19536
19590
|
"disabled",
|
|
19591
|
+
"offline",
|
|
19537
19592
|
"sleeping",
|
|
19538
19593
|
"unreachable",
|
|
19539
19594
|
"waking"
|
|
@@ -23840,7 +23895,12 @@ var ListResultSchema = object({
|
|
|
23840
23895
|
probedAt: number()
|
|
23841
23896
|
});
|
|
23842
23897
|
var PreferredSchema = LocalInterfaceSchema.nullable();
|
|
23843
|
-
|
|
23898
|
+
/**
|
|
23899
|
+
* Candidate base URL for the SDK to race on connect. Order matters —
|
|
23900
|
+
* the SDK should attempt these top-to-bottom with a short per-candidate
|
|
23901
|
+
* timeout (e.g. 1500ms) and cache the winner for the session.
|
|
23902
|
+
*/
|
|
23903
|
+
var ConnectionEndpointSchema = object({
|
|
23844
23904
|
/** Operator-facing label (e.g. "LAN — en0", "Public tunnel"). */
|
|
23845
23905
|
label: string(),
|
|
23846
23906
|
/** Fully-formed base URL with scheme + host + port. */
|
|
@@ -23883,7 +23943,42 @@ var GetConnectionEndpointsResultSchema = object({ endpoints: array(object({
|
|
|
23883
23943
|
* ordering between polls.
|
|
23884
23944
|
*/
|
|
23885
23945
|
priority: number()
|
|
23886
|
-
})
|
|
23946
|
+
});
|
|
23947
|
+
/**
|
|
23948
|
+
* Where the advertised local port came from. Ordered most → least
|
|
23949
|
+
* authoritative, and the whole point of returning it: a client must be able to
|
|
23950
|
+
* tell a FACT about the hub's socket from an echo of its own guess.
|
|
23951
|
+
*/
|
|
23952
|
+
var LocalPortSourceEnum = _enum([
|
|
23953
|
+
"server-config",
|
|
23954
|
+
"server-env",
|
|
23955
|
+
"caller-hint",
|
|
23956
|
+
"default"
|
|
23957
|
+
]);
|
|
23958
|
+
/** The port every LAN/loopback `baseUrl` in the same result was built with. */
|
|
23959
|
+
var AdvertisedLocalPortSchema = object({
|
|
23960
|
+
port: number().int().min(1).max(65535),
|
|
23961
|
+
source: LocalPortSourceEnum
|
|
23962
|
+
});
|
|
23963
|
+
var GetConnectionEndpointsResultSchema = object({
|
|
23964
|
+
endpoints: array(ConnectionEndpointSchema).readonly(),
|
|
23965
|
+
/**
|
|
23966
|
+
* The port the hub built the LAN/loopback URLs with, and where that number
|
|
23967
|
+
* came from.
|
|
23968
|
+
*
|
|
23969
|
+
* Returned rather than merely applied, because "the URL is right" and "the
|
|
23970
|
+
* client can KNOW the URL is right" are different properties. A client that
|
|
23971
|
+
* only sees a corrected URL cannot distinguish a hub that fixed the port from
|
|
23972
|
+
* a hub that echoed the port the client sent, so it cannot decide whether to
|
|
23973
|
+
* race the candidate or discard it. With `source` it can: anything but
|
|
23974
|
+
* `caller-hint` is the hub's own socket.
|
|
23975
|
+
*
|
|
23976
|
+
* Absent on hubs predating this field — a client that finds it missing is
|
|
23977
|
+
* talking to an echoing hub and must degrade exactly as it does for
|
|
23978
|
+
* `caller-hint`.
|
|
23979
|
+
*/
|
|
23980
|
+
localPort: AdvertisedLocalPortSchema
|
|
23981
|
+
});
|
|
23887
23982
|
/**
|
|
23888
23983
|
* The chosen outbound endpoint for notification artifacts. `baseUrl: null` =
|
|
23889
23984
|
* AUTO (resolved from the candidate ranking at send time); `resolved` reports
|
|
@@ -23904,8 +23999,13 @@ var AllowedAddressesSchema = object({
|
|
|
23904
23999
|
*/
|
|
23905
24000
|
addresses: array(string()).readonly() });
|
|
23906
24001
|
method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(object({
|
|
23907
|
-
/**
|
|
23908
|
-
|
|
24002
|
+
/**
|
|
24003
|
+
* LEGACY HINT — do not send from new code. Kept optional so clients
|
|
24004
|
+
* written against the echoing contract keep working; the hub uses it
|
|
24005
|
+
* only when it cannot read its own port, and says so via
|
|
24006
|
+
* `localPort.source === 'caller-hint'`.
|
|
24007
|
+
*/
|
|
24008
|
+
port: number().int().min(1).max(65535).optional(),
|
|
23909
24009
|
/** Include `http(s)://127.0.0.1:<port>` as the lowest-priority
|
|
23910
24010
|
* candidate. Default `true`. */
|
|
23911
24011
|
includeLoopback: boolean().optional(),
|
|
@@ -37093,7 +37193,6 @@ var NC_AUDIO_DEFAULTS = {
|
|
|
37093
37193
|
hitPercent: 60,
|
|
37094
37194
|
samplingSeconds: 10
|
|
37095
37195
|
};
|
|
37096
|
-
new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
|
|
37097
37196
|
new Set(["devices", "classes"]);
|
|
37098
37197
|
NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
|
|
37099
37198
|
/**
|
|
@@ -37327,6 +37426,39 @@ TimelapseRuleInputSchema.extend({
|
|
|
37327
37426
|
createdAt: number(),
|
|
37328
37427
|
updatedAt: number()
|
|
37329
37428
|
});
|
|
37429
|
+
Object.freeze(Object.fromEntries([{
|
|
37430
|
+
stepId: "face-embedding",
|
|
37431
|
+
label: "Face recognition model",
|
|
37432
|
+
defaultModelId: "arcface-r100",
|
|
37433
|
+
indexName: "the enrolled face gallery",
|
|
37434
|
+
options: [
|
|
37435
|
+
{
|
|
37436
|
+
id: "arcface-r100",
|
|
37437
|
+
label: "ArcFace (ResNet34)"
|
|
37438
|
+
},
|
|
37439
|
+
{
|
|
37440
|
+
id: "auraface-r100",
|
|
37441
|
+
label: "AuraFace R100"
|
|
37442
|
+
},
|
|
37443
|
+
{
|
|
37444
|
+
id: "inception-resnet-v1",
|
|
37445
|
+
label: "Inception ResNet V1"
|
|
37446
|
+
}
|
|
37447
|
+
]
|
|
37448
|
+
}, {
|
|
37449
|
+
stepId: "clip-embedding",
|
|
37450
|
+
label: "Semantic search model",
|
|
37451
|
+
defaultModelId: "mobileclip-s1",
|
|
37452
|
+
indexName: "the object semantic-search index",
|
|
37453
|
+
options: [{
|
|
37454
|
+
id: "mobileclip-s1",
|
|
37455
|
+
label: "MobileCLIP S1"
|
|
37456
|
+
}, {
|
|
37457
|
+
id: "mobileclip-s2",
|
|
37458
|
+
label: "MobileCLIP S2"
|
|
37459
|
+
}]
|
|
37460
|
+
}].map((s) => [s.stepId, s.defaultModelId])));
|
|
37461
|
+
string().min(1);
|
|
37330
37462
|
object({
|
|
37331
37463
|
/**
|
|
37332
37464
|
* Fraction of the box's own size added on EACH side before cutting.
|
|
@@ -37347,10 +37479,21 @@ object({
|
|
|
37347
37479
|
*/
|
|
37348
37480
|
square: boolean()
|
|
37349
37481
|
});
|
|
37350
|
-
|
|
37482
|
+
/**
|
|
37483
|
+
* The convention in force when nobody has configured one — byte-for-byte the
|
|
37484
|
+
* behaviour of the pre-unification LIVE path (`DETAIL_CROP_PADDING_RATIO`).
|
|
37485
|
+
*/
|
|
37486
|
+
var DEFAULT_DETAIL_CROP_CONVENTION = {
|
|
37351
37487
|
paddingRatio: .15,
|
|
37352
37488
|
square: false
|
|
37353
|
-
}
|
|
37489
|
+
};
|
|
37490
|
+
Object.freeze({
|
|
37491
|
+
x: 0,
|
|
37492
|
+
y: 0,
|
|
37493
|
+
w: 1,
|
|
37494
|
+
h: 1
|
|
37495
|
+
});
|
|
37496
|
+
DEFAULT_DETAIL_CROP_CONVENTION.paddingRatio;
|
|
37354
37497
|
/**
|
|
37355
37498
|
* WHICH delivered frames the decode worker retains a native copy of.
|
|
37356
37499
|
*
|
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
|
|
@@ -18950,6 +18980,12 @@ var CameraStatusSchema = object({
|
|
|
18950
18980
|
/** Unix timestamp (ms) when this snapshot was composed server-side. */
|
|
18951
18981
|
fetchedAt: number()
|
|
18952
18982
|
});
|
|
18983
|
+
var InferenceDeviceExclusionReasonSchema = _enum([
|
|
18984
|
+
"disabled",
|
|
18985
|
+
"unavailable",
|
|
18986
|
+
"cannot-host-camera-root",
|
|
18987
|
+
"accelerator-preferred"
|
|
18988
|
+
]);
|
|
18953
18989
|
var NodeInferenceDeviceSchema = object({
|
|
18954
18990
|
/** Stable per-node device key, e.g. `openvino:npu`, `edgetpu:usb`, `cpu`. */
|
|
18955
18991
|
key: string(),
|
|
@@ -18980,7 +19016,17 @@ var NodeInferenceDeviceSchema = object({
|
|
|
18980
19016
|
* available per format; this is the stored selection that becomes the
|
|
18981
19017
|
* default for EVERY camera landing on this accelerator.
|
|
18982
19018
|
*/
|
|
18983
|
-
steps: record(string(), DeviceStepConfigSchema).optional()
|
|
19019
|
+
steps: record(string(), DeviceStepConfigSchema).optional(),
|
|
19020
|
+
/**
|
|
19021
|
+
* `null` when the device IS a camera-root candidate on this node; otherwise
|
|
19022
|
+
* the reason the dispatcher drops it. Computed by the SAME
|
|
19023
|
+
* `resolveInferenceDeviceEligibility` the dispatcher runs, so this view can
|
|
19024
|
+
* never disagree with the election — deriving it in the UI from
|
|
19025
|
+
* `enabled`/`available` would silently miss `cannot-host-camera-root` (needs
|
|
19026
|
+
* the node's model catalog) and `accelerator-preferred` (needs the node-wide
|
|
19027
|
+
* "an accelerator is serving" predicate).
|
|
19028
|
+
*/
|
|
19029
|
+
exclusion: InferenceDeviceExclusionReasonSchema.nullable()
|
|
18984
19030
|
});
|
|
18985
19031
|
var NodeInferenceDevicesSchema = object({
|
|
18986
19032
|
nodeId: string(),
|
|
@@ -19485,6 +19531,7 @@ DeviceType.Camera, method(object({
|
|
|
19485
19531
|
isBattery: boolean(),
|
|
19486
19532
|
reason: _enum([
|
|
19487
19533
|
"disabled",
|
|
19534
|
+
"offline",
|
|
19488
19535
|
"sleeping",
|
|
19489
19536
|
"unreachable",
|
|
19490
19537
|
"waking"
|
|
@@ -19530,9 +19577,17 @@ targets: array(object({
|
|
|
19530
19577
|
sleeping: boolean(),
|
|
19531
19578
|
/** Current device state rendered over the cached frame. State images
|
|
19532
19579
|
* remain authoritative even when their photographic background is
|
|
19533
|
-
* old; null means the link must carry a current camera frame.
|
|
19580
|
+
* old; null means the link must carry a current camera frame.
|
|
19581
|
+
*
|
|
19582
|
+
* **This is the ONLY source a surface may derive an inactive tile
|
|
19583
|
+
* from.** A client that reads a device's `online`/`disabled` flags and
|
|
19584
|
+
* draws its own verdict will disagree with the pixels it is painting
|
|
19585
|
+
* — the frame comes from here, and so must the sentence over it
|
|
19586
|
+
* (D190). Pair with `ageMs` for the age of the photograph behind the
|
|
19587
|
+
* state. */
|
|
19534
19588
|
stateReason: _enum([
|
|
19535
19589
|
"disabled",
|
|
19590
|
+
"offline",
|
|
19536
19591
|
"sleeping",
|
|
19537
19592
|
"unreachable",
|
|
19538
19593
|
"waking"
|
|
@@ -23839,7 +23894,12 @@ var ListResultSchema = object({
|
|
|
23839
23894
|
probedAt: number()
|
|
23840
23895
|
});
|
|
23841
23896
|
var PreferredSchema = LocalInterfaceSchema.nullable();
|
|
23842
|
-
|
|
23897
|
+
/**
|
|
23898
|
+
* Candidate base URL for the SDK to race on connect. Order matters —
|
|
23899
|
+
* the SDK should attempt these top-to-bottom with a short per-candidate
|
|
23900
|
+
* timeout (e.g. 1500ms) and cache the winner for the session.
|
|
23901
|
+
*/
|
|
23902
|
+
var ConnectionEndpointSchema = object({
|
|
23843
23903
|
/** Operator-facing label (e.g. "LAN — en0", "Public tunnel"). */
|
|
23844
23904
|
label: string(),
|
|
23845
23905
|
/** Fully-formed base URL with scheme + host + port. */
|
|
@@ -23882,7 +23942,42 @@ var GetConnectionEndpointsResultSchema = object({ endpoints: array(object({
|
|
|
23882
23942
|
* ordering between polls.
|
|
23883
23943
|
*/
|
|
23884
23944
|
priority: number()
|
|
23885
|
-
})
|
|
23945
|
+
});
|
|
23946
|
+
/**
|
|
23947
|
+
* Where the advertised local port came from. Ordered most → least
|
|
23948
|
+
* authoritative, and the whole point of returning it: a client must be able to
|
|
23949
|
+
* tell a FACT about the hub's socket from an echo of its own guess.
|
|
23950
|
+
*/
|
|
23951
|
+
var LocalPortSourceEnum = _enum([
|
|
23952
|
+
"server-config",
|
|
23953
|
+
"server-env",
|
|
23954
|
+
"caller-hint",
|
|
23955
|
+
"default"
|
|
23956
|
+
]);
|
|
23957
|
+
/** The port every LAN/loopback `baseUrl` in the same result was built with. */
|
|
23958
|
+
var AdvertisedLocalPortSchema = object({
|
|
23959
|
+
port: number().int().min(1).max(65535),
|
|
23960
|
+
source: LocalPortSourceEnum
|
|
23961
|
+
});
|
|
23962
|
+
var GetConnectionEndpointsResultSchema = object({
|
|
23963
|
+
endpoints: array(ConnectionEndpointSchema).readonly(),
|
|
23964
|
+
/**
|
|
23965
|
+
* The port the hub built the LAN/loopback URLs with, and where that number
|
|
23966
|
+
* came from.
|
|
23967
|
+
*
|
|
23968
|
+
* Returned rather than merely applied, because "the URL is right" and "the
|
|
23969
|
+
* client can KNOW the URL is right" are different properties. A client that
|
|
23970
|
+
* only sees a corrected URL cannot distinguish a hub that fixed the port from
|
|
23971
|
+
* a hub that echoed the port the client sent, so it cannot decide whether to
|
|
23972
|
+
* race the candidate or discard it. With `source` it can: anything but
|
|
23973
|
+
* `caller-hint` is the hub's own socket.
|
|
23974
|
+
*
|
|
23975
|
+
* Absent on hubs predating this field — a client that finds it missing is
|
|
23976
|
+
* talking to an echoing hub and must degrade exactly as it does for
|
|
23977
|
+
* `caller-hint`.
|
|
23978
|
+
*/
|
|
23979
|
+
localPort: AdvertisedLocalPortSchema
|
|
23980
|
+
});
|
|
23886
23981
|
/**
|
|
23887
23982
|
* The chosen outbound endpoint for notification artifacts. `baseUrl: null` =
|
|
23888
23983
|
* AUTO (resolved from the candidate ranking at send time); `resolved` reports
|
|
@@ -23903,8 +23998,13 @@ var AllowedAddressesSchema = object({
|
|
|
23903
23998
|
*/
|
|
23904
23999
|
addresses: array(string()).readonly() });
|
|
23905
24000
|
method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(object({
|
|
23906
|
-
/**
|
|
23907
|
-
|
|
24001
|
+
/**
|
|
24002
|
+
* LEGACY HINT — do not send from new code. Kept optional so clients
|
|
24003
|
+
* written against the echoing contract keep working; the hub uses it
|
|
24004
|
+
* only when it cannot read its own port, and says so via
|
|
24005
|
+
* `localPort.source === 'caller-hint'`.
|
|
24006
|
+
*/
|
|
24007
|
+
port: number().int().min(1).max(65535).optional(),
|
|
23908
24008
|
/** Include `http(s)://127.0.0.1:<port>` as the lowest-priority
|
|
23909
24009
|
* candidate. Default `true`. */
|
|
23910
24010
|
includeLoopback: boolean().optional(),
|
|
@@ -37092,7 +37192,6 @@ var NC_AUDIO_DEFAULTS = {
|
|
|
37092
37192
|
hitPercent: 60,
|
|
37093
37193
|
samplingSeconds: 10
|
|
37094
37194
|
};
|
|
37095
|
-
new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
|
|
37096
37195
|
new Set(["devices", "classes"]);
|
|
37097
37196
|
NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
|
|
37098
37197
|
/**
|
|
@@ -37326,6 +37425,39 @@ TimelapseRuleInputSchema.extend({
|
|
|
37326
37425
|
createdAt: number(),
|
|
37327
37426
|
updatedAt: number()
|
|
37328
37427
|
});
|
|
37428
|
+
Object.freeze(Object.fromEntries([{
|
|
37429
|
+
stepId: "face-embedding",
|
|
37430
|
+
label: "Face recognition model",
|
|
37431
|
+
defaultModelId: "arcface-r100",
|
|
37432
|
+
indexName: "the enrolled face gallery",
|
|
37433
|
+
options: [
|
|
37434
|
+
{
|
|
37435
|
+
id: "arcface-r100",
|
|
37436
|
+
label: "ArcFace (ResNet34)"
|
|
37437
|
+
},
|
|
37438
|
+
{
|
|
37439
|
+
id: "auraface-r100",
|
|
37440
|
+
label: "AuraFace R100"
|
|
37441
|
+
},
|
|
37442
|
+
{
|
|
37443
|
+
id: "inception-resnet-v1",
|
|
37444
|
+
label: "Inception ResNet V1"
|
|
37445
|
+
}
|
|
37446
|
+
]
|
|
37447
|
+
}, {
|
|
37448
|
+
stepId: "clip-embedding",
|
|
37449
|
+
label: "Semantic search model",
|
|
37450
|
+
defaultModelId: "mobileclip-s1",
|
|
37451
|
+
indexName: "the object semantic-search index",
|
|
37452
|
+
options: [{
|
|
37453
|
+
id: "mobileclip-s1",
|
|
37454
|
+
label: "MobileCLIP S1"
|
|
37455
|
+
}, {
|
|
37456
|
+
id: "mobileclip-s2",
|
|
37457
|
+
label: "MobileCLIP S2"
|
|
37458
|
+
}]
|
|
37459
|
+
}].map((s) => [s.stepId, s.defaultModelId])));
|
|
37460
|
+
string().min(1);
|
|
37329
37461
|
object({
|
|
37330
37462
|
/**
|
|
37331
37463
|
* Fraction of the box's own size added on EACH side before cutting.
|
|
@@ -37346,10 +37478,21 @@ object({
|
|
|
37346
37478
|
*/
|
|
37347
37479
|
square: boolean()
|
|
37348
37480
|
});
|
|
37349
|
-
|
|
37481
|
+
/**
|
|
37482
|
+
* The convention in force when nobody has configured one — byte-for-byte the
|
|
37483
|
+
* behaviour of the pre-unification LIVE path (`DETAIL_CROP_PADDING_RATIO`).
|
|
37484
|
+
*/
|
|
37485
|
+
var DEFAULT_DETAIL_CROP_CONVENTION = {
|
|
37350
37486
|
paddingRatio: .15,
|
|
37351
37487
|
square: false
|
|
37352
|
-
}
|
|
37488
|
+
};
|
|
37489
|
+
Object.freeze({
|
|
37490
|
+
x: 0,
|
|
37491
|
+
y: 0,
|
|
37492
|
+
w: 1,
|
|
37493
|
+
h: 1
|
|
37494
|
+
});
|
|
37495
|
+
DEFAULT_DETAIL_CROP_CONVENTION.paddingRatio;
|
|
37353
37496
|
/**
|
|
37354
37497
|
* WHICH delivered frames the decode worker retains a native copy of.
|
|
37355
37498
|
*
|
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.25",
|
|
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",
|