@camstack/addon-pipeline 1.2.190 → 1.2.192
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/audio-analyzer/index.js +2 -2
- package/dist/audio-analyzer/index.mjs +2 -2
- package/dist/detection-pipeline/index.js +5 -5
- package/dist/detection-pipeline/index.mjs +4 -4
- package/dist/{dist-CZkzc0WB.mjs → dist-B8J7wrtY.mjs} +313 -0
- package/dist/{dist-C31OZkZP.js → dist-CXO_Fmx6.js} +313 -0
- package/dist/{lazy-sharp-DhHuLuQf.js → lazy-sharp-o-aNNXuz.js} +1 -1
- package/dist/{local-frame-registry-B8_L3v0O.mjs → local-frame-registry-BDeDpYQk.mjs} +1 -1
- package/dist/{local-frame-registry-CkIaPLcW.js → local-frame-registry-P7tSfvaY.js} +1 -1
- package/dist/motion-wasm/index.js +2 -2
- package/dist/motion-wasm/index.mjs +1 -1
- package/dist/{node-kSXNMrbg.mjs → node-BSbB0or0.mjs} +1 -1
- package/dist/{node-CIpenwbm.js → node-DF98pVP7.js} +1 -1
- package/dist/pipeline-runner/index.js +5 -5
- package/dist/pipeline-runner/index.mjs +4 -4
- package/dist/{process-memory-BQTHtzan.js → process-memory-BVMk3gfY.js} +1 -1
- package/dist/{process-memory-CphvVq1H.mjs → process-memory-BZTgJyE8.mjs} +1 -1
- package/dist/recorder/index.js +2 -2
- package/dist/recorder/index.mjs +2 -2
- package/dist/{segment-demux-js-AELUnBau.mjs → segment-demux-js-0L1EF4Fg.mjs} +1 -1
- package/dist/{segment-demux-js-CYjZAotp.js → segment-demux-js-CLaSHw0n.js} +1 -1
- package/dist/session-decode/decode-worker-child.js +79 -6
- package/dist/session-decode/decode-worker-child.mjs +78 -5
- package/dist/stream-broker/_stub.js +2 -2
- package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-BA9MaopY.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-BmNfrv_U.mjs} +3 -3
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-D8AK-_F6.mjs +26 -0
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-CkCh5TvE.mjs +26 -0
- package/dist/stream-broker/demux-worker-child.js +1 -1
- package/dist/stream-broker/demux-worker-child.mjs +1 -1
- package/dist/stream-broker/{hostInit-0htGr-yV.mjs → hostInit-DQLtjntf.mjs} +3 -3
- package/dist/stream-broker/index.js +3 -3
- package/dist/stream-broker/index.mjs +3 -3
- package/dist/stream-broker/remoteEntry.js +1 -1
- package/dist/{worker-protocol-BSgTKhW7.js → worker-protocol-BJzhw3t0.js} +1 -1
- package/dist/{worker-protocol-Bcy8Ti5P.mjs → worker-protocol-WiXU2VuW.mjs} +1 -1
- package/package.json +1 -1
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CDtnQr69.mjs +0 -26
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-BOR2heMq.mjs +0 -26
|
@@ -2,8 +2,8 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_dist = require("../dist-
|
|
6
|
-
const require_process_memory = require("../process-memory-
|
|
5
|
+
const require_dist = require("../dist-CXO_Fmx6.js");
|
|
6
|
+
const require_process_memory = require("../process-memory-BVMk3gfY.js");
|
|
7
7
|
let node_fs = require("node:fs");
|
|
8
8
|
node_fs = require_dist.__toESM(node_fs);
|
|
9
9
|
let node_path = require("node:path");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __require } from "../chunk-DnnnRqeS.mjs";
|
|
2
|
-
import { A as audioAnalysisCapability, It as hydrateSchema, S as PoolMemoryWatchdog, _t as resolvePoolMemoryPolicy, j as audioAnalyzerCapability, jt as BaseAddon, n as AUDIO_BACKEND_CHOICES, nt as mapAudioLabelToMacro, s as DEFAULT_AUDIO_ANALYZER_CONFIG, v as HF_BASE_URL, wt as errMsg } from "../dist-
|
|
3
|
-
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-
|
|
2
|
+
import { A as audioAnalysisCapability, It as hydrateSchema, S as PoolMemoryWatchdog, _t as resolvePoolMemoryPolicy, j as audioAnalyzerCapability, jt as BaseAddon, n as AUDIO_BACKEND_CHOICES, nt as mapAudioLabelToMacro, s as DEFAULT_AUDIO_ANALYZER_CONFIG, v as HF_BASE_URL, wt as errMsg } from "../dist-B8J7wrtY.mjs";
|
|
3
|
+
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-BZTgJyE8.mjs";
|
|
4
4
|
import * as fs from "node:fs";
|
|
5
5
|
import * as path$1 from "node:path";
|
|
6
6
|
import { downloadFile } from "@camstack/system/addon-utils";
|
|
@@ -2,12 +2,12 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_dist = require("../dist-
|
|
6
|
-
const require_node = require("../node-
|
|
7
|
-
const require_local_frame_registry = require("../local-frame-registry-
|
|
8
|
-
const require_lazy_sharp = require("../lazy-sharp-
|
|
5
|
+
const require_dist = require("../dist-CXO_Fmx6.js");
|
|
6
|
+
const require_node = require("../node-DF98pVP7.js");
|
|
7
|
+
const require_local_frame_registry = require("../local-frame-registry-P7tSfvaY.js");
|
|
8
|
+
const require_lazy_sharp = require("../lazy-sharp-o-aNNXuz.js");
|
|
9
9
|
const require_event_loop_stall_monitor = require("../event-loop-stall-monitor-DaUBcb13.js");
|
|
10
|
-
const require_process_memory = require("../process-memory-
|
|
10
|
+
const require_process_memory = require("../process-memory-BVMk3gfY.js");
|
|
11
11
|
let node_fs = require("node:fs");
|
|
12
12
|
node_fs = require_dist.__toESM(node_fs);
|
|
13
13
|
let node_path = require("node:path");
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as __require } from "../chunk-DnnnRqeS.mjs";
|
|
2
|
-
import { Bt as nodePin, Ft as createEvent, It as hydrateSchema, Kt as array, O as YAMNET_TO_MACRO, Q as inferModelProvider, Qt as object, S as PoolMemoryWatchdog, St as supportedRuntimes$1, Vt as parseJsonUnknown, W as detectionPipelineCapability, Wt as sleep, Y as evaluateZoneRules, _t as resolvePoolMemoryPolicy, at as overlayClusterStepSettings, c as DEFAULT_CLUSTER_STEP_MODELS, ct as pickClusterStepSettings, dt as pipelineExecutorCapability, en as string, et as loadContributionCapability, ht as resolveClusterStepModelId, jt as BaseAddon, l as DEFAULT_CLUSTER_STEP_SETTINGS, m as DEVICE_BACKEND_TO_FORMAT, nn as EventCategory, q as enumerateInferenceDevices, st as pickClusterStepModels, t as APPLE_SA_TO_MACRO, tn as union, wt as errMsg, yt as runtimeDevices$1, z as defaultDeviceFor$1 } from "../dist-
|
|
3
|
-
import { a as readProcessCost } from "../node-
|
|
4
|
-
import { a as getDefaultModelForFormat, c as getStepDefinition, i as ALL_STEPS, l as resolveModelForFormat, o as getDefaultModelForFormatFromDef, r as ALL_PIPELINE_STEPS, s as getStep, t as localFrameRegistry, u as landmarkPrecisionVerdict } from "../local-frame-registry-
|
|
2
|
+
import { Bt as nodePin, Ft as createEvent, It as hydrateSchema, Kt as array, O as YAMNET_TO_MACRO, Q as inferModelProvider, Qt as object, S as PoolMemoryWatchdog, St as supportedRuntimes$1, Vt as parseJsonUnknown, W as detectionPipelineCapability, Wt as sleep, Y as evaluateZoneRules, _t as resolvePoolMemoryPolicy, at as overlayClusterStepSettings, c as DEFAULT_CLUSTER_STEP_MODELS, ct as pickClusterStepSettings, dt as pipelineExecutorCapability, en as string, et as loadContributionCapability, ht as resolveClusterStepModelId, jt as BaseAddon, l as DEFAULT_CLUSTER_STEP_SETTINGS, m as DEVICE_BACKEND_TO_FORMAT, nn as EventCategory, q as enumerateInferenceDevices, st as pickClusterStepModels, t as APPLE_SA_TO_MACRO, tn as union, wt as errMsg, yt as runtimeDevices$1, z as defaultDeviceFor$1 } from "../dist-B8J7wrtY.mjs";
|
|
3
|
+
import { a as readProcessCost } from "../node-BSbB0or0.mjs";
|
|
4
|
+
import { a as getDefaultModelForFormat, c as getStepDefinition, i as ALL_STEPS, l as resolveModelForFormat, o as getDefaultModelForFormatFromDef, r as ALL_PIPELINE_STEPS, s as getStep, t as localFrameRegistry, u as landmarkPrecisionVerdict } from "../local-frame-registry-BDeDpYQk.mjs";
|
|
5
5
|
import { t as getSharp } from "../lazy-sharp-DXsqwpph.mjs";
|
|
6
6
|
import { n as startEventLoopStallMonitor } from "../event-loop-stall-monitor-DXLNBMkY.mjs";
|
|
7
|
-
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-
|
|
7
|
+
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-BZTgJyE8.mjs";
|
|
8
8
|
import * as fs from "node:fs";
|
|
9
9
|
import * as path$1 from "node:path";
|
|
10
10
|
import { dirname, join } from "node:path";
|
|
@@ -5406,6 +5406,12 @@ Object.fromEntries([
|
|
|
5406
5406
|
icon: "move",
|
|
5407
5407
|
order: 40
|
|
5408
5408
|
},
|
|
5409
|
+
{
|
|
5410
|
+
id: "navigation",
|
|
5411
|
+
label: "Navigation",
|
|
5412
|
+
icon: "compass",
|
|
5413
|
+
order: 41
|
|
5414
|
+
},
|
|
5409
5415
|
{
|
|
5410
5416
|
id: "consumables",
|
|
5411
5417
|
label: "Consumables",
|
|
@@ -29624,6 +29630,203 @@ DeviceType.Camera, method(object({ deviceId: number() }), PtzAutotrackStatusSche
|
|
|
29624
29630
|
deviceId: number(),
|
|
29625
29631
|
status: PtzAutotrackStatusSchema
|
|
29626
29632
|
});
|
|
29633
|
+
/**
|
|
29634
|
+
* `navigation` — a device-scoped capability that natively expresses the FULL
|
|
29635
|
+
* navigation / action surface of a robot that DRIVES ITSELF and carries an
|
|
29636
|
+
* on-board camera (the Dreame robot-vacuum camera is the first provider).
|
|
29637
|
+
*
|
|
29638
|
+
* Why a NEW cap rather than overloading `ptz`:
|
|
29639
|
+
* - `ptz` moves a *gimbal* on a fixed camera (pan/tilt/zoom of the lens). A
|
|
29640
|
+
* robot vacuum has no gimbal — the whole chassis drives, turns and spins.
|
|
29641
|
+
* The two are different physical models: PTZ is absolute-position + presets,
|
|
29642
|
+
* navigation is momentary drive nudges + discrete robot ACTIONS
|
|
29643
|
+
* (dock / spot-clean / follow-pet / go-to-point / …).
|
|
29644
|
+
* - This cap is the SOURCE OF TRUTH. Two consumers adapt from it rather than
|
|
29645
|
+
* the reverse:
|
|
29646
|
+
* 1. a native CamStack navigation panel (data-driven from `listActions`
|
|
29647
|
+
* / `getOptions`), and
|
|
29648
|
+
* 2. the PTZ surface — a thin adapter mimics `ptz` from `navigation` so a
|
|
29649
|
+
* robot camera shows up in the existing PTZ control path without every
|
|
29650
|
+
* PTZ provider learning about robots. The mapping lives in the adapter,
|
|
29651
|
+
* not here (see the addon design note):
|
|
29652
|
+
* ptz.continuousMove({pan,tilt}) → navigation.move({pan,tilt})
|
|
29653
|
+
* ptz.stop() → navigation.stop()
|
|
29654
|
+
* ptz.goHome() → navigation.runAction('goHome')
|
|
29655
|
+
* ptz.getPresets() → navigation.listActions() (id→preset)
|
|
29656
|
+
* ptz.goToPreset(id) → navigation.runAction(id)
|
|
29657
|
+
*
|
|
29658
|
+
* ## Continuous drive
|
|
29659
|
+
*
|
|
29660
|
+
* `move` is MOMENTARY. Fluid navigation comes from the UI (or the PTZ adapter)
|
|
29661
|
+
* sending `move({pan,tilt})` REPEATEDLY at ~1 Hz while a direction is held, and
|
|
29662
|
+
* one `stop()` on release — exactly like the robot app's remote-drive joystick.
|
|
29663
|
+
* The provider forwards EACH `move` to one drive write; it must NOT debounce or
|
|
29664
|
+
* coalesce them. The UI owns the cadence.
|
|
29665
|
+
*
|
|
29666
|
+
* ## The action dictionary
|
|
29667
|
+
*
|
|
29668
|
+
* The discrete controls (dock / locate / spot-clean / follow / flash / sounds)
|
|
29669
|
+
* are a DATA-DRIVEN dictionary the cap exposes via `listActions()`. Each entry
|
|
29670
|
+
* carries `{ id, kind, label, icon }` (plus `soundId` for sound entries) so the
|
|
29671
|
+
* native panel AND the PTZ mimic render buttons WITHOUT hardcoding a
|
|
29672
|
+
* vendor-specific list. `kind: 'action'` entries are triggered with
|
|
29673
|
+
* `runAction({ actionId })`; `kind: 'sound'` entries with `playSound({ soundId })`
|
|
29674
|
+
* (the entry carries the `soundId` to pass). The general primitives — `move`,
|
|
29675
|
+
* `stop`, `goToPoint` — stay as first-class methods, not dictionary entries.
|
|
29676
|
+
*
|
|
29677
|
+
* NOTE (provider wiring): the first provider (Dreame) drives this with the RAW
|
|
29678
|
+
* `callAction(siid,aiid,in)` / `setProperty({siid,piid,value})` MIoT primitives
|
|
29679
|
+
* that the currently-published `@apocaliss92/nodedreame` already exposes on
|
|
29680
|
+
* every device handle. A future nodedreame publish adds a typed
|
|
29681
|
+
* `DreameCameraController` (drive / playPetSound / spotClean / findPet / …); the
|
|
29682
|
+
* provider can then swap the raw calls for the typed methods with no change to
|
|
29683
|
+
* THIS contract.
|
|
29684
|
+
*/
|
|
29685
|
+
/**
|
|
29686
|
+
* A momentary drive nudge. The robot MOVES (no gimbal) for as long as the caller
|
|
29687
|
+
* keeps sending nudges (~1 Hz); an explicit `stop` (or letting the nudges lapse)
|
|
29688
|
+
* halts it.
|
|
29689
|
+
*
|
|
29690
|
+
* - `pan` — turn: negative = left, positive = right, 0 = straight.
|
|
29691
|
+
* - `tilt` — throttle: positive = forward, negative = spin / turn-around.
|
|
29692
|
+
* - `speed` — optional intensity hint [0, 1]; the provider may scale the drive
|
|
29693
|
+
* vector by it (drivers without proportional drive ignore it).
|
|
29694
|
+
*
|
|
29695
|
+
* `pan` / `tilt` are normalized [-1, 1]. Both optional so a caller can nudge one
|
|
29696
|
+
* axis alone; an all-undefined nudge is a no-op.
|
|
29697
|
+
*/
|
|
29698
|
+
var NavigationMoveCommandSchema = object({
|
|
29699
|
+
pan: number().min(-1).max(1).optional(),
|
|
29700
|
+
tilt: number().min(-1).max(1).optional(),
|
|
29701
|
+
speed: number().min(0).max(1).optional()
|
|
29702
|
+
});
|
|
29703
|
+
/**
|
|
29704
|
+
* The enumerated discrete actions a navigation-capable robot can perform via
|
|
29705
|
+
* `runAction`. This is the CLOSED vocabulary; a given device advertises the
|
|
29706
|
+
* subset it supports through `listActions`. Sounds are NOT here — they go through
|
|
29707
|
+
* `playSound` (see the `sound` dictionary entries).
|
|
29708
|
+
*/
|
|
29709
|
+
var NavigationActionIdSchema = _enum([
|
|
29710
|
+
"goHome",
|
|
29711
|
+
"locate",
|
|
29712
|
+
"spotClean",
|
|
29713
|
+
"findPet",
|
|
29714
|
+
"personFollow",
|
|
29715
|
+
"stop",
|
|
29716
|
+
"startClean",
|
|
29717
|
+
"pauseClean",
|
|
29718
|
+
"dockWash",
|
|
29719
|
+
"autoEmpty",
|
|
29720
|
+
"flashOn",
|
|
29721
|
+
"flashOff"
|
|
29722
|
+
]);
|
|
29723
|
+
/** Whether a dictionary entry is a `runAction` action or a `playSound` sound. */
|
|
29724
|
+
var NavigationEntryKindSchema = _enum(["action", "sound"]);
|
|
29725
|
+
/**
|
|
29726
|
+
* One entry in the navigation action dictionary — the DATA-DRIVEN unit both the
|
|
29727
|
+
* native panel and the PTZ mimic render as a button.
|
|
29728
|
+
*
|
|
29729
|
+
* - `id` — stable id. For `kind:'action'` it is a {@link NavigationActionId}
|
|
29730
|
+
* (pass to `runAction`); for `kind:'sound'` it is a namespaced id
|
|
29731
|
+
* (`sound:meow`) whose `soundId` is passed to `playSound`.
|
|
29732
|
+
* - `icon` — icon HINT (lucide-style name; the UI maps it to its own set).
|
|
29733
|
+
* - `label` — operator-facing English label.
|
|
29734
|
+
* - `soundId` — wire sound id, present only on `kind:'sound'` entries.
|
|
29735
|
+
* - `enabled` — per-device FEATURE FLAG. `listActions` reports it so the UI /
|
|
29736
|
+
* PTZ render ONLY enabled entries. Data-driven: the provider
|
|
29737
|
+
* flips it from config, never by editing code.
|
|
29738
|
+
*/
|
|
29739
|
+
var NavigationActionEntrySchema = object({
|
|
29740
|
+
id: string(),
|
|
29741
|
+
kind: NavigationEntryKindSchema,
|
|
29742
|
+
label: string(),
|
|
29743
|
+
icon: string(),
|
|
29744
|
+
/** Present only on `kind:'sound'` entries — the id to pass to `playSound`. */
|
|
29745
|
+
soundId: number().int().optional(),
|
|
29746
|
+
/** Per-device feature flag — render this entry only when true. */
|
|
29747
|
+
enabled: boolean()
|
|
29748
|
+
});
|
|
29749
|
+
/** Coordinates for `goToPoint` — a point on the robot's live map. */
|
|
29750
|
+
var NavigationPointSchema = object({
|
|
29751
|
+
x: number(),
|
|
29752
|
+
y: number()
|
|
29753
|
+
});
|
|
29754
|
+
/**
|
|
29755
|
+
* Per-device FEATURE-FLAG report for the general (non-dictionary) primitives.
|
|
29756
|
+
* The cap reports which are enabled so the UI / PTZ render only the controls
|
|
29757
|
+
* that are turned on for THIS device. Data-driven: the provider derives these
|
|
29758
|
+
* from config + probe, never hardcoded in the UI. The per-DICTIONARY-entry flags
|
|
29759
|
+
* live on {@link NavigationActionEntrySchema.enabled}; these gate the primitives
|
|
29760
|
+
* that are not dictionary entries.
|
|
29761
|
+
*
|
|
29762
|
+
* - `move` / `stop` — the momentary drive joystick.
|
|
29763
|
+
* - `goToPoint` — send-to-map-coordinate. Ships OFF on Dreame until the
|
|
29764
|
+
* map-coordinate plumbing is wired.
|
|
29765
|
+
* - `runAction` — the discrete action buttons (dictionary `kind:'action'`).
|
|
29766
|
+
* - `playSound` — the sound buttons (dictionary `kind:'sound'`).
|
|
29767
|
+
* - `light` — the on/off fill-light toggle (works anytime).
|
|
29768
|
+
* - `lightMode` — the auto/manual selector + manual level slider (a
|
|
29769
|
+
* camera-service control; needs an active stream).
|
|
29770
|
+
*/
|
|
29771
|
+
var NavigationFeaturesSchema = object({
|
|
29772
|
+
move: boolean(),
|
|
29773
|
+
stop: boolean(),
|
|
29774
|
+
goToPoint: boolean(),
|
|
29775
|
+
runAction: boolean(),
|
|
29776
|
+
playSound: boolean(),
|
|
29777
|
+
light: boolean(),
|
|
29778
|
+
lightMode: boolean()
|
|
29779
|
+
});
|
|
29780
|
+
/** Light mode: `auto` lets the camera choose brightness; `manual` uses `level`. */
|
|
29781
|
+
var NavigationLightModeSchema = _enum(["auto", "manual"]);
|
|
29782
|
+
/**
|
|
29783
|
+
* Live navigation state so the UI can reflect what the robot is doing:
|
|
29784
|
+
* - `mode` — coarse activity (idle / cleaning / following / …).
|
|
29785
|
+
* - `following` — person/pet follow is currently armed.
|
|
29786
|
+
* - `flash` — the on-camera fill light is on.
|
|
29787
|
+
* - `lightMode` — auto vs manual fill-light mode.
|
|
29788
|
+
* - `lightLevel` — manual fill-light level (40..100); meaningful when
|
|
29789
|
+
* `lightMode === 'manual'`.
|
|
29790
|
+
*/
|
|
29791
|
+
var NavigationStatusSchema = object({
|
|
29792
|
+
mode: _enum([
|
|
29793
|
+
"idle",
|
|
29794
|
+
"cleaning",
|
|
29795
|
+
"spot",
|
|
29796
|
+
"following",
|
|
29797
|
+
"goto",
|
|
29798
|
+
"returning",
|
|
29799
|
+
"paused",
|
|
29800
|
+
"unknown"
|
|
29801
|
+
]),
|
|
29802
|
+
following: boolean(),
|
|
29803
|
+
flash: boolean(),
|
|
29804
|
+
lightMode: NavigationLightModeSchema,
|
|
29805
|
+
lightLevel: number().min(40).max(100),
|
|
29806
|
+
/** Ms epoch when the slice was last updated. */
|
|
29807
|
+
lastChangedAt: number()
|
|
29808
|
+
});
|
|
29809
|
+
NavigationStatusSchema.extend({ lastFetchedAt: number() });
|
|
29810
|
+
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({
|
|
29811
|
+
deviceId: number(),
|
|
29812
|
+
actionId: NavigationActionIdSchema
|
|
29813
|
+
}), _void(), { kind: "mutation" }), method(object({
|
|
29814
|
+
deviceId: number(),
|
|
29815
|
+
soundId: number().int()
|
|
29816
|
+
}), _void(), { kind: "mutation" }), method(object({
|
|
29817
|
+
deviceId: number(),
|
|
29818
|
+
on: boolean()
|
|
29819
|
+
}), _void(), { kind: "mutation" }), method(object({
|
|
29820
|
+
deviceId: number(),
|
|
29821
|
+
mode: NavigationLightModeSchema,
|
|
29822
|
+
level: number().min(40).max(100).optional()
|
|
29823
|
+
}), _void(), { kind: "mutation" }), method(object({
|
|
29824
|
+
deviceId: number(),
|
|
29825
|
+
level: number().min(40).max(100)
|
|
29826
|
+
}), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), NavigationFeaturesSchema), object({
|
|
29827
|
+
deviceId: number(),
|
|
29828
|
+
status: NavigationStatusSchema
|
|
29829
|
+
});
|
|
29627
29830
|
DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceId: number().int().nonnegative() }), object({ success: literal(true) }), {
|
|
29628
29831
|
kind: "mutation",
|
|
29629
29832
|
auth: "admin"
|
|
@@ -35072,6 +35275,66 @@ Object.freeze({
|
|
|
35072
35275
|
addonId: null,
|
|
35073
35276
|
access: "create"
|
|
35074
35277
|
},
|
|
35278
|
+
"navigation.getFeatures": {
|
|
35279
|
+
capName: "navigation",
|
|
35280
|
+
capScope: "device",
|
|
35281
|
+
addonId: null,
|
|
35282
|
+
access: "view"
|
|
35283
|
+
},
|
|
35284
|
+
"navigation.goToPoint": {
|
|
35285
|
+
capName: "navigation",
|
|
35286
|
+
capScope: "device",
|
|
35287
|
+
addonId: null,
|
|
35288
|
+
access: "create"
|
|
35289
|
+
},
|
|
35290
|
+
"navigation.listActions": {
|
|
35291
|
+
capName: "navigation",
|
|
35292
|
+
capScope: "device",
|
|
35293
|
+
addonId: null,
|
|
35294
|
+
access: "view"
|
|
35295
|
+
},
|
|
35296
|
+
"navigation.move": {
|
|
35297
|
+
capName: "navigation",
|
|
35298
|
+
capScope: "device",
|
|
35299
|
+
addonId: null,
|
|
35300
|
+
access: "create"
|
|
35301
|
+
},
|
|
35302
|
+
"navigation.playSound": {
|
|
35303
|
+
capName: "navigation",
|
|
35304
|
+
capScope: "device",
|
|
35305
|
+
addonId: null,
|
|
35306
|
+
access: "create"
|
|
35307
|
+
},
|
|
35308
|
+
"navigation.runAction": {
|
|
35309
|
+
capName: "navigation",
|
|
35310
|
+
capScope: "device",
|
|
35311
|
+
addonId: null,
|
|
35312
|
+
access: "create"
|
|
35313
|
+
},
|
|
35314
|
+
"navigation.setLightLevel": {
|
|
35315
|
+
capName: "navigation",
|
|
35316
|
+
capScope: "device",
|
|
35317
|
+
addonId: null,
|
|
35318
|
+
access: "create"
|
|
35319
|
+
},
|
|
35320
|
+
"navigation.setLightMode": {
|
|
35321
|
+
capName: "navigation",
|
|
35322
|
+
capScope: "device",
|
|
35323
|
+
addonId: null,
|
|
35324
|
+
access: "create"
|
|
35325
|
+
},
|
|
35326
|
+
"navigation.setLightOn": {
|
|
35327
|
+
capName: "navigation",
|
|
35328
|
+
capScope: "device",
|
|
35329
|
+
addonId: null,
|
|
35330
|
+
access: "create"
|
|
35331
|
+
},
|
|
35332
|
+
"navigation.stop": {
|
|
35333
|
+
capName: "navigation",
|
|
35334
|
+
capScope: "device",
|
|
35335
|
+
addonId: null,
|
|
35336
|
+
access: "create"
|
|
35337
|
+
},
|
|
35075
35338
|
"networkAccess.getEndpoint": {
|
|
35076
35339
|
capName: "network-access",
|
|
35077
35340
|
capScope: "system",
|
|
@@ -39167,6 +39430,56 @@ Object.freeze({
|
|
|
39167
39430
|
form: "single",
|
|
39168
39431
|
optional: false
|
|
39169
39432
|
}],
|
|
39433
|
+
"navigation.getFeatures": [{
|
|
39434
|
+
name: "deviceId",
|
|
39435
|
+
form: "single",
|
|
39436
|
+
optional: false
|
|
39437
|
+
}],
|
|
39438
|
+
"navigation.goToPoint": [{
|
|
39439
|
+
name: "deviceId",
|
|
39440
|
+
form: "single",
|
|
39441
|
+
optional: false
|
|
39442
|
+
}],
|
|
39443
|
+
"navigation.listActions": [{
|
|
39444
|
+
name: "deviceId",
|
|
39445
|
+
form: "single",
|
|
39446
|
+
optional: false
|
|
39447
|
+
}],
|
|
39448
|
+
"navigation.move": [{
|
|
39449
|
+
name: "deviceId",
|
|
39450
|
+
form: "single",
|
|
39451
|
+
optional: false
|
|
39452
|
+
}],
|
|
39453
|
+
"navigation.playSound": [{
|
|
39454
|
+
name: "deviceId",
|
|
39455
|
+
form: "single",
|
|
39456
|
+
optional: false
|
|
39457
|
+
}],
|
|
39458
|
+
"navigation.runAction": [{
|
|
39459
|
+
name: "deviceId",
|
|
39460
|
+
form: "single",
|
|
39461
|
+
optional: false
|
|
39462
|
+
}],
|
|
39463
|
+
"navigation.setLightLevel": [{
|
|
39464
|
+
name: "deviceId",
|
|
39465
|
+
form: "single",
|
|
39466
|
+
optional: false
|
|
39467
|
+
}],
|
|
39468
|
+
"navigation.setLightMode": [{
|
|
39469
|
+
name: "deviceId",
|
|
39470
|
+
form: "single",
|
|
39471
|
+
optional: false
|
|
39472
|
+
}],
|
|
39473
|
+
"navigation.setLightOn": [{
|
|
39474
|
+
name: "deviceId",
|
|
39475
|
+
form: "single",
|
|
39476
|
+
optional: false
|
|
39477
|
+
}],
|
|
39478
|
+
"navigation.stop": [{
|
|
39479
|
+
name: "deviceId",
|
|
39480
|
+
form: "single",
|
|
39481
|
+
optional: false
|
|
39482
|
+
}],
|
|
39170
39483
|
"networkQuality.getDeviceStats": [{
|
|
39171
39484
|
name: "deviceId",
|
|
39172
39485
|
form: "single",
|