@camstack/system 1.2.193 → 1.2.195

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.
Files changed (51) hide show
  1. package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
  2. package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
  3. package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
  4. package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
  5. package/dist/builtins/alerts/alerts.addon.js +1 -1
  6. package/dist/builtins/alerts/alerts.addon.mjs +1 -1
  7. package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +1 -1
  8. package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +1 -1
  9. package/dist/builtins/console-logging/index.js +1 -1
  10. package/dist/builtins/console-logging/index.mjs +1 -1
  11. package/dist/builtins/core-blocks/core-blocks.addon.js +1 -1
  12. package/dist/builtins/core-blocks/core-blocks.addon.mjs +1 -1
  13. package/dist/builtins/device-manager/device-manager.addon.js +2 -2
  14. package/dist/builtins/device-manager/device-manager.addon.mjs +2 -2
  15. package/dist/builtins/doorbell/virtual-doorbell.addon.js +1 -1
  16. package/dist/builtins/doorbell/virtual-doorbell.addon.mjs +1 -1
  17. package/dist/builtins/hub-forwarder/index.js +1 -1
  18. package/dist/builtins/hub-forwarder/index.mjs +1 -1
  19. package/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
  20. package/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
  21. package/dist/builtins/local-auth/local-auth.addon.js +1 -1
  22. package/dist/builtins/local-auth/local-auth.addon.mjs +1 -1
  23. package/dist/builtins/local-network/local-network.addon.js +1 -1
  24. package/dist/builtins/local-network/local-network.addon.mjs +1 -1
  25. package/dist/builtins/loki-logging/index.js +1 -1
  26. package/dist/builtins/loki-logging/index.mjs +1 -1
  27. package/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
  28. package/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
  29. package/dist/builtins/platform-probe/index.js +1 -1
  30. package/dist/builtins/platform-probe/index.mjs +1 -1
  31. package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
  32. package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
  33. package/dist/builtins/snapshot/index.js +1 -1
  34. package/dist/builtins/snapshot/index.mjs +1 -1
  35. package/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
  36. package/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
  37. package/dist/builtins/sqlite-storage/sqlite-settings.addon.js +0 -0
  38. package/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +0 -0
  39. package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
  40. package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
  41. package/dist/builtins/system-config/system-config.addon.js +1 -1
  42. package/dist/builtins/system-config/system-config.addon.mjs +1 -1
  43. package/dist/builtins/winston-logging/index.js +1 -1
  44. package/dist/builtins/winston-logging/index.mjs +1 -1
  45. package/dist/{dist-1eWNHQel.mjs → dist-Cr3ChLtE.mjs} +406 -1
  46. package/dist/{dist-B0Cf6q_P.js → dist-Qnc3kuba.js} +406 -1
  47. package/dist/index.js +1 -1
  48. package/dist/index.mjs +1 -1
  49. package/dist/{retired-settings-keys-nBzXKu6p.mjs → retired-settings-keys-BG6g74f1.mjs} +1 -1
  50. package/dist/{retired-settings-keys-mP95OCUi.js → retired-settings-keys-C_h6HXZi.js} +1 -1
  51. package/package.json +1 -1
