@camstack/addon-agent-ui 1.2.174 → 1.2.176
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 +80 -48
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -10470,6 +10470,57 @@ var ClipSearchStrictnessSchema = _enum([
|
|
|
10470
10470
|
"balanced",
|
|
10471
10471
|
"strict"
|
|
10472
10472
|
]);
|
|
10473
|
+
new Set([
|
|
10474
|
+
{
|
|
10475
|
+
id: "person",
|
|
10476
|
+
name: "Person"
|
|
10477
|
+
},
|
|
10478
|
+
{
|
|
10479
|
+
id: "vehicle",
|
|
10480
|
+
name: "Vehicle"
|
|
10481
|
+
},
|
|
10482
|
+
{
|
|
10483
|
+
id: "animal",
|
|
10484
|
+
name: "Animal"
|
|
10485
|
+
},
|
|
10486
|
+
{
|
|
10487
|
+
id: "package",
|
|
10488
|
+
name: "Package"
|
|
10489
|
+
}
|
|
10490
|
+
].map((l) => l.id));
|
|
10491
|
+
var COCO_TO_MACRO = {
|
|
10492
|
+
mapping: {
|
|
10493
|
+
person: "person",
|
|
10494
|
+
bicycle: "vehicle",
|
|
10495
|
+
car: "vehicle",
|
|
10496
|
+
motorcycle: "vehicle",
|
|
10497
|
+
airplane: "vehicle",
|
|
10498
|
+
bus: "vehicle",
|
|
10499
|
+
train: "vehicle",
|
|
10500
|
+
truck: "vehicle",
|
|
10501
|
+
boat: "vehicle",
|
|
10502
|
+
bird: "animal",
|
|
10503
|
+
cat: "animal",
|
|
10504
|
+
dog: "animal",
|
|
10505
|
+
horse: "animal",
|
|
10506
|
+
sheep: "animal",
|
|
10507
|
+
cow: "animal",
|
|
10508
|
+
elephant: "animal",
|
|
10509
|
+
bear: "animal",
|
|
10510
|
+
zebra: "animal",
|
|
10511
|
+
giraffe: "animal",
|
|
10512
|
+
suitcase: "package",
|
|
10513
|
+
backpack: "package",
|
|
10514
|
+
handbag: "package"
|
|
10515
|
+
},
|
|
10516
|
+
preserveOriginal: false
|
|
10517
|
+
};
|
|
10518
|
+
/** Steps a root detector may declare it fills. */
|
|
10519
|
+
var FILLABLE_STEP_IDS = [
|
|
10520
|
+
"animal-classifier",
|
|
10521
|
+
"vehicle-classifier",
|
|
10522
|
+
"package-detection"
|
|
10523
|
+
];
|
|
10473
10524
|
var MODEL_FORMATS = [
|
|
10474
10525
|
"onnx",
|
|
10475
10526
|
"coreml",
|
|
@@ -10602,6 +10653,12 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
|
|
|
10602
10653
|
/** True when the weights or their data forbid commercial use. */
|
|
10603
10654
|
nonCommercial: boolean().optional()
|
|
10604
10655
|
}));
|
|
10656
|
+
/** One `fillsClassifierEffects` entry — see `ModelCatalogEntry.fillsClassifierEffects`. */
|
|
10657
|
+
var FillsClassifierEffectSchema = object({
|
|
10658
|
+
stepId: _enum(FILLABLE_STEP_IDS),
|
|
10659
|
+
labelToEffect: record(string(), string()),
|
|
10660
|
+
uncovered: array(string()).readonly()
|
|
10661
|
+
});
|
|
10605
10662
|
var ModelCatalogEntrySchema = object({
|
|
10606
10663
|
id: string(),
|
|
10607
10664
|
name: string(),
|
|
@@ -10728,6 +10785,16 @@ var ModelCatalogEntrySchema = object({
|
|
|
10728
10785
|
*/
|
|
10729
10786
|
classMap: DetectionCatalogClassMapSchema.optional(),
|
|
10730
10787
|
/**
|
|
10788
|
+
* The pipeline steps this ROOT detector already does the work of (D715):
|
|
10789
|
+
* its labels name the effect the step exists to produce (`deer` for
|
|
10790
|
+
* `animal-classifier`, `package` for `package-detection`). Derived from the
|
|
10791
|
+
* labelmap by `deriveClassifierFills`, never hand-written; a COCO model
|
|
10792
|
+
* declares none. Whether a declaration is honoured is the step's own
|
|
10793
|
+
* `labelLink` policy (`resolveLabelLink`). `labelToEffect` values are in
|
|
10794
|
+
* `FILLABLE_STEP_VOCABULARIES` (guard `check-label-link-vocabulary`).
|
|
10795
|
+
*/
|
|
10796
|
+
fillsClassifierEffects: array(FillsClassifierEffectSchema).readonly().optional(),
|
|
10797
|
+
/**
|
|
10731
10798
|
* The model's CLIP feature-space contract (text encoder, dimension, vector
|
|
10732
10799
|
* index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
|
|
10733
10800
|
* CLIP image encoder; its absence is what "not a CLIP model" means to the
|
|
@@ -17648,51 +17715,6 @@ method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSche
|
|
|
17648
17715
|
kind: "mutation",
|
|
17649
17716
|
auth: "admin"
|
|
17650
17717
|
});
|
|
17651
|
-
new Set([
|
|
17652
|
-
{
|
|
17653
|
-
id: "person",
|
|
17654
|
-
name: "Person"
|
|
17655
|
-
},
|
|
17656
|
-
{
|
|
17657
|
-
id: "vehicle",
|
|
17658
|
-
name: "Vehicle"
|
|
17659
|
-
},
|
|
17660
|
-
{
|
|
17661
|
-
id: "animal",
|
|
17662
|
-
name: "Animal"
|
|
17663
|
-
},
|
|
17664
|
-
{
|
|
17665
|
-
id: "package",
|
|
17666
|
-
name: "Package"
|
|
17667
|
-
}
|
|
17668
|
-
].map((l) => l.id));
|
|
17669
|
-
var COCO_TO_MACRO = {
|
|
17670
|
-
mapping: {
|
|
17671
|
-
person: "person",
|
|
17672
|
-
bicycle: "vehicle",
|
|
17673
|
-
car: "vehicle",
|
|
17674
|
-
motorcycle: "vehicle",
|
|
17675
|
-
airplane: "vehicle",
|
|
17676
|
-
bus: "vehicle",
|
|
17677
|
-
train: "vehicle",
|
|
17678
|
-
truck: "vehicle",
|
|
17679
|
-
boat: "vehicle",
|
|
17680
|
-
bird: "animal",
|
|
17681
|
-
cat: "animal",
|
|
17682
|
-
dog: "animal",
|
|
17683
|
-
horse: "animal",
|
|
17684
|
-
sheep: "animal",
|
|
17685
|
-
cow: "animal",
|
|
17686
|
-
elephant: "animal",
|
|
17687
|
-
bear: "animal",
|
|
17688
|
-
zebra: "animal",
|
|
17689
|
-
giraffe: "animal",
|
|
17690
|
-
suitcase: "package",
|
|
17691
|
-
backpack: "package",
|
|
17692
|
-
handbag: "package"
|
|
17693
|
-
},
|
|
17694
|
-
preserveOriginal: false
|
|
17695
|
-
};
|
|
17696
17718
|
var AUDIO_MACRO_LABELS = [
|
|
17697
17719
|
{
|
|
17698
17720
|
id: "speech",
|
|
@@ -18450,6 +18472,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
18450
18472
|
"stream-offline",
|
|
18451
18473
|
"node-online",
|
|
18452
18474
|
"node-offline",
|
|
18475
|
+
"node-restarting",
|
|
18476
|
+
"node-updating",
|
|
18453
18477
|
"node-inference-unavailable",
|
|
18454
18478
|
"detection-blind",
|
|
18455
18479
|
"addon-crash-loop",
|
|
@@ -23096,7 +23120,8 @@ var PipelineModelOptionSchema = object({
|
|
|
23096
23120
|
group: ModelVariantGroupSchema.optional(),
|
|
23097
23121
|
legacy: boolean().optional(),
|
|
23098
23122
|
provider: ModelProviderIdSchema.optional(),
|
|
23099
|
-
defaultConfidence: number().optional()
|
|
23123
|
+
defaultConfidence: number().optional(),
|
|
23124
|
+
fillsClassifierEffects: array(FillsClassifierEffectSchema).readonly().optional()
|
|
23100
23125
|
});
|
|
23101
23126
|
var ConfigFieldBridge = custom();
|
|
23102
23127
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -30980,7 +31005,8 @@ object({
|
|
|
30980
31005
|
* writes this slice (not even a boot seed), and neither does the runner's
|
|
30981
31006
|
* phase machine: its phase is "a session is attached" for every on-motion
|
|
30982
31007
|
* session, not motion, and it now has its own `DetectionPhaseTransition`.
|
|
30983
|
-
* A provider's `isDetected`
|
|
31008
|
+
* A provider's `isDetected` and `getStatus` answer from the hub's slice
|
|
31009
|
+
* (`hubMotionNativeProvider`).
|
|
30984
31010
|
* - **Sensors** (Home Assistant binary sensors, Homematic, Matter, Alexa
|
|
30985
31011
|
* imports) — the provider pushes both edges itself, from the upstream
|
|
30986
31012
|
* system's own state change. That is the sensor's own fact.
|
|
@@ -47510,6 +47536,8 @@ new Map(Object.entries({
|
|
|
47510
47536
|
"detection-blind": "device-events",
|
|
47511
47537
|
"node-online": "system",
|
|
47512
47538
|
"node-offline": "system",
|
|
47539
|
+
"node-restarting": "system",
|
|
47540
|
+
"node-updating": "system",
|
|
47513
47541
|
"node-inference-unavailable": "system",
|
|
47514
47542
|
"addon-crash-loop": "system",
|
|
47515
47543
|
"addon-update-available": "system",
|
|
@@ -47587,6 +47615,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
47587
47615
|
kinds: [
|
|
47588
47616
|
"node-offline",
|
|
47589
47617
|
"node-online",
|
|
47618
|
+
"node-restarting",
|
|
47590
47619
|
"node-inference-unavailable"
|
|
47591
47620
|
]
|
|
47592
47621
|
},
|
|
@@ -47608,6 +47637,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
47608
47637
|
label: "Server & container updates",
|
|
47609
47638
|
kinds: [
|
|
47610
47639
|
"server-update-available",
|
|
47640
|
+
"node-updating",
|
|
47611
47641
|
"server-updated",
|
|
47612
47642
|
"wrapper-update-available"
|
|
47613
47643
|
]
|
|
@@ -47755,6 +47785,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
47755
47785
|
kinds: [
|
|
47756
47786
|
"node-offline",
|
|
47757
47787
|
"node-online",
|
|
47788
|
+
"node-restarting",
|
|
47758
47789
|
"node-inference-unavailable"
|
|
47759
47790
|
]
|
|
47760
47791
|
},
|
|
@@ -47776,6 +47807,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
47776
47807
|
example: "server 1.2.377 → 1.2.378",
|
|
47777
47808
|
kinds: [
|
|
47778
47809
|
"server-update-available",
|
|
47810
|
+
"node-updating",
|
|
47779
47811
|
"server-updated",
|
|
47780
47812
|
"wrapper-update-available"
|
|
47781
47813
|
]
|
|
@@ -48435,7 +48467,7 @@ var AgentUIAddon = class extends BaseAddon {
|
|
|
48435
48467
|
capability: adminUiCapability,
|
|
48436
48468
|
provider: {
|
|
48437
48469
|
getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
|
|
48438
|
-
getVersion: async () => ({ version: "1.2.
|
|
48470
|
+
getVersion: async () => ({ version: "1.2.176" })
|
|
48439
48471
|
}
|
|
48440
48472
|
}];
|
|
48441
48473
|
}
|