@camstack/addon-export-google 0.1.43 → 0.1.44

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.
@@ -77,7 +77,7 @@ function createApiDeviceGateway(deps) {
77
77
  };
78
78
  }
79
79
  //#endregion
80
- //#region ../types/dist/event-category-zAv7pMUz.mjs
80
+ //#region ../types/dist/event-category-CnLqLOKs.mjs
81
81
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
82
82
  EventCategory["SystemBoot"] = "system.boot";
83
83
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -272,6 +272,19 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
272
272
  EventCategory["ProcessCrashed"] = "process.crashed";
273
273
  EventCategory["ProcessRestartScheduled"] = "process.restart_scheduled";
274
274
  EventCategory["ProcessRestarted"] = "process.restarted";
275
+ /**
276
+ * The SET of storage locations changed — one was created, edited, enabled,
277
+ * disabled or deleted through `storage.upsertLocation` / `deleteLocation`.
278
+ *
279
+ * Telemetry, not a transaction (D8/D11): every consumer that re-resolves on
280
+ * it must also converge on its own periodic path, because a dropped event
281
+ * must not leave a node writing to yesterday's disk set forever. It exists
282
+ * because there was NO signal at all — an operator who added a second
283
+ * recordings disk in the admin UI got nothing, and the recorder kept its
284
+ * resolved locations until something else happened to re-resolve them
285
+ * (D387). Payload `StorageLocationsChangedPayload`.
286
+ */
287
+ EventCategory["StorageLocationsChanged"] = "storage.locations-changed";
275
288
  EventCategory["RecordingStarted"] = "recording.started";
276
289
  EventCategory["RecordingStopped"] = "recording.stopped";
277
290
  EventCategory["RecordingError"] = "recording.error";
@@ -8729,6 +8742,21 @@ var StorageCleanupJobSchema = object({
8729
8742
  });
8730
8743
  var StorageCleanupStatusInputSchema = object({ jobId: string().optional() });
8731
8744
  /**
8745
+ * The one typed state of a storage location. Authoritative Zod schema — the TS
8746
+ * alias below is `z.infer<>` of it, never a second spelling.
8747
+ */
8748
+ var StorageLocationModeSchema = _enum([
8749
+ "active",
8750
+ "readonly",
8751
+ "drain",
8752
+ "disabled"
8753
+ ]);
8754
+ _enum([
8755
+ "normal",
8756
+ "never",
8757
+ "drain"
8758
+ ]);
8759
+ /**
8732
8760
  * `StorageLocationType` — an addon-declared id that identifies the *kind* of
8733
8761
  * storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
8734
8762
  * so the persisted record schema and the consumer-facing cap can both consume it
@@ -8794,6 +8822,21 @@ var StorageLocationSchema = object({
8794
8822
  * stops existing rather than being re-derived on every read.
8795
8823
  */
8796
8824
  enabled: boolean().optional(),
8825
+ /**
8826
+ * THE state of this location (D385), and the only authority on what may be
8827
+ * written, read or evicted here. Interpreted in exactly one place —
8828
+ * `storage-location-mode.ts` — which also folds the legacy
8829
+ * `enabled` / `config.readOnly` pair into a mode so an old row is never
8830
+ * ambiguous.
8831
+ *
8832
+ * OPTIONAL only for the wire and for rows written before D385: absence is
8833
+ * resolved by `resolveLocationMode`, and the orchestrator stamps every
8834
+ * unstamped row ONCE at hydrate so absence stops existing rather than being
8835
+ * re-derived on every read. `enabled` survives one release as a DERIVED
8836
+ * mirror (`mode === 'active'`); `withLocationMode` is the only writer of
8837
+ * either, so the two cannot disagree.
8838
+ */
8839
+ mode: StorageLocationModeSchema.optional(),
8797
8840
  /** COMPUTED at read time by the orchestrator (statfs of the backing volume
8798
8841
  * for node-local locations it can reach) — never persisted, absent when the
8799
8842
  * volume is remote/unreachable. The single capacity truth every UI reads. */
@@ -8801,11 +8844,46 @@ var StorageLocationSchema = object({
8801
8844
  totalBytes: number(),
8802
8845
  availableBytes: number()
8803
8846
  }).nullable().optional(),
8847
+ /**
8848
+ * How much of that volume CamStack ITSELF holds on this location (D388) —
8849
+ * COMPUTED at read time from the `storage-occupancy` providers' own figures,
8850
+ * never persisted, never a filesystem walk.
8851
+ *
8852
+ * **ABSENT MEANS UNKNOWN, never zero.** No provider has reported for this
8853
+ * location yet — nobody stores here, the owning addon is down, or the first
8854
+ * refresh has not completed. A UI must omit the segment rather than draw it
8855
+ * at zero, which would claim we occupy nothing (D315). It is an OBJECT and
8856
+ * not a bare number precisely so that a `?? 0` on the consuming side has to
8857
+ * be spelled out loud instead of appearing by accident.
8858
+ *
8859
+ * `measuredAtMs` is the OLDEST contributing measurement, so it is honest
8860
+ * about the whole figure rather than about its freshest part.
8861
+ */
8862
+ owned: object({
8863
+ bytes: number().int().nonnegative(),
8864
+ measuredAtMs: number().int().nonnegative()
8865
+ }).optional(),
8804
8866
  createdAt: number(),
8805
8867
  updatedAt: number()
8806
8868
  });
8807
8869
  object({ isDefault: boolean().optional() });
