@camstack/addon-osd-manager 0.1.174 → 0.1.175
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/{MotionZonesSettings-BgWZ6XzA.mjs → MotionZonesSettings-CLHuPFP2.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-D9S1pJVU.mjs → PrivacyMaskSettings-msEoZGV4.mjs} +4 -4
- package/dist/{SceneMonitorEditor-rwUxImev.mjs → SceneMonitorEditor-CDMTyPOI.mjs} +3 -3
- package/dist/_stub.js +10 -10
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-BT-J4sUh.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-BOWRi4wx.mjs} +3 -3
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-C2RynBx0.mjs +26 -0
- package/dist/{hostInit-1uK9d0Vg.mjs → hostInit-B0oLGxE3.mjs} +2 -2
- package/dist/index.js +195 -64
- package/dist/index.mjs +195 -64
- package/dist/{player-overlays-BjZKK_0c.mjs → player-overlays-Ci5aBEqV.mjs} +1 -1
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-CO8uheGu.mjs → responsive-D83cn_B2.mjs} +1 -1
- package/dist/{scene-monitor-copy-BYrV3aHh.mjs → scene-monitor-copy-T37cA01e.mjs} +1 -1
- package/dist/{square-BAgLrcRx.mjs → square-BBks-LOA.mjs} +1 -1
- package/dist/{trash-2-BMlm83TB.mjs → trash-2-B4ohh3xr.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-Dw0LOv1F.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-C0g1t6Aa.mjs} +1 -1
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DMGYyDv5.mjs +0 -26
package/dist/index.js
CHANGED
|
@@ -10566,57 +10566,15 @@ var ClipSearchStrictnessSchema = _enum([
|
|
|
10566
10566
|
"balanced",
|
|
10567
10567
|
"strict"
|
|
10568
10568
|
]);
|
|
10569
|
-
|
|
10570
|
-
|
|
10571
|
-
id: "person",
|
|
10572
|
-
name: "Person"
|
|
10573
|
-
},
|
|
10574
|
-
{
|
|
10575
|
-
id: "vehicle",
|
|
10576
|
-
name: "Vehicle"
|
|
10577
|
-
},
|
|
10578
|
-
{
|
|
10579
|
-
id: "animal",
|
|
10580
|
-
name: "Animal"
|
|
10581
|
-
},
|
|
10582
|
-
{
|
|
10583
|
-
id: "package",
|
|
10584
|
-
name: "Package"
|
|
10585
|
-
}
|
|
10586
|
-
].map((l) => l.id));
|
|
10587
|
-
var COCO_TO_MACRO = {
|
|
10588
|
-
mapping: {
|
|
10589
|
-
person: "person",
|
|
10590
|
-
bicycle: "vehicle",
|
|
10591
|
-
car: "vehicle",
|
|
10592
|
-
motorcycle: "vehicle",
|
|
10593
|
-
airplane: "vehicle",
|
|
10594
|
-
bus: "vehicle",
|
|
10595
|
-
train: "vehicle",
|
|
10596
|
-
truck: "vehicle",
|
|
10597
|
-
boat: "vehicle",
|
|
10598
|
-
bird: "animal",
|
|
10599
|
-
cat: "animal",
|
|
10600
|
-
dog: "animal",
|
|
10601
|
-
horse: "animal",
|
|
10602
|
-
sheep: "animal",
|
|
10603
|
-
cow: "animal",
|
|
10604
|
-
elephant: "animal",
|
|
10605
|
-
bear: "animal",
|
|
10606
|
-
zebra: "animal",
|
|
10607
|
-
giraffe: "animal",
|
|
10608
|
-
suitcase: "package",
|
|
10609
|
-
backpack: "package",
|
|
10610
|
-
handbag: "package"
|
|
10611
|
-
},
|
|
10612
|
-
preserveOriginal: false
|
|
10613
|
-
};
|
|
10614
|
-
/** Steps a root detector may declare it fills. */
|
|
10615
|
-
var FILLABLE_STEP_IDS = [
|
|
10569
|
+
/** Steps whose effect a root label can BE. */
|
|
10570
|
+
var LABEL_SUPPLY_STEP_IDS = [
|
|
10616
10571
|
"animal-classifier",
|
|
10617
10572
|
"vehicle-classifier",
|
|
10618
10573
|
"package-detection"
|
|
10619
10574
|
];
|
|
10575
|
+
/** Steps whose box a root detection can BE. */
|
|
10576
|
+
var CROP_SUPPLY_STEP_IDS = ["plate-detection", "face-detection"];
|
|
10577
|
+
[...LABEL_SUPPLY_STEP_IDS, ...CROP_SUPPLY_STEP_IDS];
|
|
10620
10578
|
var MODEL_FORMATS = [
|
|
10621
10579
|
"onnx",
|
|
10622
10580
|
"coreml",
|
|
@@ -10749,12 +10707,35 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
|
|
|
10749
10707
|
/** True when the weights or their data forbid commercial use. */
|
|
10750
10708
|
nonCommercial: boolean().optional()
|
|
10751
10709
|
}));
|
|
10752
|
-
/**
|
|
10753
|
-
|
|
10754
|
-
|
|
10710
|
+
/**
|
|
10711
|
+
* One step a ROOT detector can supply from its own output (D730) — see
|
|
10712
|
+
* `ModelCatalogEntry.suppliesSteps`.
|
|
10713
|
+
*
|
|
10714
|
+
* - `label`: the root's raw class IS the step's answer. `labelToEffect` maps
|
|
10715
|
+
* the root's label to the step's vocabulary; `uncovered` is the vocabulary
|
|
10716
|
+
* the root cannot produce (shown as unavailable, never a blocker).
|
|
10717
|
+
* - `crop`: the root draws the box the step would have found (`license_plate`
|
|
10718
|
+
* for plate-detection, `face` for face-detection). The box becomes a detail
|
|
10719
|
+
* child of the `parentMacro` detection that contains it — never a track.
|
|
10720
|
+
*/
|
|
10721
|
+
var RootStepSupplySchema = discriminatedUnion("kind", [object({
|
|
10722
|
+
kind: literal("label"),
|
|
10723
|
+
stepId: _enum(LABEL_SUPPLY_STEP_IDS),
|
|
10755
10724
|
labelToEffect: record(string(), string()),
|
|
10756
10725
|
uncovered: array(string()).readonly()
|
|
10757
|
-
})
|
|
10726
|
+
}), object({
|
|
10727
|
+
kind: literal("crop"),
|
|
10728
|
+
stepId: _enum(CROP_SUPPLY_STEP_IDS),
|
|
10729
|
+
rootLabels: array(string()).readonly(),
|
|
10730
|
+
parentMacro: _enum(["vehicle", "person"]),
|
|
10731
|
+
childClass: _enum(["plate", "face"]),
|
|
10732
|
+
/**
|
|
10733
|
+
* The root's smaller input side, stamped on read by `rootSuppliesOf` from
|
|
10734
|
+
* the model entry — what a step's `minRootInputPx` gate judges. Never
|
|
10735
|
+
* stored by an import.
|
|
10736
|
+
*/
|
|
10737
|
+
rootInputPx: number().int().positive().optional()
|
|
10738
|
+
})]);
|
|
10758
10739
|
var ModelCatalogEntrySchema = object({
|
|
10759
10740
|
id: string(),
|
|
10760
10741
|
name: string(),
|
|
@@ -10881,15 +10862,15 @@ var ModelCatalogEntrySchema = object({
|
|
|
10881
10862
|
*/
|
|
10882
10863
|
classMap: DetectionCatalogClassMapSchema.optional(),
|
|
10883
10864
|
/**
|
|
10884
|
-
* The pipeline steps this ROOT detector
|
|
10885
|
-
* its labels name
|
|
10886
|
-
*
|
|
10887
|
-
* labelmap by `
|
|
10888
|
-
*
|
|
10889
|
-
*
|
|
10890
|
-
* `
|
|
10865
|
+
* The pipeline steps this ROOT detector can supply from its own output
|
|
10866
|
+
* (D730): its labels name a step's effect (`deer` for `animal-classifier`)
|
|
10867
|
+
* or draw a step's box (`license_plate` for `plate-detection`). Computed at
|
|
10868
|
+
* import from THIS model's labelmap by `deriveRootSupplies`, never written
|
|
10869
|
+
* by hand and never assumed per family; a row without it is derived on read
|
|
10870
|
+
* (`rootSuppliesOf`). Whether a camera uses it is the step's own
|
|
10871
|
+
* `useRootModel` flag (`resolveRootSupply`).
|
|
10891
10872
|
*/
|
|
10892
|
-
|
|
10873
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional(),
|
|
10893
10874
|
/**
|
|
10894
10875
|
* The model's CLIP feature-space contract (text encoder, dimension, vector
|
|
10895
10876
|
* index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
|
|
@@ -20477,6 +20458,51 @@ var notificationOutputCapability = {
|
|
|
20477
20458
|
})
|
|
20478
20459
|
}
|
|
20479
20460
|
};
|
|
20461
|
+
new Set([
|
|
20462
|
+
{
|
|
20463
|
+
id: "person",
|
|
20464
|
+
name: "Person"
|
|
20465
|
+
},
|
|
20466
|
+
{
|
|
20467
|
+
id: "vehicle",
|
|
20468
|
+
name: "Vehicle"
|
|
20469
|
+
},
|
|
20470
|
+
{
|
|
20471
|
+
id: "animal",
|
|
20472
|
+
name: "Animal"
|
|
20473
|
+
},
|
|
20474
|
+
{
|
|
20475
|
+
id: "package",
|
|
20476
|
+
name: "Package"
|
|
20477
|
+
}
|
|
20478
|
+
].map((l) => l.id));
|
|
20479
|
+
var COCO_TO_MACRO = {
|
|
20480
|
+
mapping: {
|
|
20481
|
+
person: "person",
|
|
20482
|
+
bicycle: "vehicle",
|
|
20483
|
+
car: "vehicle",
|
|
20484
|
+
motorcycle: "vehicle",
|
|
20485
|
+
airplane: "vehicle",
|
|
20486
|
+
bus: "vehicle",
|
|
20487
|
+
train: "vehicle",
|
|
20488
|
+
truck: "vehicle",
|
|
20489
|
+
boat: "vehicle",
|
|
20490
|
+
bird: "animal",
|
|
20491
|
+
cat: "animal",
|
|
20492
|
+
dog: "animal",
|
|
20493
|
+
horse: "animal",
|
|
20494
|
+
sheep: "animal",
|
|
20495
|
+
cow: "animal",
|
|
20496
|
+
elephant: "animal",
|
|
20497
|
+
bear: "animal",
|
|
20498
|
+
zebra: "animal",
|
|
20499
|
+
giraffe: "animal",
|
|
20500
|
+
suitcase: "package",
|
|
20501
|
+
backpack: "package",
|
|
20502
|
+
handbag: "package"
|
|
20503
|
+
},
|
|
20504
|
+
preserveOriginal: false
|
|
20505
|
+
};
|
|
20480
20506
|
var AUDIO_MACRO_LABELS = [
|
|
20481
20507
|
{
|
|
20482
20508
|
id: "speech",
|
|
@@ -22927,7 +22953,7 @@ var NC_CONDITION_CATALOG = [
|
|
|
22927
22953
|
operator: "in",
|
|
22928
22954
|
appliesTo: ["immediate", "track-end"],
|
|
22929
22955
|
phase: "P1",
|
|
22930
|
-
description: "Only recognised people. Selecting NOBODY means every identity in the face gallery; selecting some narrows to those. Matched on the gallery id, so renaming a person does not break the rule. On Immediate delivery the name must already be known when an event is written — choose Immediate, grouped to wait for it
|
|
22956
|
+
description: "Only recognised people. Selecting NOBODY means every identity in the face gallery; selecting some narrows to those. Matched on the gallery id, so renaming a person does not break the rule. On Immediate delivery the name must already be known when an event is written — choose Immediate, grouped to wait for it."
|
|
22931
22957
|
},
|
|
22932
22958
|
{
|
|
22933
22959
|
id: "plates",
|
|
@@ -27211,6 +27237,34 @@ var pipelineAnalyticsCapability = {
|
|
|
27211
27237
|
}
|
|
27212
27238
|
};
|
|
27213
27239
|
/**
|
|
27240
|
+
* A root model's boxes standing in for one crop-kind step's own inference
|
|
27241
|
+
* (D730) — see `runPipeline.suppliedRoot`.
|
|
27242
|
+
*/
|
|
27243
|
+
var SuppliedRootOutputSchema = object({
|
|
27244
|
+
stepId: string(),
|
|
27245
|
+
/** The root model that drew the boxes — stamped on the result. */
|
|
27246
|
+
modelId: string(),
|
|
27247
|
+
detections: array(object({
|
|
27248
|
+
/** `[x1, y1, x2, y2]` in the pixels of the call's image. */
|
|
27249
|
+
bbox: tuple([
|
|
27250
|
+
number(),
|
|
27251
|
+
number(),
|
|
27252
|
+
number(),
|
|
27253
|
+
number()
|
|
27254
|
+
]),
|
|
27255
|
+
score: number(),
|
|
27256
|
+
/**
|
|
27257
|
+
* Five facial landmarks in the same pixels — a face the step's own
|
|
27258
|
+
* detector already re-found inside a root face box (D730), so its
|
|
27259
|
+
* embedder child aligns it exactly as it aligns any detected face.
|
|
27260
|
+
*/
|
|
27261
|
+
landmarks: array(object({
|
|
27262
|
+
x: number(),
|
|
27263
|
+
y: number()
|
|
27264
|
+
})).optional()
|
|
27265
|
+
})).min(1)
|
|
27266
|
+
});
|
|
27267
|
+
/**
|
|
27214
27268
|
* Reference to the frame's retained NATIVE surface + the parent crop's placement
|
|
27215
27269
|
* within the frame, so the executor can re-cut a leaf child ROI at native
|
|
27216
27270
|
* resolution on the detail plane. See the `runPipeline` `nativeCropRef` field.
|
|
@@ -27341,7 +27395,7 @@ var PipelineModelOptionSchema = object({
|
|
|
27341
27395
|
legacy: boolean().optional(),
|
|
27342
27396
|
provider: ModelProviderIdSchema.optional(),
|
|
27343
27397
|
defaultConfidence: number().optional(),
|
|
27344
|
-
|
|
27398
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional()
|
|
27345
27399
|
});
|
|
27346
27400
|
var ConfigFieldBridge = custom();
|
|
27347
27401
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -27745,7 +27799,16 @@ var pipelineExecutorCapability = {
|
|
|
27745
27799
|
* `device-not-servable`), and nothing reaches the camera's live
|
|
27746
27800
|
* trace stream. Absent ⇒ unchanged behaviour.
|
|
27747
27801
|
*/
|
|
27748
|
-
replay: literal(true).optional()
|
|
27802
|
+
replay: literal(true).optional(),
|
|
27803
|
+
/**
|
|
27804
|
+
* Root-supplied detections for the tree's ROOT step (D730). Set by
|
|
27805
|
+
* `runDetailSubtree` when the camera's root model supplies a crop-kind
|
|
27806
|
+
* step (a Frigate+ `license_plate` for `plate-detection`): the step is
|
|
27807
|
+
* NOT inferred, these boxes are its output, and its children (the plate
|
|
27808
|
+
* reader) run on them through their own crop policy. Boxes are in the
|
|
27809
|
+
* PIXELS of the image this call carries. Absent ⇒ the root step runs.
|
|
27810
|
+
*/
|
|
27811
|
+
suppliedRoot: SuppliedRootOutputSchema.optional()
|
|
27749
27812
|
}), PipelineRunResultBridge, { kind: "mutation" }),
|
|
27750
27813
|
/**
|
|
27751
27814
|
* Batched run — N raw frames packed into one cap call. The provider
|
|
@@ -29058,7 +29121,22 @@ var pipelineRunnerCapability = {
|
|
|
29058
29121
|
*/
|
|
29059
29122
|
cropJpeg: string().optional(),
|
|
29060
29123
|
parent: DetailParentSchema,
|
|
29061
|
-
steps: array(string()).optional()
|
|
29124
|
+
steps: array(string()).optional(),
|
|
29125
|
+
/**
|
|
29126
|
+
* The camera's root model already drew this step's boxes (D730): a
|
|
29127
|
+
* `license_plate` inside the parent vehicle. The named step is NOT
|
|
29128
|
+
* inferred — these FRAME-space boxes are its output — and its
|
|
29129
|
+
* requested children (the plate reader) run on them. Absent ⇒ every
|
|
29130
|
+
* requested step infers as before.
|
|
29131
|
+
*/
|
|
29132
|
+
supplied: object({
|
|
29133
|
+
stepId: string(),
|
|
29134
|
+
modelId: string(),
|
|
29135
|
+
boxes: array(object({
|
|
29136
|
+
bbox: NativeCropBboxSchema,
|
|
29137
|
+
score: number()
|
|
29138
|
+
})).min(1)
|
|
29139
|
+
}).optional()
|
|
29062
29140
|
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" }),
|
|
29063
29141
|
/**
|
|
29064
29142
|
* Run ONE enrichment step against caller-supplied pixels, with NO camera
|
|
@@ -37902,6 +37980,27 @@ var ViewerEndpointsSchema = object({
|
|
|
37902
37980
|
/** What the ranking currently resolves to (may be empty if nothing is up). */
|
|
37903
37981
|
resolved: array(string()).readonly()
|
|
37904
37982
|
});
|
|
37983
|
+
/**
|
|
37984
|
+
* One audience's hub address (see `hub-address.ts`): the operator's stored
|
|
37985
|
+
* override, the address in use, and where it came from.
|
|
37986
|
+
*/
|
|
37987
|
+
var HubAddressSnapshotSchema = object({
|
|
37988
|
+
/** The operator's override, or null for automatic. */
|
|
37989
|
+
override: string().nullable(),
|
|
37990
|
+
/** The address in use, or null when nothing qualifies (never loopback). */
|
|
37991
|
+
resolved: string().nullable(),
|
|
37992
|
+
source: _enum([
|
|
37993
|
+
"override",
|
|
37994
|
+
"auto",
|
|
37995
|
+
"none"
|
|
37996
|
+
])
|
|
37997
|
+
});
|
|
37998
|
+
var HubAddressesSchema = object({
|
|
37999
|
+
/** "Hub address for agents" — agents' bundle/model pulls, LAN devices. */
|
|
38000
|
+
cluster: HubAddressSnapshotSchema,
|
|
38001
|
+
/** "Public address for sign-in links" — e-mail links, OIDC, WebAuthn, OAuth2. */
|
|
38002
|
+
browser: HubAddressSnapshotSchema
|
|
38003
|
+
});
|
|
37905
38004
|
var AllowedAddressesSchema = object({
|
|
37906
38005
|
/**
|
|
37907
38006
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -38034,6 +38133,26 @@ var localNetworkCapability = {
|
|
|
38034
38133
|
*/
|
|
38035
38134
|
setViewerEndpoints: method(object({ baseUrls: array(string()).readonly() }), ViewerEndpointsSchema, { kind: "mutation" }),
|
|
38036
38135
|
/**
|
|
38136
|
+
* The hub's address for each audience — agents (`cluster`) and sign-in
|
|
38137
|
+
* links (`browser`) — as every consumer must read it: the operator's
|
|
38138
|
+
* override when set, else the automatic pick from this cap's palette,
|
|
38139
|
+
* never loopback. The ONE answer to "at which address is this hub
|
|
38140
|
+
* reached?"; there is no environment variable for it.
|
|
38141
|
+
*/
|
|
38142
|
+
getHubAddresses: method(_void(), HubAddressesSchema),
|
|
38143
|
+
/**
|
|
38144
|
+
* Set or clear (`baseUrl: null`) one audience's override. Validated: an
|
|
38145
|
+
* http(s) origin with a host, no credentials, no path, never loopback —
|
|
38146
|
+
* an invalid value is refused with the reason, nothing is stored.
|
|
38147
|
+
*/
|
|
38148
|
+
setHubAddress: method(object({
|
|
38149
|
+
audience: _enum(["cluster", "browser"]),
|
|
38150
|
+
baseUrl: string().nullable()
|
|
38151
|
+
}), HubAddressesSchema, {
|
|
38152
|
+
kind: "mutation",
|
|
38153
|
+
auth: "admin"
|
|
38154
|
+
}),
|
|
38155
|
+
/**
|
|
38037
38156
|
* Read the operator's allowlist. Empty = "auto" (no filter). Used
|
|
38038
38157
|
* by the admin UI's address selector to seed its checkbox state.
|
|
38039
38158
|
*/
|
|
@@ -49184,6 +49303,12 @@ Object.freeze({
|
|
|
49184
49303
|
addonId: null,
|
|
49185
49304
|
access: "view"
|
|
49186
49305
|
},
|
|
49306
|
+
"localNetwork.getHubAddresses": {
|
|
49307
|
+
capName: "local-network",
|
|
49308
|
+
capScope: "system",
|
|
49309
|
+
addonId: null,
|
|
49310
|
+
access: "view"
|
|
49311
|
+
},
|
|
49187
49312
|
"localNetwork.getNotificationEndpoint": {
|
|
49188
49313
|
capName: "local-network",
|
|
49189
49314
|
capScope: "system",
|
|
@@ -49238,6 +49363,12 @@ Object.freeze({
|
|
|
49238
49363
|
addonId: null,
|
|
49239
49364
|
access: "create"
|
|
49240
49365
|
},
|
|
49366
|
+
"localNetwork.setHubAddress": {
|
|
49367
|
+
capName: "local-network",
|
|
49368
|
+
capScope: "system",
|
|
49369
|
+
addonId: null,
|
|
49370
|
+
access: "create"
|
|
49371
|
+
},
|
|
49241
49372
|
"localNetwork.setNotificationEndpoint": {
|
|
49242
49373
|
capName: "local-network",
|
|
49243
49374
|
capScope: "system",
|
|
@@ -58197,7 +58328,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
58197
58328
|
{
|
|
58198
58329
|
name: "summarySection",
|
|
58199
58330
|
label: "Summary: this section",
|
|
58200
|
-
description: "The section a per-section summary row is about
|
|
58331
|
+
description: "The section a per-section summary row is about; on a summary sent as one message, every section it reports, comma-separated.",
|
|
58201
58332
|
example: "Batterie scariche",
|
|
58202
58333
|
group: "system",
|
|
58203
58334
|
families: ["rule"],
|