@camstack/system 1.2.193 → 1.2.194
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
- package/dist/builtins/alerts/alerts.addon.js +1 -1
- package/dist/builtins/alerts/alerts.addon.mjs +1 -1
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +1 -1
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +1 -1
- package/dist/builtins/console-logging/index.js +1 -1
- package/dist/builtins/console-logging/index.mjs +1 -1
- package/dist/builtins/core-blocks/core-blocks.addon.js +1 -1
- package/dist/builtins/core-blocks/core-blocks.addon.mjs +1 -1
- package/dist/builtins/device-manager/device-manager.addon.js +2 -2
- package/dist/builtins/device-manager/device-manager.addon.mjs +2 -2
- package/dist/builtins/doorbell/virtual-doorbell.addon.js +1 -1
- package/dist/builtins/doorbell/virtual-doorbell.addon.mjs +1 -1
- package/dist/builtins/hub-forwarder/index.js +1 -1
- package/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
- package/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
- package/dist/builtins/local-auth/local-auth.addon.js +1 -1
- package/dist/builtins/local-auth/local-auth.addon.mjs +1 -1
- package/dist/builtins/local-network/local-network.addon.js +1 -1
- package/dist/builtins/local-network/local-network.addon.mjs +1 -1
- package/dist/builtins/loki-logging/index.js +1 -1
- package/dist/builtins/loki-logging/index.mjs +1 -1
- package/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/dist/builtins/platform-probe/index.js +1 -1
- package/dist/builtins/platform-probe/index.mjs +1 -1
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/dist/builtins/snapshot/index.js +1 -1
- package/dist/builtins/snapshot/index.mjs +1 -1
- package/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.js +0 -0
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +0 -0
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
- package/dist/builtins/system-config/system-config.addon.js +1 -1
- package/dist/builtins/system-config/system-config.addon.mjs +1 -1
- package/dist/builtins/winston-logging/index.js +1 -1
- package/dist/builtins/winston-logging/index.mjs +1 -1
- package/dist/{dist-B0Cf6q_P.js → dist-C7g13BfN.js} +400 -1
- package/dist/{dist-1eWNHQel.mjs → dist-DwFNOn8R.mjs} +400 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{retired-settings-keys-mP95OCUi.js → retired-settings-keys-BT_YDV75.js} +1 -1
- package/dist/{retired-settings-keys-nBzXKu6p.mjs → retired-settings-keys-JFxrynI0.mjs} +1 -1
- package/package.json +1 -1
|
@@ -30352,6 +30352,289 @@ var ptzAutotrackCapability = {
|
|
|
30352
30352
|
durability: "session"
|
|
30353
30353
|
};
|
|
30354
30354
|
/**
|
|
30355
|
+
* `navigation` — a device-scoped capability that natively expresses the FULL
|
|
30356
|
+
* navigation / action surface of a robot that DRIVES ITSELF and carries an
|
|
30357
|
+
* on-board camera (the Dreame robot-vacuum camera is the first provider).
|
|
30358
|
+
*
|
|
30359
|
+
* Why a NEW cap rather than overloading `ptz`:
|
|
30360
|
+
* - `ptz` moves a *gimbal* on a fixed camera (pan/tilt/zoom of the lens). A
|
|
30361
|
+
* robot vacuum has no gimbal — the whole chassis drives, turns and spins.
|
|
30362
|
+
* The two are different physical models: PTZ is absolute-position + presets,
|
|
30363
|
+
* navigation is momentary drive nudges + discrete robot ACTIONS
|
|
30364
|
+
* (dock / spot-clean / follow-pet / go-to-point / …).
|
|
30365
|
+
* - This cap is the SOURCE OF TRUTH. Two consumers adapt from it rather than
|
|
30366
|
+
* the reverse:
|
|
30367
|
+
* 1. a native CamStack navigation panel (data-driven from `listActions`
|
|
30368
|
+
* / `getOptions`), and
|
|
30369
|
+
* 2. the PTZ surface — a thin adapter mimics `ptz` from `navigation` so a
|
|
30370
|
+
* robot camera shows up in the existing PTZ control path without every
|
|
30371
|
+
* PTZ provider learning about robots. The mapping lives in the adapter,
|
|
30372
|
+
* not here (see the addon design note):
|
|
30373
|
+
* ptz.continuousMove({pan,tilt}) → navigation.move({pan,tilt})
|
|
30374
|
+
* ptz.stop() → navigation.stop()
|
|
30375
|
+
* ptz.goHome() → navigation.runAction('goHome')
|
|
30376
|
+
* ptz.getPresets() → navigation.listActions() (id→preset)
|
|
30377
|
+
* ptz.goToPreset(id) → navigation.runAction(id)
|
|
30378
|
+
*
|
|
30379
|
+
* ## Continuous drive
|
|
30380
|
+
*
|
|
30381
|
+
* `move` is MOMENTARY. Fluid navigation comes from the UI (or the PTZ adapter)
|
|
30382
|
+
* sending `move({pan,tilt})` REPEATEDLY at ~1 Hz while a direction is held, and
|
|
30383
|
+
* one `stop()` on release — exactly like the robot app's remote-drive joystick.
|
|
30384
|
+
* The provider forwards EACH `move` to one drive write; it must NOT debounce or
|
|
30385
|
+
* coalesce them. The UI owns the cadence.
|
|
30386
|
+
*
|
|
30387
|
+
* ## The action dictionary
|
|
30388
|
+
*
|
|
30389
|
+
* The discrete controls (dock / locate / spot-clean / follow / flash / sounds)
|
|
30390
|
+
* are a DATA-DRIVEN dictionary the cap exposes via `listActions()`. Each entry
|
|
30391
|
+
* carries `{ id, kind, label, icon }` (plus `soundId` for sound entries) so the
|
|
30392
|
+
* native panel AND the PTZ mimic render buttons WITHOUT hardcoding a
|
|
30393
|
+
* vendor-specific list. `kind: 'action'` entries are triggered with
|
|
30394
|
+
* `runAction({ actionId })`; `kind: 'sound'` entries with `playSound({ soundId })`
|
|
30395
|
+
* (the entry carries the `soundId` to pass). The general primitives — `move`,
|
|
30396
|
+
* `stop`, `goToPoint` — stay as first-class methods, not dictionary entries.
|
|
30397
|
+
*
|
|
30398
|
+
* NOTE (provider wiring): the first provider (Dreame) drives this with the RAW
|
|
30399
|
+
* `callAction(siid,aiid,in)` / `setProperty({siid,piid,value})` MIoT primitives
|
|
30400
|
+
* that the currently-published `@apocaliss92/nodedreame` already exposes on
|
|
30401
|
+
* every device handle. A future nodedreame publish adds a typed
|
|
30402
|
+
* `DreameCameraController` (drive / playPetSound / spotClean / findPet / …); the
|
|
30403
|
+
* provider can then swap the raw calls for the typed methods with no change to
|
|
30404
|
+
* THIS contract.
|
|
30405
|
+
*/
|
|
30406
|
+
/**
|
|
30407
|
+
* A momentary drive nudge. The robot MOVES (no gimbal) for as long as the caller
|
|
30408
|
+
* keeps sending nudges (~1 Hz); an explicit `stop` (or letting the nudges lapse)
|
|
30409
|
+
* halts it.
|
|
30410
|
+
*
|
|
30411
|
+
* - `pan` — turn: negative = left, positive = right, 0 = straight.
|
|
30412
|
+
* - `tilt` — throttle: positive = forward, negative = spin / turn-around.
|
|
30413
|
+
* - `speed` — optional intensity hint [0, 1]; the provider may scale the drive
|
|
30414
|
+
* vector by it (drivers without proportional drive ignore it).
|
|
30415
|
+
*
|
|
30416
|
+
* `pan` / `tilt` are normalized [-1, 1]. Both optional so a caller can nudge one
|
|
30417
|
+
* axis alone; an all-undefined nudge is a no-op.
|
|
30418
|
+
*/
|
|
30419
|
+
var NavigationMoveCommandSchema = zod.z.object({
|
|
30420
|
+
pan: zod.z.number().min(-1).max(1).optional(),
|
|
30421
|
+
tilt: zod.z.number().min(-1).max(1).optional(),
|
|
30422
|
+
speed: zod.z.number().min(0).max(1).optional()
|
|
30423
|
+
});
|
|
30424
|
+
/**
|
|
30425
|
+
* The enumerated discrete actions a navigation-capable robot can perform via
|
|
30426
|
+
* `runAction`. This is the CLOSED vocabulary; a given device advertises the
|
|
30427
|
+
* subset it supports through `listActions`. Sounds are NOT here — they go through
|
|
30428
|
+
* `playSound` (see the `sound` dictionary entries).
|
|
30429
|
+
*/
|
|
30430
|
+
var NavigationActionIdSchema = zod.z.enum([
|
|
30431
|
+
"goHome",
|
|
30432
|
+
"locate",
|
|
30433
|
+
"spotClean",
|
|
30434
|
+
"findPet",
|
|
30435
|
+
"personFollow",
|
|
30436
|
+
"stop",
|
|
30437
|
+
"startClean",
|
|
30438
|
+
"pauseClean",
|
|
30439
|
+
"dockWash",
|
|
30440
|
+
"autoEmpty",
|
|
30441
|
+
"flashOn",
|
|
30442
|
+
"flashOff"
|
|
30443
|
+
]);
|
|
30444
|
+
/** Whether a dictionary entry is a `runAction` action or a `playSound` sound. */
|
|
30445
|
+
var NavigationEntryKindSchema = zod.z.enum(["action", "sound"]);
|
|
30446
|
+
/**
|
|
30447
|
+
* One entry in the navigation action dictionary — the DATA-DRIVEN unit both the
|
|
30448
|
+
* native panel and the PTZ mimic render as a button.
|
|
30449
|
+
*
|
|
30450
|
+
* - `id` — stable id. For `kind:'action'` it is a {@link NavigationActionId}
|
|
30451
|
+
* (pass to `runAction`); for `kind:'sound'` it is a namespaced id
|
|
30452
|
+
* (`sound:meow`) whose `soundId` is passed to `playSound`.
|
|
30453
|
+
* - `icon` — icon HINT (lucide-style name; the UI maps it to its own set).
|
|
30454
|
+
* - `label` — operator-facing English label.
|
|
30455
|
+
* - `soundId` — wire sound id, present only on `kind:'sound'` entries.
|
|
30456
|
+
* - `enabled` — per-device FEATURE FLAG. `listActions` reports it so the UI /
|
|
30457
|
+
* PTZ render ONLY enabled entries. Data-driven: the provider
|
|
30458
|
+
* flips it from config, never by editing code.
|
|
30459
|
+
*/
|
|
30460
|
+
var NavigationActionEntrySchema = zod.z.object({
|
|
30461
|
+
id: zod.z.string(),
|
|
30462
|
+
kind: NavigationEntryKindSchema,
|
|
30463
|
+
label: zod.z.string(),
|
|
30464
|
+
icon: zod.z.string(),
|
|
30465
|
+
/** Present only on `kind:'sound'` entries — the id to pass to `playSound`. */
|
|
30466
|
+
soundId: zod.z.number().int().optional(),
|
|
30467
|
+
/** Per-device feature flag — render this entry only when true. */
|
|
30468
|
+
enabled: zod.z.boolean()
|
|
30469
|
+
});
|
|
30470
|
+
/** Coordinates for `goToPoint` — a point on the robot's live map. */
|
|
30471
|
+
var NavigationPointSchema = zod.z.object({
|
|
30472
|
+
x: zod.z.number(),
|
|
30473
|
+
y: zod.z.number()
|
|
30474
|
+
});
|
|
30475
|
+
/**
|
|
30476
|
+
* Per-device FEATURE-FLAG report for the general (non-dictionary) primitives.
|
|
30477
|
+
* The cap reports which are enabled so the UI / PTZ render only the controls
|
|
30478
|
+
* that are turned on for THIS device. Data-driven: the provider derives these
|
|
30479
|
+
* from config + probe, never hardcoded in the UI. The per-DICTIONARY-entry flags
|
|
30480
|
+
* live on {@link NavigationActionEntrySchema.enabled}; these gate the primitives
|
|
30481
|
+
* that are not dictionary entries.
|
|
30482
|
+
*
|
|
30483
|
+
* - `move` / `stop` — the momentary drive joystick.
|
|
30484
|
+
* - `goToPoint` — send-to-map-coordinate. Ships OFF on Dreame until the
|
|
30485
|
+
* map-coordinate plumbing is wired.
|
|
30486
|
+
* - `runAction` — the discrete action buttons (dictionary `kind:'action'`).
|
|
30487
|
+
* - `playSound` — the sound buttons (dictionary `kind:'sound'`).
|
|
30488
|
+
* - `light` — the on/off fill-light toggle (works anytime).
|
|
30489
|
+
* - `lightMode` — the auto/manual selector + manual level slider (a
|
|
30490
|
+
* camera-service control; needs an active stream).
|
|
30491
|
+
*/
|
|
30492
|
+
var NavigationFeaturesSchema = zod.z.object({
|
|
30493
|
+
move: zod.z.boolean(),
|
|
30494
|
+
stop: zod.z.boolean(),
|
|
30495
|
+
goToPoint: zod.z.boolean(),
|
|
30496
|
+
runAction: zod.z.boolean(),
|
|
30497
|
+
playSound: zod.z.boolean(),
|
|
30498
|
+
light: zod.z.boolean(),
|
|
30499
|
+
lightMode: zod.z.boolean()
|
|
30500
|
+
});
|
|
30501
|
+
/** Light mode: `auto` lets the camera choose brightness; `manual` uses `level`. */
|
|
30502
|
+
var NavigationLightModeSchema = zod.z.enum(["auto", "manual"]);
|
|
30503
|
+
/** Coarse work mode the robot reports — drives the UI's active-state chips. */
|
|
30504
|
+
var NavigationModeSchema = zod.z.enum([
|
|
30505
|
+
"idle",
|
|
30506
|
+
"cleaning",
|
|
30507
|
+
"spot",
|
|
30508
|
+
"following",
|
|
30509
|
+
"goto",
|
|
30510
|
+
"returning",
|
|
30511
|
+
"paused",
|
|
30512
|
+
"unknown"
|
|
30513
|
+
]);
|
|
30514
|
+
/**
|
|
30515
|
+
* Live navigation state so the UI can reflect what the robot is doing:
|
|
30516
|
+
* - `mode` — coarse activity (idle / cleaning / following / …).
|
|
30517
|
+
* - `following` — person/pet follow is currently armed.
|
|
30518
|
+
* - `flash` — the on-camera fill light is on.
|
|
30519
|
+
* - `lightMode` — auto vs manual fill-light mode.
|
|
30520
|
+
* - `lightLevel` — manual fill-light level (40..100); meaningful when
|
|
30521
|
+
* `lightMode === 'manual'`.
|
|
30522
|
+
*/
|
|
30523
|
+
var NavigationStatusSchema = zod.z.object({
|
|
30524
|
+
mode: NavigationModeSchema,
|
|
30525
|
+
following: zod.z.boolean(),
|
|
30526
|
+
flash: zod.z.boolean(),
|
|
30527
|
+
lightMode: NavigationLightModeSchema,
|
|
30528
|
+
lightLevel: zod.z.number().min(40).max(100),
|
|
30529
|
+
/** Ms epoch when the slice was last updated. */
|
|
30530
|
+
lastChangedAt: zod.z.number()
|
|
30531
|
+
});
|
|
30532
|
+
/**
|
|
30533
|
+
* Runtime-state slice owned by this cap (kernel-managed: validated, mirrored,
|
|
30534
|
+
* observable). Adds `lastFetchedAt` on top of the status shape per the
|
|
30535
|
+
* convention.
|
|
30536
|
+
*/
|
|
30537
|
+
var NavigationRuntimeStateSchema = NavigationStatusSchema.extend({ lastFetchedAt: zod.z.number() });
|
|
30538
|
+
var navigationCapability = {
|
|
30539
|
+
name: "navigation",
|
|
30540
|
+
scope: "device",
|
|
30541
|
+
deviceNative: true,
|
|
30542
|
+
mode: "singleton",
|
|
30543
|
+
deviceTypes: [DeviceType.Camera],
|
|
30544
|
+
deviceConfig: { ui: {
|
|
30545
|
+
kind: "widget",
|
|
30546
|
+
widgetId: "host/navigation-panel",
|
|
30547
|
+
tab: "navigation",
|
|
30548
|
+
topTab: true,
|
|
30549
|
+
label: "Navigation",
|
|
30550
|
+
order: 0
|
|
30551
|
+
} },
|
|
30552
|
+
methods: {
|
|
30553
|
+
/**
|
|
30554
|
+
* Momentary drive nudge (the robot moves). `protected` — mirrors
|
|
30555
|
+
* `ptz.continuousMove` so the Viewer navigation panel (and the PTZ-mimic
|
|
30556
|
+
* path) works for any authenticated user, not admin-only. The UI sends
|
|
30557
|
+
* these at ~1 Hz while a control is held; the provider forwards each one to
|
|
30558
|
+
* a single drive write WITHOUT debouncing.
|
|
30559
|
+
*/
|
|
30560
|
+
move: method(NavigationMoveCommandSchema.extend({ deviceId: zod.z.number() }), zod.z.void(), { kind: "mutation" }),
|
|
30561
|
+
/** Halt all motion immediately (zero drive vector). */
|
|
30562
|
+
stop: method(zod.z.object({ deviceId: zod.z.number() }), zod.z.void(), { kind: "mutation" }),
|
|
30563
|
+
/** Send the robot to a point on its live map. */
|
|
30564
|
+
goToPoint: method(NavigationPointSchema.extend({ deviceId: zod.z.number() }), zod.z.void(), { kind: "mutation" }),
|
|
30565
|
+
/**
|
|
30566
|
+
* Enumerate the discrete controls THIS device supports (data-driven UI +
|
|
30567
|
+
* PTZ mimic). Camera-probed subset of {@link NAVIGATION_ACTION_CATALOG}.
|
|
30568
|
+
*/
|
|
30569
|
+
listActions: method(zod.z.object({ deviceId: zod.z.number() }), zod.z.array(NavigationActionEntrySchema)),
|
|
30570
|
+
/**
|
|
30571
|
+
* Run one discrete action (a `kind:'action'` dictionary entry). Invalid /
|
|
30572
|
+
* unsupported action ids are rejected by the provider.
|
|
30573
|
+
*/
|
|
30574
|
+
runAction: method(zod.z.object({
|
|
30575
|
+
deviceId: zod.z.number(),
|
|
30576
|
+
actionId: NavigationActionIdSchema
|
|
30577
|
+
}), zod.z.void(), { kind: "mutation" }),
|
|
30578
|
+
/** Play a sound by its wire id (the `soundId` of a `kind:'sound'` entry). */
|
|
30579
|
+
playSound: method(zod.z.object({
|
|
30580
|
+
deviceId: zod.z.number(),
|
|
30581
|
+
soundId: zod.z.number().int()
|
|
30582
|
+
}), zod.z.void(), { kind: "mutation" }),
|
|
30583
|
+
/**
|
|
30584
|
+
* Turn the on-camera fill light on / off (the `OpenFullLight` control —
|
|
30585
|
+
* works anytime, no active stream required).
|
|
30586
|
+
*/
|
|
30587
|
+
setLightOn: method(zod.z.object({
|
|
30588
|
+
deviceId: zod.z.number(),
|
|
30589
|
+
on: zod.z.boolean()
|
|
30590
|
+
}), zod.z.void(), { kind: "mutation" }),
|
|
30591
|
+
/**
|
|
30592
|
+
* Set the fill-light mode (auto vs manual). `manual` optionally carries the
|
|
30593
|
+
* initial `level`. The auto/manual + level control is a CAMERA-service
|
|
30594
|
+
* action that generally needs an active camera stream/monitor session — the
|
|
30595
|
+
* UI shows the manual level slider ONLY when `mode === 'manual'`.
|
|
30596
|
+
*/
|
|
30597
|
+
setLightMode: method(zod.z.object({
|
|
30598
|
+
deviceId: zod.z.number(),
|
|
30599
|
+
mode: NavigationLightModeSchema,
|
|
30600
|
+
level: zod.z.number().min(40).max(100).optional()
|
|
30601
|
+
}), zod.z.void(), { kind: "mutation" }),
|
|
30602
|
+
/** Set the MANUAL fill-light level (40..100). Implies `manual` mode. */
|
|
30603
|
+
setLightLevel: method(zod.z.object({
|
|
30604
|
+
deviceId: zod.z.number(),
|
|
30605
|
+
level: zod.z.number().min(40).max(100)
|
|
30606
|
+
}), zod.z.void(), { kind: "mutation" }),
|
|
30607
|
+
/**
|
|
30608
|
+
* Per-device FEATURE-FLAG report for the general primitives — drives which
|
|
30609
|
+
* controls the UI shows (the per-entry flags for the dictionary come back on
|
|
30610
|
+
* `listActions`).
|
|
30611
|
+
*/
|
|
30612
|
+
getFeatures: method(zod.z.object({ deviceId: zod.z.number() }), NavigationFeaturesSchema)
|
|
30613
|
+
},
|
|
30614
|
+
events: { onStatusChanged: { data: zod.z.object({
|
|
30615
|
+
deviceId: zod.z.number(),
|
|
30616
|
+
status: NavigationStatusSchema
|
|
30617
|
+
}) } },
|
|
30618
|
+
status: {
|
|
30619
|
+
schema: NavigationStatusSchema,
|
|
30620
|
+
kind: "push"
|
|
30621
|
+
},
|
|
30622
|
+
/**
|
|
30623
|
+
* Runtime-state slice mirrored by the kernel. The navigation panel watches it
|
|
30624
|
+
* for live mode / follow / flash changes.
|
|
30625
|
+
*/
|
|
30626
|
+
runtimeState: NavigationRuntimeStateSchema,
|
|
30627
|
+
/**
|
|
30628
|
+
* Runtime-state durability: **session** — like `vacuum-control`, a restored
|
|
30629
|
+
* `mode: cleaning` / `following: true` is a robot that is not actually doing
|
|
30630
|
+
* that. The live handle re-publishes on connect.
|
|
30631
|
+
*
|
|
30632
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
30633
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
30634
|
+
*/
|
|
30635
|
+
durability: "session"
|
|
30636
|
+
};
|
|
30637
|
+
/**
|
|
30355
30638
|
* reboot — device-scoped capability for "soft" device reboots (firmware
|
|
30356
30639
|
* reboot via vendor protocol; cameras, NVRs, doorbells). Surfaces a
|
|
30357
30640
|
* single mutation so the UI can offer a confirm-and-reboot button for
|
|
@@ -34692,6 +34975,7 @@ var CAP_NAMES_WITH_STATUS = [
|
|
|
34692
34975
|
"motion-zones",
|
|
34693
34976
|
"mqtt-broker",
|
|
34694
34977
|
"native-object-detection",
|
|
34978
|
+
"navigation",
|
|
34695
34979
|
"network-link",
|
|
34696
34980
|
"notifier",
|
|
34697
34981
|
"numeric-sensor",
|
|
@@ -34818,6 +35102,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
34818
35102
|
motionZonesCapability,
|
|
34819
35103
|
mqttBrokerCapability,
|
|
34820
35104
|
nativeObjectDetectionCapability,
|
|
35105
|
+
navigationCapability,
|
|
34821
35106
|
networkAccessCapability,
|
|
34822
35107
|
networkLinkCapability,
|
|
34823
35108
|
networkQualityCapability,
|
|
@@ -37620,6 +37905,66 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
37620
37905
|
addonId: null,
|
|
37621
37906
|
access: "create"
|
|
37622
37907
|
},
|
|
37908
|
+
"navigation.getFeatures": {
|
|
37909
|
+
capName: "navigation",
|
|
37910
|
+
capScope: "device",
|
|
37911
|
+
addonId: null,
|
|
37912
|
+
access: "view"
|
|
37913
|
+
},
|
|
37914
|
+
"navigation.goToPoint": {
|
|
37915
|
+
capName: "navigation",
|
|
37916
|
+
capScope: "device",
|
|
37917
|
+
addonId: null,
|
|
37918
|
+
access: "create"
|
|
37919
|
+
},
|
|
37920
|
+
"navigation.listActions": {
|
|
37921
|
+
capName: "navigation",
|
|
37922
|
+
capScope: "device",
|
|
37923
|
+
addonId: null,
|
|
37924
|
+
access: "view"
|
|
37925
|
+
},
|
|
37926
|
+
"navigation.move": {
|
|
37927
|
+
capName: "navigation",
|
|
37928
|
+
capScope: "device",
|
|
37929
|
+
addonId: null,
|
|
37930
|
+
access: "create"
|
|
37931
|
+
},
|
|
37932
|
+
"navigation.playSound": {
|
|
37933
|
+
capName: "navigation",
|
|
37934
|
+
capScope: "device",
|
|
37935
|
+
addonId: null,
|
|
37936
|
+
access: "create"
|
|
37937
|
+
},
|
|
37938
|
+
"navigation.runAction": {
|
|
37939
|
+
capName: "navigation",
|
|
37940
|
+
capScope: "device",
|
|
37941
|
+
addonId: null,
|
|
37942
|
+
access: "create"
|
|
37943
|
+
},
|
|
37944
|
+
"navigation.setLightLevel": {
|
|
37945
|
+
capName: "navigation",
|
|
37946
|
+
capScope: "device",
|
|
37947
|
+
addonId: null,
|
|
37948
|
+
access: "create"
|
|
37949
|
+
},
|
|
37950
|
+
"navigation.setLightMode": {
|
|
37951
|
+
capName: "navigation",
|
|
37952
|
+
capScope: "device",
|
|
37953
|
+
addonId: null,
|
|
37954
|
+
access: "create"
|
|
37955
|
+
},
|
|
37956
|
+
"navigation.setLightOn": {
|
|
37957
|
+
capName: "navigation",
|
|
37958
|
+
capScope: "device",
|
|
37959
|
+
addonId: null,
|
|
37960
|
+
access: "create"
|
|
37961
|
+
},
|
|
37962
|
+
"navigation.stop": {
|
|
37963
|
+
capName: "navigation",
|
|
37964
|
+
capScope: "device",
|
|
37965
|
+
addonId: null,
|
|
37966
|
+
access: "create"
|
|
37967
|
+
},
|
|
37623
37968
|
"networkAccess.getEndpoint": {
|
|
37624
37969
|
capName: "network-access",
|
|
37625
37970
|
capScope: "system",
|
|
@@ -41715,6 +42060,56 @@ Object.freeze({
|
|
|
41715
42060
|
form: "single",
|
|
41716
42061
|
optional: false
|
|
41717
42062
|
}],
|
|
42063
|
+
"navigation.getFeatures": [{
|
|
42064
|
+
name: "deviceId",
|
|
42065
|
+
form: "single",
|
|
42066
|
+
optional: false
|
|
42067
|
+
}],
|
|
42068
|
+
"navigation.goToPoint": [{
|
|
42069
|
+
name: "deviceId",
|
|
42070
|
+
form: "single",
|
|
42071
|
+
optional: false
|
|
42072
|
+
}],
|
|
42073
|
+
"navigation.listActions": [{
|
|
42074
|
+
name: "deviceId",
|
|
42075
|
+
form: "single",
|
|
42076
|
+
optional: false
|
|
42077
|
+
}],
|
|
42078
|
+
"navigation.move": [{
|
|
42079
|
+
name: "deviceId",
|
|
42080
|
+
form: "single",
|
|
42081
|
+
optional: false
|
|
42082
|
+
}],
|
|
42083
|
+
"navigation.playSound": [{
|
|
42084
|
+
name: "deviceId",
|
|
42085
|
+
form: "single",
|
|
42086
|
+
optional: false
|
|
42087
|
+
}],
|
|
42088
|
+
"navigation.runAction": [{
|
|
42089
|
+
name: "deviceId",
|
|
42090
|
+
form: "single",
|
|
42091
|
+
optional: false
|
|
42092
|
+
}],
|
|
42093
|
+
"navigation.setLightLevel": [{
|
|
42094
|
+
name: "deviceId",
|
|
42095
|
+
form: "single",
|
|
42096
|
+
optional: false
|
|
42097
|
+
}],
|
|
42098
|
+
"navigation.setLightMode": [{
|
|
42099
|
+
name: "deviceId",
|
|
42100
|
+
form: "single",
|
|
42101
|
+
optional: false
|
|
42102
|
+
}],
|
|
42103
|
+
"navigation.setLightOn": [{
|
|
42104
|
+
name: "deviceId",
|
|
42105
|
+
form: "single",
|
|
42106
|
+
optional: false
|
|
42107
|
+
}],
|
|
42108
|
+
"navigation.stop": [{
|
|
42109
|
+
name: "deviceId",
|
|
42110
|
+
form: "single",
|
|
42111
|
+
optional: false
|
|
42112
|
+
}],
|
|
41718
42113
|
"networkQuality.getDeviceStats": [{
|
|
41719
42114
|
name: "deviceId",
|
|
41720
42115
|
form: "single",
|
|
@@ -42757,7 +43152,7 @@ Object.freeze({
|
|
|
42757
43152
|
});
|
|
42758
43153
|
/**
|
|
42759
43154
|
* Per-cap runtime-state policy, projected from every `*.cap.ts` that declares
|
|
42760
|
-
* `runtimeState`.
|
|
43155
|
+
* `runtimeState`. 66 caps: 35 `restored`, 31 `session`.
|
|
42761
43156
|
*
|
|
42762
43157
|
* A cap absent from this map has no runtime-state slice at all. A cap PRESENT
|
|
42763
43158
|
* with `durability: 'session'` has one and has decided not to keep it.
|
|
@@ -42919,6 +43314,10 @@ var RUNTIME_STATE_POLICY = {
|
|
|
42919
43314
|
durability: "restored",
|
|
42920
43315
|
volatileFields: ["lastFetchedAt"]
|
|
42921
43316
|
},
|
|
43317
|
+
"navigation": {
|
|
43318
|
+
durability: "session",
|
|
43319
|
+
volatileFields: []
|
|
43320
|
+
},
|
|
42922
43321
|
"network-link": {
|
|
42923
43322
|
durability: "restored",
|
|
42924
43323
|
volatileFields: ["lastUpdated"]
|