@camstack/addon-export-google 0.1.109 → 0.1.111

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.
@@ -5509,7 +5509,7 @@ var ZodIssueCode = {
5509
5509
  var ZodFirstPartyTypeKind;
5510
5510
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5511
5511
  //#endregion
5512
- //#region ../types/dist/sleep-DJFUfKvA.mjs
5512
+ //#region ../types/dist/sleep-CUp20JkO.mjs
5513
5513
  /**
5514
5514
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5515
5515
  * window to float samples (D455).
@@ -8334,7 +8334,11 @@ var ContributionSectionSchema = object({
8334
8334
  literal(4)
8335
8335
  ]).optional(),
8336
8336
  tab: string().optional(),
8337
- location: _enum(["settings", "top-tab"]).optional(),
8337
+ location: _enum([
8338
+ "settings",
8339
+ "top-tab",
8340
+ "hero"
8341
+ ]).optional(),
8338
8342
  order: number().optional(),
8339
8343
  fields: array(any())
8340
8344
  });
@@ -13428,7 +13432,11 @@ var ConfigSectionWithValuesSchema = object({
13428
13432
  literal(4)
13429
13433
  ]).optional(),
13430
13434
  tab: string().optional(),
13431
- location: _enum(["settings", "top-tab"]).optional(),
13435
+ location: _enum([
13436
+ "settings",
13437
+ "top-tab",
13438
+ "hero"
13439
+ ]).optional(),
13432
13440
  order: number().optional(),
13433
13441
  fields: array(any())
13434
13442
  });
@@ -17202,6 +17210,52 @@ var TierStatusSchema = object({
17202
17210
  countedAt: number().nullable()
17203
17211
  });
17204
17212
  /** Operator/diagnostic view: rows per tier, last runs, refusals and drops since boot. */
17213
+ /**
17214
+ * Why a series is orphan. `device-gone`: its device is absent from the
17215
+ * successful device listings (the departure clock). `undeclared`: its `cap:`
17216
+ * key is declared by no capability any more (a field a cap removed).
17217
+ */
17218
+ var DeviceHistoryOrphanReasonSchema = _enum(["device-gone", "undeclared"]);
17219
+ /** Rows held per stored tier. */
17220
+ var TierRowsSchema = object({
17221
+ raw: number().int(),
17222
+ "5m": number().int(),
17223
+ "1h": number().int(),
17224
+ "1d": number().int()
17225
+ });
17226
+ var OrphanSeriesSchema = object({
17227
+ seriesId: number().int(),
17228
+ deviceId: number().int(),
17229
+ key: string(),
17230
+ scope: string(),
17231
+ /** The metric's display name; `null` when its metric row is gone too. */
17232
+ displayName: string().nullable(),
17233
+ reason: DeviceHistoryOrphanReasonSchema,
17234
+ /** `device-gone`: since when the device has been absent; `null` otherwise. */
17235
+ missingSince: number().nullable(),
17236
+ firstTs: number(),
17237
+ lastTs: number(),
17238
+ rows: TierRowsSchema
17239
+ });
17240
+ var DeviceHistoryOrphanDeleteRefusalSchema = _enum([
17241
+ "not-found",
17242
+ "not-orphan",
17243
+ "failed"
17244
+ ]);
17245
+ var OrphanDeleteEntrySchema = discriminatedUnion("ok", [object({
17246
+ seriesId: number().int(),
17247
+ ok: literal(true),
17248
+ deleted: TierRowsSchema
17249
+ }), object({
17250
+ seriesId: number().int(),
17251
+ ok: literal(false),
17252
+ reason: DeviceHistoryOrphanDeleteRefusalSchema
17253
+ })]);
17254
+ var OrphanListSchema = object({
17255
+ series: array(OrphanSeriesSchema).readonly(),
17256
+ /** More orphans exist than {@link DEVICE_HISTORY_ORPHAN_LIST_MAX}. */
17257
+ truncated: boolean()
17258
+ });
17205
17259
  var DeviceHistoryStatusSchema = object({
17206
17260
  startedAt: number(),
17207
17261
  /** The store is declared, series loaded and the first reconcile has answered. */
@@ -17299,7 +17353,10 @@ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly())
17299
17353
  }), object({ enabled: boolean() }), {
17300
17354
  kind: "mutation",
17301
17355
  auth: "admin"
17302
- }), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" });
17356
+ }), 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() }), {
17357
+ kind: "mutation",
17358
+ auth: "admin"
17359
+ });
17303
17360
  var DeviceCaStatusSchema = discriminatedUnion("state", [
17304
17361
  object({ state: literal("absent") }),
17305
17362
  object({
@@ -50014,6 +50071,19 @@ var NodeInferenceDeviceSchema = object({
50014
50071
  /** Whether the node's live probe reports the device as usable right now. */
50015
50072
  available: boolean(),
50016
50073
  /**
50074
+ * Is the device on the node at all (D919)? `present` — the live probe
50075
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50076
+ * its stored settings remain (unplugged, moved to another node): never
50077
+ * eligible, whatever its stored `enabled`, and forgettable with
50078
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50079
+ * claimed (D315). Optional only for an orchestrator older than the field.
50080
+ */
50081
+ presence: _enum([
50082
+ "present",
50083
+ "absent",
50084
+ "unknown"
50085
+ ]).optional(),
50086
+ /**
50017
50087
  * Whether this device participates in dispatch. AUTO default (spec C2):
50018
50088
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50019
50089
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50239,7 +50309,13 @@ method(object({
50239
50309
  }), object({ success: literal(true) }), {
50240
50310
  kind: "mutation",
50241
50311
  auth: "admin"
50242
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50312
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50313
+ agentNodeId: string(),
50314
+ deviceKey: string()
50315
+ }), object({ success: literal(true) }), {
50316
+ kind: "mutation",
50317
+ auth: "admin"
50318
+ }), method(object({ agentNodeId: string() }), object({
50243
50319
  success: literal(true),
50244
50320
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50245
50321
  effectiveModelId: string().nullable(),
@@ -54361,17 +54437,69 @@ object({
54361
54437
  });
54362
54438
  DeviceType.Sensor;
54363
54439
  /**
54364
- * Generic device-consumables capability — surfaces a device's
54365
- * maintenance items (vacuum filters/brushes, replaceable cartridges,
54366
- * descaling cycles, …) with their remaining life and an optional
54367
- * "Replaced" reset action. Device-agnostic: any provider that knows its
54368
- * device tracks consumables can register it; the cap declares no
54369
- * vocabulary of its own — the provider names each item verbatim.
54440
+ * Generic device-consumables capability — the ONE place a device reports what
54441
+ * it uses up or fills: wear parts (vacuum filters/brushes, cartridges,
54442
+ * descaling cycles), supplies it draws from (a vacuum's clean-water tank and
54443
+ * detergent, a dishwasher's salt and rinse aid) and waste it collects (a dirty
54444
+ * water tank, a dust bin). Each item carries its remaining life or fill and an
54445
+ * optional "Replaced" reset action. Device-agnostic: any provider that knows
54446
+ * its device tracks consumables registers it; the provider names each item
54447
+ * verbatim and says which `kind` it is.
54448
+ *
54449
+ * The admin UI renders it as ONE collapsible section directly under the
54450
+ * device page's hero card (`placement: 'hero'`), for every device bound to
54451
+ * this cap — never drawn by a device type's hero card itself (D915).
54370
54452
  *
54371
54453
  * Like `childLayout`, the cap is INERT until a provider sets items: no
54372
54454
  * provider populates it by guessing (no HA inference). The UI renders a
54373
54455
  * "No consumables reported" placeholder when `items` is empty.
54374
54456
  */
54457
+ /**
54458
+ * What an item IS, which decides which direction is bad:
54459
+ * - `wear` — a part that wears out (a brush, a filter); low life is bad.
54460
+ * - `supply` — something the device draws from (clean water, detergent,
54461
+ * salt, rinse aid); low or empty is bad.
54462
+ * - `waste` — something the device fills (dirty water, a dust bin); full is
54463
+ * bad.
54464
+ * Absent = `wear`.
54465
+ */
54466
+ var ConsumableKindSchema = _enum([
54467
+ "wear",
54468
+ "supply",
54469
+ "waste"
54470
+ ]);
54471
+ /**
54472
+ * What an item LOOKS like, which decides how a client draws it — independent
54473
+ * of `kind`, which decides which direction is bad:
54474
+ * - `part` — a part that wears (a brush, a filter, a mop pad): a wear bar,
54475
+ * remaining time and a reset.
54476
+ * - `tank` — a container of liquid (clean water, dirty water): a fill gauge.
54477
+ * - `product` — something bought and refilled (detergent, salt, rinse aid):
54478
+ * a stepped level and "refill".
54479
+ * - `bin` — a container that collects waste (a dust bin): a fill gauge
54480
+ * that warns when full.
54481
+ * Absent = derived from the kind ({@link consumableFormOf}).
54482
+ */
54483
+ var ConsumableFormSchema = _enum([
54484
+ "part",
54485
+ "tank",
54486
+ "product",
54487
+ "bin"
54488
+ ]);
54489
+ /** The provider's own discrete verdict on an item. */
54490
+ var ConsumableStatusSchema = _enum([
54491
+ "ok",
54492
+ "low",
54493
+ "empty",
54494
+ "full",
54495
+ "replace"
54496
+ ]);
54497
+ _enum([
54498
+ "ok",
54499
+ "low",
54500
+ "empty",
54501
+ "full"
54502
+ ]);
54375
54503
  /** Units a remaining-life counter is reported in. Closed: the panel renders
54376
54504
  * each. */
54377
54505
  var ConsumableRemainingUnitSchema = _enum([
@@ -54391,10 +54519,14 @@ var ConsumablesStatusSchema = object({
54391
54519
  key: string().min(1),
54392
54520
  /** Display name. */
54393
54521
  label: string().min(1),
54394
- /** Remaining life % when known (0..100). */
54522
+ /** Remaining life % (`wear`) or fill % (`supply`, `waste`) when known (0..100). */
54395
54523
  level: number().min(0).max(100).nullable(),
54396
- /** Discrete state when known (binary mode). */
54397
- status: _enum(["ok", "replace"]).nullable(),
54524
+ /** The provider's discrete verdict when known (binary mode). */
54525
+ status: ConsumableStatusSchema.nullable(),
54526
+ /** What the item is — decides whether low or full is bad. Absent = `wear`. */
54527
+ kind: ConsumableKindSchema.optional(),
54528
+ /** How the item is drawn (part, tank, product, bin). Absent = derived from `kind`. */
54529
+ form: ConsumableFormSchema.optional(),
54398
54530
  /** Ms epoch of the last replace, when known. */
54399
54531
  lastResetAt: number().nullable(),
54400
54532
  /** Whether `reset()` is meaningful for this item. */
@@ -54629,8 +54761,9 @@ object({
54629
54761
  status: DeviceStatusSchema
54630
54762
  });
54631
54763
  /**
54632
- * Smart-dishwasher cap — program lifecycle, door / remote-start gates,
54633
- * consumable levels (salt, rinse aid) and common program options.
54764
+ * Smart-dishwasher cap — program lifecycle, door / remote-start gates and
54765
+ * common program options. Salt and rinse aid are NOT here: they are items of
54766
+ * the device's `consumables` cap, like every other device's (D915).
54634
54767
  *
54635
54768
  * Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
54636
54769
  * by any integration that exposes the same program / option surface.
@@ -54678,11 +54811,6 @@ var DishwasherAvailabilitySchema = _enum([
54678
54811
  "offline",
54679
54812
  "description-missing"
54680
54813
  ]);
54681
- var DishwasherConsumableLevelSchema = _enum([
54682
- "ok",
54683
- "low",
54684
- "empty"
54685
- ]);
54686
54814
  object({
54687
54815
  availability: DishwasherAvailabilitySchema,
54688
54816
  /** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
@@ -54715,8 +54843,6 @@ object({
54715
54843
  powerOn: boolean().nullable(),
54716
54844
  /** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
54717
54845
  powerState: string().nullable(),
54718
- saltLevel: DishwasherConsumableLevelSchema.nullable(),
54719
- rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
54720
54846
  /**
54721
54847
  * True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
54722
54848
  * combined care-and-filter reminder raised); false when every such reminder reads clear; null
@@ -56756,7 +56882,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
56756
56882
  enabled: boolean()
56757
56883
  }), _void(), {
56758
56884
  kind: "mutation",
56759
- auth: "admin"
56885
+ auth: "protected"
56760
56886
  }), object({
56761
56887
  deviceId: number(),
56762
56888
  enabled: boolean(),
@@ -57246,6 +57372,13 @@ var TopologyNodeSchema = object({
57246
57372
  cpuModel: string().nullable(),
57247
57373
  cpuCores: number(),
57248
57374
  memoryMB: number(),
57375
+ /**
57376
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
57377
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
57378
+ * about whether its hardware is there (a Coral delegate stays installed
57379
+ * after the stick leaves, D919); the live device set is
57380
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
57381
+ */
57249
57382
  engines: array(string()).readonly(),
57250
57383
  isHub: boolean(),
57251
57384
  isOnline: boolean(),
@@ -58210,7 +58343,28 @@ var ResolvedInferenceConfigSchema = object({
58210
58343
  format: ModelFormatSchema,
58211
58344
  reason: string()
58212
58345
  });
58213
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
58346
+ /**
58347
+ * The answer of an accelerator rescan (D919): the node's device list after
58348
+ * the re-probe, what changed, and the evidence that decided the Coral answer
58349
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
58350
+ * bus, the installed-delegate fallback, or nothing).
58351
+ */
58352
+ var AcceleratorRescanSchema = object({
58353
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
58354
+ appeared: array(string()).readonly(),
58355
+ disappeared: array(string()).readonly(),
58356
+ usbBus: _enum(["observed", "unobservable"]),
58357
+ decidedBy: _enum([
58358
+ "usb-ids",
58359
+ "pci",
58360
+ "delegate-fallback",
58361
+ "none"
58362
+ ])
58363
+ });
58364
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
58365
+ kind: "mutation",
58366
+ auth: "admin"
58367
+ });
58214
58368
  object({
58215
58369
  /** Instantaneous power draw in watts. */
58216
58370
  watts: number().optional(),
@@ -61506,60 +61660,17 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
61506
61660
  auth: "admin",
61507
61661
  access: "delete"
61508
61662
  });
61509
- /**
61510
- * Robot-vacuum cap. Models HA `vacuum.*` entities — anything with a
61511
- * cleaning lifecycle plus a return-to-base / locate surface and an
61512
- * optional fan-speed selector.
61513
- *
61514
- * State follows HA's canonical vacuum lifecycle: `idle` / `cleaning` /
61515
- * `paused` / `returning` / `docked` / `error`. `batteryLevel`
61516
- * (0..100) is nullable — some vacuums don't report a battery
61517
- * percentage. `fanSpeed` is the current speed token (provider-verbatim,
61518
- * e.g. `'standard'` / `'turbo'`) and `availableFanSpeeds` lists the
61519
- * tokens the hardware accepts so the UI renders only supported choices.
61520
- *
61521
- * The `setFanSpeed` method takes the bare `speed` token — the provider
61522
- * validates it against the vacuum's own list. `locate` triggers the
61523
- * find-me chirp; `returnToBase` sends it home.
61524
- *
61525
- * Consumable / waste tanks: `cleanWater` / `dirtyWater` / `detergent` /
61526
- * `dustBin` each carry a nullable `{ level (0..100 %), status ('ok' |
61527
- * 'low' | 'full') }` reading. Native providers (e.g. Dreame, Roborock)
61528
- * SHOULD populate whichever tanks the hardware has — leave a field `null`
61529
- * only when the device has no such tank at all, and use a `TankStatus`
61530
- * with both inner fields `null` when the tank exists but its level is
61531
- * currently unknown. HA `vacuum.*` entities expose no per-tank telemetry,
61532
- * so the HA provider leaves all four `null`.
61533
- */
61534
- var VacuumStateSchema = _enum([
61535
- "idle",
61536
- "cleaning",
61537
- "paused",
61538
- "returning",
61539
- "docked",
61540
- "drying",
61541
- "error"
61542
- ]);
61543
- /**
61544
- * One consumable / waste tank on a robot vacuum (clean-water, dirty-water,
61545
- * detergent or dust-bin). A tank can report a numeric fill `level` (0..100),
61546
- * a discrete `status` (binary-style hardware), or both. Both `null` means the
61547
- * level is currently unknown; the OWNING field being `null` means the
61548
- * hardware has no such tank at all.
61549
- */
61550
- var TankStatusSchema = object({
61551
- /** Numeric fill 0..100 when the hardware reports a percentage; null otherwise. */
61552
- level: number().min(0).max(100).nullable(),
61553
- /** Discrete state when the hardware is binary-mode; null otherwise. */
61554
- status: _enum([
61555
- "ok",
61556
- "low",
61557
- "full"
61558
- ]).nullable()
61559
- });
61560
61663
  object({
61561
61664
  /** Lifecycle state of the vacuum. */
61562
- state: VacuumStateSchema,
61665
+ state: _enum([
61666
+ "idle",
61667
+ "cleaning",
61668
+ "paused",
61669
+ "returning",
61670
+ "docked",
61671
+ "drying",
61672
+ "error"
61673
+ ]),
61563
61674
  /** 0..100 battery percentage. Null when the device has no battery
61564
61675
  * reading. */
61565
61676
  batteryLevel: number().min(0).max(100).nullable(),
@@ -61568,14 +61679,6 @@ object({
61568
61679
  fanSpeed: string().nullable(),
61569
61680
  /** Speed tokens the hardware accepts — drives the UI selector. */
61570
61681
  availableFanSpeeds: array(string()),
61571
- /** Clean-water (mop) tank. Null when the hardware has no clean-water tank. */
61572
- cleanWater: TankStatusSchema.nullable(),
61573
- /** Dirty-water (recovery) tank. Null when the hardware has no dirty-water tank. */
61574
- dirtyWater: TankStatusSchema.nullable(),
61575
- /** Detergent tank. Null when the hardware has no detergent tank. */
61576
- detergent: TankStatusSchema.nullable(),
61577
- /** Dust bin. Null when the hardware has no dust bin. */
61578
- dustBin: TankStatusSchema.nullable(),
61579
61682
  /** 0..100 cleaning-completion percentage of the current task, or null. */
61580
61683
  progressPercent: number().min(0).max(100).nullable(),
61581
61684
  /** Current error code (0 / null = no error). */
@@ -64116,6 +64219,12 @@ Object.freeze({
64116
64219
  addonId: null,
64117
64220
  access: "create"
64118
64221
  },
64222
+ "deviceHistory.deleteOrphanSeries": {
64223
+ capName: "device-history",
64224
+ capScope: "system",
64225
+ addonId: null,
64226
+ access: "delete"
64227
+ },
64119
64228
  "deviceHistory.getDeviceEnabled": {
64120
64229
  capName: "device-history",
64121
64230
  capScope: "system",
@@ -64134,6 +64243,12 @@ Object.freeze({
64134
64243
  addonId: null,
64135
64244
  access: "view"
64136
64245
  },
64246
+ "deviceHistory.listOrphanSeries": {
64247
+ capName: "device-history",
64248
+ capScope: "system",
64249
+ addonId: null,
64250
+ access: "view"
64251
+ },
64137
64252
  "deviceHistory.listSeries": {
64138
64253
  capName: "device-history",
64139
64254
  capScope: "system",
@@ -67758,6 +67873,12 @@ Object.freeze({
67758
67873
  addonId: null,
67759
67874
  access: "delete"
67760
67875
  },
67876
+ "pipelineOrchestrator.forgetInferenceDevice": {
67877
+ capName: "pipeline-orchestrator",
67878
+ capScope: "system",
67879
+ addonId: null,
67880
+ access: "delete"
67881
+ },
67761
67882
  "pipelineOrchestrator.getAgentLoad": {
67762
67883
  capName: "pipeline-orchestrator",
67763
67884
  capScope: "system",
@@ -68334,6 +68455,12 @@ Object.freeze({
68334
68455
  addonId: null,
68335
68456
  access: "view"
68336
68457
  },
68458
+ "platformProbe.rescanAccelerators": {
68459
+ capName: "platform-probe",
68460
+ capScope: "system",
68461
+ addonId: null,
68462
+ access: "create"
68463
+ },
68337
68464
  "platformProbe.resolveHwAccel": {
68338
68465
  capName: "platform-probe",
68339
68466
  capScope: "system",
@@ -74139,7 +74266,7 @@ var STATE_SUMMARY_VARS = [
74139
74266
  ([...RULE_TEXT], [...COMBINED_ALARM]),
74140
74267
  ([...RULE_TEXT], [...DEVICE_EVENTS]),
74141
74268
  ([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
74142
- ([...RULE_TEXT], [...CONSUMABLE]),
74269
+ ([...RULE_TEXT], [...CONSUMABLE, ...TANK]),
74143
74270
  ([...RULE_TEXT], [...TANK]),
74144
74271
  [...RULE_TEXT],
74145
74272
  ([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
@@ -5505,7 +5505,7 @@ var ZodIssueCode = {
5505
5505
  var ZodFirstPartyTypeKind;
5506
5506
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5507
5507
  //#endregion
5508
- //#region ../types/dist/sleep-DJFUfKvA.mjs
5508
+ //#region ../types/dist/sleep-CUp20JkO.mjs
5509
5509
  /**
5510
5510
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5511
5511
  * window to float samples (D455).
@@ -8330,7 +8330,11 @@ var ContributionSectionSchema = object({
8330
8330
  literal(4)
8331
8331
  ]).optional(),
8332
8332
  tab: string().optional(),
8333
- location: _enum(["settings", "top-tab"]).optional(),
8333
+ location: _enum([
8334
+ "settings",
8335
+ "top-tab",
8336
+ "hero"
8337
+ ]).optional(),
8334
8338
  order: number().optional(),
8335
8339
  fields: array(any())
8336
8340
  });
@@ -13424,7 +13428,11 @@ var ConfigSectionWithValuesSchema = object({
13424
13428
  literal(4)
13425
13429
  ]).optional(),
13426
13430
  tab: string().optional(),
13427
- location: _enum(["settings", "top-tab"]).optional(),
13431
+ location: _enum([
13432
+ "settings",
13433
+ "top-tab",
13434
+ "hero"
13435
+ ]).optional(),
13428
13436
  order: number().optional(),
13429
13437
  fields: array(any())
13430
13438
  });
@@ -17198,6 +17206,52 @@ var TierStatusSchema = object({
17198
17206
  countedAt: number().nullable()
17199
17207
  });
17200
17208
  /** Operator/diagnostic view: rows per tier, last runs, refusals and drops since boot. */
17209
+ /**
17210
+ * Why a series is orphan. `device-gone`: its device is absent from the
17211
+ * successful device listings (the departure clock). `undeclared`: its `cap:`
17212
+ * key is declared by no capability any more (a field a cap removed).
17213
+ */
17214
+ var DeviceHistoryOrphanReasonSchema = _enum(["device-gone", "undeclared"]);
17215
+ /** Rows held per stored tier. */
17216
+ var TierRowsSchema = object({
17217
+ raw: number().int(),
17218
+ "5m": number().int(),
17219
+ "1h": number().int(),
17220
+ "1d": number().int()
17221
+ });
17222
+ var OrphanSeriesSchema = object({
17223
+ seriesId: number().int(),
17224
+ deviceId: number().int(),
17225
+ key: string(),
17226
+ scope: string(),
17227
+ /** The metric's display name; `null` when its metric row is gone too. */
17228
+ displayName: string().nullable(),
17229
+ reason: DeviceHistoryOrphanReasonSchema,
17230
+ /** `device-gone`: since when the device has been absent; `null` otherwise. */
17231
+ missingSince: number().nullable(),
17232
+ firstTs: number(),
17233
+ lastTs: number(),
17234
+ rows: TierRowsSchema
17235
+ });
17236
+ var DeviceHistoryOrphanDeleteRefusalSchema = _enum([
17237
+ "not-found",
17238
+ "not-orphan",
17239
+ "failed"
17240
+ ]);
17241
+ var OrphanDeleteEntrySchema = discriminatedUnion("ok", [object({
17242
+ seriesId: number().int(),
17243
+ ok: literal(true),
17244
+ deleted: TierRowsSchema
17245
+ }), object({
17246
+ seriesId: number().int(),
17247
+ ok: literal(false),
17248
+ reason: DeviceHistoryOrphanDeleteRefusalSchema
17249
+ })]);
17250
+ var OrphanListSchema = object({
17251
+ series: array(OrphanSeriesSchema).readonly(),
17252
+ /** More orphans exist than {@link DEVICE_HISTORY_ORPHAN_LIST_MAX}. */
17253
+ truncated: boolean()
17254
+ });
17201
17255
  var DeviceHistoryStatusSchema = object({
17202
17256
  startedAt: number(),
17203
17257
  /** The store is declared, series loaded and the first reconcile has answered. */
@@ -17295,7 +17349,10 @@ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly())
17295
17349
  }), object({ enabled: boolean() }), {
17296
17350
  kind: "mutation",
17297
17351
  auth: "admin"
17298
- }), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" });
17352
+ }), 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() }), {
17353
+ kind: "mutation",
17354
+ auth: "admin"
17355
+ });
17299
17356
  var DeviceCaStatusSchema = discriminatedUnion("state", [
17300
17357
  object({ state: literal("absent") }),
17301
17358
  object({
@@ -50010,6 +50067,19 @@ var NodeInferenceDeviceSchema = object({
50010
50067
  /** Whether the node's live probe reports the device as usable right now. */
50011
50068
  available: boolean(),
50012
50069
  /**
50070
+ * Is the device on the node at all (D919)? `present` — the live probe
50071
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50072
+ * its stored settings remain (unplugged, moved to another node): never
50073
+ * eligible, whatever its stored `enabled`, and forgettable with
50074
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50075
+ * claimed (D315). Optional only for an orchestrator older than the field.
50076
+ */
50077
+ presence: _enum([
50078
+ "present",
50079
+ "absent",
50080
+ "unknown"
50081
+ ]).optional(),
50082
+ /**
50013
50083
  * Whether this device participates in dispatch. AUTO default (spec C2):
50014
50084
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50015
50085
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50235,7 +50305,13 @@ method(object({
50235
50305
  }), object({ success: literal(true) }), {
50236
50306
  kind: "mutation",
50237
50307
  auth: "admin"
50238
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50308
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50309
+ agentNodeId: string(),
50310
+ deviceKey: string()
50311
+ }), object({ success: literal(true) }), {
50312
+ kind: "mutation",
50313
+ auth: "admin"
50314
+ }), method(object({ agentNodeId: string() }), object({
50239
50315
  success: literal(true),
50240
50316
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50241
50317
  effectiveModelId: string().nullable(),
@@ -54357,17 +54433,69 @@ object({
54357
54433
  });
54358
54434
  DeviceType.Sensor;
54359
54435
  /**
54360
- * Generic device-consumables capability — surfaces a device's
54361
- * maintenance items (vacuum filters/brushes, replaceable cartridges,
54362
- * descaling cycles, …) with their remaining life and an optional
54363
- * "Replaced" reset action. Device-agnostic: any provider that knows its
54364
- * device tracks consumables can register it; the cap declares no
54365
- * vocabulary of its own — the provider names each item verbatim.
54436
+ * Generic device-consumables capability — the ONE place a device reports what
54437
+ * it uses up or fills: wear parts (vacuum filters/brushes, cartridges,
54438
+ * descaling cycles), supplies it draws from (a vacuum's clean-water tank and
54439
+ * detergent, a dishwasher's salt and rinse aid) and waste it collects (a dirty
54440
+ * water tank, a dust bin). Each item carries its remaining life or fill and an
54441
+ * optional "Replaced" reset action. Device-agnostic: any provider that knows
54442
+ * its device tracks consumables registers it; the provider names each item
54443
+ * verbatim and says which `kind` it is.
54444
+ *
54445
+ * The admin UI renders it as ONE collapsible section directly under the
54446
+ * device page's hero card (`placement: 'hero'`), for every device bound to
54447
+ * this cap — never drawn by a device type's hero card itself (D915).
54366
54448
  *
54367
54449
  * Like `childLayout`, the cap is INERT until a provider sets items: no
54368
54450
  * provider populates it by guessing (no HA inference). The UI renders a
54369
54451
  * "No consumables reported" placeholder when `items` is empty.
54370
54452
  */
54453
+ /**
54454
+ * What an item IS, which decides which direction is bad:
54455
+ * - `wear` — a part that wears out (a brush, a filter); low life is bad.
54456
+ * - `supply` — something the device draws from (clean water, detergent,
54457
+ * salt, rinse aid); low or empty is bad.
54458
+ * - `waste` — something the device fills (dirty water, a dust bin); full is
54459
+ * bad.
54460
+ * Absent = `wear`.
54461
+ */
54462
+ var ConsumableKindSchema = _enum([
54463
+ "wear",
54464
+ "supply",
54465
+ "waste"
54466
+ ]);
54467
+ /**
54468
+ * What an item LOOKS like, which decides how a client draws it — independent
54469
+ * of `kind`, which decides which direction is bad:
54470
+ * - `part` — a part that wears (a brush, a filter, a mop pad): a wear bar,
54471
+ * remaining time and a reset.
54472
+ * - `tank` — a container of liquid (clean water, dirty water): a fill gauge.
54473
+ * - `product` — something bought and refilled (detergent, salt, rinse aid):
54474
+ * a stepped level and "refill".
54475
+ * - `bin` — a container that collects waste (a dust bin): a fill gauge
54476
+ * that warns when full.
54477
+ * Absent = derived from the kind ({@link consumableFormOf}).
54478
+ */
54479
+ var ConsumableFormSchema = _enum([
54480
+ "part",
54481
+ "tank",
54482
+ "product",
54483
+ "bin"
54484
+ ]);
54485
+ /** The provider's own discrete verdict on an item. */
54486
+ var ConsumableStatusSchema = _enum([
54487
+ "ok",
54488
+ "low",
54489
+ "empty",
54490
+ "full",
54491
+ "replace"
54492
+ ]);
54493
+ _enum([
54494
+ "ok",
54495
+ "low",
54496
+ "empty",
54497
+ "full"
54498
+ ]);
54371
54499
  /** Units a remaining-life counter is reported in. Closed: the panel renders
54372
54500
  * each. */
54373
54501
  var ConsumableRemainingUnitSchema = _enum([
@@ -54387,10 +54515,14 @@ var ConsumablesStatusSchema = object({
54387
54515
  key: string().min(1),
54388
54516
  /** Display name. */
54389
54517
  label: string().min(1),
54390
- /** Remaining life % when known (0..100). */
54518
+ /** Remaining life % (`wear`) or fill % (`supply`, `waste`) when known (0..100). */
54391
54519
  level: number().min(0).max(100).nullable(),
54392
- /** Discrete state when known (binary mode). */
54393
- status: _enum(["ok", "replace"]).nullable(),
54520
+ /** The provider's discrete verdict when known (binary mode). */
54521
+ status: ConsumableStatusSchema.nullable(),
54522
+ /** What the item is — decides whether low or full is bad. Absent = `wear`. */
54523
+ kind: ConsumableKindSchema.optional(),
54524
+ /** How the item is drawn (part, tank, product, bin). Absent = derived from `kind`. */
54525
+ form: ConsumableFormSchema.optional(),
54394
54526
  /** Ms epoch of the last replace, when known. */
54395
54527
  lastResetAt: number().nullable(),
54396
54528
  /** Whether `reset()` is meaningful for this item. */
@@ -54625,8 +54757,9 @@ object({
54625
54757
  status: DeviceStatusSchema
54626
54758
  });
54627
54759
  /**
54628
- * Smart-dishwasher cap — program lifecycle, door / remote-start gates,
54629
- * consumable levels (salt, rinse aid) and common program options.
54760
+ * Smart-dishwasher cap — program lifecycle, door / remote-start gates and
54761
+ * common program options. Salt and rinse aid are NOT here: they are items of
54762
+ * the device's `consumables` cap, like every other device's (D915).
54630
54763
  *
54631
54764
  * Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
54632
54765
  * by any integration that exposes the same program / option surface.
@@ -54674,11 +54807,6 @@ var DishwasherAvailabilitySchema = _enum([
54674
54807
  "offline",
54675
54808
  "description-missing"
54676
54809
  ]);
54677
- var DishwasherConsumableLevelSchema = _enum([
54678
- "ok",
54679
- "low",
54680
- "empty"
54681
- ]);
54682
54810
  object({
54683
54811
  availability: DishwasherAvailabilitySchema,
54684
54812
  /** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
@@ -54711,8 +54839,6 @@ object({
54711
54839
  powerOn: boolean().nullable(),
54712
54840
  /** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
54713
54841
  powerState: string().nullable(),
54714
- saltLevel: DishwasherConsumableLevelSchema.nullable(),
54715
- rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
54716
54842
  /**
54717
54843
  * True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
54718
54844
  * combined care-and-filter reminder raised); false when every such reminder reads clear; null
@@ -56752,7 +56878,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
56752
56878
  enabled: boolean()
56753
56879
  }), _void(), {
56754
56880
  kind: "mutation",
56755
- auth: "admin"
56881
+ auth: "protected"
56756
56882
  }), object({
56757
56883
  deviceId: number(),
56758
56884
  enabled: boolean(),
@@ -57242,6 +57368,13 @@ var TopologyNodeSchema = object({
57242
57368
  cpuModel: string().nullable(),
57243
57369
  cpuCores: number(),
57244
57370
  memoryMB: number(),
57371
+ /**
57372
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
57373
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
57374
+ * about whether its hardware is there (a Coral delegate stays installed
57375
+ * after the stick leaves, D919); the live device set is
57376
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
57377
+ */
57245
57378
  engines: array(string()).readonly(),
57246
57379
  isHub: boolean(),
57247
57380
  isOnline: boolean(),
@@ -58206,7 +58339,28 @@ var ResolvedInferenceConfigSchema = object({
58206
58339
  format: ModelFormatSchema,
58207
58340
  reason: string()
58208
58341
  });
58209
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
58342
+ /**
58343
+ * The answer of an accelerator rescan (D919): the node's device list after
58344
+ * the re-probe, what changed, and the evidence that decided the Coral answer
58345
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
58346
+ * bus, the installed-delegate fallback, or nothing).
58347
+ */
58348
+ var AcceleratorRescanSchema = object({
58349
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
58350
+ appeared: array(string()).readonly(),
58351
+ disappeared: array(string()).readonly(),
58352
+ usbBus: _enum(["observed", "unobservable"]),
58353
+ decidedBy: _enum([
58354
+ "usb-ids",
58355
+ "pci",
58356
+ "delegate-fallback",
58357
+ "none"
58358
+ ])
58359
+ });
58360
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
58361
+ kind: "mutation",
58362
+ auth: "admin"
58363
+ });
58210
58364
  object({
58211
58365
  /** Instantaneous power draw in watts. */
58212
58366
  watts: number().optional(),
@@ -61502,60 +61656,17 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
61502
61656
  auth: "admin",
61503
61657
  access: "delete"
61504
61658
  });
61505
- /**
61506
- * Robot-vacuum cap. Models HA `vacuum.*` entities — anything with a
61507
- * cleaning lifecycle plus a return-to-base / locate surface and an
61508
- * optional fan-speed selector.
61509
- *
61510
- * State follows HA's canonical vacuum lifecycle: `idle` / `cleaning` /
61511
- * `paused` / `returning` / `docked` / `error`. `batteryLevel`
61512
- * (0..100) is nullable — some vacuums don't report a battery
61513
- * percentage. `fanSpeed` is the current speed token (provider-verbatim,
61514
- * e.g. `'standard'` / `'turbo'`) and `availableFanSpeeds` lists the
61515
- * tokens the hardware accepts so the UI renders only supported choices.
61516
- *
61517
- * The `setFanSpeed` method takes the bare `speed` token — the provider
61518
- * validates it against the vacuum's own list. `locate` triggers the
61519
- * find-me chirp; `returnToBase` sends it home.
61520
- *
61521
- * Consumable / waste tanks: `cleanWater` / `dirtyWater` / `detergent` /
61522
- * `dustBin` each carry a nullable `{ level (0..100 %), status ('ok' |
61523
- * 'low' | 'full') }` reading. Native providers (e.g. Dreame, Roborock)
61524
- * SHOULD populate whichever tanks the hardware has — leave a field `null`
61525
- * only when the device has no such tank at all, and use a `TankStatus`
61526
- * with both inner fields `null` when the tank exists but its level is
61527
- * currently unknown. HA `vacuum.*` entities expose no per-tank telemetry,
61528
- * so the HA provider leaves all four `null`.
61529
- */
61530
- var VacuumStateSchema = _enum([
61531
- "idle",
61532
- "cleaning",
61533
- "paused",
61534
- "returning",
61535
- "docked",
61536
- "drying",
61537
- "error"
61538
- ]);
61539
- /**
61540
- * One consumable / waste tank on a robot vacuum (clean-water, dirty-water,
61541
- * detergent or dust-bin). A tank can report a numeric fill `level` (0..100),
61542
- * a discrete `status` (binary-style hardware), or both. Both `null` means the
61543
- * level is currently unknown; the OWNING field being `null` means the
61544
- * hardware has no such tank at all.
61545
- */
61546
- var TankStatusSchema = object({
61547
- /** Numeric fill 0..100 when the hardware reports a percentage; null otherwise. */
61548
- level: number().min(0).max(100).nullable(),
61549
- /** Discrete state when the hardware is binary-mode; null otherwise. */
61550
- status: _enum([
61551
- "ok",
61552
- "low",
61553
- "full"
61554
- ]).nullable()
61555
- });
61556
61659
  object({
61557
61660
  /** Lifecycle state of the vacuum. */
61558
- state: VacuumStateSchema,
61661
+ state: _enum([
61662
+ "idle",
61663
+ "cleaning",
61664
+ "paused",
61665
+ "returning",
61666
+ "docked",
61667
+ "drying",
61668
+ "error"
61669
+ ]),
61559
61670
  /** 0..100 battery percentage. Null when the device has no battery
61560
61671
  * reading. */
61561
61672
  batteryLevel: number().min(0).max(100).nullable(),
@@ -61564,14 +61675,6 @@ object({
61564
61675
  fanSpeed: string().nullable(),
61565
61676
  /** Speed tokens the hardware accepts — drives the UI selector. */
61566
61677
  availableFanSpeeds: array(string()),
61567
- /** Clean-water (mop) tank. Null when the hardware has no clean-water tank. */
61568
- cleanWater: TankStatusSchema.nullable(),
61569
- /** Dirty-water (recovery) tank. Null when the hardware has no dirty-water tank. */
61570
- dirtyWater: TankStatusSchema.nullable(),
61571
- /** Detergent tank. Null when the hardware has no detergent tank. */
61572
- detergent: TankStatusSchema.nullable(),
61573
- /** Dust bin. Null when the hardware has no dust bin. */
61574
- dustBin: TankStatusSchema.nullable(),
61575
61678
  /** 0..100 cleaning-completion percentage of the current task, or null. */
61576
61679
  progressPercent: number().min(0).max(100).nullable(),
61577
61680
  /** Current error code (0 / null = no error). */
@@ -64112,6 +64215,12 @@ Object.freeze({
64112
64215
  addonId: null,
64113
64216
  access: "create"
64114
64217
  },
64218
+ "deviceHistory.deleteOrphanSeries": {
64219
+ capName: "device-history",
64220
+ capScope: "system",
64221
+ addonId: null,
64222
+ access: "delete"
64223
+ },
64115
64224
  "deviceHistory.getDeviceEnabled": {
64116
64225
  capName: "device-history",
64117
64226
  capScope: "system",
@@ -64130,6 +64239,12 @@ Object.freeze({
64130
64239
  addonId: null,
64131
64240
  access: "view"
64132
64241
  },
64242
+ "deviceHistory.listOrphanSeries": {
64243
+ capName: "device-history",
64244
+ capScope: "system",
64245
+ addonId: null,
64246
+ access: "view"
64247
+ },
64133
64248
  "deviceHistory.listSeries": {
64134
64249
  capName: "device-history",
64135
64250
  capScope: "system",
@@ -67754,6 +67869,12 @@ Object.freeze({
67754
67869
  addonId: null,
67755
67870
  access: "delete"
67756
67871
  },
67872
+ "pipelineOrchestrator.forgetInferenceDevice": {
67873
+ capName: "pipeline-orchestrator",
67874
+ capScope: "system",
67875
+ addonId: null,
67876
+ access: "delete"
67877
+ },
67757
67878
  "pipelineOrchestrator.getAgentLoad": {
67758
67879
  capName: "pipeline-orchestrator",
67759
67880
  capScope: "system",
@@ -68330,6 +68451,12 @@ Object.freeze({
68330
68451
  addonId: null,
68331
68452
  access: "view"
68332
68453
  },
68454
+ "platformProbe.rescanAccelerators": {
68455
+ capName: "platform-probe",
68456
+ capScope: "system",
68457
+ addonId: null,
68458
+ access: "create"
68459
+ },
68333
68460
  "platformProbe.resolveHwAccel": {
68334
68461
  capName: "platform-probe",
68335
68462
  capScope: "system",
@@ -74135,7 +74262,7 @@ var STATE_SUMMARY_VARS = [
74135
74262
  ([...RULE_TEXT], [...COMBINED_ALARM]),
74136
74263
  ([...RULE_TEXT], [...DEVICE_EVENTS]),
74137
74264
  ([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
74138
- ([...RULE_TEXT], [...CONSUMABLE]),
74265
+ ([...RULE_TEXT], [...CONSUMABLE, ...TANK]),
74139
74266
  ([...RULE_TEXT], [...TANK]),
74140
74267
  [...RULE_TEXT],
74141
74268
  ([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-google",
3
- "version": "0.1.109",
3
+ "version": "0.1.111",
4
4
  "description": "Google Home export — hub-side smart-home fulfillment (SYNC / QUERY / EXECUTE / DISCONNECT) for the non-camera fleet, served over the hub's own OAuth account link. No Google credential is stored, sent or required.",
5
5
  "keywords": [
6
6
  "camstack",