@camstack/addon-mqtt-broker 1.2.142 → 1.2.144
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/mqtt-broker.addon.js +213 -86
- package/dist/mqtt-broker.addon.mjs +213 -86
- package/package.json +1 -1
|
@@ -5611,7 +5611,7 @@ var ZodIssueCode = {
|
|
|
5611
5611
|
var ZodFirstPartyTypeKind;
|
|
5612
5612
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5613
5613
|
//#endregion
|
|
5614
|
-
//#region ../types/dist/sleep-
|
|
5614
|
+
//#region ../types/dist/sleep-CUp20JkO.mjs
|
|
5615
5615
|
/**
|
|
5616
5616
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5617
5617
|
* window to float samples (D455).
|
|
@@ -8691,7 +8691,11 @@ var ContributionSectionSchema = object({
|
|
|
8691
8691
|
literal(4)
|
|
8692
8692
|
]).optional(),
|
|
8693
8693
|
tab: string().optional(),
|
|
8694
|
-
location: _enum([
|
|
8694
|
+
location: _enum([
|
|
8695
|
+
"settings",
|
|
8696
|
+
"top-tab",
|
|
8697
|
+
"hero"
|
|
8698
|
+
]).optional(),
|
|
8695
8699
|
order: number().optional(),
|
|
8696
8700
|
fields: array(any())
|
|
8697
8701
|
});
|
|
@@ -13610,7 +13614,11 @@ var ConfigSectionWithValuesSchema = object({
|
|
|
13610
13614
|
literal(4)
|
|
13611
13615
|
]).optional(),
|
|
13612
13616
|
tab: string().optional(),
|
|
13613
|
-
location: _enum([
|
|
13617
|
+
location: _enum([
|
|
13618
|
+
"settings",
|
|
13619
|
+
"top-tab",
|
|
13620
|
+
"hero"
|
|
13621
|
+
]).optional(),
|
|
13614
13622
|
order: number().optional(),
|
|
13615
13623
|
fields: array(any())
|
|
13616
13624
|
});
|
|
@@ -17433,6 +17441,52 @@ var TierStatusSchema = object({
|
|
|
17433
17441
|
countedAt: number().nullable()
|
|
17434
17442
|
});
|
|
17435
17443
|
/** Operator/diagnostic view: rows per tier, last runs, refusals and drops since boot. */
|
|
17444
|
+
/**
|
|
17445
|
+
* Why a series is orphan. `device-gone`: its device is absent from the
|
|
17446
|
+
* successful device listings (the departure clock). `undeclared`: its `cap:`
|
|
17447
|
+
* key is declared by no capability any more (a field a cap removed).
|
|
17448
|
+
*/
|
|
17449
|
+
var DeviceHistoryOrphanReasonSchema = _enum(["device-gone", "undeclared"]);
|
|
17450
|
+
/** Rows held per stored tier. */
|
|
17451
|
+
var TierRowsSchema = object({
|
|
17452
|
+
raw: number().int(),
|
|
17453
|
+
"5m": number().int(),
|
|
17454
|
+
"1h": number().int(),
|
|
17455
|
+
"1d": number().int()
|
|
17456
|
+
});
|
|
17457
|
+
var OrphanSeriesSchema = object({
|
|
17458
|
+
seriesId: number().int(),
|
|
17459
|
+
deviceId: number().int(),
|
|
17460
|
+
key: string(),
|
|
17461
|
+
scope: string(),
|
|
17462
|
+
/** The metric's display name; `null` when its metric row is gone too. */
|
|
17463
|
+
displayName: string().nullable(),
|
|
17464
|
+
reason: DeviceHistoryOrphanReasonSchema,
|
|
17465
|
+
/** `device-gone`: since when the device has been absent; `null` otherwise. */
|
|
17466
|
+
missingSince: number().nullable(),
|
|
17467
|
+
firstTs: number(),
|
|
17468
|
+
lastTs: number(),
|
|
17469
|
+
rows: TierRowsSchema
|
|
17470
|
+
});
|
|
17471
|
+
var DeviceHistoryOrphanDeleteRefusalSchema = _enum([
|
|
17472
|
+
"not-found",
|
|
17473
|
+
"not-orphan",
|
|
17474
|
+
"failed"
|
|
17475
|
+
]);
|
|
17476
|
+
var OrphanDeleteEntrySchema = discriminatedUnion("ok", [object({
|
|
17477
|
+
seriesId: number().int(),
|
|
17478
|
+
ok: literal(true),
|
|
17479
|
+
deleted: TierRowsSchema
|
|
17480
|
+
}), object({
|
|
17481
|
+
seriesId: number().int(),
|
|
17482
|
+
ok: literal(false),
|
|
17483
|
+
reason: DeviceHistoryOrphanDeleteRefusalSchema
|
|
17484
|
+
})]);
|
|
17485
|
+
var OrphanListSchema = object({
|
|
17486
|
+
series: array(OrphanSeriesSchema).readonly(),
|
|
17487
|
+
/** More orphans exist than {@link DEVICE_HISTORY_ORPHAN_LIST_MAX}. */
|
|
17488
|
+
truncated: boolean()
|
|
17489
|
+
});
|
|
17436
17490
|
var DeviceHistoryStatusSchema = object({
|
|
17437
17491
|
startedAt: number(),
|
|
17438
17492
|
/** The store is declared, series loaded and the first reconcile has answered. */
|
|
@@ -17530,7 +17584,10 @@ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly())
|
|
|
17530
17584
|
}), object({ enabled: boolean() }), {
|
|
17531
17585
|
kind: "mutation",
|
|
17532
17586
|
auth: "admin"
|
|
17533
|
-
}), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" })
|
|
17587
|
+
}), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" }), method(object({}), OrphanListSchema, { auth: "admin" }), method(object({ seriesIds: array(number().int()).min(1).max(50) }), object({ results: array(OrphanDeleteEntrySchema).readonly() }), {
|
|
17588
|
+
kind: "mutation",
|
|
17589
|
+
auth: "admin"
|
|
17590
|
+
});
|
|
17534
17591
|
var DeviceCaStatusSchema = discriminatedUnion("state", [
|
|
17535
17592
|
object({ state: literal("absent") }),
|
|
17536
17593
|
object({
|
|
@@ -50223,6 +50280,19 @@ var NodeInferenceDeviceSchema = object({
|
|
|
50223
50280
|
/** Whether the node's live probe reports the device as usable right now. */
|
|
50224
50281
|
available: boolean(),
|
|
50225
50282
|
/**
|
|
50283
|
+
* Is the device on the node at all (D919)? `present` — the live probe
|
|
50284
|
+
* reported it; `absent` — the probe ANSWERED and did not report it, so only
|
|
50285
|
+
* its stored settings remain (unplugged, moved to another node): never
|
|
50286
|
+
* eligible, whatever its stored `enabled`, and forgettable with
|
|
50287
|
+
* `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
|
|
50288
|
+
* claimed (D315). Optional only for an orchestrator older than the field.
|
|
50289
|
+
*/
|
|
50290
|
+
presence: _enum([
|
|
50291
|
+
"present",
|
|
50292
|
+
"absent",
|
|
50293
|
+
"unknown"
|
|
50294
|
+
]).optional(),
|
|
50295
|
+
/**
|
|
50226
50296
|
* Whether this device participates in dispatch. AUTO default (spec C2):
|
|
50227
50297
|
* accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
|
|
50228
50298
|
* entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
|
|
@@ -50448,7 +50518,13 @@ method(object({
|
|
|
50448
50518
|
}), object({ success: literal(true) }), {
|
|
50449
50519
|
kind: "mutation",
|
|
50450
50520
|
auth: "admin"
|
|
50451
|
-
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50521
|
+
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50522
|
+
agentNodeId: string(),
|
|
50523
|
+
deviceKey: string()
|
|
50524
|
+
}), object({ success: literal(true) }), {
|
|
50525
|
+
kind: "mutation",
|
|
50526
|
+
auth: "admin"
|
|
50527
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
50452
50528
|
success: literal(true),
|
|
50453
50529
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
50454
50530
|
effectiveModelId: string().nullable(),
|
|
@@ -54558,17 +54634,69 @@ object({
|
|
|
54558
54634
|
});
|
|
54559
54635
|
DeviceType.Sensor;
|
|
54560
54636
|
/**
|
|
54561
|
-
* Generic device-consumables capability —
|
|
54562
|
-
*
|
|
54563
|
-
* descaling cycles,
|
|
54564
|
-
*
|
|
54565
|
-
*
|
|
54566
|
-
*
|
|
54637
|
+
* Generic device-consumables capability — the ONE place a device reports what
|
|
54638
|
+
* it uses up or fills: wear parts (vacuum filters/brushes, cartridges,
|
|
54639
|
+
* descaling cycles), supplies it draws from (a vacuum's clean-water tank and
|
|
54640
|
+
* detergent, a dishwasher's salt and rinse aid) and waste it collects (a dirty
|
|
54641
|
+
* water tank, a dust bin). Each item carries its remaining life or fill and an
|
|
54642
|
+
* optional "Replaced" reset action. Device-agnostic: any provider that knows
|
|
54643
|
+
* its device tracks consumables registers it; the provider names each item
|
|
54644
|
+
* verbatim and says which `kind` it is.
|
|
54645
|
+
*
|
|
54646
|
+
* The admin UI renders it as ONE collapsible section directly under the
|
|
54647
|
+
* device page's hero card (`placement: 'hero'`), for every device bound to
|
|
54648
|
+
* this cap — never drawn by a device type's hero card itself (D915).
|
|
54567
54649
|
*
|
|
54568
54650
|
* Like `childLayout`, the cap is INERT until a provider sets items: no
|
|
54569
54651
|
* provider populates it by guessing (no HA inference). The UI renders a
|
|
54570
54652
|
* "No consumables reported" placeholder when `items` is empty.
|
|
54571
54653
|
*/
|
|
54654
|
+
/**
|
|
54655
|
+
* What an item IS, which decides which direction is bad:
|
|
54656
|
+
* - `wear` — a part that wears out (a brush, a filter); low life is bad.
|
|
54657
|
+
* - `supply` — something the device draws from (clean water, detergent,
|
|
54658
|
+
* salt, rinse aid); low or empty is bad.
|
|
54659
|
+
* - `waste` — something the device fills (dirty water, a dust bin); full is
|
|
54660
|
+
* bad.
|
|
54661
|
+
* Absent = `wear`.
|
|
54662
|
+
*/
|
|
54663
|
+
var ConsumableKindSchema = _enum([
|
|
54664
|
+
"wear",
|
|
54665
|
+
"supply",
|
|
54666
|
+
"waste"
|
|
54667
|
+
]);
|
|
54668
|
+
/**
|
|
54669
|
+
* What an item LOOKS like, which decides how a client draws it — independent
|
|
54670
|
+
* of `kind`, which decides which direction is bad:
|
|
54671
|
+
* - `part` — a part that wears (a brush, a filter, a mop pad): a wear bar,
|
|
54672
|
+
* remaining time and a reset.
|
|
54673
|
+
* - `tank` — a container of liquid (clean water, dirty water): a fill gauge.
|
|
54674
|
+
* - `product` — something bought and refilled (detergent, salt, rinse aid):
|
|
54675
|
+
* a stepped level and "refill".
|
|
54676
|
+
* - `bin` — a container that collects waste (a dust bin): a fill gauge
|
|
54677
|
+
* that warns when full.
|
|
54678
|
+
* Absent = derived from the kind ({@link consumableFormOf}).
|
|
54679
|
+
*/
|
|
54680
|
+
var ConsumableFormSchema = _enum([
|
|
54681
|
+
"part",
|
|
54682
|
+
"tank",
|
|
54683
|
+
"product",
|
|
54684
|
+
"bin"
|
|
54685
|
+
]);
|
|
54686
|
+
/** The provider's own discrete verdict on an item. */
|
|
54687
|
+
var ConsumableStatusSchema = _enum([
|
|
54688
|
+
"ok",
|
|
54689
|
+
"low",
|
|
54690
|
+
"empty",
|
|
54691
|
+
"full",
|
|
54692
|
+
"replace"
|
|
54693
|
+
]);
|
|
54694
|
+
_enum([
|
|
54695
|
+
"ok",
|
|
54696
|
+
"low",
|
|
54697
|
+
"empty",
|
|
54698
|
+
"full"
|
|
54699
|
+
]);
|
|
54572
54700
|
/** Units a remaining-life counter is reported in. Closed: the panel renders
|
|
54573
54701
|
* each. */
|
|
54574
54702
|
var ConsumableRemainingUnitSchema = _enum([
|
|
@@ -54588,10 +54716,14 @@ var ConsumablesStatusSchema = object({
|
|
|
54588
54716
|
key: string().min(1),
|
|
54589
54717
|
/** Display name. */
|
|
54590
54718
|
label: string().min(1),
|
|
54591
|
-
/** Remaining life % when known (0..100). */
|
|
54719
|
+
/** Remaining life % (`wear`) or fill % (`supply`, `waste`) when known (0..100). */
|
|
54592
54720
|
level: number().min(0).max(100).nullable(),
|
|
54593
|
-
/**
|
|
54594
|
-
status:
|
|
54721
|
+
/** The provider's discrete verdict when known (binary mode). */
|
|
54722
|
+
status: ConsumableStatusSchema.nullable(),
|
|
54723
|
+
/** What the item is — decides whether low or full is bad. Absent = `wear`. */
|
|
54724
|
+
kind: ConsumableKindSchema.optional(),
|
|
54725
|
+
/** How the item is drawn (part, tank, product, bin). Absent = derived from `kind`. */
|
|
54726
|
+
form: ConsumableFormSchema.optional(),
|
|
54595
54727
|
/** Ms epoch of the last replace, when known. */
|
|
54596
54728
|
lastResetAt: number().nullable(),
|
|
54597
54729
|
/** Whether `reset()` is meaningful for this item. */
|
|
@@ -54826,8 +54958,9 @@ object({
|
|
|
54826
54958
|
status: DeviceStatusSchema
|
|
54827
54959
|
});
|
|
54828
54960
|
/**
|
|
54829
|
-
* Smart-dishwasher cap — program lifecycle, door / remote-start gates
|
|
54830
|
-
*
|
|
54961
|
+
* Smart-dishwasher cap — program lifecycle, door / remote-start gates and
|
|
54962
|
+
* common program options. Salt and rinse aid are NOT here: they are items of
|
|
54963
|
+
* the device's `consumables` cap, like every other device's (D915).
|
|
54831
54964
|
*
|
|
54832
54965
|
* Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
|
|
54833
54966
|
* by any integration that exposes the same program / option surface.
|
|
@@ -54875,11 +55008,6 @@ var DishwasherAvailabilitySchema = _enum([
|
|
|
54875
55008
|
"offline",
|
|
54876
55009
|
"description-missing"
|
|
54877
55010
|
]);
|
|
54878
|
-
var DishwasherConsumableLevelSchema = _enum([
|
|
54879
|
-
"ok",
|
|
54880
|
-
"low",
|
|
54881
|
-
"empty"
|
|
54882
|
-
]);
|
|
54883
55011
|
object({
|
|
54884
55012
|
availability: DishwasherAvailabilitySchema,
|
|
54885
55013
|
/** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
|
|
@@ -54912,8 +55040,6 @@ object({
|
|
|
54912
55040
|
powerOn: boolean().nullable(),
|
|
54913
55041
|
/** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
|
|
54914
55042
|
powerState: string().nullable(),
|
|
54915
|
-
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
54916
|
-
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
54917
55043
|
/**
|
|
54918
55044
|
* True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
|
|
54919
55045
|
* combined care-and-filter reminder raised); false when every such reminder reads clear; null
|
|
@@ -56953,7 +57079,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
|
|
|
56953
57079
|
enabled: boolean()
|
|
56954
57080
|
}), _void(), {
|
|
56955
57081
|
kind: "mutation",
|
|
56956
|
-
auth: "
|
|
57082
|
+
auth: "protected"
|
|
56957
57083
|
}), object({
|
|
56958
57084
|
deviceId: number(),
|
|
56959
57085
|
enabled: boolean(),
|
|
@@ -57443,6 +57569,13 @@ var TopologyNodeSchema = object({
|
|
|
57443
57569
|
cpuModel: string().nullable(),
|
|
57444
57570
|
cpuCores: number(),
|
|
57445
57571
|
memoryMB: number(),
|
|
57572
|
+
/**
|
|
57573
|
+
* The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
|
|
57574
|
+
* openvino, edgetpu …) — not its devices. An installed runtime says nothing
|
|
57575
|
+
* about whether its hardware is there (a Coral delegate stays installed
|
|
57576
|
+
* after the stick leaves, D919); the live device set is
|
|
57577
|
+
* `pipelineOrchestrator.getNodeInferenceDevices`.
|
|
57578
|
+
*/
|
|
57446
57579
|
engines: array(string()).readonly(),
|
|
57447
57580
|
isHub: boolean(),
|
|
57448
57581
|
isOnline: boolean(),
|
|
@@ -58407,7 +58540,28 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
58407
58540
|
format: ModelFormatSchema,
|
|
58408
58541
|
reason: string()
|
|
58409
58542
|
});
|
|
58410
|
-
|
|
58543
|
+
/**
|
|
58544
|
+
* The answer of an accelerator rescan (D919): the node's device list after
|
|
58545
|
+
* the re-probe, what changed, and the evidence that decided the Coral answer
|
|
58546
|
+
* (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
|
|
58547
|
+
* bus, the installed-delegate fallback, or nothing).
|
|
58548
|
+
*/
|
|
58549
|
+
var AcceleratorRescanSchema = object({
|
|
58550
|
+
devices: array(InferenceDeviceDescriptorSchema).readonly(),
|
|
58551
|
+
appeared: array(string()).readonly(),
|
|
58552
|
+
disappeared: array(string()).readonly(),
|
|
58553
|
+
usbBus: _enum(["observed", "unobservable"]),
|
|
58554
|
+
decidedBy: _enum([
|
|
58555
|
+
"usb-ids",
|
|
58556
|
+
"pci",
|
|
58557
|
+
"delegate-fallback",
|
|
58558
|
+
"none"
|
|
58559
|
+
])
|
|
58560
|
+
});
|
|
58561
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
|
|
58562
|
+
kind: "mutation",
|
|
58563
|
+
auth: "admin"
|
|
58564
|
+
});
|
|
58411
58565
|
object({
|
|
58412
58566
|
/** Instantaneous power draw in watts. */
|
|
58413
58567
|
watts: number().optional(),
|
|
@@ -61696,60 +61850,17 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61696
61850
|
auth: "admin",
|
|
61697
61851
|
access: "delete"
|
|
61698
61852
|
});
|
|
61699
|
-
/**
|
|
61700
|
-
* Robot-vacuum cap. Models HA `vacuum.*` entities — anything with a
|
|
61701
|
-
* cleaning lifecycle plus a return-to-base / locate surface and an
|
|
61702
|
-
* optional fan-speed selector.
|
|
61703
|
-
*
|
|
61704
|
-
* State follows HA's canonical vacuum lifecycle: `idle` / `cleaning` /
|
|
61705
|
-
* `paused` / `returning` / `docked` / `error`. `batteryLevel`
|
|
61706
|
-
* (0..100) is nullable — some vacuums don't report a battery
|
|
61707
|
-
* percentage. `fanSpeed` is the current speed token (provider-verbatim,
|
|
61708
|
-
* e.g. `'standard'` / `'turbo'`) and `availableFanSpeeds` lists the
|
|
61709
|
-
* tokens the hardware accepts so the UI renders only supported choices.
|
|
61710
|
-
*
|
|
61711
|
-
* The `setFanSpeed` method takes the bare `speed` token — the provider
|
|
61712
|
-
* validates it against the vacuum's own list. `locate` triggers the
|
|
61713
|
-
* find-me chirp; `returnToBase` sends it home.
|
|
61714
|
-
*
|
|
61715
|
-
* Consumable / waste tanks: `cleanWater` / `dirtyWater` / `detergent` /
|
|
61716
|
-
* `dustBin` each carry a nullable `{ level (0..100 %), status ('ok' |
|
|
61717
|
-
* 'low' | 'full') }` reading. Native providers (e.g. Dreame, Roborock)
|
|
61718
|
-
* SHOULD populate whichever tanks the hardware has — leave a field `null`
|
|
61719
|
-
* only when the device has no such tank at all, and use a `TankStatus`
|
|
61720
|
-
* with both inner fields `null` when the tank exists but its level is
|
|
61721
|
-
* currently unknown. HA `vacuum.*` entities expose no per-tank telemetry,
|
|
61722
|
-
* so the HA provider leaves all four `null`.
|
|
61723
|
-
*/
|
|
61724
|
-
var VacuumStateSchema = _enum([
|
|
61725
|
-
"idle",
|
|
61726
|
-
"cleaning",
|
|
61727
|
-
"paused",
|
|
61728
|
-
"returning",
|
|
61729
|
-
"docked",
|
|
61730
|
-
"drying",
|
|
61731
|
-
"error"
|
|
61732
|
-
]);
|
|
61733
|
-
/**
|
|
61734
|
-
* One consumable / waste tank on a robot vacuum (clean-water, dirty-water,
|
|
61735
|
-
* detergent or dust-bin). A tank can report a numeric fill `level` (0..100),
|
|
61736
|
-
* a discrete `status` (binary-style hardware), or both. Both `null` means the
|
|
61737
|
-
* level is currently unknown; the OWNING field being `null` means the
|
|
61738
|
-
* hardware has no such tank at all.
|
|
61739
|
-
*/
|
|
61740
|
-
var TankStatusSchema = object({
|
|
61741
|
-
/** Numeric fill 0..100 when the hardware reports a percentage; null otherwise. */
|
|
61742
|
-
level: number().min(0).max(100).nullable(),
|
|
61743
|
-
/** Discrete state when the hardware is binary-mode; null otherwise. */
|
|
61744
|
-
status: _enum([
|
|
61745
|
-
"ok",
|
|
61746
|
-
"low",
|
|
61747
|
-
"full"
|
|
61748
|
-
]).nullable()
|
|
61749
|
-
});
|
|
61750
61853
|
object({
|
|
61751
61854
|
/** Lifecycle state of the vacuum. */
|
|
61752
|
-
state:
|
|
61855
|
+
state: _enum([
|
|
61856
|
+
"idle",
|
|
61857
|
+
"cleaning",
|
|
61858
|
+
"paused",
|
|
61859
|
+
"returning",
|
|
61860
|
+
"docked",
|
|
61861
|
+
"drying",
|
|
61862
|
+
"error"
|
|
61863
|
+
]),
|
|
61753
61864
|
/** 0..100 battery percentage. Null when the device has no battery
|
|
61754
61865
|
* reading. */
|
|
61755
61866
|
batteryLevel: number().min(0).max(100).nullable(),
|
|
@@ -61758,14 +61869,6 @@ object({
|
|
|
61758
61869
|
fanSpeed: string().nullable(),
|
|
61759
61870
|
/** Speed tokens the hardware accepts — drives the UI selector. */
|
|
61760
61871
|
availableFanSpeeds: array(string()),
|
|
61761
|
-
/** Clean-water (mop) tank. Null when the hardware has no clean-water tank. */
|
|
61762
|
-
cleanWater: TankStatusSchema.nullable(),
|
|
61763
|
-
/** Dirty-water (recovery) tank. Null when the hardware has no dirty-water tank. */
|
|
61764
|
-
dirtyWater: TankStatusSchema.nullable(),
|
|
61765
|
-
/** Detergent tank. Null when the hardware has no detergent tank. */
|
|
61766
|
-
detergent: TankStatusSchema.nullable(),
|
|
61767
|
-
/** Dust bin. Null when the hardware has no dust bin. */
|
|
61768
|
-
dustBin: TankStatusSchema.nullable(),
|
|
61769
61872
|
/** 0..100 cleaning-completion percentage of the current task, or null. */
|
|
61770
61873
|
progressPercent: number().min(0).max(100).nullable(),
|
|
61771
61874
|
/** Current error code (0 / null = no error). */
|
|
@@ -64306,6 +64409,12 @@ Object.freeze({
|
|
|
64306
64409
|
addonId: null,
|
|
64307
64410
|
access: "create"
|
|
64308
64411
|
},
|
|
64412
|
+
"deviceHistory.deleteOrphanSeries": {
|
|
64413
|
+
capName: "device-history",
|
|
64414
|
+
capScope: "system",
|
|
64415
|
+
addonId: null,
|
|
64416
|
+
access: "delete"
|
|
64417
|
+
},
|
|
64309
64418
|
"deviceHistory.getDeviceEnabled": {
|
|
64310
64419
|
capName: "device-history",
|
|
64311
64420
|
capScope: "system",
|
|
@@ -64324,6 +64433,12 @@ Object.freeze({
|
|
|
64324
64433
|
addonId: null,
|
|
64325
64434
|
access: "view"
|
|
64326
64435
|
},
|
|
64436
|
+
"deviceHistory.listOrphanSeries": {
|
|
64437
|
+
capName: "device-history",
|
|
64438
|
+
capScope: "system",
|
|
64439
|
+
addonId: null,
|
|
64440
|
+
access: "view"
|
|
64441
|
+
},
|
|
64327
64442
|
"deviceHistory.listSeries": {
|
|
64328
64443
|
capName: "device-history",
|
|
64329
64444
|
capScope: "system",
|
|
@@ -67948,6 +68063,12 @@ Object.freeze({
|
|
|
67948
68063
|
addonId: null,
|
|
67949
68064
|
access: "delete"
|
|
67950
68065
|
},
|
|
68066
|
+
"pipelineOrchestrator.forgetInferenceDevice": {
|
|
68067
|
+
capName: "pipeline-orchestrator",
|
|
68068
|
+
capScope: "system",
|
|
68069
|
+
addonId: null,
|
|
68070
|
+
access: "delete"
|
|
68071
|
+
},
|
|
67951
68072
|
"pipelineOrchestrator.getAgentLoad": {
|
|
67952
68073
|
capName: "pipeline-orchestrator",
|
|
67953
68074
|
capScope: "system",
|
|
@@ -68524,6 +68645,12 @@ Object.freeze({
|
|
|
68524
68645
|
addonId: null,
|
|
68525
68646
|
access: "view"
|
|
68526
68647
|
},
|
|
68648
|
+
"platformProbe.rescanAccelerators": {
|
|
68649
|
+
capName: "platform-probe",
|
|
68650
|
+
capScope: "system",
|
|
68651
|
+
addonId: null,
|
|
68652
|
+
access: "create"
|
|
68653
|
+
},
|
|
68527
68654
|
"platformProbe.resolveHwAccel": {
|
|
68528
68655
|
capName: "platform-probe",
|
|
68529
68656
|
capScope: "system",
|
|
@@ -74329,7 +74456,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
74329
74456
|
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
74330
74457
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
74331
74458
|
([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
|
|
74332
|
-
([...RULE_TEXT], [...CONSUMABLE]),
|
|
74459
|
+
([...RULE_TEXT], [...CONSUMABLE, ...TANK]),
|
|
74333
74460
|
([...RULE_TEXT], [...TANK]),
|
|
74334
74461
|
[...RULE_TEXT],
|
|
74335
74462
|
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
|
@@ -5604,7 +5604,7 @@ var ZodIssueCode = {
|
|
|
5604
5604
|
var ZodFirstPartyTypeKind;
|
|
5605
5605
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5606
5606
|
//#endregion
|
|
5607
|
-
//#region ../types/dist/sleep-
|
|
5607
|
+
//#region ../types/dist/sleep-CUp20JkO.mjs
|
|
5608
5608
|
/**
|
|
5609
5609
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5610
5610
|
* window to float samples (D455).
|
|
@@ -8684,7 +8684,11 @@ var ContributionSectionSchema = object({
|
|
|
8684
8684
|
literal(4)
|
|
8685
8685
|
]).optional(),
|
|
8686
8686
|
tab: string().optional(),
|
|
8687
|
-
location: _enum([
|
|
8687
|
+
location: _enum([
|
|
8688
|
+
"settings",
|
|
8689
|
+
"top-tab",
|
|
8690
|
+
"hero"
|
|
8691
|
+
]).optional(),
|
|
8688
8692
|
order: number().optional(),
|
|
8689
8693
|
fields: array(any())
|
|
8690
8694
|
});
|
|
@@ -13603,7 +13607,11 @@ var ConfigSectionWithValuesSchema = object({
|
|
|
13603
13607
|
literal(4)
|
|
13604
13608
|
]).optional(),
|
|
13605
13609
|
tab: string().optional(),
|
|
13606
|
-
location: _enum([
|
|
13610
|
+
location: _enum([
|
|
13611
|
+
"settings",
|
|
13612
|
+
"top-tab",
|
|
13613
|
+
"hero"
|
|
13614
|
+
]).optional(),
|
|
13607
13615
|
order: number().optional(),
|
|
13608
13616
|
fields: array(any())
|
|
13609
13617
|
});
|
|
@@ -17426,6 +17434,52 @@ var TierStatusSchema = object({
|
|
|
17426
17434
|
countedAt: number().nullable()
|
|
17427
17435
|
});
|
|
17428
17436
|
/** Operator/diagnostic view: rows per tier, last runs, refusals and drops since boot. */
|
|
17437
|
+
/**
|
|
17438
|
+
* Why a series is orphan. `device-gone`: its device is absent from the
|
|
17439
|
+
* successful device listings (the departure clock). `undeclared`: its `cap:`
|
|
17440
|
+
* key is declared by no capability any more (a field a cap removed).
|
|
17441
|
+
*/
|
|
17442
|
+
var DeviceHistoryOrphanReasonSchema = _enum(["device-gone", "undeclared"]);
|
|
17443
|
+
/** Rows held per stored tier. */
|
|
17444
|
+
var TierRowsSchema = object({
|
|
17445
|
+
raw: number().int(),
|
|
17446
|
+
"5m": number().int(),
|
|
17447
|
+
"1h": number().int(),
|
|
17448
|
+
"1d": number().int()
|
|
17449
|
+
});
|
|
17450
|
+
var OrphanSeriesSchema = object({
|
|
17451
|
+
seriesId: number().int(),
|
|
17452
|
+
deviceId: number().int(),
|
|
17453
|
+
key: string(),
|
|
17454
|
+
scope: string(),
|
|
17455
|
+
/** The metric's display name; `null` when its metric row is gone too. */
|
|
17456
|
+
displayName: string().nullable(),
|
|
17457
|
+
reason: DeviceHistoryOrphanReasonSchema,
|
|
17458
|
+
/** `device-gone`: since when the device has been absent; `null` otherwise. */
|
|
17459
|
+
missingSince: number().nullable(),
|
|
17460
|
+
firstTs: number(),
|
|
17461
|
+
lastTs: number(),
|
|
17462
|
+
rows: TierRowsSchema
|
|
17463
|
+
});
|
|
17464
|
+
var DeviceHistoryOrphanDeleteRefusalSchema = _enum([
|
|
17465
|
+
"not-found",
|
|
17466
|
+
"not-orphan",
|
|
17467
|
+
"failed"
|
|
17468
|
+
]);
|
|
17469
|
+
var OrphanDeleteEntrySchema = discriminatedUnion("ok", [object({
|
|
17470
|
+
seriesId: number().int(),
|
|
17471
|
+
ok: literal(true),
|
|
17472
|
+
deleted: TierRowsSchema
|
|
17473
|
+
}), object({
|
|
17474
|
+
seriesId: number().int(),
|
|
17475
|
+
ok: literal(false),
|
|
17476
|
+
reason: DeviceHistoryOrphanDeleteRefusalSchema
|
|
17477
|
+
})]);
|
|
17478
|
+
var OrphanListSchema = object({
|
|
17479
|
+
series: array(OrphanSeriesSchema).readonly(),
|
|
17480
|
+
/** More orphans exist than {@link DEVICE_HISTORY_ORPHAN_LIST_MAX}. */
|
|
17481
|
+
truncated: boolean()
|
|
17482
|
+
});
|
|
17429
17483
|
var DeviceHistoryStatusSchema = object({
|
|
17430
17484
|
startedAt: number(),
|
|
17431
17485
|
/** The store is declared, series loaded and the first reconcile has answered. */
|
|
@@ -17523,7 +17577,10 @@ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly())
|
|
|
17523
17577
|
}), object({ enabled: boolean() }), {
|
|
17524
17578
|
kind: "mutation",
|
|
17525
17579
|
auth: "admin"
|
|
17526
|
-
}), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" })
|
|
17580
|
+
}), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" }), method(object({}), OrphanListSchema, { auth: "admin" }), method(object({ seriesIds: array(number().int()).min(1).max(50) }), object({ results: array(OrphanDeleteEntrySchema).readonly() }), {
|
|
17581
|
+
kind: "mutation",
|
|
17582
|
+
auth: "admin"
|
|
17583
|
+
});
|
|
17527
17584
|
var DeviceCaStatusSchema = discriminatedUnion("state", [
|
|
17528
17585
|
object({ state: literal("absent") }),
|
|
17529
17586
|
object({
|
|
@@ -50216,6 +50273,19 @@ var NodeInferenceDeviceSchema = object({
|
|
|
50216
50273
|
/** Whether the node's live probe reports the device as usable right now. */
|
|
50217
50274
|
available: boolean(),
|
|
50218
50275
|
/**
|
|
50276
|
+
* Is the device on the node at all (D919)? `present` — the live probe
|
|
50277
|
+
* reported it; `absent` — the probe ANSWERED and did not report it, so only
|
|
50278
|
+
* its stored settings remain (unplugged, moved to another node): never
|
|
50279
|
+
* eligible, whatever its stored `enabled`, and forgettable with
|
|
50280
|
+
* `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
|
|
50281
|
+
* claimed (D315). Optional only for an orchestrator older than the field.
|
|
50282
|
+
*/
|
|
50283
|
+
presence: _enum([
|
|
50284
|
+
"present",
|
|
50285
|
+
"absent",
|
|
50286
|
+
"unknown"
|
|
50287
|
+
]).optional(),
|
|
50288
|
+
/**
|
|
50219
50289
|
* Whether this device participates in dispatch. AUTO default (spec C2):
|
|
50220
50290
|
* accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
|
|
50221
50291
|
* entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
|
|
@@ -50441,7 +50511,13 @@ method(object({
|
|
|
50441
50511
|
}), object({ success: literal(true) }), {
|
|
50442
50512
|
kind: "mutation",
|
|
50443
50513
|
auth: "admin"
|
|
50444
|
-
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50514
|
+
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50515
|
+
agentNodeId: string(),
|
|
50516
|
+
deviceKey: string()
|
|
50517
|
+
}), object({ success: literal(true) }), {
|
|
50518
|
+
kind: "mutation",
|
|
50519
|
+
auth: "admin"
|
|
50520
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
50445
50521
|
success: literal(true),
|
|
50446
50522
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
50447
50523
|
effectiveModelId: string().nullable(),
|
|
@@ -54551,17 +54627,69 @@ object({
|
|
|
54551
54627
|
});
|
|
54552
54628
|
DeviceType.Sensor;
|
|
54553
54629
|
/**
|
|
54554
|
-
* Generic device-consumables capability —
|
|
54555
|
-
*
|
|
54556
|
-
* descaling cycles,
|
|
54557
|
-
*
|
|
54558
|
-
*
|
|
54559
|
-
*
|
|
54630
|
+
* Generic device-consumables capability — the ONE place a device reports what
|
|
54631
|
+
* it uses up or fills: wear parts (vacuum filters/brushes, cartridges,
|
|
54632
|
+
* descaling cycles), supplies it draws from (a vacuum's clean-water tank and
|
|
54633
|
+
* detergent, a dishwasher's salt and rinse aid) and waste it collects (a dirty
|
|
54634
|
+
* water tank, a dust bin). Each item carries its remaining life or fill and an
|
|
54635
|
+
* optional "Replaced" reset action. Device-agnostic: any provider that knows
|
|
54636
|
+
* its device tracks consumables registers it; the provider names each item
|
|
54637
|
+
* verbatim and says which `kind` it is.
|
|
54638
|
+
*
|
|
54639
|
+
* The admin UI renders it as ONE collapsible section directly under the
|
|
54640
|
+
* device page's hero card (`placement: 'hero'`), for every device bound to
|
|
54641
|
+
* this cap — never drawn by a device type's hero card itself (D915).
|
|
54560
54642
|
*
|
|
54561
54643
|
* Like `childLayout`, the cap is INERT until a provider sets items: no
|
|
54562
54644
|
* provider populates it by guessing (no HA inference). The UI renders a
|
|
54563
54645
|
* "No consumables reported" placeholder when `items` is empty.
|
|
54564
54646
|
*/
|
|
54647
|
+
/**
|
|
54648
|
+
* What an item IS, which decides which direction is bad:
|
|
54649
|
+
* - `wear` — a part that wears out (a brush, a filter); low life is bad.
|
|
54650
|
+
* - `supply` — something the device draws from (clean water, detergent,
|
|
54651
|
+
* salt, rinse aid); low or empty is bad.
|
|
54652
|
+
* - `waste` — something the device fills (dirty water, a dust bin); full is
|
|
54653
|
+
* bad.
|
|
54654
|
+
* Absent = `wear`.
|
|
54655
|
+
*/
|
|
54656
|
+
var ConsumableKindSchema = _enum([
|
|
54657
|
+
"wear",
|
|
54658
|
+
"supply",
|
|
54659
|
+
"waste"
|
|
54660
|
+
]);
|
|
54661
|
+
/**
|
|
54662
|
+
* What an item LOOKS like, which decides how a client draws it — independent
|
|
54663
|
+
* of `kind`, which decides which direction is bad:
|
|
54664
|
+
* - `part` — a part that wears (a brush, a filter, a mop pad): a wear bar,
|
|
54665
|
+
* remaining time and a reset.
|
|
54666
|
+
* - `tank` — a container of liquid (clean water, dirty water): a fill gauge.
|
|
54667
|
+
* - `product` — something bought and refilled (detergent, salt, rinse aid):
|
|
54668
|
+
* a stepped level and "refill".
|
|
54669
|
+
* - `bin` — a container that collects waste (a dust bin): a fill gauge
|
|
54670
|
+
* that warns when full.
|
|
54671
|
+
* Absent = derived from the kind ({@link consumableFormOf}).
|
|
54672
|
+
*/
|
|
54673
|
+
var ConsumableFormSchema = _enum([
|
|
54674
|
+
"part",
|
|
54675
|
+
"tank",
|
|
54676
|
+
"product",
|
|
54677
|
+
"bin"
|
|
54678
|
+
]);
|
|
54679
|
+
/** The provider's own discrete verdict on an item. */
|
|
54680
|
+
var ConsumableStatusSchema = _enum([
|
|
54681
|
+
"ok",
|
|
54682
|
+
"low",
|
|
54683
|
+
"empty",
|
|
54684
|
+
"full",
|
|
54685
|
+
"replace"
|
|
54686
|
+
]);
|
|
54687
|
+
_enum([
|
|
54688
|
+
"ok",
|
|
54689
|
+
"low",
|
|
54690
|
+
"empty",
|
|
54691
|
+
"full"
|
|
54692
|
+
]);
|
|
54565
54693
|
/** Units a remaining-life counter is reported in. Closed: the panel renders
|
|
54566
54694
|
* each. */
|
|
54567
54695
|
var ConsumableRemainingUnitSchema = _enum([
|
|
@@ -54581,10 +54709,14 @@ var ConsumablesStatusSchema = object({
|
|
|
54581
54709
|
key: string().min(1),
|
|
54582
54710
|
/** Display name. */
|
|
54583
54711
|
label: string().min(1),
|
|
54584
|
-
/** Remaining life % when known (0..100). */
|
|
54712
|
+
/** Remaining life % (`wear`) or fill % (`supply`, `waste`) when known (0..100). */
|
|
54585
54713
|
level: number().min(0).max(100).nullable(),
|
|
54586
|
-
/**
|
|
54587
|
-
status:
|
|
54714
|
+
/** The provider's discrete verdict when known (binary mode). */
|
|
54715
|
+
status: ConsumableStatusSchema.nullable(),
|
|
54716
|
+
/** What the item is — decides whether low or full is bad. Absent = `wear`. */
|
|
54717
|
+
kind: ConsumableKindSchema.optional(),
|
|
54718
|
+
/** How the item is drawn (part, tank, product, bin). Absent = derived from `kind`. */
|
|
54719
|
+
form: ConsumableFormSchema.optional(),
|
|
54588
54720
|
/** Ms epoch of the last replace, when known. */
|
|
54589
54721
|
lastResetAt: number().nullable(),
|
|
54590
54722
|
/** Whether `reset()` is meaningful for this item. */
|
|
@@ -54819,8 +54951,9 @@ object({
|
|
|
54819
54951
|
status: DeviceStatusSchema
|
|
54820
54952
|
});
|
|
54821
54953
|
/**
|
|
54822
|
-
* Smart-dishwasher cap — program lifecycle, door / remote-start gates
|
|
54823
|
-
*
|
|
54954
|
+
* Smart-dishwasher cap — program lifecycle, door / remote-start gates and
|
|
54955
|
+
* common program options. Salt and rinse aid are NOT here: they are items of
|
|
54956
|
+
* the device's `consumables` cap, like every other device's (D915).
|
|
54824
54957
|
*
|
|
54825
54958
|
* Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
|
|
54826
54959
|
* by any integration that exposes the same program / option surface.
|
|
@@ -54868,11 +55001,6 @@ var DishwasherAvailabilitySchema = _enum([
|
|
|
54868
55001
|
"offline",
|
|
54869
55002
|
"description-missing"
|
|
54870
55003
|
]);
|
|
54871
|
-
var DishwasherConsumableLevelSchema = _enum([
|
|
54872
|
-
"ok",
|
|
54873
|
-
"low",
|
|
54874
|
-
"empty"
|
|
54875
|
-
]);
|
|
54876
55004
|
object({
|
|
54877
55005
|
availability: DishwasherAvailabilitySchema,
|
|
54878
55006
|
/** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
|
|
@@ -54905,8 +55033,6 @@ object({
|
|
|
54905
55033
|
powerOn: boolean().nullable(),
|
|
54906
55034
|
/** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
|
|
54907
55035
|
powerState: string().nullable(),
|
|
54908
|
-
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
54909
|
-
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
54910
55036
|
/**
|
|
54911
55037
|
* True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
|
|
54912
55038
|
* combined care-and-filter reminder raised); false when every such reminder reads clear; null
|
|
@@ -56946,7 +57072,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
|
|
|
56946
57072
|
enabled: boolean()
|
|
56947
57073
|
}), _void(), {
|
|
56948
57074
|
kind: "mutation",
|
|
56949
|
-
auth: "
|
|
57075
|
+
auth: "protected"
|
|
56950
57076
|
}), object({
|
|
56951
57077
|
deviceId: number(),
|
|
56952
57078
|
enabled: boolean(),
|
|
@@ -57436,6 +57562,13 @@ var TopologyNodeSchema = object({
|
|
|
57436
57562
|
cpuModel: string().nullable(),
|
|
57437
57563
|
cpuCores: number(),
|
|
57438
57564
|
memoryMB: number(),
|
|
57565
|
+
/**
|
|
57566
|
+
* The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
|
|
57567
|
+
* openvino, edgetpu …) — not its devices. An installed runtime says nothing
|
|
57568
|
+
* about whether its hardware is there (a Coral delegate stays installed
|
|
57569
|
+
* after the stick leaves, D919); the live device set is
|
|
57570
|
+
* `pipelineOrchestrator.getNodeInferenceDevices`.
|
|
57571
|
+
*/
|
|
57439
57572
|
engines: array(string()).readonly(),
|
|
57440
57573
|
isHub: boolean(),
|
|
57441
57574
|
isOnline: boolean(),
|
|
@@ -58400,7 +58533,28 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
58400
58533
|
format: ModelFormatSchema,
|
|
58401
58534
|
reason: string()
|
|
58402
58535
|
});
|
|
58403
|
-
|
|
58536
|
+
/**
|
|
58537
|
+
* The answer of an accelerator rescan (D919): the node's device list after
|
|
58538
|
+
* the re-probe, what changed, and the evidence that decided the Coral answer
|
|
58539
|
+
* (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
|
|
58540
|
+
* bus, the installed-delegate fallback, or nothing).
|
|
58541
|
+
*/
|
|
58542
|
+
var AcceleratorRescanSchema = object({
|
|
58543
|
+
devices: array(InferenceDeviceDescriptorSchema).readonly(),
|
|
58544
|
+
appeared: array(string()).readonly(),
|
|
58545
|
+
disappeared: array(string()).readonly(),
|
|
58546
|
+
usbBus: _enum(["observed", "unobservable"]),
|
|
58547
|
+
decidedBy: _enum([
|
|
58548
|
+
"usb-ids",
|
|
58549
|
+
"pci",
|
|
58550
|
+
"delegate-fallback",
|
|
58551
|
+
"none"
|
|
58552
|
+
])
|
|
58553
|
+
});
|
|
58554
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
|
|
58555
|
+
kind: "mutation",
|
|
58556
|
+
auth: "admin"
|
|
58557
|
+
});
|
|
58404
58558
|
object({
|
|
58405
58559
|
/** Instantaneous power draw in watts. */
|
|
58406
58560
|
watts: number().optional(),
|
|
@@ -61689,60 +61843,17 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61689
61843
|
auth: "admin",
|
|
61690
61844
|
access: "delete"
|
|
61691
61845
|
});
|
|
61692
|
-
/**
|
|
61693
|
-
* Robot-vacuum cap. Models HA `vacuum.*` entities — anything with a
|
|
61694
|
-
* cleaning lifecycle plus a return-to-base / locate surface and an
|
|
61695
|
-
* optional fan-speed selector.
|
|
61696
|
-
*
|
|
61697
|
-
* State follows HA's canonical vacuum lifecycle: `idle` / `cleaning` /
|
|
61698
|
-
* `paused` / `returning` / `docked` / `error`. `batteryLevel`
|
|
61699
|
-
* (0..100) is nullable — some vacuums don't report a battery
|
|
61700
|
-
* percentage. `fanSpeed` is the current speed token (provider-verbatim,
|
|
61701
|
-
* e.g. `'standard'` / `'turbo'`) and `availableFanSpeeds` lists the
|
|
61702
|
-
* tokens the hardware accepts so the UI renders only supported choices.
|
|
61703
|
-
*
|
|
61704
|
-
* The `setFanSpeed` method takes the bare `speed` token — the provider
|
|
61705
|
-
* validates it against the vacuum's own list. `locate` triggers the
|
|
61706
|
-
* find-me chirp; `returnToBase` sends it home.
|
|
61707
|
-
*
|
|
61708
|
-
* Consumable / waste tanks: `cleanWater` / `dirtyWater` / `detergent` /
|
|
61709
|
-
* `dustBin` each carry a nullable `{ level (0..100 %), status ('ok' |
|
|
61710
|
-
* 'low' | 'full') }` reading. Native providers (e.g. Dreame, Roborock)
|
|
61711
|
-
* SHOULD populate whichever tanks the hardware has — leave a field `null`
|
|
61712
|
-
* only when the device has no such tank at all, and use a `TankStatus`
|
|
61713
|
-
* with both inner fields `null` when the tank exists but its level is
|
|
61714
|
-
* currently unknown. HA `vacuum.*` entities expose no per-tank telemetry,
|
|
61715
|
-
* so the HA provider leaves all four `null`.
|
|
61716
|
-
*/
|
|
61717
|
-
var VacuumStateSchema = _enum([
|
|
61718
|
-
"idle",
|
|
61719
|
-
"cleaning",
|
|
61720
|
-
"paused",
|
|
61721
|
-
"returning",
|
|
61722
|
-
"docked",
|
|
61723
|
-
"drying",
|
|
61724
|
-
"error"
|
|
61725
|
-
]);
|
|
61726
|
-
/**
|
|
61727
|
-
* One consumable / waste tank on a robot vacuum (clean-water, dirty-water,
|
|
61728
|
-
* detergent or dust-bin). A tank can report a numeric fill `level` (0..100),
|
|
61729
|
-
* a discrete `status` (binary-style hardware), or both. Both `null` means the
|
|
61730
|
-
* level is currently unknown; the OWNING field being `null` means the
|
|
61731
|
-
* hardware has no such tank at all.
|
|
61732
|
-
*/
|
|
61733
|
-
var TankStatusSchema = object({
|
|
61734
|
-
/** Numeric fill 0..100 when the hardware reports a percentage; null otherwise. */
|
|
61735
|
-
level: number().min(0).max(100).nullable(),
|
|
61736
|
-
/** Discrete state when the hardware is binary-mode; null otherwise. */
|
|
61737
|
-
status: _enum([
|
|
61738
|
-
"ok",
|
|
61739
|
-
"low",
|
|
61740
|
-
"full"
|
|
61741
|
-
]).nullable()
|
|
61742
|
-
});
|
|
61743
61846
|
object({
|
|
61744
61847
|
/** Lifecycle state of the vacuum. */
|
|
61745
|
-
state:
|
|
61848
|
+
state: _enum([
|
|
61849
|
+
"idle",
|
|
61850
|
+
"cleaning",
|
|
61851
|
+
"paused",
|
|
61852
|
+
"returning",
|
|
61853
|
+
"docked",
|
|
61854
|
+
"drying",
|
|
61855
|
+
"error"
|
|
61856
|
+
]),
|
|
61746
61857
|
/** 0..100 battery percentage. Null when the device has no battery
|
|
61747
61858
|
* reading. */
|
|
61748
61859
|
batteryLevel: number().min(0).max(100).nullable(),
|
|
@@ -61751,14 +61862,6 @@ object({
|
|
|
61751
61862
|
fanSpeed: string().nullable(),
|
|
61752
61863
|
/** Speed tokens the hardware accepts — drives the UI selector. */
|
|
61753
61864
|
availableFanSpeeds: array(string()),
|
|
61754
|
-
/** Clean-water (mop) tank. Null when the hardware has no clean-water tank. */
|
|
61755
|
-
cleanWater: TankStatusSchema.nullable(),
|
|
61756
|
-
/** Dirty-water (recovery) tank. Null when the hardware has no dirty-water tank. */
|
|
61757
|
-
dirtyWater: TankStatusSchema.nullable(),
|
|
61758
|
-
/** Detergent tank. Null when the hardware has no detergent tank. */
|
|
61759
|
-
detergent: TankStatusSchema.nullable(),
|
|
61760
|
-
/** Dust bin. Null when the hardware has no dust bin. */
|
|
61761
|
-
dustBin: TankStatusSchema.nullable(),
|
|
61762
61865
|
/** 0..100 cleaning-completion percentage of the current task, or null. */
|
|
61763
61866
|
progressPercent: number().min(0).max(100).nullable(),
|
|
61764
61867
|
/** Current error code (0 / null = no error). */
|
|
@@ -64299,6 +64402,12 @@ Object.freeze({
|
|
|
64299
64402
|
addonId: null,
|
|
64300
64403
|
access: "create"
|
|
64301
64404
|
},
|
|
64405
|
+
"deviceHistory.deleteOrphanSeries": {
|
|
64406
|
+
capName: "device-history",
|
|
64407
|
+
capScope: "system",
|
|
64408
|
+
addonId: null,
|
|
64409
|
+
access: "delete"
|
|
64410
|
+
},
|
|
64302
64411
|
"deviceHistory.getDeviceEnabled": {
|
|
64303
64412
|
capName: "device-history",
|
|
64304
64413
|
capScope: "system",
|
|
@@ -64317,6 +64426,12 @@ Object.freeze({
|
|
|
64317
64426
|
addonId: null,
|
|
64318
64427
|
access: "view"
|
|
64319
64428
|
},
|
|
64429
|
+
"deviceHistory.listOrphanSeries": {
|
|
64430
|
+
capName: "device-history",
|
|
64431
|
+
capScope: "system",
|
|
64432
|
+
addonId: null,
|
|
64433
|
+
access: "view"
|
|
64434
|
+
},
|
|
64320
64435
|
"deviceHistory.listSeries": {
|
|
64321
64436
|
capName: "device-history",
|
|
64322
64437
|
capScope: "system",
|
|
@@ -67941,6 +68056,12 @@ Object.freeze({
|
|
|
67941
68056
|
addonId: null,
|
|
67942
68057
|
access: "delete"
|
|
67943
68058
|
},
|
|
68059
|
+
"pipelineOrchestrator.forgetInferenceDevice": {
|
|
68060
|
+
capName: "pipeline-orchestrator",
|
|
68061
|
+
capScope: "system",
|
|
68062
|
+
addonId: null,
|
|
68063
|
+
access: "delete"
|
|
68064
|
+
},
|
|
67944
68065
|
"pipelineOrchestrator.getAgentLoad": {
|
|
67945
68066
|
capName: "pipeline-orchestrator",
|
|
67946
68067
|
capScope: "system",
|
|
@@ -68517,6 +68638,12 @@ Object.freeze({
|
|
|
68517
68638
|
addonId: null,
|
|
68518
68639
|
access: "view"
|
|
68519
68640
|
},
|
|
68641
|
+
"platformProbe.rescanAccelerators": {
|
|
68642
|
+
capName: "platform-probe",
|
|
68643
|
+
capScope: "system",
|
|
68644
|
+
addonId: null,
|
|
68645
|
+
access: "create"
|
|
68646
|
+
},
|
|
68520
68647
|
"platformProbe.resolveHwAccel": {
|
|
68521
68648
|
capName: "platform-probe",
|
|
68522
68649
|
capScope: "system",
|
|
@@ -74322,7 +74449,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
74322
74449
|
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
74323
74450
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
74324
74451
|
([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
|
|
74325
|
-
([...RULE_TEXT], [...CONSUMABLE]),
|
|
74452
|
+
([...RULE_TEXT], [...CONSUMABLE, ...TANK]),
|
|
74326
74453
|
([...RULE_TEXT], [...TANK]),
|
|
74327
74454
|
[...RULE_TEXT],
|
|
74328
74455
|
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-mqtt-broker",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.144",
|
|
4
4
|
"description": "MQTT broker registry addon for CamStack — manages external broker entries + an optional embedded aedes broker. Consumers spin up their own `mqtt.js` clients via the `mqtt-broker` cap.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|