8808
8870
  /**
8871
+ * How far a `drain` has got (D386) — the read a UI renders, and nothing more.
8872
+ *
8873
+ * `estimatedEmptyAtMs` is derived from the growth the ratchet has actually
8874
+ * OBSERVED and is `null` when it has observed none. Never a fabricated date: a
8875
+ * drain with no observed growth has no honest ETA, and inventing one is how an
8876
+ * operator learns not to believe the screen.
8877
+ */
8878
+ var StorageDrainProgressSchema = object({
8879
+ locationId: string(),
8880
+ startedAtMs: number(),
8881
+ startBytes: number(),
8882
+ bytesRemaining: number(),
8883
+ drained: boolean(),
8884
+ estimatedEmptyAtMs: number().nullable()
8885
+ });
8886
+ /**
8809
8887
  * Reference accepted by consumer-facing `api.storage.*` calls.
8810
8888
  * Either:
8811
8889
  * - a `StorageLocationType` (e.g. `'backups'`) → the sole location of that type
@@ -21855,7 +21933,7 @@ method(object({
21855
21933
  }), _void(), {
21856
21934
  kind: "mutation",
21857
21935
  auth: "admin"
21858
- }), method(object({ id: string() }), object({
21936
+ }), method(_void(), array(StorageDrainProgressSchema).readonly()), method(object({ id: string() }), object({
21859
21937
  ok: boolean(),
21860
21938
  error: string().optional()
21861
21939
  }), { auth: "admin" }), method(_void(), array(ProviderListEntrySchema).readonly()), method(object({
@@ -21925,6 +22003,51 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
21925
22003
  kind: "mutation",
21926
22004
  auth: "admin"
21927
22005
  }), method(object({}), array(StorageMigrationJobSchema).readonly(), { auth: "admin" });
22006
+ /**
22007
+ * `storage-occupancy` — how many bytes an addon actually HOLDS on a storage
22008
+ * location (D388).
22009
+ *
22010
+ * ## Why this is not `storage-evictable`
22011
+ *
22012
+ * `storage-evictable.getEvictableUsage` looks like the same question and is
22013
+ * not, in two ways that both matter and both bite hardest on the locations an
22014
+ * operator most wants a figure for:
22015
+ *
22016
+ * - it reports the whole eviction DOMAIN, not the location. `recordings:default`
22017
+ * and `recordingsLow:default` deliberately share one root and evict as one
22018
+ * oldest-first pool, so both answer with the SAME combined total. As an
22019
+ * occupancy figure that double-counts the disk.
22020
+ * - it reports ZERO for a location whose eviction policy is `never` (D385) —
22021
+ * a `readonly` or `disabled` disk. Those are exactly the disks an operator
22022
+ * is retiring and staring at.
22023
+ *
22024
+ * So this is its own contract with its own quantity, and the quantity is
22025
+ * OCCUPIED: every byte the addon holds on that location, whether or not it
22026
+ * would ever be willing to delete it. A provider that can only answer
22027
+ * "evictable" must not register here — a number that silently means different
22028
+ * things per class is worse than no number.
22029
+ *
22030
+ * ## Absence is an answer
22031
+ *
22032
+ * A location nobody reports for is UNKNOWN, never zero (D315). The orchestrator
22033
+ * stamps `StorageLocation.owned` only for locations it has a report for, and
22034
+ * the field is an OBJECT rather than a bare number so that a `?? 0` on the
22035
+ * consuming side has to be written out loud instead of appearing by accident.
22036
+ *
22037
+ * `internal: true` — consumed by the orchestrator's `listLocations` stamp, never
22038
+ * a public client surface. Clients read the stamped `StorageLocation.owned`.
22039
+ */
22040
+ /** One provider's occupancy answer for one location. */
22041
+ var StorageOccupancyReportSchema = object({
22042
+ locationId: string(),
22043
+ /** Bytes this provider holds on THAT location — not its eviction domain, and
22044
+ * not net of what it is willing to delete. */
22045
+ ownedBytes: number().int().nonnegative(),
22046
+ /** When the provider last actually measured this. The orchestrator carries it
22047
+ * through so a UI can say how old the figure is instead of implying "now". */
22048
+ measuredAtMs: number().int().nonnegative()
22049
+ });
22050
+ method(object({ locationIds: array(string()).readonly() }), array(StorageOccupancyReportSchema).readonly(), { auth: "admin" });
21928
22051
  var ProviderInfoSchema = discriminatedUnion("shouldSaveDiskSpace", [object({
21929
22052
  providerId: string().min(1),
21930
22053
  displayName: string().min(1),
@@ -23560,39 +23683,6 @@ DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, meth
23560
23683
  deviceId: number(),
23561
23684
  status: BatteryStatusSchema
23562
23685
  });
23563
- /**
23564
- * Network-link snapshot. Same shape for every provider (a Reolink wifi
23565
- * camera, a Home Assistant device with a signal-strength sensor, a Tapo
23566
- * plug): one slice under `device.runtimeState['network-link']`, one badge,
23567
- * one Home Assistant projection.
23568
- */
23569
- var NetworkLinkStatusSchema = object({
23570
- /** The link the device is on. `'unknown'` = not read yet, not "no link". */
23571
- type: _enum([
23572
- "wifi",
23573
- "ethernet",
23574
- "cellular",
23575
- "unknown"
23576
- ]),
23577
- /**
23578
- * Link quality, 0..100 inclusive, normalised by the provider from whatever
23579
- * the firmware reports (bars, RSSI, a vendor scale). **`null` means NOT
23580
- * KNOWN or NOT APPLICABLE** — a wired link has no signal, and a wireless
23581
- * one whose reading has not landed must not be drawn at 0 %. Consumers
23582
- * SKIP a null rather than coerce it.
23583
- */
23584
- signalPercent: number().min(0).max(100).nullable(),
23585
- /** Raw received signal strength in dBm, when the firmware reports one. */
23586
- rssiDbm: number().optional(),
23587
- /** Network name of a wireless link, when the firmware reports it. */
23588
- ssid: string().optional(),
23589
- /** Ms epoch of the last observation. Lets consumers reason about freshness. */
23590
- lastUpdated: number()
23591
- });
23592
- DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.Light, DeviceType.Lock, DeviceType.Siren, object({
23593
- deviceId: number(),
23594
- status: NetworkLinkStatusSchema
23595
- });
23596
23686
  object({
23597
23687
  on: boolean(),
23598
23688
  /** Ms epoch of the last transition. 0 if never observed. */
@@ -25958,6 +26048,236 @@ DeviceType.Camera, method(object({
25958
26048
  detection: NativeDetectionSchema
25959
26049
  });
25960
26050
  /**
26051
+ * `navigation` — a device-scoped capability that natively expresses the FULL
26052
+ * navigation / action surface of a robot that DRIVES ITSELF and carries an
26053
+ * on-board camera (the Dreame robot-vacuum camera is the first provider).
26054
+ *
26055
+ * Why a NEW cap rather than overloading `ptz`:
26056
+ * - `ptz` moves a *gimbal* on a fixed camera (pan/tilt/zoom of the lens). A
26057
+ * robot vacuum has no gimbal — the whole chassis drives, turns and spins.
26058
+ * The two are different physical models: PTZ is absolute-position + presets,
26059
+ * navigation is momentary drive nudges + discrete robot ACTIONS
26060
+ * (dock / spot-clean / follow-pet / go-to-point / …).
26061
+ * - This cap is the SOURCE OF TRUTH. Two consumers adapt from it rather than
26062
+ * the reverse:
26063
+ * 1. a native CamStack navigation panel (data-driven from `listActions`
26064
+ * / `getOptions`), and
26065
+ * 2. the PTZ surface — a thin adapter mimics `ptz` from `navigation` so a
26066
+ * robot camera shows up in the existing PTZ control path without every
26067
+ * PTZ provider learning about robots. The mapping lives in the adapter,
26068
+ * not here (see the addon design note):
26069
+ * ptz.continuousMove({pan,tilt}) → navigation.move({pan,tilt})
26070
+ * ptz.stop() → navigation.stop()
26071
+ * ptz.goHome() → navigation.runAction('goHome')
26072
+ * ptz.getPresets() → navigation.listActions() (id→preset)
26073
+ * ptz.goToPreset(id) → navigation.runAction(id)
26074
+ *
26075
+ * ## Continuous drive
26076
+ *
26077
+ * `move` is MOMENTARY. Fluid navigation comes from the UI (or the PTZ adapter)
26078
+ * sending `move({pan,tilt})` REPEATEDLY at ~1 Hz while a direction is held, and
26079
+ * one `stop()` on release — exactly like the robot app's remote-drive joystick.
26080
+ * The provider forwards EACH `move` to one drive write; it must NOT debounce or
26081
+ * coalesce them. The UI owns the cadence.
26082
+ *
26083
+ * ## The action dictionary
26084
+ *
26085
+ * The discrete controls (dock / locate / spot-clean / follow / flash / sounds)
26086
+ * are a DATA-DRIVEN dictionary the cap exposes via `listActions()`. Each entry
26087
+ * carries `{ id, kind, label, icon }` (plus `soundId` for sound entries) so the
26088
+ * native panel AND the PTZ mimic render buttons WITHOUT hardcoding a
26089
+ * vendor-specific list. `kind: 'action'` entries are triggered with
26090
+ * `runAction({ actionId })`; `kind: 'sound'` entries with `playSound({ soundId })`
26091
+ * (the entry carries the `soundId` to pass). The general primitives — `move`,
26092
+ * `stop`, `goToPoint` — stay as first-class methods, not dictionary entries.
26093
+ *
26094
+ * NOTE (provider wiring): the first provider (Dreame) drives this with the RAW
26095
+ * `callAction(siid,aiid,in)` / `setProperty({siid,piid,value})` MIoT primitives
26096
+ * that the currently-published `@apocaliss92/nodedreame` already exposes on
26097
+ * every device handle. A future nodedreame publish adds a typed
26098
+ * `DreameCameraController` (drive / playPetSound / spotClean / findPet / …); the
26099
+ * provider can then swap the raw calls for the typed methods with no change to
26100
+ * THIS contract.
26101
+ */
26102
+ /**
26103
+ * A momentary drive nudge. The robot MOVES (no gimbal) for as long as the caller
26104
+ * keeps sending nudges (~1 Hz); an explicit `stop` (or letting the nudges lapse)
26105
+ * halts it.
26106
+ *
26107
+ * - `pan` — turn: negative = left, positive = right, 0 = straight.
26108
+ * - `tilt` — throttle: positive = forward, negative = spin / turn-around.
26109
+ * - `speed` — optional intensity hint [0, 1]; the provider may scale the drive
26110
+ * vector by it (drivers without proportional drive ignore it).
26111
+ *
26112
+ * `pan` / `tilt` are normalized [-1, 1]. Both optional so a caller can nudge one
26113
+ * axis alone; an all-undefined nudge is a no-op.
26114
+ */
26115
+ var NavigationMoveCommandSchema = object({
26116
+ pan: number().min(-1).max(1).optional(),
26117
+ tilt: number().min(-1).max(1).optional(),
26118
+ speed: number().min(0).max(1).optional()
26119
+ });
26120
+ /**
26121
+ * The enumerated discrete actions a navigation-capable robot can perform via
26122
+ * `runAction`. This is the CLOSED vocabulary; a given device advertises the
26123
+ * subset it supports through `listActions`. Sounds are NOT here — they go through
26124
+ * `playSound` (see the `sound` dictionary entries).
26125
+ */
26126
+ var NavigationActionIdSchema = _enum([
26127
+ "goHome",
26128
+ "locate",
26129
+ "spotClean",
26130
+ "findPet",
26131
+ "personFollow",
26132
+ "stop",
26133
+ "startClean",
26134
+ "pauseClean",
26135
+ "dockWash",
26136
+ "autoEmpty",
26137
+ "flashOn",
26138
+ "flashOff"
26139
+ ]);
26140
+ /** Whether a dictionary entry is a `runAction` action or a `playSound` sound. */
26141
+ var NavigationEntryKindSchema = _enum(["action", "sound"]);
26142
+ /**
26143
+ * One entry in the navigation action dictionary — the DATA-DRIVEN unit both the
26144
+ * native panel and the PTZ mimic render as a button.
26145
+ *
26146
+ * - `id` — stable id. For `kind:'action'` it is a {@link NavigationActionId}
26147
+ * (pass to `runAction`); for `kind:'sound'` it is a namespaced id
26148
+ * (`sound:meow`) whose `soundId` is passed to `playSound`.
26149
+ * - `icon` — icon HINT (lucide-style name; the UI maps it to its own set).
26150
+ * - `label` — operator-facing English label.
26151
+ * - `soundId` — wire sound id, present only on `kind:'sound'` entries.
26152
+ * - `enabled` — per-device FEATURE FLAG. `listActions` reports it so the UI /
26153
+ * PTZ render ONLY enabled entries. Data-driven: the provider
26154
+ * flips it from config, never by editing code.
26155
+ */
26156
+ var NavigationActionEntrySchema = object({
26157
+ id: string(),
26158
+ kind: NavigationEntryKindSchema,
26159
+ label: string(),
26160
+ icon: string(),
26161
+ /** Present only on `kind:'sound'` entries — the id to pass to `playSound`. */
26162
+ soundId: number().int().optional(),
26163
+ /** Per-device feature flag — render this entry only when true. */
26164
+ enabled: boolean()
26165
+ });
26166
+ /** Coordinates for `goToPoint` — a point on the robot's live map. */
26167
+ var NavigationPointSchema = object({
26168
+ x: number(),
26169
+ y: number()
26170
+ });
26171
+ /**
26172
+ * Per-device FEATURE-FLAG report for the general (non-dictionary) primitives.
26173
+ * The cap reports which are enabled so the UI / PTZ render only the controls
26174
+ * that are turned on for THIS device. Data-driven: the provider derives these
26175
+ * from config + probe, never hardcoded in the UI. The per-DICTIONARY-entry flags
26176
+ * live on {@link NavigationActionEntrySchema.enabled}; these gate the primitives
26177
+ * that are not dictionary entries.
26178
+ *
26179
+ * - `move` / `stop` — the momentary drive joystick.
26180
+ * - `goToPoint` — send-to-map-coordinate. Ships OFF on Dreame until the
26181
+ * map-coordinate plumbing is wired.
26182
+ * - `runAction` — the discrete action buttons (dictionary `kind:'action'`).
26183
+ * - `playSound` — the sound buttons (dictionary `kind:'sound'`).
26184
+ * - `light` — the on/off fill-light toggle (works anytime).
26185
+ * - `lightMode` — the auto/manual selector + manual level slider (a
26186
+ * camera-service control; needs an active stream).
26187
+ */
26188
+ var NavigationFeaturesSchema = object({
26189
+ move: boolean(),
26190
+ stop: boolean(),
26191
+ goToPoint: boolean(),
26192
+ runAction: boolean(),
26193
+ playSound: boolean(),
26194
+ light: boolean(),
26195
+ lightMode: boolean()
26196
+ });
26197
+ /** Light mode: `auto` lets the camera choose brightness; `manual` uses `level`. */
26198
+ var NavigationLightModeSchema = _enum(["auto", "manual"]);
26199
+ /**
26200
+ * Live navigation state so the UI can reflect what the robot is doing:
26201
+ * - `mode` — coarse activity (idle / cleaning / following / …).
26202
+ * - `following` — person/pet follow is currently armed.
26203
+ * - `flash` — the on-camera fill light is on.
26204
+ * - `lightMode` — auto vs manual fill-light mode.
26205
+ * - `lightLevel` — manual fill-light level (40..100); meaningful when
26206
+ * `lightMode === 'manual'`.
26207
+ */
26208
+ var NavigationStatusSchema = object({
26209
+ mode: _enum([
26210
+ "idle",
26211
+ "cleaning",
26212
+ "spot",
26213
+ "following",
26214
+ "goto",
26215
+ "returning",
26216
+ "paused",
26217
+ "unknown"
26218
+ ]),
26219
+ following: boolean(),
26220
+ flash: boolean(),
26221
+ lightMode: NavigationLightModeSchema,
26222
+ lightLevel: number().min(40).max(100),
26223
+ /** Ms epoch when the slice was last updated. */
26224
+ lastChangedAt: number()
26225
+ });
26226
+ NavigationStatusSchema.extend({ lastFetchedAt: number() });
26227
+ DeviceType.Camera, method(NavigationMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(NavigationPointSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(NavigationActionEntrySchema)), method(object({
26228
+ deviceId: number(),
26229
+ actionId: NavigationActionIdSchema
26230
+ }), _void(), { kind: "mutation" }), method(object({
26231
+ deviceId: number(),
26232
+ soundId: number().int()
26233
+ }), _void(), { kind: "mutation" }), method(object({
26234
+ deviceId: number(),
26235
+ on: boolean()
26236
+ }), _void(), { kind: "mutation" }), method(object({
26237
+ deviceId: number(),
26238
+ mode: NavigationLightModeSchema,
26239
+ level: number().min(40).max(100).optional()
26240
+ }), _void(), { kind: "mutation" }), method(object({
26241
+ deviceId: number(),
26242
+ level: number().min(40).max(100)
26243
+ }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), NavigationFeaturesSchema), object({
26244
+ deviceId: number(),
26245
+ status: NavigationStatusSchema
26246
+ });
26247
+ /**
26248
+ * Network-link snapshot. Same shape for every provider (a Reolink wifi
26249
+ * camera, a Home Assistant device with a signal-strength sensor, a Tapo
26250
+ * plug): one slice under `device.runtimeState['network-link']`, one badge,
26251
+ * one Home Assistant projection.
26252
+ */
26253
+ var NetworkLinkStatusSchema = object({
26254
+ /** The link the device is on. `'unknown'` = not read yet, not "no link". */
26255
+ type: _enum([
26256
+ "wifi",
26257
+ "ethernet",
26258
+ "cellular",
26259
+ "unknown"
26260
+ ]),
26261
+ /**
26262
+ * Link quality, 0..100 inclusive, normalised by the provider from whatever
26263
+ * the firmware reports (bars, RSSI, a vendor scale). **`null` means NOT
26264
+ * KNOWN or NOT APPLICABLE** — a wired link has no signal, and a wireless
26265
+ * one whose reading has not landed must not be drawn at 0 %. Consumers
26266
+ * SKIP a null rather than coerce it.
26267
+ */
26268
+ signalPercent: number().min(0).max(100).nullable(),
26269
+ /** Raw received signal strength in dBm, when the firmware reports one. */
26270
+ rssiDbm: number().optional(),
26271
+ /** Network name of a wireless link, when the firmware reports it. */
26272
+ ssid: string().optional(),
26273
+ /** Ms epoch of the last observation. Lets consumers reason about freshness. */
26274
+ lastUpdated: number()
26275
+ });
26276
+ DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.Light, DeviceType.Lock, DeviceType.Siren, object({
26277
+ deviceId: number(),
26278
+ status: NetworkLinkStatusSchema
26279
+ });
26280
+ /**
25961
26281
  * network-quality — system-scoped singleton capability tracking RTT,
25962
26282
  * jitter, and observed/peak bandwidth per device + per client.
25963
26283
  *
@@ -27199,203 +27519,6 @@ DeviceType.Camera, method(object({ deviceId: number() }), PtzAutotrackStatusSche
27199
27519
  deviceId: number(),
27200
27520
  status: PtzAutotrackStatusSchema
27201
27521
  });
27202
- /**
27203
- * `navigation` — a device-scoped capability that natively expresses the FULL
27204
- * navigation / action surface of a robot that DRIVES ITSELF and carries an
27205
- * on-board camera (the Dreame robot-vacuum camera is the first provider).
27206
- *
27207
- * Why a NEW cap rather than overloading `ptz`:
27208
- * - `ptz` moves a *gimbal* on a fixed camera (pan/tilt/zoom of the lens). A
27209
- * robot vacuum has no gimbal — the whole chassis drives, turns and spins.
27210
- * The two are different physical models: PTZ is absolute-position + presets,
27211
- * navigation is momentary drive nudges + discrete robot ACTIONS
27212
- * (dock / spot-clean / follow-pet / go-to-point / …).
27213
- * - This cap is the SOURCE OF TRUTH. Two consumers adapt from it rather than
27214
- * the reverse:
27215
- * 1. a native CamStack navigation panel (data-driven from `listActions`
27216
- * / `getOptions`), and
27217
- * 2. the PTZ surface — a thin adapter mimics `ptz` from `navigation` so a
27218
- * robot camera shows up in the existing PTZ control path without every
27219
- * PTZ provider learning about robots. The mapping lives in the adapter,
27220
- * not here (see the addon design note):
27221
- * ptz.continuousMove({pan,tilt}) → navigation.move({pan,tilt})
27222
- * ptz.stop() → navigation.stop()
27223
- * ptz.goHome() → navigation.runAction('goHome')
27224
- * ptz.getPresets() → navigation.listActions() (id→preset)
27225
- * ptz.goToPreset(id) → navigation.runAction(id)
27226
- *
27227
- * ## Continuous drive
27228
- *
27229
- * `move` is MOMENTARY. Fluid navigation comes from the UI (or the PTZ adapter)
27230
- * sending `move({pan,tilt})` REPEATEDLY at ~1 Hz while a direction is held, and
27231
- * one `stop()` on release — exactly like the robot app's remote-drive joystick.
27232
- * The provider forwards EACH `move` to one drive write; it must NOT debounce or
27233
- * coalesce them. The UI owns the cadence.
27234
- *
27235
- * ## The action dictionary
27236
- *
27237
- * The discrete controls (dock / locate / spot-clean / follow / flash / sounds)
27238
- * are a DATA-DRIVEN dictionary the cap exposes via `listActions()`. Each entry
27239
- * carries `{ id, kind, label, icon }` (plus `soundId` for sound entries) so the
27240
- * native panel AND the PTZ mimic render buttons WITHOUT hardcoding a
27241
- * vendor-specific list. `kind: 'action'` entries are triggered with
27242
- * `runAction({ actionId })`; `kind: 'sound'` entries with `playSound({ soundId })`
27243
- * (the entry carries the `soundId` to pass). The general primitives — `move`,
27244
- * `stop`, `goToPoint` — stay as first-class methods, not dictionary entries.
27245
- *
27246
- * NOTE (provider wiring): the first provider (Dreame) drives this with the RAW
27247
- * `callAction(siid,aiid,in)` / `setProperty({siid,piid,value})` MIoT primitives
27248
- * that the currently-published `@apocaliss92/nodedreame` already exposes on
27249
- * every device handle. A future nodedreame publish adds a typed
27250
- * `DreameCameraController` (drive / playPetSound / spotClean / findPet / …); the
27251
- * provider can then swap the raw calls for the typed methods with no change to
27252
- * THIS contract.
27253
- */
27254
- /**
27255
- * A momentary drive nudge. The robot MOVES (no gimbal) for as long as the caller
27256
- * keeps sending nudges (~1 Hz); an explicit `stop` (or letting the nudges lapse)
27257
- * halts it.
27258
- *
27259
- * - `pan` — turn: negative = left, positive = right, 0 = straight.
27260
- * - `tilt` — throttle: positive = forward, negative = spin / turn-around.
27261
- * - `speed` — optional intensity hint [0, 1]; the provider may scale the drive
27262
- * vector by it (drivers without proportional drive ignore it).
27263
- *
27264
- * `pan` / `tilt` are normalized [-1, 1]. Both optional so a caller can nudge one
27265
- * axis alone; an all-undefined nudge is a no-op.
27266
- */
27267
- var NavigationMoveCommandSchema = object({
27268
- pan: number().min(-1).max(1).optional(),
27269
- tilt: number().min(-1).max(1).optional(),
27270
- speed: number().min(0).max(1).optional()
27271
- });
27272
- /**
27273
- * The enumerated discrete actions a navigation-capable robot can perform via
27274
- * `runAction`. This is the CLOSED vocabulary; a given device advertises the
27275
- * subset it supports through `listActions`. Sounds are NOT here — they go through
27276
- * `playSound` (see the `sound` dictionary entries).
27277
- */
27278
- var NavigationActionIdSchema = _enum([
27279
- "goHome",
27280
- "locate",
27281
- "spotClean",
27282
- "findPet",
27283
- "personFollow",
27284
- "stop",
27285
- "startClean",
27286
- "pauseClean",
27287
- "dockWash",
27288
- "autoEmpty",
27289
- "flashOn",
27290
- "flashOff"
27291
- ]);
27292
- /** Whether a dictionary entry is a `runAction` action or a `playSound` sound. */
27293
- var NavigationEntryKindSchema = _enum(["action", "sound"]);
27294
- /**
27295
- * One entry in the navigation action dictionary — the DATA-DRIVEN unit both the
27296
- * native panel and the PTZ mimic render as a button.
27297
- *
27298
- * - `id` — stable id. For `kind:'action'` it is a {@link NavigationActionId}
27299
- * (pass to `runAction`); for `kind:'sound'` it is a namespaced id
27300
- * (`sound:meow`) whose `soundId` is passed to `playSound`.
27301
- * - `icon` — icon HINT (lucide-style name; the UI maps it to its own set).
27302
- * - `label` — operator-facing English label.
27303
- * - `soundId` — wire sound id, present only on `kind:'sound'` entries.
27304
- * - `enabled` — per-device FEATURE FLAG. `listActions` reports it so the UI /
27305
- * PTZ render ONLY enabled entries. Data-driven: the provider
27306
- * flips it from config, never by editing code.
27307
- */
27308
- var NavigationActionEntrySchema = object({
27309
- id: string(),
27310
- kind: NavigationEntryKindSchema,
27311
- label: string(),
27312
- icon: string(),
27313
- /** Present only on `kind:'sound'` entries — the id to pass to `playSound`. */
27314
- soundId: number().int().optional(),
27315
- /** Per-device feature flag — render this entry only when true. */
27316
- enabled: boolean()
27317
- });
27318
- /** Coordinates for `goToPoint` — a point on the robot's live map. */
27319
- var NavigationPointSchema = object({
27320
- x: number(),
27321
- y: number()
27322
- });
27323
- /**
27324
- * Per-device FEATURE-FLAG report for the general (non-dictionary) primitives.
27325
- * The cap reports which are enabled so the UI / PTZ render only the controls
27326
- * that are turned on for THIS device. Data-driven: the provider derives these
27327
- * from config + probe, never hardcoded in the UI. The per-DICTIONARY-entry flags
27328
- * live on {@link NavigationActionEntrySchema.enabled}; these gate the primitives
27329
- * that are not dictionary entries.
27330
- *
27331
- * - `move` / `stop` — the momentary drive joystick.
27332
- * - `goToPoint` — send-to-map-coordinate. Ships OFF on Dreame until the
27333
- * map-coordinate plumbing is wired.
27334
- * - `runAction` — the discrete action buttons (dictionary `kind:'action'`).
27335
- * - `playSound` — the sound buttons (dictionary `kind:'sound'`).
27336
- * - `light` — the on/off fill-light toggle (works anytime).
27337
- * - `lightMode` — the auto/manual selector + manual level slider (a
27338
- * camera-service control; needs an active stream).
27339
- */
27340
- var NavigationFeaturesSchema = object({
27341
- move: boolean(),
27342
- stop: boolean(),
27343
- goToPoint: boolean(),
27344
- runAction: boolean(),
27345
- playSound: boolean(),
27346
- light: boolean(),
27347
- lightMode: boolean()
27348
- });
27349
- /** Light mode: `auto` lets the camera choose brightness; `manual` uses `level`. */
27350
- var NavigationLightModeSchema = _enum(["auto", "manual"]);
27351
- /**
27352
- * Live navigation state so the UI can reflect what the robot is doing:
27353
- * - `mode` — coarse activity (idle / cleaning / following / …).
27354
- * - `following` — person/pet follow is currently armed.
27355
- * - `flash` — the on-camera fill light is on.
27356
- * - `lightMode` — auto vs manual fill-light mode.
27357
- * - `lightLevel` — manual fill-light level (40..100); meaningful when
27358
- * `lightMode === 'manual'`.
27359
- */
27360
- var NavigationStatusSchema = object({
27361
- mode: _enum([
27362
- "idle",
27363
- "cleaning",
27364
- "spot",
27365
- "following",
27366
- "goto",
27367
- "returning",
27368
- "paused",
27369
- "unknown"
27370
- ]),
27371
- following: boolean(),
27372
- flash: boolean(),
27373
- lightMode: NavigationLightModeSchema,
27374
- lightLevel: number().min(40).max(100),
27375
- /** Ms epoch when the slice was last updated. */
27376
- lastChangedAt: number()
27377
- });
27378
- NavigationStatusSchema.extend({ lastFetchedAt: number() });
27379
- DeviceType.Camera, method(NavigationMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(NavigationPointSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(NavigationActionEntrySchema)), method(object({
27380
- deviceId: number(),
27381
- actionId: NavigationActionIdSchema
27382
- }), _void(), { kind: "mutation" }), method(object({
27383
- deviceId: number(),
27384
- soundId: number().int()
27385
- }), _void(), { kind: "mutation" }), method(object({
27386
- deviceId: number(),
27387
- on: boolean()
27388
- }), _void(), { kind: "mutation" }), method(object({
27389
- deviceId: number(),
27390
- mode: NavigationLightModeSchema,
27391
- level: number().min(40).max(100).optional()
27392
- }), _void(), { kind: "mutation" }), method(object({
27393
- deviceId: number(),
27394
- level: number().min(40).max(100)
27395
- }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), NavigationFeaturesSchema), object({
27396
- deviceId: number(),
27397
- status: NavigationStatusSchema
27398
- });
27399
27522
  DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceId: number().int().nonnegative() }), object({ success: literal(true) }), {
27400
27523
  kind: "mutation",
27401
27524
  auth: "admin"
@@ -34717,6 +34840,12 @@ Object.freeze({
34717
34840
  addonId: null,
34718
34841
  access: "view"
34719
34842
  },
34843
+ "storage.listDrainProgress": {
34844
+ capName: "storage",
34845
+ capScope: "system",
34846
+ addonId: null,
34847
+ access: "view"
34848
+ },
34720
34849
  "storage.listLocationDeclarations": {
34721
34850
  capName: "storage",
34722
34851
  capScope: "system",
@@ -34861,6 +34990,12 @@ Object.freeze({
34861
34990
  addonId: null,
34862
34991
  access: "view"
34863
34992
  },
34993
+ "storageOccupancy.getOccupancy": {
34994
+ capName: "storage-occupancy",
34995
+ capScope: "system",
34996
+ addonId: null,
34997
+ access: "view"
34998
+ },
34864
34999
  "storageProvider.abortUpload": {
34865
35000
  capName: "storage-provider",
34866
35001
  capScope: "system",
@@ -73,7 +73,7 @@ function createApiDeviceGateway(deps) {
73
73
  };
74
74
  }
75
75
  //#endregion
76
- //#region ../types/dist/event-category-zAv7pMUz.mjs
76
+ //#region ../types/dist/event-category-CnLqLOKs.mjs
77
77
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
78
78
  EventCategory["SystemBoot"] = "system.boot";
79
79
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -268,6 +268,19 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
268
268
  EventCategory["ProcessCrashed"] = "process.crashed";
269
269
  EventCategory["ProcessRestartScheduled"] = "process.restart_scheduled";
270
270
  EventCategory["ProcessRestarted"] = "process.restarted";
271
+ /**
272
+ * The SET of storage locations changed — one was created, edited, enabled,
273
+ * disabled or deleted through `storage.upsertLocation` / `deleteLocation`.
274
+ *
275
+ * Telemetry, not a transaction (D8/D11): every consumer that re-resolves on
276
+ * it must also converge on its own periodic path, because a dropped event
277
+ * must not leave a node writing to yesterday's disk set forever. It exists
278
+ * because there was NO signal at all — an operator who added a second
279
+ * recordings disk in the admin UI got nothing, and the recorder kept its
280
+ * resolved locations until something else happened to re-resolve them
281
+ * (D387). Payload `StorageLocationsChangedPayload`.
282
+ */
283
+ EventCategory["StorageLocationsChanged"] = "storage.locations-changed";
271
284
  EventCategory["RecordingStarted"] = "recording.started";
272
285
  EventCategory["RecordingStopped"] = "recording.stopped";
273
286
  EventCategory["RecordingError"] = "recording.error";
@@ -8725,6 +8738,21 @@ var StorageCleanupJobSchema = object({
8725
8738
  });
8726
8739
  var StorageCleanupStatusInputSchema = object({ jobId: string().optional() });
8727
8740
  /**
8741
+ * The one typed state of a storage location. Authoritative Zod schema — the TS
8742
+ * alias below is `z.infer<>` of it, never a second spelling.
8743
+ */
8744
+ var StorageLocationModeSchema = _enum([
8745
+ "active",
8746
+ "readonly",
8747
+ "drain",
8748
+ "disabled"
8749
+ ]);
8750
+ _enum([
8751
+ "normal",
8752
+ "never",
8753
+ "drain"
8754
+ ]);
8755
+ /**
8728
8756
  * `StorageLocationType` — an addon-declared id that identifies the *kind* of
8729
8757
  * storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
8730
8758
  * so the persisted record schema and the consumer-facing cap can both consume it
@@ -8790,6 +8818,21 @@ var StorageLocationSchema = object({
8790
8818
  * stops existing rather than being re-derived on every read.
8791
8819
  */
8792
8820
  enabled: boolean().optional(),
8821
+ /**
8822
+ * THE state of this location (D385), and the only authority on what may be
8823
+ * written, read or evicted here. Interpreted in exactly one place —
8824
+ * `storage-location-mode.ts` — which also folds the legacy
8825
+ * `enabled` / `config.readOnly` pair into a mode so an old row is never
8826
+ * ambiguous.
8827
+ *
8828
+ * OPTIONAL only for the wire and for rows written before D385: absence is
8829
+ * resolved by `resolveLocationMode`, and the orchestrator stamps every
8830
+ * unstamped row ONCE at hydrate so absence stops existing rather than being
8831
+ * re-derived on every read. `enabled` survives one release as a DERIVED
8832
+ * mirror (`mode === 'active'`); `withLocationMode` is the only writer of
8833
+ * either, so the two cannot disagree.
8834
+ */
8835
+ mode: StorageLocationModeSchema.optional(),
8793
8836
  /** COMPUTED at read time by the orchestrator (statfs of the backing volume
8794
8837
  * for node-local locations it can reach) — never persisted, absent when the
8795
8838
  * volume is remote/unreachable. The single capacity truth every UI reads. */
@@ -8797,11 +8840,46 @@ var StorageLocationSchema = object({
8797
8840
  totalBytes: number(),
8798
8841
  availableBytes: number()
8799
8842
  }).nullable().optional(),
8843
+ /**
8844
+ * How much of that volume CamStack ITSELF holds on this location (D388) —
8845
+ * COMPUTED at read time from the `storage-occupancy` providers' own figures,
8846
+ * never persisted, never a filesystem walk.
8847
+ *
8848
+ * **ABSENT MEANS UNKNOWN, never zero.** No provider has reported for this
8849
+ * location yet — nobody stores here, the owning addon is down, or the first
8850
+ * refresh has not completed. A UI must omit the segment rather than draw it
8851
+ * at zero, which would claim we occupy nothing (D315). It is an OBJECT and
8852
+ * not a bare number precisely so that a `?? 0` on the consuming side has to
8853
+ * be spelled out loud instead of appearing by accident.
8854
+ *
8855
+ * `measuredAtMs` is the OLDEST contributing measurement, so it is honest
8856
+ * about the whole figure rather than about its freshest part.
8857
+ */
8858
+ owned: object({
8859
+ bytes: number().int().nonnegative(),
8860
+ measuredAtMs: number().int().nonnegative()
8861
+ }).optional(),
8800
8862
  createdAt: number(),
8801
8863
  updatedAt: number()
8802
8864
  });
8803
8865
  object({ isDefault: boolean().optional() });
8804
8866
  /**
8867
+ * How far a `drain` has got (D386) — the read a UI renders, and nothing more.
8868
+ *
8869
+ * `estimatedEmptyAtMs` is derived from the growth the ratchet has actually
8870
+ * OBSERVED and is `null` when it has observed none. Never a fabricated date: a
8871
+ * drain with no observed growth has no honest ETA, and inventing one is how an
8872
+ * operator learns not to believe the screen.
8873
+ */
8874
+ var StorageDrainProgressSchema = object({
8875
+ locationId: string(),
8876
+ startedAtMs: number(),
8877
+ startBytes: number(),
8878
+ bytesRemaining: number(),
8879
+ drained: boolean(),
8880
+ estimatedEmptyAtMs: number().nullable()
8881
+ });
8882
+ /**
8805
8883
  * Reference accepted by consumer-facing `api.storage.*` calls.
8806
8884
  * Either:
8807
8885
  * - a `StorageLocationType` (e.g. `'backups'`) → the sole location of that type
@@ -21851,7 +21929,7 @@ method(object({
21851
21929
  }), _void(), {
21852
21930
  kind: "mutation",
21853
21931
  auth: "admin"
21854
- }), method(object({ id: string() }), object({
21932
+ }), method(_void(), array(StorageDrainProgressSchema).readonly()), method(object({ id: string() }), object({
21855
21933
  ok: boolean(),
21856
21934
  error: string().optional()
21857
21935
  }), { auth: "admin" }), method(_void(), array(ProviderListEntrySchema).readonly()), method(object({
@@ -21921,6 +21999,51 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
21921
21999
  kind: "mutation",
21922
22000
  auth: "admin"
21923
22001
  }), method(object({}), array(StorageMigrationJobSchema).readonly(), { auth: "admin" });
22002
+ /**
22003
+ * `storage-occupancy` — how many bytes an addon actually HOLDS on a storage
22004
+ * location (D388).
22005
+ *
22006
+ * ## Why this is not `storage-evictable`
22007
+ *
22008
+ * `storage-evictable.getEvictableUsage` looks like the same question and is
22009
+ * not, in two ways that both matter and both bite hardest on the locations an
22010
+ * operator most wants a figure for:
22011
+ *
22012
+ * - it reports the whole eviction DOMAIN, not the location. `recordings:default`
22013
+ * and `recordingsLow:default` deliberately share one root and evict as one
22014
+ * oldest-first pool, so both answer with the SAME combined total. As an
22015
+ * occupancy figure that double-counts the disk.
22016
+ * - it reports ZERO for a location whose eviction policy is `never` (D385) —
22017
+ * a `readonly` or `disabled` disk. Those are exactly the disks an operator
22018
+ * is retiring and staring at.
22019
+ *
22020
+ * So this is its own contract with its own quantity, and the quantity is
22021
+ * OCCUPIED: every byte the addon holds on that location, whether or not it
22022
+ * would ever be willing to delete it. A provider that can only answer
22023
+ * "evictable" must not register here — a number that silently means different
22024
+ * things per class is worse than no number.
22025
+ *
22026
+ * ## Absence is an answer
22027
+ *
22028
+ * A location nobody reports for is UNKNOWN, never zero (D315). The orchestrator
22029
+ * stamps `StorageLocation.owned` only for locations it has a report for, and
22030
+ * the field is an OBJECT rather than a bare number so that a `?? 0` on the
22031
+ * consuming side has to be written out loud instead of appearing by accident.
22032
+ *
22033
+ * `internal: true` — consumed by the orchestrator's `listLocations` stamp, never
22034
+ * a public client surface. Clients read the stamped `StorageLocation.owned`.
22035
+ */
22036
+ /** One provider's occupancy answer for one location. */
22037
+ var StorageOccupancyReportSchema = object({
22038
+ locationId: string(),
22039
+ /** Bytes this provider holds on THAT location — not its eviction domain, and
22040
+ * not net of what it is willing to delete. */
22041
+ ownedBytes: number().int().nonnegative(),
22042
+ /** When the provider last actually measured this. The orchestrator carries it
22043
+ * through so a UI can say how old the figure is instead of implying "now". */
22044
+ measuredAtMs: number().int().nonnegative()
22045
+ });
22046
+ method(object({ locationIds: array(string()).readonly() }), array(StorageOccupancyReportSchema).readonly(), { auth: "admin" });
21924
22047
  var ProviderInfoSchema = discriminatedUnion("shouldSaveDiskSpace", [object({
21925
22048
  providerId: string().min(1),
21926
22049
  displayName: string().min(1),
@@ -23556,39 +23679,6 @@ DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, meth
23556
23679
  deviceId: number(),
23557
23680
  status: BatteryStatusSchema
23558
23681
  });
23559
- /**
23560
- * Network-link snapshot. Same shape for every provider (a Reolink wifi
23561
- * camera, a Home Assistant device with a signal-strength sensor, a Tapo
23562
- * plug): one slice under `device.runtimeState['network-link']`, one badge,
23563
- * one Home Assistant projection.
23564
- */
23565
- var NetworkLinkStatusSchema = object({
23566
- /** The link the device is on. `'unknown'` = not read yet, not "no link". */
23567
- type: _enum([
23568
- "wifi",
23569
- "ethernet",
23570
- "cellular",
23571
- "unknown"
23572
- ]),
23573
- /**
23574
- * Link quality, 0..100 inclusive, normalised by the provider from whatever
23575
- * the firmware reports (bars, RSSI, a vendor scale). **`null` means NOT
23576
- * KNOWN or NOT APPLICABLE** — a wired link has no signal, and a wireless
23577
- * one whose reading has not landed must not be drawn at 0 %. Consumers
23578
- * SKIP a null rather than coerce it.
23579
- */
23580
- signalPercent: number().min(0).max(100).nullable(),
23581
- /** Raw received signal strength in dBm, when the firmware reports one. */
23582
- rssiDbm: number().optional(),
23583
- /** Network name of a wireless link, when the firmware reports it. */
23584
- ssid: string().optional(),
23585
- /** Ms epoch of the last observation. Lets consumers reason about freshness. */
23586
- lastUpdated: number()
23587
- });
23588
- DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.Light, DeviceType.Lock, DeviceType.Siren, object({
23589
- deviceId: number(),
23590
- status: NetworkLinkStatusSchema
23591
- });
23592
23682
  object({
23593
23683
  on: boolean(),
23594
23684
  /** Ms epoch of the last transition. 0 if never observed. */
@@ -25954,6 +26044,236 @@ DeviceType.Camera, method(object({
25954
26044
  detection: NativeDetectionSchema
25955
26045
  });
25956
26046
  /**
26047
+ * `navigation` — a device-scoped capability that natively expresses the FULL
26048
+ * navigation / action surface of a robot that DRIVES ITSELF and carries an
26049
+ * on-board camera (the Dreame robot-vacuum camera is the first provider).
26050
+ *
26051
+ * Why a NEW cap rather than overloading `ptz`:
26052
+ * - `ptz` moves a *gimbal* on a fixed camera (pan/tilt/zoom of the lens). A
26053
+ * robot vacuum has no gimbal — the whole chassis drives, turns and spins.
26054
+ * The two are different physical models: PTZ is absolute-position + presets,
26055
+ * navigation is momentary drive nudges + discrete robot ACTIONS
26056
+ * (dock / spot-clean / follow-pet / go-to-point / …).
26057
+ * - This cap is the SOURCE OF TRUTH. Two consumers adapt from it rather than
26058
+ * the reverse:
26059
+ * 1. a native CamStack navigation panel (data-driven from `listActions`
26060
+ * / `getOptions`), and
26061
+ * 2. the PTZ surface — a thin adapter mimics `ptz` from `navigation` so a
26062
+ * robot camera shows up in the existing PTZ control path without every
26063
+ * PTZ provider learning about robots. The mapping lives in the adapter,
26064
+ * not here (see the addon design note):
26065
+ * ptz.continuousMove({pan,tilt}) → navigation.move({pan,tilt})
26066
+ * ptz.stop() → navigation.stop()
26067
+ * ptz.goHome() → navigation.runAction('goHome')
26068
+ * ptz.getPresets() → navigation.listActions() (id→preset)
26069
+ * ptz.goToPreset(id) → navigation.runAction(id)
26070
+ *
26071
+ * ## Continuous drive
26072
+ *
26073
+ * `move` is MOMENTARY. Fluid navigation comes from the UI (or the PTZ adapter)
26074
+ * sending `move({pan,tilt})` REPEATEDLY at ~1 Hz while a direction is held, and
26075
+ * one `stop()` on release — exactly like the robot app's remote-drive joystick.
26076
+ * The provider forwards EACH `move` to one drive write; it must NOT debounce or
26077
+ * coalesce them. The UI owns the cadence.
26078
+ *
26079
+ * ## The action dictionary
26080
+ *
26081
+ * The discrete controls (dock / locate / spot-clean / follow / flash / sounds)
26082
+ * are a DATA-DRIVEN dictionary the cap exposes via `listActions()`. Each entry
26083
+ * carries `{ id, kind, label, icon }` (plus `soundId` for sound entries) so the
26084
+ * native panel AND the PTZ mimic render buttons WITHOUT hardcoding a
26085
+ * vendor-specific list. `kind: 'action'` entries are triggered with
26086
+ * `runAction({ actionId })`; `kind: 'sound'` entries with `playSound({ soundId })`
26087
+ * (the entry carries the `soundId` to pass). The general primitives — `move`,
26088
+ * `stop`, `goToPoint` — stay as first-class methods, not dictionary entries.
26089
+ *
26090
+ * NOTE (provider wiring): the first provider (Dreame) drives this with the RAW
26091
+ * `callAction(siid,aiid,in)` / `setProperty({siid,piid,value})` MIoT primitives
26092
+ * that the currently-published `@apocaliss92/nodedreame` already exposes on
26093
+ * every device handle. A future nodedreame publish adds a typed
26094
+ * `DreameCameraController` (drive / playPetSound / spotClean / findPet / …); the
26095
+ * provider can then swap the raw calls for the typed methods with no change to
26096
+ * THIS contract.
26097
+ */
26098
+ /**
26099
+ * A momentary drive nudge. The robot MOVES (no gimbal) for as long as the caller
26100
+ * keeps sending nudges (~1 Hz); an explicit `stop` (or letting the nudges lapse)
26101
+ * halts it.
26102
+ *
26103
+ * - `pan` — turn: negative = left, positive = right, 0 = straight.
26104
+ * - `tilt` — throttle: positive = forward, negative = spin / turn-around.
26105
+ * - `speed` — optional intensity hint [0, 1]; the provider may scale the drive
26106
+ * vector by it (drivers without proportional drive ignore it).
26107
+ *
26108
+ * `pan` / `tilt` are normalized [-1, 1]. Both optional so a caller can nudge one
26109
+ * axis alone; an all-undefined nudge is a no-op.
26110
+ */
26111
+ var NavigationMoveCommandSchema = object({
26112
+ pan: number().min(-1).max(1).optional(),
26113
+ tilt: number().min(-1).max(1).optional(),
26114
+ speed: number().min(0).max(1).optional()
26115
+ });
26116
+ /**
26117
+ * The enumerated discrete actions a navigation-capable robot can perform via
26118
+ * `runAction`. This is the CLOSED vocabulary; a given device advertises the
26119
+ * subset it supports through `listActions`. Sounds are NOT here — they go through
26120
+ * `playSound` (see the `sound` dictionary entries).
26121
+ */
26122
+ var NavigationActionIdSchema = _enum([
26123
+ "goHome",
26124
+ "locate",
26125
+ "spotClean",
26126
+ "findPet",
26127
+ "personFollow",
26128
+ "stop",
26129
+ "startClean",
26130
+ "pauseClean",
26131
+ "dockWash",
26132
+ "autoEmpty",
26133
+ "flashOn",
26134
+ "flashOff"
26135
+ ]);
26136
+ /** Whether a dictionary entry is a `runAction` action or a `playSound` sound. */
26137
+ var NavigationEntryKindSchema = _enum(["action", "sound"]);
26138
+ /**
26139
+ * One entry in the navigation action dictionary — the DATA-DRIVEN unit both the
26140
+ * native panel and the PTZ mimic render as a button.
26141
+ *
26142
+ * - `id` — stable id. For `kind:'action'` it is a {@link NavigationActionId}
26143
+ * (pass to `runAction`); for `kind:'sound'` it is a namespaced id
26144
+ * (`sound:meow`) whose `soundId` is passed to `playSound`.
26145
+ * - `icon` — icon HINT (lucide-style name; the UI maps it to its own set).
26146
+ * - `label` — operator-facing English label.
26147
+ * - `soundId` — wire sound id, present only on `kind:'sound'` entries.
26148
+ * - `enabled` — per-device FEATURE FLAG. `listActions` reports it so the UI /
26149
+ * PTZ render ONLY enabled entries. Data-driven: the provider
26150
+ * flips it from config, never by editing code.
26151
+ */
26152
+ var NavigationActionEntrySchema = object({
26153
+ id: string(),
26154
+ kind: NavigationEntryKindSchema,
26155
+ label: string(),
26156
+ icon: string(),
26157
+ /** Present only on `kind:'sound'` entries — the id to pass to `playSound`. */
26158
+ soundId: number().int().optional(),
26159
+ /** Per-device feature flag — render this entry only when true. */
26160
+ enabled: boolean()
26161
+ });
26162
+ /** Coordinates for `goToPoint` — a point on the robot's live map. */
26163
+ var NavigationPointSchema = object({
26164
+ x: number(),
26165
+ y: number()
26166
+ });
26167
+ /**
26168
+ * Per-device FEATURE-FLAG report for the general (non-dictionary) primitives.
26169
+ * The cap reports which are enabled so the UI / PTZ render only the controls
26170
+ * that are turned on for THIS device. Data-driven: the provider derives these
26171
+ * from config + probe, never hardcoded in the UI. The per-DICTIONARY-entry flags
26172
+ * live on {@link NavigationActionEntrySchema.enabled}; these gate the primitives
26173
+ * that are not dictionary entries.
26174
+ *
26175
+ * - `move` / `stop` — the momentary drive joystick.
26176
+ * - `goToPoint` — send-to-map-coordinate. Ships OFF on Dreame until the
26177
+ * map-coordinate plumbing is wired.
26178
+ * - `runAction` — the discrete action buttons (dictionary `kind:'action'`).
26179
+ * - `playSound` — the sound buttons (dictionary `kind:'sound'`).
26180
+ * - `light` — the on/off fill-light toggle (works anytime).
26181
+ * - `lightMode` — the auto/manual selector + manual level slider (a
26182
+ * camera-service control; needs an active stream).
26183
+ */
26184
+ var NavigationFeaturesSchema = object({
26185
+ move: boolean(),
26186
+ stop: boolean(),
26187
+ goToPoint: boolean(),
26188
+ runAction: boolean(),
26189
+ playSound: boolean(),
26190
+ light: boolean(),
26191
+ lightMode: boolean()
26192
+ });
26193
+ /** Light mode: `auto` lets the camera choose brightness; `manual` uses `level`. */
26194
+ var NavigationLightModeSchema = _enum(["auto", "manual"]);
26195
+ /**
26196
+ * Live navigation state so the UI can reflect what the robot is doing:
26197
+ * - `mode` — coarse activity (idle / cleaning / following / …).
26198
+ * - `following` — person/pet follow is currently armed.
26199
+ * - `flash` — the on-camera fill light is on.
26200
+ * - `lightMode` — auto vs manual fill-light mode.
26201
+ * - `lightLevel` — manual fill-light level (40..100); meaningful when
26202
+ * `lightMode === 'manual'`.
26203
+ */
26204
+ var NavigationStatusSchema = object({
26205
+ mode: _enum([
26206
+ "idle",
26207
+ "cleaning",
26208
+ "spot",
26209
+ "following",
26210
+ "goto",
26211
+ "returning",
26212
+ "paused",
26213
+ "unknown"
26214
+ ]),
26215
+ following: boolean(),
26216
+ flash: boolean(),
26217
+ lightMode: NavigationLightModeSchema,
26218
+ lightLevel: number().min(40).max(100),
26219
+ /** Ms epoch when the slice was last updated. */
26220
+ lastChangedAt: number()
26221
+ });
26222
+ NavigationStatusSchema.extend({ lastFetchedAt: number() });
26223
+ DeviceType.Camera, method(NavigationMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(NavigationPointSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(NavigationActionEntrySchema)), method(object({
26224
+ deviceId: number(),
26225
+ actionId: NavigationActionIdSchema
26226
+ }), _void(), { kind: "mutation" }), method(object({
26227
+ deviceId: number(),
26228
+ soundId: number().int()
26229
+ }), _void(), { kind: "mutation" }), method(object({
26230
+ deviceId: number(),
26231
+ on: boolean()
26232
+ }), _void(), { kind: "mutation" }), method(object({
26233
+ deviceId: number(),
26234
+ mode: NavigationLightModeSchema,
26235
+ level: number().min(40).max(100).optional()
26236
+ }), _void(), { kind: "mutation" }), method(object({
26237
+ deviceId: number(),
26238
+ level: number().min(40).max(100)
26239
+ }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), NavigationFeaturesSchema), object({
26240
+ deviceId: number(),
26241
+ status: NavigationStatusSchema
26242
+ });
26243
+ /**
26244
+ * Network-link snapshot. Same shape for every provider (a Reolink wifi
26245
+ * camera, a Home Assistant device with a signal-strength sensor, a Tapo
26246
+ * plug): one slice under `device.runtimeState['network-link']`, one badge,
26247
+ * one Home Assistant projection.
26248
+ */
26249
+ var NetworkLinkStatusSchema = object({
26250
+ /** The link the device is on. `'unknown'` = not read yet, not "no link". */
26251
+ type: _enum([
26252
+ "wifi",
26253
+ "ethernet",
26254
+ "cellular",
26255
+ "unknown"
26256
+ ]),
26257
+ /**
26258
+ * Link quality, 0..100 inclusive, normalised by the provider from whatever
26259
+ * the firmware reports (bars, RSSI, a vendor scale). **`null` means NOT
26260
+ * KNOWN or NOT APPLICABLE** — a wired link has no signal, and a wireless
26261
+ * one whose reading has not landed must not be drawn at 0 %. Consumers
26262
+ * SKIP a null rather than coerce it.
26263
+ */
26264
+ signalPercent: number().min(0).max(100).nullable(),
26265
+ /** Raw received signal strength in dBm, when the firmware reports one. */
26266
+ rssiDbm: number().optional(),
26267
+ /** Network name of a wireless link, when the firmware reports it. */
26268
+ ssid: string().optional(),
26269
+ /** Ms epoch of the last observation. Lets consumers reason about freshness. */
26270
+ lastUpdated: number()
26271
+ });
26272
+ DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.Light, DeviceType.Lock, DeviceType.Siren, object({
26273
+ deviceId: number(),
26274
+ status: NetworkLinkStatusSchema
26275
+ });
26276
+ /**
25957
26277
  * network-quality — system-scoped singleton capability tracking RTT,
25958
26278
  * jitter, and observed/peak bandwidth per device + per client.
25959
26279
  *
@@ -27195,203 +27515,6 @@ DeviceType.Camera, method(object({ deviceId: number() }), PtzAutotrackStatusSche
27195
27515
  deviceId: number(),
27196
27516
  status: PtzAutotrackStatusSchema
27197
27517
  });
27198
- /**
27199
- * `navigation` — a device-scoped capability that natively expresses the FULL
27200
- * navigation / action surface of a robot that DRIVES ITSELF and carries an
27201
- * on-board camera (the Dreame robot-vacuum camera is the first provider).
27202
- *
27203
- * Why a NEW cap rather than overloading `ptz`:
27204
- * - `ptz` moves a *gimbal* on a fixed camera (pan/tilt/zoom of the lens). A
27205
- * robot vacuum has no gimbal — the whole chassis drives, turns and spins.
27206
- * The two are different physical models: PTZ is absolute-position + presets,
27207
- * navigation is momentary drive nudges + discrete robot ACTIONS
27208
- * (dock / spot-clean / follow-pet / go-to-point / …).
27209
- * - This cap is the SOURCE OF TRUTH. Two consumers adapt from it rather than
27210
- * the reverse:
27211
- * 1. a native CamStack navigation panel (data-driven from `listActions`
27212
- * / `getOptions`), and
27213
- * 2. the PTZ surface — a thin adapter mimics `ptz` from `navigation` so a
27214
- * robot camera shows up in the existing PTZ control path without every
27215
- * PTZ provider learning about robots. The mapping lives in the adapter,
27216
- * not here (see the addon design note):
27217
- * ptz.continuousMove({pan,tilt}) → navigation.move({pan,tilt})
27218
- * ptz.stop() → navigation.stop()
27219
- * ptz.goHome() → navigation.runAction('goHome')
27220
- * ptz.getPresets() → navigation.listActions() (id→preset)
27221
- * ptz.goToPreset(id) → navigation.runAction(id)
27222
- *
27223
- * ## Continuous drive
27224
- *
27225
- * `move` is MOMENTARY. Fluid navigation comes from the UI (or the PTZ adapter)
27226
- * sending `move({pan,tilt})` REPEATEDLY at ~1 Hz while a direction is held, and
27227
- * one `stop()` on release — exactly like the robot app's remote-drive joystick.
27228
- * The provider forwards EACH `move` to one drive write; it must NOT debounce or
27229
- * coalesce them. The UI owns the cadence.
27230
- *
27231
- * ## The action dictionary
27232
- *
27233
- * The discrete controls (dock / locate / spot-clean / follow / flash / sounds)
27234
- * are a DATA-DRIVEN dictionary the cap exposes via `listActions()`. Each entry
27235
- * carries `{ id, kind, label, icon }` (plus `soundId` for sound entries) so the
27236
- * native panel AND the PTZ mimic render buttons WITHOUT hardcoding a
27237
- * vendor-specific list. `kind: 'action'` entries are triggered with
27238
- * `runAction({ actionId })`; `kind: 'sound'` entries with `playSound({ soundId })`
27239
- * (the entry carries the `soundId` to pass). The general primitives — `move`,
27240
- * `stop`, `goToPoint` — stay as first-class methods, not dictionary entries.
27241
- *
27242
- * NOTE (provider wiring): the first provider (Dreame) drives this with the RAW
27243
- * `callAction(siid,aiid,in)` / `setProperty({siid,piid,value})` MIoT primitives
27244
- * that the currently-published `@apocaliss92/nodedreame` already exposes on
27245
- * every device handle. A future nodedreame publish adds a typed
27246
- * `DreameCameraController` (drive / playPetSound / spotClean / findPet / …); the
27247
- * provider can then swap the raw calls for the typed methods with no change to
27248
- * THIS contract.
27249
- */
27250
- /**
27251
- * A momentary drive nudge. The robot MOVES (no gimbal) for as long as the caller
27252
- * keeps sending nudges (~1 Hz); an explicit `stop` (or letting the nudges lapse)
27253
- * halts it.
27254
- *
27255
- * - `pan` — turn: negative = left, positive = right, 0 = straight.
27256
- * - `tilt` — throttle: positive = forward, negative = spin / turn-around.
27257
- * - `speed` — optional intensity hint [0, 1]; the provider may scale the drive
27258
- * vector by it (drivers without proportional drive ignore it).
27259
- *
27260
- * `pan` / `tilt` are normalized [-1, 1]. Both optional so a caller can nudge one
27261
- * axis alone; an all-undefined nudge is a no-op.
27262
- */
27263
- var NavigationMoveCommandSchema = object({
27264
- pan: number().min(-1).max(1).optional(),
27265
- tilt: number().min(-1).max(1).optional(),
27266
- speed: number().min(0).max(1).optional()
27267
- });
27268
- /**
27269
- * The enumerated discrete actions a navigation-capable robot can perform via
27270
- * `runAction`. This is the CLOSED vocabulary; a given device advertises the
27271
- * subset it supports through `listActions`. Sounds are NOT here — they go through
27272
- * `playSound` (see the `sound` dictionary entries).
27273
- */
27274
- var NavigationActionIdSchema = _enum([
27275
- "goHome",
27276
- "locate",
27277
- "spotClean",
27278
- "findPet",
27279
- "personFollow",
27280
- "stop",
27281
- "startClean",
27282
- "pauseClean",
27283
- "dockWash",
27284
- "autoEmpty",
27285
- "flashOn",
27286
- "flashOff"
27287
- ]);
27288
- /** Whether a dictionary entry is a `runAction` action or a `playSound` sound. */
27289
- var NavigationEntryKindSchema = _enum(["action", "sound"]);
27290
- /**
27291
- * One entry in the navigation action dictionary — the DATA-DRIVEN unit both the
27292
- * native panel and the PTZ mimic render as a button.
27293
- *
27294
- * - `id` — stable id. For `kind:'action'` it is a {@link NavigationActionId}
27295
- * (pass to `runAction`); for `kind:'sound'` it is a namespaced id
27296
- * (`sound:meow`) whose `soundId` is passed to `playSound`.
27297
- * - `icon` — icon HINT (lucide-style name; the UI maps it to its own set).
27298
- * - `label` — operator-facing English label.
27299
- * - `soundId` — wire sound id, present only on `kind:'sound'` entries.
27300
- * - `enabled` — per-device FEATURE FLAG. `listActions` reports it so the UI /
27301
- * PTZ render ONLY enabled entries. Data-driven: the provider
27302
- * flips it from config, never by editing code.
27303
- */
27304
- var NavigationActionEntrySchema = object({
27305
- id: string(),
27306
- kind: NavigationEntryKindSchema,
27307
- label: string(),
27308
- icon: string(),
27309
- /** Present only on `kind:'sound'` entries — the id to pass to `playSound`. */
27310
- soundId: number().int().optional(),
27311
- /** Per-device feature flag — render this entry only when true. */
27312
- enabled: boolean()
27313
- });
27314
- /** Coordinates for `goToPoint` — a point on the robot's live map. */
27315
- var NavigationPointSchema = object({
27316
- x: number(),
27317
- y: number()
27318
- });
27319
- /**
27320
- * Per-device FEATURE-FLAG report for the general (non-dictionary) primitives.
27321
- * The cap reports which are enabled so the UI / PTZ render only the controls
27322
- * that are turned on for THIS device. Data-driven: the provider derives these
27323
- * from config + probe, never hardcoded in the UI. The per-DICTIONARY-entry flags
27324
- * live on {@link NavigationActionEntrySchema.enabled}; these gate the primitives
27325
- * that are not dictionary entries.
27326
- *
27327
- * - `move` / `stop` — the momentary drive joystick.
27328
- * - `goToPoint` — send-to-map-coordinate. Ships OFF on Dreame until the
27329
- * map-coordinate plumbing is wired.
27330
- * - `runAction` — the discrete action buttons (dictionary `kind:'action'`).
27331
- * - `playSound` — the sound buttons (dictionary `kind:'sound'`).
27332
- * - `light` — the on/off fill-light toggle (works anytime).
27333
- * - `lightMode` — the auto/manual selector + manual level slider (a
27334
- * camera-service control; needs an active stream).
27335
- */
27336
- var NavigationFeaturesSchema = object({
27337
- move: boolean(),
27338
- stop: boolean(),
27339
- goToPoint: boolean(),
27340
- runAction: boolean(),
27341
- playSound: boolean(),
27342
- light: boolean(),
27343
- lightMode: boolean()
27344
- });
27345
- /** Light mode: `auto` lets the camera choose brightness; `manual` uses `level`. */
27346
- var NavigationLightModeSchema = _enum(["auto", "manual"]);
27347
- /**
27348
- * Live navigation state so the UI can reflect what the robot is doing:
27349
- * - `mode` — coarse activity (idle / cleaning / following / …).
27350
- * - `following` — person/pet follow is currently armed.
27351
- * - `flash` — the on-camera fill light is on.
27352
- * - `lightMode` — auto vs manual fill-light mode.
27353
- * - `lightLevel` — manual fill-light level (40..100); meaningful when
27354
- * `lightMode === 'manual'`.
27355
- */
27356
- var NavigationStatusSchema = object({
27357
- mode: _enum([
27358
- "idle",
27359
- "cleaning",
27360
- "spot",
27361
- "following",
27362
- "goto",
27363
- "returning",
27364
- "paused",
27365
- "unknown"
27366
- ]),
27367
- following: boolean(),
27368
- flash: boolean(),
27369
- lightMode: NavigationLightModeSchema,
27370
- lightLevel: number().min(40).max(100),
27371
- /** Ms epoch when the slice was last updated. */
27372
- lastChangedAt: number()
27373
- });
27374
- NavigationStatusSchema.extend({ lastFetchedAt: number() });
27375
- DeviceType.Camera, method(NavigationMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(NavigationPointSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(NavigationActionEntrySchema)), method(object({
27376
- deviceId: number(),
27377
- actionId: NavigationActionIdSchema
27378
- }), _void(), { kind: "mutation" }), method(object({
27379
- deviceId: number(),
27380
- soundId: number().int()
27381
- }), _void(), { kind: "mutation" }), method(object({
27382
- deviceId: number(),
27383
- on: boolean()
27384
- }), _void(), { kind: "mutation" }), method(object({
27385
- deviceId: number(),
27386
- mode: NavigationLightModeSchema,
27387
- level: number().min(40).max(100).optional()
27388
- }), _void(), { kind: "mutation" }), method(object({
27389
- deviceId: number(),
27390
- level: number().min(40).max(100)
27391
- }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), NavigationFeaturesSchema), object({
27392
- deviceId: number(),
27393
- status: NavigationStatusSchema
27394
- });
27395
27518
  DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceId: number().int().nonnegative() }), object({ success: literal(true) }), {
27396
27519
  kind: "mutation",
27397
27520
  auth: "admin"
@@ -34713,6 +34836,12 @@ Object.freeze({
34713
34836
  addonId: null,
34714
34837
  access: "view"
34715
34838
  },
34839
+ "storage.listDrainProgress": {
34840
+ capName: "storage",
34841
+ capScope: "system",
34842
+ addonId: null,
34843
+ access: "view"
34844
+ },
34716
34845
  "storage.listLocationDeclarations": {
34717
34846
  capName: "storage",
34718
34847
  capScope: "system",
@@ -34857,6 +34986,12 @@ Object.freeze({
34857
34986
  addonId: null,
34858
34987
  access: "view"
34859
34988
  },
34989
+ "storageOccupancy.getOccupancy": {
34990
+ capName: "storage-occupancy",
34991
+ capScope: "system",
34992
+ addonId: null,
34993
+ access: "view"
34994
+ },
34860
34995
  "storageProvider.abortUpload": {
34861
34996
  capName: "storage-provider",
34862
34997
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-google",
3
- "version": "0.1.43",
3
+ "version": "0.1.44",
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",