@camstack/addon-post-analysis 1.2.623 → 1.2.625
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/{clip-model-registry-C58fyELd.mjs → clip-model-registry-BmPWAiiw.mjs} +195 -124
- package/dist/{clip-model-registry-KKT83z9U.js → clip-model-registry-Bz5VWLtO.js} +195 -124
- package/dist/embedding-encoder/index.js +1 -1
- package/dist/embedding-encoder/index.mjs +1 -1
- package/dist/pipeline-analytics/_stub.js +2 -2
- package/dist/pipeline-analytics/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-_ahOxwNA.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-u9k_8R7t.mjs} +3 -3
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-yap5surJ.mjs +26 -0
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-Dh58k_r9.mjs +26 -0
- package/dist/pipeline-analytics/{hostInit-CdRVx4vF.mjs → hostInit-Bx3x53tR.mjs} +3 -3
- package/dist/pipeline-analytics/index.js +206 -222
- package/dist/pipeline-analytics/index.mjs +206 -222
- package/dist/pipeline-analytics/remoteEntry.js +1 -1
- package/package.json +1 -1
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-V5-s2hmZ.mjs +0 -26
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-B1HZu0i3.mjs +0 -26
|
@@ -5629,7 +5629,7 @@ var ZodIssueCode = {
|
|
|
5629
5629
|
var ZodFirstPartyTypeKind;
|
|
5630
5630
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5631
5631
|
//#endregion
|
|
5632
|
-
//#region ../types/dist/sleep-
|
|
5632
|
+
//#region ../types/dist/sleep-CUp20JkO.mjs
|
|
5633
5633
|
/**
|
|
5634
5634
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5635
5635
|
* window to float samples (D455).
|
|
@@ -8726,7 +8726,11 @@ var ContributionSectionSchema = object({
|
|
|
8726
8726
|
literal(4)
|
|
8727
8727
|
]).optional(),
|
|
8728
8728
|
tab: string().optional(),
|
|
8729
|
-
location: _enum([
|
|
8729
|
+
location: _enum([
|
|
8730
|
+
"settings",
|
|
8731
|
+
"top-tab",
|
|
8732
|
+
"hero"
|
|
8733
|
+
]).optional(),
|
|
8730
8734
|
order: number().optional(),
|
|
8731
8735
|
fields: array(any())
|
|
8732
8736
|
});
|
|
@@ -14741,7 +14745,11 @@ var ConfigSectionWithValuesSchema = object({
|
|
|
14741
14745
|
literal(4)
|
|
14742
14746
|
]).optional(),
|
|
14743
14747
|
tab: string().optional(),
|
|
14744
|
-
location: _enum([
|
|
14748
|
+
location: _enum([
|
|
14749
|
+
"settings",
|
|
14750
|
+
"top-tab",
|
|
14751
|
+
"hero"
|
|
14752
|
+
]).optional(),
|
|
14745
14753
|
order: number().optional(),
|
|
14746
14754
|
fields: array(any())
|
|
14747
14755
|
});
|
|
@@ -18651,6 +18659,52 @@ var TierStatusSchema = object({
|
|
|
18651
18659
|
countedAt: number().nullable()
|
|
18652
18660
|
});
|
|
18653
18661
|
/** Operator/diagnostic view: rows per tier, last runs, refusals and drops since boot. */
|
|
18662
|
+
/**
|
|
18663
|
+
* Why a series is orphan. `device-gone`: its device is absent from the
|
|
18664
|
+
* successful device listings (the departure clock). `undeclared`: its `cap:`
|
|
18665
|
+
* key is declared by no capability any more (a field a cap removed).
|
|
18666
|
+
*/
|
|
18667
|
+
var DeviceHistoryOrphanReasonSchema = _enum(["device-gone", "undeclared"]);
|
|
18668
|
+
/** Rows held per stored tier. */
|
|
18669
|
+
var TierRowsSchema = object({
|
|
18670
|
+
raw: number().int(),
|
|
18671
|
+
"5m": number().int(),
|
|
18672
|
+
"1h": number().int(),
|
|
18673
|
+
"1d": number().int()
|
|
18674
|
+
});
|
|
18675
|
+
var OrphanSeriesSchema = object({
|
|
18676
|
+
seriesId: number().int(),
|
|
18677
|
+
deviceId: number().int(),
|
|
18678
|
+
key: string(),
|
|
18679
|
+
scope: string(),
|
|
18680
|
+
/** The metric's display name; `null` when its metric row is gone too. */
|
|
18681
|
+
displayName: string().nullable(),
|
|
18682
|
+
reason: DeviceHistoryOrphanReasonSchema,
|
|
18683
|
+
/** `device-gone`: since when the device has been absent; `null` otherwise. */
|
|
18684
|
+
missingSince: number().nullable(),
|
|
18685
|
+
firstTs: number(),
|
|
18686
|
+
lastTs: number(),
|
|
18687
|
+
rows: TierRowsSchema
|
|
18688
|
+
});
|
|
18689
|
+
var DeviceHistoryOrphanDeleteRefusalSchema = _enum([
|
|
18690
|
+
"not-found",
|
|
18691
|
+
"not-orphan",
|
|
18692
|
+
"failed"
|
|
18693
|
+
]);
|
|
18694
|
+
var OrphanDeleteEntrySchema = discriminatedUnion("ok", [object({
|
|
18695
|
+
seriesId: number().int(),
|
|
18696
|
+
ok: literal(true),
|
|
18697
|
+
deleted: TierRowsSchema
|
|
18698
|
+
}), object({
|
|
18699
|
+
seriesId: number().int(),
|
|
18700
|
+
ok: literal(false),
|
|
18701
|
+
reason: DeviceHistoryOrphanDeleteRefusalSchema
|
|
18702
|
+
})]);
|
|
18703
|
+
var OrphanListSchema = object({
|
|
18704
|
+
series: array(OrphanSeriesSchema).readonly(),
|
|
18705
|
+
/** More orphans exist than {@link DEVICE_HISTORY_ORPHAN_LIST_MAX}. */
|
|
18706
|
+
truncated: boolean()
|
|
18707
|
+
});
|
|
18654
18708
|
var DeviceHistoryStatusSchema = object({
|
|
18655
18709
|
startedAt: number(),
|
|
18656
18710
|
/** The store is declared, series loaded and the first reconcile has answered. */
|
|
@@ -18748,7 +18802,10 @@ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly())
|
|
|
18748
18802
|
}), object({ enabled: boolean() }), {
|
|
18749
18803
|
kind: "mutation",
|
|
18750
18804
|
auth: "admin"
|
|
18751
|
-
}), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" })
|
|
18805
|
+
}), 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() }), {
|
|
18806
|
+
kind: "mutation",
|
|
18807
|
+
auth: "admin"
|
|
18808
|
+
});
|
|
18752
18809
|
var DeviceCaStatusSchema = discriminatedUnion("state", [
|
|
18753
18810
|
object({ state: literal("absent") }),
|
|
18754
18811
|
object({
|
|
@@ -51401,7 +51458,6 @@ var RecommendationReasonSchema = discriminatedUnion("kind", [
|
|
|
51401
51458
|
modelId: string()
|
|
51402
51459
|
}),
|
|
51403
51460
|
object({ kind: literal("cpu-device") }),
|
|
51404
|
-
object({ kind: literal("coral-untouched") }),
|
|
51405
51461
|
object({ kind: literal("device-disabled") }),
|
|
51406
51462
|
object({ kind: literal("device-unavailable") }),
|
|
51407
51463
|
object({ kind: literal("node-offline") }),
|
|
@@ -51499,11 +51555,6 @@ var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
|
51499
51555
|
kind: literal("detector-store-unreadable"),
|
|
51500
51556
|
error: string()
|
|
51501
51557
|
}),
|
|
51502
|
-
object({
|
|
51503
|
-
kind: literal("coral-enabled"),
|
|
51504
|
-
nodeId: string(),
|
|
51505
|
-
deviceKey: string()
|
|
51506
|
-
}),
|
|
51507
51558
|
object({
|
|
51508
51559
|
kind: literal("custom-pin-kept"),
|
|
51509
51560
|
nodeId: string(),
|
|
@@ -58628,17 +58679,69 @@ var connectivityCapability = {
|
|
|
58628
58679
|
volatileStateFields: ["lastChangedAt"]
|
|
58629
58680
|
};
|
|
58630
58681
|
/**
|
|
58631
|
-
* Generic device-consumables capability —
|
|
58632
|
-
*
|
|
58633
|
-
* descaling cycles,
|
|
58634
|
-
*
|
|
58635
|
-
*
|
|
58636
|
-
*
|
|
58682
|
+
* Generic device-consumables capability — the ONE place a device reports what
|
|
58683
|
+
* it uses up or fills: wear parts (vacuum filters/brushes, cartridges,
|
|
58684
|
+
* descaling cycles), supplies it draws from (a vacuum's clean-water tank and
|
|
58685
|
+
* detergent, a dishwasher's salt and rinse aid) and waste it collects (a dirty
|
|
58686
|
+
* water tank, a dust bin). Each item carries its remaining life or fill and an
|
|
58687
|
+
* optional "Replaced" reset action. Device-agnostic: any provider that knows
|
|
58688
|
+
* its device tracks consumables registers it; the provider names each item
|
|
58689
|
+
* verbatim and says which `kind` it is.
|
|
58690
|
+
*
|
|
58691
|
+
* The admin UI renders it as ONE collapsible section directly under the
|
|
58692
|
+
* device page's hero card (`placement: 'hero'`), for every device bound to
|
|
58693
|
+
* this cap — never drawn by a device type's hero card itself (D915).
|
|
58637
58694
|
*
|
|
58638
58695
|
* Like `childLayout`, the cap is INERT until a provider sets items: no
|
|
58639
58696
|
* provider populates it by guessing (no HA inference). The UI renders a
|
|
58640
58697
|
* "No consumables reported" placeholder when `items` is empty.
|
|
58641
58698
|
*/
|
|
58699
|
+
/**
|
|
58700
|
+
* What an item IS, which decides which direction is bad:
|
|
58701
|
+
* - `wear` — a part that wears out (a brush, a filter); low life is bad.
|
|
58702
|
+
* - `supply` — something the device draws from (clean water, detergent,
|
|
58703
|
+
* salt, rinse aid); low or empty is bad.
|
|
58704
|
+
* - `waste` — something the device fills (dirty water, a dust bin); full is
|
|
58705
|
+
* bad.
|
|
58706
|
+
* Absent = `wear`.
|
|
58707
|
+
*/
|
|
58708
|
+
var ConsumableKindSchema = _enum([
|
|
58709
|
+
"wear",
|
|
58710
|
+
"supply",
|
|
58711
|
+
"waste"
|
|
58712
|
+
]);
|
|
58713
|
+
/**
|
|
58714
|
+
* What an item LOOKS like, which decides how a client draws it — independent
|
|
58715
|
+
* of `kind`, which decides which direction is bad:
|
|
58716
|
+
* - `part` — a part that wears (a brush, a filter, a mop pad): a wear bar,
|
|
58717
|
+
* remaining time and a reset.
|
|
58718
|
+
* - `tank` — a container of liquid (clean water, dirty water): a fill gauge.
|
|
58719
|
+
* - `product` — something bought and refilled (detergent, salt, rinse aid):
|
|
58720
|
+
* a stepped level and "refill".
|
|
58721
|
+
* - `bin` — a container that collects waste (a dust bin): a fill gauge
|
|
58722
|
+
* that warns when full.
|
|
58723
|
+
* Absent = derived from the kind ({@link consumableFormOf}).
|
|
58724
|
+
*/
|
|
58725
|
+
var ConsumableFormSchema = _enum([
|
|
58726
|
+
"part",
|
|
58727
|
+
"tank",
|
|
58728
|
+
"product",
|
|
58729
|
+
"bin"
|
|
58730
|
+
]);
|
|
58731
|
+
/** The provider's own discrete verdict on an item. */
|
|
58732
|
+
var ConsumableStatusSchema = _enum([
|
|
58733
|
+
"ok",
|
|
58734
|
+
"low",
|
|
58735
|
+
"empty",
|
|
58736
|
+
"full",
|
|
58737
|
+
"replace"
|
|
58738
|
+
]);
|
|
58739
|
+
_enum([
|
|
58740
|
+
"ok",
|
|
58741
|
+
"low",
|
|
58742
|
+
"empty",
|
|
58743
|
+
"full"
|
|
58744
|
+
]);
|
|
58642
58745
|
/** Units a remaining-life counter is reported in. Closed: the panel renders
|
|
58643
58746
|
* each. */
|
|
58644
58747
|
var ConsumableRemainingUnitSchema = _enum([
|
|
@@ -58653,18 +58756,23 @@ var ConsumableRemainingSchema = object({
|
|
|
58653
58756
|
unit: ConsumableRemainingUnitSchema
|
|
58654
58757
|
});
|
|
58655
58758
|
/** A single consumable item. Either a continuous `level` (remaining
|
|
58656
|
-
* life
|
|
58657
|
-
*
|
|
58658
|
-
* mutually exclusive; a provider may
|
|
58759
|
+
* life %, or fill % for a `supply` / `waste` item) or a discrete `status`
|
|
58760
|
+
* may be known — both may be null when a provider only knows the item
|
|
58761
|
+
* exists. `level` and `status` are not mutually exclusive; a provider may
|
|
58762
|
+
* report both. */
|
|
58659
58763
|
var ConsumableItemSchema = object({
|
|
58660
58764
|
/** Stable id, e.g. 'main-brush'. */
|
|
58661
58765
|
key: string().min(1),
|
|
58662
58766
|
/** Display name. */
|
|
58663
58767
|
label: string().min(1),
|
|
58664
|
-
/** Remaining life % when known (0..100). */
|
|
58768
|
+
/** Remaining life % (`wear`) or fill % (`supply`, `waste`) when known (0..100). */
|
|
58665
58769
|
level: number().min(0).max(100).nullable(),
|
|
58666
|
-
/**
|
|
58667
|
-
status:
|
|
58770
|
+
/** The provider's discrete verdict when known (binary mode). */
|
|
58771
|
+
status: ConsumableStatusSchema.nullable(),
|
|
58772
|
+
/** What the item is — decides whether low or full is bad. Absent = `wear`. */
|
|
58773
|
+
kind: ConsumableKindSchema.optional(),
|
|
58774
|
+
/** How the item is drawn (part, tank, product, bin). Absent = derived from `kind`. */
|
|
58775
|
+
form: ConsumableFormSchema.optional(),
|
|
58668
58776
|
/** Ms epoch of the last replace, when known. */
|
|
58669
58777
|
lastResetAt: number().nullable(),
|
|
58670
58778
|
/** Whether `reset()` is meaningful for this item. */
|
|
@@ -58687,7 +58795,7 @@ var consumablesCapability = {
|
|
|
58687
58795
|
kind: "widget",
|
|
58688
58796
|
widgetId: "host/consumables-panel",
|
|
58689
58797
|
tab: "consumables",
|
|
58690
|
-
|
|
58798
|
+
placement: "hero",
|
|
58691
58799
|
label: "Consumables",
|
|
58692
58800
|
order: 5
|
|
58693
58801
|
} },
|
|
@@ -58748,9 +58856,37 @@ reset: method(object({
|
|
|
58748
58856
|
*/
|
|
58749
58857
|
durability: "restored",
|
|
58750
58858
|
/**
|
|
58751
|
-
* History (D850):
|
|
58859
|
+
* History (D850, D917): one series per (item field, item `key`) — the item key
|
|
58860
|
+
* is the series scope, the item `label` names it. A vacuum tank's fill, a
|
|
58861
|
+
* brush's remaining life and a dishwasher's salt are each recorded the moment
|
|
58862
|
+
* their provider reports them; an item that appears later gets its series.
|
|
58752
58863
|
*/
|
|
58753
|
-
history:
|
|
58864
|
+
history: {
|
|
58865
|
+
fields: {},
|
|
58866
|
+
items: {
|
|
58867
|
+
path: "items",
|
|
58868
|
+
key: "key",
|
|
58869
|
+
label: "label",
|
|
58870
|
+
fields: {
|
|
58871
|
+
level: {
|
|
58872
|
+
kind: "gauge",
|
|
58873
|
+
unit: "%",
|
|
58874
|
+
deadband: 2,
|
|
58875
|
+
displayName: "Level"
|
|
58876
|
+
},
|
|
58877
|
+
status: {
|
|
58878
|
+
kind: "enum",
|
|
58879
|
+
displayName: "Status"
|
|
58880
|
+
},
|
|
58881
|
+
"remaining.value": {
|
|
58882
|
+
kind: "gauge",
|
|
58883
|
+
unitFrom: "remaining.unit",
|
|
58884
|
+
deadband: 1,
|
|
58885
|
+
displayName: "Remaining"
|
|
58886
|
+
}
|
|
58887
|
+
}
|
|
58888
|
+
}
|
|
58889
|
+
},
|
|
58754
58890
|
/** Clocks, not content: a re-read that changed no item costs no commit. */
|
|
58755
58891
|
volatileStateFields: ["lastChangedAt", "lastFetchedAt"]
|
|
58756
58892
|
};
|
|
@@ -59187,8 +59323,9 @@ onStatusChanged: { data: object({
|
|
|
59187
59323
|
volatileStateFields: ["lastChangedAt"]
|
|
59188
59324
|
};
|
|
59189
59325
|
/**
|
|
59190
|
-
* Smart-dishwasher cap — program lifecycle, door / remote-start gates
|
|
59191
|
-
*
|
|
59326
|
+
* Smart-dishwasher cap — program lifecycle, door / remote-start gates and
|
|
59327
|
+
* common program options. Salt and rinse aid are NOT here: they are items of
|
|
59328
|
+
* the device's `consumables` cap, like every other device's (D915).
|
|
59192
59329
|
*
|
|
59193
59330
|
* Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
|
|
59194
59331
|
* by any integration that exposes the same program / option surface.
|
|
@@ -59236,11 +59373,6 @@ var DishwasherAvailabilitySchema = _enum([
|
|
|
59236
59373
|
"offline",
|
|
59237
59374
|
"description-missing"
|
|
59238
59375
|
]);
|
|
59239
|
-
var DishwasherConsumableLevelSchema = _enum([
|
|
59240
|
-
"ok",
|
|
59241
|
-
"low",
|
|
59242
|
-
"empty"
|
|
59243
|
-
]);
|
|
59244
59376
|
var DishwasherStatusSchema = object({
|
|
59245
59377
|
availability: DishwasherAvailabilitySchema,
|
|
59246
59378
|
/** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
|
|
@@ -59273,8 +59405,6 @@ var DishwasherStatusSchema = object({
|
|
|
59273
59405
|
powerOn: boolean().nullable(),
|
|
59274
59406
|
/** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
|
|
59275
59407
|
powerState: string().nullable(),
|
|
59276
|
-
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
59277
|
-
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
59278
59408
|
/**
|
|
59279
59409
|
* True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
|
|
59280
59410
|
* combined care-and-filter reminder raised); false when every such reminder reads clear; null
|
|
@@ -68259,60 +68389,17 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
68259
68389
|
auth: "admin",
|
|
68260
68390
|
access: "delete"
|
|
68261
68391
|
});
|
|
68262
|
-
/**
|
|
68263
|
-
* Robot-vacuum cap. Models HA `vacuum.*` entities — anything with a
|
|
68264
|
-
* cleaning lifecycle plus a return-to-base / locate surface and an
|
|
68265
|
-
* optional fan-speed selector.
|
|
68266
|
-
*
|
|
68267
|
-
* State follows HA's canonical vacuum lifecycle: `idle` / `cleaning` /
|
|
68268
|
-
* `paused` / `returning` / `docked` / `error`. `batteryLevel`
|
|
68269
|
-
* (0..100) is nullable — some vacuums don't report a battery
|
|
68270
|
-
* percentage. `fanSpeed` is the current speed token (provider-verbatim,
|
|
68271
|
-
* e.g. `'standard'` / `'turbo'`) and `availableFanSpeeds` lists the
|
|
68272
|
-
* tokens the hardware accepts so the UI renders only supported choices.
|
|
68273
|
-
*
|
|
68274
|
-
* The `setFanSpeed` method takes the bare `speed` token — the provider
|
|
68275
|
-
* validates it against the vacuum's own list. `locate` triggers the
|
|
68276
|
-
* find-me chirp; `returnToBase` sends it home.
|
|
68277
|
-
*
|
|
68278
|
-
* Consumable / waste tanks: `cleanWater` / `dirtyWater` / `detergent` /
|
|
68279
|
-
* `dustBin` each carry a nullable `{ level (0..100 %), status ('ok' |
|
|
68280
|
-
* 'low' | 'full') }` reading. Native providers (e.g. Dreame, Roborock)
|
|
68281
|
-
* SHOULD populate whichever tanks the hardware has — leave a field `null`
|
|
68282
|
-
* only when the device has no such tank at all, and use a `TankStatus`
|
|
68283
|
-
* with both inner fields `null` when the tank exists but its level is
|
|
68284
|
-
* currently unknown. HA `vacuum.*` entities expose no per-tank telemetry,
|
|
68285
|
-
* so the HA provider leaves all four `null`.
|
|
68286
|
-
*/
|
|
68287
|
-
var VacuumStateSchema = _enum([
|
|
68288
|
-
"idle",
|
|
68289
|
-
"cleaning",
|
|
68290
|
-
"paused",
|
|
68291
|
-
"returning",
|
|
68292
|
-
"docked",
|
|
68293
|
-
"drying",
|
|
68294
|
-
"error"
|
|
68295
|
-
]);
|
|
68296
|
-
/**
|
|
68297
|
-
* One consumable / waste tank on a robot vacuum (clean-water, dirty-water,
|
|
68298
|
-
* detergent or dust-bin). A tank can report a numeric fill `level` (0..100),
|
|
68299
|
-
* a discrete `status` (binary-style hardware), or both. Both `null` means the
|
|
68300
|
-
* level is currently unknown; the OWNING field being `null` means the
|
|
68301
|
-
* hardware has no such tank at all.
|
|
68302
|
-
*/
|
|
68303
|
-
var TankStatusSchema = object({
|
|
68304
|
-
/** Numeric fill 0..100 when the hardware reports a percentage; null otherwise. */
|
|
68305
|
-
level: number().min(0).max(100).nullable(),
|
|
68306
|
-
/** Discrete state when the hardware is binary-mode; null otherwise. */
|
|
68307
|
-
status: _enum([
|
|
68308
|
-
"ok",
|
|
68309
|
-
"low",
|
|
68310
|
-
"full"
|
|
68311
|
-
]).nullable()
|
|
68312
|
-
});
|
|
68313
68392
|
var VacuumControlStatusSchema = object({
|
|
68314
68393
|
/** Lifecycle state of the vacuum. */
|
|
68315
|
-
state:
|
|
68394
|
+
state: _enum([
|
|
68395
|
+
"idle",
|
|
68396
|
+
"cleaning",
|
|
68397
|
+
"paused",
|
|
68398
|
+
"returning",
|
|
68399
|
+
"docked",
|
|
68400
|
+
"drying",
|
|
68401
|
+
"error"
|
|
68402
|
+
]),
|
|
68316
68403
|
/** 0..100 battery percentage. Null when the device has no battery
|
|
68317
68404
|
* reading. */
|
|
68318
68405
|
batteryLevel: number().min(0).max(100).nullable(),
|
|
@@ -68321,14 +68408,6 @@ var VacuumControlStatusSchema = object({
|
|
|
68321
68408
|
fanSpeed: string().nullable(),
|
|
68322
68409
|
/** Speed tokens the hardware accepts — drives the UI selector. */
|
|
68323
68410
|
availableFanSpeeds: array(string()),
|
|
68324
|
-
/** Clean-water (mop) tank. Null when the hardware has no clean-water tank. */
|
|
68325
|
-
cleanWater: TankStatusSchema.nullable(),
|
|
68326
|
-
/** Dirty-water (recovery) tank. Null when the hardware has no dirty-water tank. */
|
|
68327
|
-
dirtyWater: TankStatusSchema.nullable(),
|
|
68328
|
-
/** Detergent tank. Null when the hardware has no detergent tank. */
|
|
68329
|
-
detergent: TankStatusSchema.nullable(),
|
|
68330
|
-
/** Dust bin. Null when the hardware has no dust bin. */
|
|
68331
|
-
dustBin: TankStatusSchema.nullable(),
|
|
68332
68411
|
/** 0..100 cleaning-completion percentage of the current task, or null. */
|
|
68333
68412
|
progressPercent: number().min(0).max(100).nullable(),
|
|
68334
68413
|
/** Current error code (0 / null = no error). */
|
|
@@ -68390,35 +68469,14 @@ var vacuumControlCapability = {
|
|
|
68390
68469
|
*/
|
|
68391
68470
|
durability: "session",
|
|
68392
68471
|
/**
|
|
68393
|
-
* History (D850): recorded series.
|
|
68472
|
+
* History (D850): recorded series. The tanks moved to `consumables` (D915), whose
|
|
68473
|
+
* items are keyed by runtime ids and record no history.
|
|
68394
68474
|
*/
|
|
68395
|
-
history: { fields: {
|
|
68396
|
-
|
|
68397
|
-
|
|
68398
|
-
|
|
68399
|
-
|
|
68400
|
-
},
|
|
68401
|
-
"cleanWater.level": {
|
|
68402
|
-
kind: "gauge",
|
|
68403
|
-
unit: "%",
|
|
68404
|
-
deadband: 2
|
|
68405
|
-
},
|
|
68406
|
-
"dirtyWater.level": {
|
|
68407
|
-
kind: "gauge",
|
|
68408
|
-
unit: "%",
|
|
68409
|
-
deadband: 2
|
|
68410
|
-
},
|
|
68411
|
-
"detergent.level": {
|
|
68412
|
-
kind: "gauge",
|
|
68413
|
-
unit: "%",
|
|
68414
|
-
deadband: 2
|
|
68415
|
-
},
|
|
68416
|
-
"dustBin.level": {
|
|
68417
|
-
kind: "gauge",
|
|
68418
|
-
unit: "%",
|
|
68419
|
-
deadband: 2
|
|
68420
|
-
}
|
|
68421
|
-
} }
|
|
68475
|
+
history: { fields: { batteryLevel: {
|
|
68476
|
+
kind: "gauge",
|
|
68477
|
+
unit: "%",
|
|
68478
|
+
deadband: 2
|
|
68479
|
+
} } }
|
|
68422
68480
|
};
|
|
68423
68481
|
var ValveStatusSchema = object({
|
|
68424
68482
|
/** Lifecycle state of the valve. */
|
|
@@ -72382,6 +72440,12 @@ Object.freeze({
|
|
|
72382
72440
|
addonId: null,
|
|
72383
72441
|
access: "create"
|
|
72384
72442
|
},
|
|
72443
|
+
"deviceHistory.deleteOrphanSeries": {
|
|
72444
|
+
capName: "device-history",
|
|
72445
|
+
capScope: "system",
|
|
72446
|
+
addonId: null,
|
|
72447
|
+
access: "delete"
|
|
72448
|
+
},
|
|
72385
72449
|
"deviceHistory.getDeviceEnabled": {
|
|
72386
72450
|
capName: "device-history",
|
|
72387
72451
|
capScope: "system",
|
|
@@ -72400,6 +72464,12 @@ Object.freeze({
|
|
|
72400
72464
|
addonId: null,
|
|
72401
72465
|
access: "view"
|
|
72402
72466
|
},
|
|
72467
|
+
"deviceHistory.listOrphanSeries": {
|
|
72468
|
+
capName: "device-history",
|
|
72469
|
+
capScope: "system",
|
|
72470
|
+
addonId: null,
|
|
72471
|
+
access: "view"
|
|
72472
|
+
},
|
|
72403
72473
|
"deviceHistory.listSeries": {
|
|
72404
72474
|
capName: "device-history",
|
|
72405
72475
|
capScope: "system",
|
|
@@ -84132,17 +84202,18 @@ var NC_TEMPLATE_VARS = [
|
|
|
84132
84202
|
{
|
|
84133
84203
|
name: "item",
|
|
84134
84204
|
label: "Consumable",
|
|
84205
|
+
description: "The device's own name for the item: a filter, a brush, the salt, a tank.",
|
|
84135
84206
|
example: "Filtro",
|
|
84136
84207
|
group: "system",
|
|
84137
84208
|
families: ["rule"],
|
|
84138
84209
|
fields: [...RULE_TEXT],
|
|
84139
84210
|
kinds: ["system"],
|
|
84140
|
-
systemEventKinds: [...CONSUMABLE]
|
|
84211
|
+
systemEventKinds: [...CONSUMABLE, ...TANK]
|
|
84141
84212
|
},
|
|
84142
84213
|
{
|
|
84143
84214
|
name: "tank",
|
|
84144
84215
|
label: "Tank",
|
|
84145
|
-
description: "Which tank:
|
|
84216
|
+
description: "Which tank, as a stable token: cleanWater, dirtyWater, detergent, dustBin, or the device key of any other supply (salt, rinse aid).",
|
|
84146
84217
|
example: "clean water",
|
|
84147
84218
|
group: "system",
|
|
84148
84219
|
families: ["rule"],
|