@@ -737,6 +737,12 @@ var WELL_KNOWN_TAB_MAP = Object.fromEntries([
737
737
  icon: "move",
738
738
  order: 40
739
739
  },
740
+ {
741
+ id: "navigation",
742
+ label: "Navigation",
743
+ icon: "compass",
744
+ order: 41
745
+ },
740
746
  {
741
747
  id: "consumables",
742
748
  label: "Consumables",
@@ -30352,6 +30358,289 @@ var ptzAutotrackCapability = {
30352
30358
  durability: "session"
30353
30359
  };
30354
30360
  /**
30361
+ * `navigation` — a device-scoped capability that natively expresses the FULL
30362
+ * navigation / action surface of a robot that DRIVES ITSELF and carries an
30363
+ * on-board camera (the Dreame robot-vacuum camera is the first provider).
30364
+ *
30365
+ * Why a NEW cap rather than overloading `ptz`:
30366
+ * - `ptz` moves a *gimbal* on a fixed camera (pan/tilt/zoom of the lens). A
30367
+ * robot vacuum has no gimbal — the whole chassis drives, turns and spins.
30368
+ * The two are different physical models: PTZ is absolute-position + presets,
30369
+ * navigation is momentary drive nudges + discrete robot ACTIONS
30370
+ * (dock / spot-clean / follow-pet / go-to-point / …).
30371
+ * - This cap is the SOURCE OF TRUTH. Two consumers adapt from it rather than
30372
+ * the reverse:
30373
+ * 1. a native CamStack navigation panel (data-driven from `listActions`
30374
+ * / `getOptions`), and
30375
+ * 2. the PTZ surface — a thin adapter mimics `ptz` from `navigation` so a
30376
+ * robot camera shows up in the existing PTZ control path without every
30377
+ * PTZ provider learning about robots. The mapping lives in the adapter,
30378
+ * not here (see the addon design note):
30379
+ * ptz.continuousMove({pan,tilt}) → navigation.move({pan,tilt})
30380
+ * ptz.stop() → navigation.stop()
30381
+ * ptz.goHome() → navigation.runAction('goHome')
30382
+ * ptz.getPresets() → navigation.listActions() (id→preset)
30383
+ * ptz.goToPreset(id) → navigation.runAction(id)
30384
+ *
30385
+ * ## Continuous drive
30386
+ *
30387
+ * `move` is MOMENTARY. Fluid navigation comes from the UI (or the PTZ adapter)
30388
+ * sending `move({pan,tilt})` REPEATEDLY at ~1 Hz while a direction is held, and
30389
+ * one `stop()` on release — exactly like the robot app's remote-drive joystick.
30390
+ * The provider forwards EACH `move` to one drive write; it must NOT debounce or
30391
+ * coalesce them. The UI owns the cadence.
30392
+ *
30393
+ * ## The action dictionary
30394
+ *
30395
+ * The discrete controls (dock / locate / spot-clean / follow / flash / sounds)
30396
+ * are a DATA-DRIVEN dictionary the cap exposes via `listActions()`. Each entry
30397
+ * carries `{ id, kind, label, icon }` (plus `soundId` for sound entries) so the
30398
+ * native panel AND the PTZ mimic render buttons WITHOUT hardcoding a
30399
+ * vendor-specific list. `kind: 'action'` entries are triggered with
30400
+ * `runAction({ actionId })`; `kind: 'sound'` entries with `playSound({ soundId })`
30401
+ * (the entry carries the `soundId` to pass). The general primitives — `move`,
30402
+ * `stop`, `goToPoint` — stay as first-class methods, not dictionary entries.
30403
+ *
30404
+ * NOTE (provider wiring): the first provider (Dreame) drives this with the RAW
30405
+ * `callAction(siid,aiid,in)` / `setProperty({siid,piid,value})` MIoT primitives
30406
+ * that the currently-published `@apocaliss92/nodedreame` already exposes on
30407
+ * every device handle. A future nodedreame publish adds a typed
30408
+ * `DreameCameraController` (drive / playPetSound / spotClean / findPet / …); the
30409
+ * provider can then swap the raw calls for the typed methods with no change to
30410
+ * THIS contract.
30411
+ */
30412
+ /**
30413
+ * A momentary drive nudge. The robot MOVES (no gimbal) for as long as the caller
30414
+ * keeps sending nudges (~1 Hz); an explicit `stop` (or letting the nudges lapse)
30415
+ * halts it.
30416
+ *
30417
+ * - `pan` — turn: negative = left, positive = right, 0 = straight.
30418
+ * - `tilt` — throttle: positive = forward, negative = spin / turn-around.
30419
+ * - `speed` — optional intensity hint [0, 1]; the provider may scale the drive
30420
+ * vector by it (drivers without proportional drive ignore it).
30421
+ *
30422
+ * `pan` / `tilt` are normalized [-1, 1]. Both optional so a caller can nudge one
30423
+ * axis alone; an all-undefined nudge is a no-op.
30424
+ */
30425
+ var NavigationMoveCommandSchema = zod.z.object({
30426
+ pan: zod.z.number().min(-1).max(1).optional(),
30427
+ tilt: zod.z.number().min(-1).max(1).optional(),
30428
+ speed: zod.z.number().min(0).max(1).optional()
30429
+ });
30430
+ /**
30431
+ * The enumerated discrete actions a navigation-capable robot can perform via
30432
+ * `runAction`. This is the CLOSED vocabulary; a given device advertises the
30433
+ * subset it supports through `listActions`. Sounds are NOT here — they go through
30434
+ * `playSound` (see the `sound` dictionary entries).
30435
+ */
30436
+ var NavigationActionIdSchema = zod.z.enum([
30437
+ "goHome",
30438
+ "locate",
30439
+ "spotClean",
30440
+ "findPet",
30441
+ "personFollow",
30442
+ "stop",
30443
+ "startClean",
30444
+ "pauseClean",
30445
+ "dockWash",
30446
+ "autoEmpty",
30447
+ "flashOn",
30448
+ "flashOff"
30449
+ ]);
30450
+ /** Whether a dictionary entry is a `runAction` action or a `playSound` sound. */
30451
+ var NavigationEntryKindSchema = zod.z.enum(["action", "sound"]);
30452
+ /**
30453
+ * One entry in the navigation action dictionary — the DATA-DRIVEN unit both the
30454
+ * native panel and the PTZ mimic render as a button.
30455
+ *
30456
+ * - `id` — stable id. For `kind:'action'` it is a {@link NavigationActionId}
30457
+ * (pass to `runAction`); for `kind:'sound'` it is a namespaced id
30458
+ * (`sound:meow`) whose `soundId` is passed to `playSound`.
30459
+ * - `icon` — icon HINT (lucide-style name; the UI maps it to its own set).
30460
+ * - `label` — operator-facing English label.
30461
+ * - `soundId` — wire sound id, present only on `kind:'sound'` entries.
30462
+ * - `enabled` — per-device FEATURE FLAG. `listActions` reports it so the UI /
30463
+ * PTZ render ONLY enabled entries. Data-driven: the provider
30464
+ * flips it from config, never by editing code.
30465
+ */
30466
+ var NavigationActionEntrySchema = zod.z.object({
30467
+ id: zod.z.string(),
30468
+ kind: NavigationEntryKindSchema,
30469
+ label: zod.z.string(),
30470
+ icon: zod.z.string(),
30471
+ /** Present only on `kind:'sound'` entries — the id to pass to `playSound`. */
30472
+ soundId: zod.z.number().int().optional(),
30473
+ /** Per-device feature flag — render this entry only when true. */
30474
+ enabled: zod.z.boolean()
30475
+ });
30476
+ /** Coordinates for `goToPoint` — a point on the robot's live map. */
30477
+ var NavigationPointSchema = zod.z.object({
30478
+ x: zod.z.number(),
30479
+ y: zod.z.number()
30480
+ });
30481
+ /**
30482
+ * Per-device FEATURE-FLAG report for the general (non-dictionary) primitives.
30483
+ * The cap reports which are enabled so the UI / PTZ render only the controls
30484
+ * that are turned on for THIS device. Data-driven: the provider derives these
30485
+ * from config + probe, never hardcoded in the UI. The per-DICTIONARY-entry flags
30486
+ * live on {@link NavigationActionEntrySchema.enabled}; these gate the primitives
30487
+ * that are not dictionary entries.
30488
+ *
30489
+ * - `move` / `stop` — the momentary drive joystick.
30490
+ * - `goToPoint` — send-to-map-coordinate. Ships OFF on Dreame until the
30491
+ * map-coordinate plumbing is wired.
30492
+ * - `runAction` — the discrete action buttons (dictionary `kind:'action'`).
30493
+ * - `playSound` — the sound buttons (dictionary `kind:'sound'`).
30494
+ * - `light` — the on/off fill-light toggle (works anytime).
30495
+ * - `lightMode` — the auto/manual selector + manual level slider (a
30496
+ * camera-service control; needs an active stream).
30497
+ */
30498
+ var NavigationFeaturesSchema = zod.z.object({
30499
+ move: zod.z.boolean(),
30500
+ stop: zod.z.boolean(),
30501
+ goToPoint: zod.z.boolean(),
30502
+ runAction: zod.z.boolean(),
30503
+ playSound: zod.z.boolean(),
30504
+ light: zod.z.boolean(),
30505
+ lightMode: zod.z.boolean()
30506
+ });
30507
+ /** Light mode: `auto` lets the camera choose brightness; `manual` uses `level`. */
30508
+ var NavigationLightModeSchema = zod.z.enum(["auto", "manual"]);
30509
+ /** Coarse work mode the robot reports — drives the UI's active-state chips. */
30510
+ var NavigationModeSchema = zod.z.enum([
30511
+ "idle",
30512
+ "cleaning",
30513
+ "spot",
30514
+ "following",
30515
+ "goto",
30516
+ "returning",
30517
+ "paused",
30518
+ "unknown"
30519
+ ]);
30520
+ /**
30521
+ * Live navigation state so the UI can reflect what the robot is doing:
30522
+ * - `mode` — coarse activity (idle / cleaning / following / …).
30523
+ * - `following` — person/pet follow is currently armed.
30524
+ * - `flash` — the on-camera fill light is on.
30525
+ * - `lightMode` — auto vs manual fill-light mode.
30526
+ * - `lightLevel` — manual fill-light level (40..100); meaningful when
30527
+ * `lightMode === 'manual'`.
30528
+ */
30529
+ var NavigationStatusSchema = zod.z.object({
30530
+ mode: NavigationModeSchema,
30531
+ following: zod.z.boolean(),
30532
+ flash: zod.z.boolean(),
30533
+ lightMode: NavigationLightModeSchema,
30534
+ lightLevel: zod.z.number().min(40).max(100),
30535
+ /** Ms epoch when the slice was last updated. */
30536
+ lastChangedAt: zod.z.number()
30537
+ });
30538
+ /**
30539
+ * Runtime-state slice owned by this cap (kernel-managed: validated, mirrored,
30540
+ * observable). Adds `lastFetchedAt` on top of the status shape per the
30541
+ * convention.
30542
+ */
30543
+ var NavigationRuntimeStateSchema = NavigationStatusSchema.extend({ lastFetchedAt: zod.z.number() });
30544
+ var navigationCapability = {
30545
+ name: "navigation",
30546
+ scope: "device",
30547
+ deviceNative: true,
30548
+ mode: "singleton",
30549
+ deviceTypes: [DeviceType.Camera],
30550
+ deviceConfig: { ui: {
30551
+ kind: "widget",
30552
+ widgetId: "host/navigation-panel",
30553
+ tab: "navigation",
30554
+ topTab: true,
30555
+ label: "Navigation",
30556
+ order: 0
30557
+ } },
30558
+ methods: {
30559
+ /**
30560
+ * Momentary drive nudge (the robot moves). `protected` — mirrors
30561
+ * `ptz.continuousMove` so the Viewer navigation panel (and the PTZ-mimic
30562
+ * path) works for any authenticated user, not admin-only. The UI sends
30563
+ * these at ~1 Hz while a control is held; the provider forwards each one to
30564
+ * a single drive write WITHOUT debouncing.
30565
+ */
30566
+ move: method(NavigationMoveCommandSchema.extend({ deviceId: zod.z.number() }), zod.z.void(), { kind: "mutation" }),
30567
+ /** Halt all motion immediately (zero drive vector). */
30568
+ stop: method(zod.z.object({ deviceId: zod.z.number() }), zod.z.void(), { kind: "mutation" }),
30569
+ /** Send the robot to a point on its live map. */
30570
+ goToPoint: method(NavigationPointSchema.extend({ deviceId: zod.z.number() }), zod.z.void(), { kind: "mutation" }),
30571
+ /**
30572
+ * Enumerate the discrete controls THIS device supports (data-driven UI +
30573
+ * PTZ mimic). Camera-probed subset of {@link NAVIGATION_ACTION_CATALOG}.
30574
+ */
30575
+ listActions: method(zod.z.object({ deviceId: zod.z.number() }), zod.z.array(NavigationActionEntrySchema)),
30576
+ /**
30577
+ * Run one discrete action (a `kind:'action'` dictionary entry). Invalid /
30578
+ * unsupported action ids are rejected by the provider.
30579
+ */
30580
+ runAction: method(zod.z.object({
30581
+ deviceId: zod.z.number(),
30582
+ actionId: NavigationActionIdSchema
30583
+ }), zod.z.void(), { kind: "mutation" }),
30584
+ /** Play a sound by its wire id (the `soundId` of a `kind:'sound'` entry). */
30585
+ playSound: method(zod.z.object({
30586
+ deviceId: zod.z.number(),
30587
+ soundId: zod.z.number().int()
30588
+ }), zod.z.void(), { kind: "mutation" }),
30589
+ /**
30590
+ * Turn the on-camera fill light on / off (the `OpenFullLight` control —
30591
+ * works anytime, no active stream required).
30592
+ */
30593
+ setLightOn: method(zod.z.object({
30594
+ deviceId: zod.z.number(),
30595
+ on: zod.z.boolean()
30596
+ }), zod.z.void(), { kind: "mutation" }),
30597
+ /**
30598
+ * Set the fill-light mode (auto vs manual). `manual` optionally carries the
30599
+ * initial `level`. The auto/manual + level control is a CAMERA-service
30600
+ * action that generally needs an active camera stream/monitor session — the
30601
+ * UI shows the manual level slider ONLY when `mode === 'manual'`.
30602
+ */
30603
+ setLightMode: method(zod.z.object({
30604
+ deviceId: zod.z.number(),
30605
+ mode: NavigationLightModeSchema,
30606
+ level: zod.z.number().min(40).max(100).optional()
30607
+ }), zod.z.void(), { kind: "mutation" }),
30608
+ /** Set the MANUAL fill-light level (40..100). Implies `manual` mode. */
30609
+ setLightLevel: method(zod.z.object({
30610
+ deviceId: zod.z.number(),
30611
+ level: zod.z.number().min(40).max(100)
30612
+ }), zod.z.void(), { kind: "mutation" }),
30613
+ /**
30614
+ * Per-device FEATURE-FLAG report for the general primitives — drives which
30615
+ * controls the UI shows (the per-entry flags for the dictionary come back on
30616
+ * `listActions`).
30617
+ */
30618
+ getFeatures: method(zod.z.object({ deviceId: zod.z.number() }), NavigationFeaturesSchema)
30619
+ },
30620
+ events: { onStatusChanged: { data: zod.z.object({
30621
+ deviceId: zod.z.number(),
30622
+ status: NavigationStatusSchema
30623
+ }) } },
30624
+ status: {
30625
+ schema: NavigationStatusSchema,
30626
+ kind: "push"
30627
+ },
30628
+ /**
30629
+ * Runtime-state slice mirrored by the kernel. The navigation panel watches it
30630
+ * for live mode / follow / flash changes.
30631
+ */
30632
+ runtimeState: NavigationRuntimeStateSchema,
30633
+ /**
30634
+ * Runtime-state durability: **session** — like `vacuum-control`, a restored
30635
+ * `mode: cleaning` / `following: true` is a robot that is not actually doing
30636
+ * that. The live handle re-publishes on connect.
30637
+ *
30638
+ * See `RuntimeStateDurability`. Enforced by
30639
+ * `scripts/check-runtime-state-durability.ts`.
30640
+ */
30641
+ durability: "session"
30642
+ };
30643
+ /**
30355
30644
  * reboot — device-scoped capability for "soft" device reboots (firmware
30356
30645
  * reboot via vendor protocol; cameras, NVRs, doorbells). Surfaces a
30357
30646
  * single mutation so the UI can offer a confirm-and-reboot button for
@@ -34692,6 +34981,7 @@ var CAP_NAMES_WITH_STATUS = [
34692
34981
  "motion-zones",
34693
34982
  "mqtt-broker",
34694
34983
  "native-object-detection",
34984
+ "navigation",
34695
34985
  "network-link",
34696
34986
  "notifier",
34697
34987
  "numeric-sensor",
@@ -34818,6 +35108,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
34818
35108
  motionZonesCapability,
34819
35109
  mqttBrokerCapability,
34820
35110
  nativeObjectDetectionCapability,
35111
+ navigationCapability,
34821
35112
  networkAccessCapability,
34822
35113
  networkLinkCapability,
34823
35114
  networkQualityCapability,
@@ -37620,6 +37911,66 @@ var METHOD_ACCESS_MAP = Object.freeze({
37620
37911
  addonId: null,
37621
37912
  access: "create"
37622
37913
  },
37914
+ "navigation.getFeatures": {
37915
+ capName: "navigation",
37916
+ capScope: "device",
37917
+ addonId: null,
37918
+ access: "view"
37919
+ },
37920
+ "navigation.goToPoint": {
37921
+ capName: "navigation",
37922
+ capScope: "device",
37923
+ addonId: null,
37924
+ access: "create"
37925
+ },
37926
+ "navigation.listActions": {
37927
+ capName: "navigation",
37928
+ capScope: "device",
37929
+ addonId: null,
37930
+ access: "view"
37931
+ },
37932
+ "navigation.move": {
37933
+ capName: "navigation",
37934
+ capScope: "device",
37935
+ addonId: null,
37936
+ access: "create"
37937
+ },
37938
+ "navigation.playSound": {
37939
+ capName: "navigation",
37940
+ capScope: "device",
37941
+ addonId: null,
37942
+ access: "create"
37943
+ },
37944
+ "navigation.runAction": {
37945
+ capName: "navigation",
37946
+ capScope: "device",
37947
+ addonId: null,
37948
+ access: "create"
37949
+ },
37950
+ "navigation.setLightLevel": {
37951
+ capName: "navigation",
37952
+ capScope: "device",
37953
+ addonId: null,
37954
+ access: "create"
37955
+ },
37956
+ "navigation.setLightMode": {
37957
+ capName: "navigation",
37958
+ capScope: "device",
37959
+ addonId: null,
37960
+ access: "create"
37961
+ },
37962
+ "navigation.setLightOn": {
37963
+ capName: "navigation",
37964
+ capScope: "device",
37965
+ addonId: null,
37966
+ access: "create"
37967
+ },
37968
+ "navigation.stop": {
37969
+ capName: "navigation",
37970
+ capScope: "device",
37971
+ addonId: null,
37972
+ access: "create"
37973
+ },
37623
37974
  "networkAccess.getEndpoint": {
37624
37975
  capName: "network-access",
37625
37976
  capScope: "system",
@@ -41715,6 +42066,56 @@ Object.freeze({
41715
42066
  form: "single",
41716
42067
  optional: false
41717
42068
  }],
42069
+ "navigation.getFeatures": [{
42070
+ name: "deviceId",
42071
+ form: "single",
42072
+ optional: false
42073
+ }],
42074
+ "navigation.goToPoint": [{
42075
+ name: "deviceId",
42076
+ form: "single",
42077
+ optional: false
42078
+ }],
42079
+ "navigation.listActions": [{
42080
+ name: "deviceId",
42081
+ form: "single",
42082
+ optional: false
42083
+ }],
42084
+ "navigation.move": [{
42085
+ name: "deviceId",
42086
+ form: "single",
42087
+ optional: false
42088
+ }],
42089
+ "navigation.playSound": [{
42090
+ name: "deviceId",
42091
+ form: "single",
42092
+ optional: false
42093
+ }],
42094
+ "navigation.runAction": [{
42095
+ name: "deviceId",
42096
+ form: "single",
42097
+ optional: false
42098
+ }],
42099
+ "navigation.setLightLevel": [{
42100
+ name: "deviceId",
42101
+ form: "single",
42102
+ optional: false
42103
+ }],
42104
+ "navigation.setLightMode": [{
42105
+ name: "deviceId",
42106
+ form: "single",
42107
+ optional: false
42108
+ }],
42109
+ "navigation.setLightOn": [{
42110
+ name: "deviceId",
42111
+ form: "single",
42112
+ optional: false
42113
+ }],
42114
+ "navigation.stop": [{
42115
+ name: "deviceId",
42116
+ form: "single",
42117
+ optional: false
42118
+ }],
41718
42119
  "networkQuality.getDeviceStats": [{
41719
42120
  name: "deviceId",
41720
42121
  form: "single",
@@ -42757,7 +43158,7 @@ Object.freeze({
42757
43158
  });
42758
43159
  /**
42759
43160
  * Per-cap runtime-state policy, projected from every `*.cap.ts` that declares
42760
- * `runtimeState`. 65 caps: 35 `restored`, 30 `session`.
43161
+ * `runtimeState`. 66 caps: 35 `restored`, 31 `session`.
42761
43162
  *
42762
43163
  * A cap absent from this map has no runtime-state slice at all. A cap PRESENT
42763
43164
  * with `durability: 'session'` has one and has decided not to keep it.
@@ -42919,6 +43320,10 @@ var RUNTIME_STATE_POLICY = {
42919
43320
  durability: "restored",
42920
43321
  volatileFields: ["lastFetchedAt"]
42921
43322
  },
43323
+ "navigation": {
43324
+ durability: "session",
43325
+ volatileFields: []
43326
+ },
42922
43327
  "network-link": {
42923
43328
  durability: "restored",
42924
43329
  volatileFields: ["lastUpdated"]
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("./chunk-Cek0wNdY.js");
3
- const require_dist = require("./dist-B0Cf6q_P.js");
3
+ const require_dist = require("./dist-Qnc3kuba.js");
4
4
  const require_builtins_alerts_alerts_addon = require("./builtins/alerts/alerts.addon.js");
5
5
  require("./builtins/alerts/index.js");
6
6
  const require_formatter = require("./formatter-DqAKDlvN.js");
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM$1, r as __exportAll, t as __commonJSMin$1 } from "./chunk-CNf5ZN-e.mjs";
2
- import { Ct as scopesAllowAddon, Ft as errMsg$1, Jt as asString$1, Kt as asJsonObject$1, Lt as DATAPLANE_SECRET_HEADER$1, O as addonSettingsCapability, Qt as expandCapMethods, Rt as DEVICE_SETTINGS_CONTRIBUTION_METHODS, Ut as ReadinessRegistry, Wt as ReadinessTimeoutError, Xt as emitDownForOwnedCaps, Yt as createEvent, Z as extractNestedAddonId, _t as procedureAuthKey, an as resolveCapMount, at as isVoidInput, cn as EventCategory$1, dt as looseSchema, et as isArrayOutputSchema, g as RUNTIME_DEFAULTS, in as readinessKey, m as METHOD_ACCESS_MAP, mt as objectInputDeclaresAddonId, nn as parseJsonObject, nt as isObjectInput, on as scopeKey, ot as kebabToCamel, p as LOG_LEVEL_RANK, qt as asNumber, rn as parseJsonUnknown, st as lifecycleJobSchema, t as ALL_CAPABILITY_DEFINITIONS, tt as isCollectionArrayMethod, ut as logLevelAtMost, wt as scopesAllowDeviceCap, xt as resolveMethodAuth, zt as DEVICE_STATUS_METHOD } from "./dist-1eWNHQel.mjs";
2
+ import { Ct as scopesAllowAddon, Ft as errMsg$1, Jt as asString$1, Kt as asJsonObject$1, Lt as DATAPLANE_SECRET_HEADER$1, O as addonSettingsCapability, Qt as expandCapMethods, Rt as DEVICE_SETTINGS_CONTRIBUTION_METHODS, Ut as ReadinessRegistry, Wt as ReadinessTimeoutError, Xt as emitDownForOwnedCaps, Yt as createEvent, Z as extractNestedAddonId, _t as procedureAuthKey, an as resolveCapMount, at as isVoidInput, cn as EventCategory$1, dt as looseSchema, et as isArrayOutputSchema, g as RUNTIME_DEFAULTS, in as readinessKey, m as METHOD_ACCESS_MAP, mt as objectInputDeclaresAddonId, nn as parseJsonObject, nt as isObjectInput, on as scopeKey, ot as kebabToCamel, p as LOG_LEVEL_RANK, qt as asNumber, rn as parseJsonUnknown, st as lifecycleJobSchema, t as ALL_CAPABILITY_DEFINITIONS, tt as isCollectionArrayMethod, ut as logLevelAtMost, wt as scopesAllowDeviceCap, xt as resolveMethodAuth, zt as DEVICE_STATUS_METHOD } from "./dist-Cr3ChLtE.mjs";
3
3
  import { AlertCenterAddon } from "./builtins/alerts/alerts.addon.mjs";
4
4
  import "./builtins/alerts/index.mjs";
5
5
  import { t as formatLogLine } from "./formatter-B7qW8bPJ.mjs";
@@ -1,4 +1,4 @@
1
- import { Kt as asJsonObject } from "./dist-1eWNHQel.mjs";
1
+ import { Kt as asJsonObject } from "./dist-Cr3ChLtE.mjs";
2
2
  //#region src/builtins/sqlite-storage/retired-settings-keys.ts
3
3
  /**
4
4
  * Is THIS node the one whose settings store is the cluster's authority?
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-B0Cf6q_P.js");
1
+ const require_dist = require("./dist-Qnc3kuba.js");
2
2
  //#region src/builtins/sqlite-storage/retired-settings-keys.ts
3
3
  /**
4
4
  * Is THIS node the one whose settings store is the cluster's authority?
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/system",
3
- "version": "1.2.193",
3
+ "version": "1.2.195",
4
4
  "description": "Core addon for CamStack — builtins, pipeline, process management, auth, logging, events",
5
5
  "keywords": [
6
6
  "camstack",