@camstack/addon-osd-manager 0.1.9 → 0.1.10
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/MotionZonesSettings-Cq0OFaxs.mjs +310 -0
- package/dist/PrivacyMaskSettings-C0jj3SDp.mjs +370 -0
- package/dist/SceneMonitorEditor-B25bY2v0.mjs +828 -0
- package/dist/_stub.js +12899 -12924
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-BLRTZ4RM.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-V-A5HLAS.mjs} +4 -4
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-rUObp2Qg.mjs +26 -0
- package/dist/addon-osd-manager.css +1 -1
- package/dist/{hostInit-N1Y97Zzt.mjs → hostInit-CAIA1dxe.mjs} +3 -3
- package/dist/index.js +2808 -97
- package/dist/index.mjs +2808 -97
- package/dist/player-overlays-Dfe_rxmA.mjs +44 -0
- package/dist/remoteEntry.js +1 -1
- package/dist/responsive-CWwNAY3j.mjs +122 -0
- package/dist/{trash-2-6DuTY6Z3.mjs → square-ax5XLFv8.mjs} +3 -24
- package/dist/trash-2-CWfC2FLD.mjs +25 -0
- package/dist/use-device-snapshot-Z9dNOZFk.mjs +149 -0
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-Bzaw9YeG.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-Dd86r_QM.mjs} +1 -1
- package/package.json +1 -1
- package/dist/MotionZonesSettings-CvRjAHsj.mjs +0 -309
- package/dist/PrivacyMaskSettings-LV8_5mQk.mjs +0 -368
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BHektQkr.mjs +0 -26
- package/dist/player-overlays-Cb0QIiJ0.mjs +0 -163
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../types/dist/event-category-
|
|
1
|
+
//#region ../types/dist/event-category-Bxo5yJjt.mjs
|
|
2
2
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
3
3
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4
4
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -205,6 +205,33 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
205
205
|
EventCategory["PipelineCameraAssigned"] = "pipeline.camera-assigned";
|
|
206
206
|
EventCategory["PipelineCameraUnassigned"] = "pipeline.camera-unassigned";
|
|
207
207
|
/**
|
|
208
|
+
* A node the orchestrator would otherwise place cameras on has NO usable
|
|
209
|
+
* inference device: the operator enabled one or more accelerators there and
|
|
210
|
+
* the live probe reports every one of them unavailable. Emitted once per
|
|
211
|
+
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
212
|
+
* from the placement candidate set for as long as it holds.
|
|
213
|
+
*
|
|
214
|
+
* This exists because the state was previously invisible: little-unraid
|
|
215
|
+
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
216
|
+
* and nothing in the system said so.
|
|
217
|
+
*
|
|
218
|
+
* A node with no accelerators configured at all is NOT this — its devices
|
|
219
|
+
* are `disabled`, not `unavailable`, and the runner's default CPU pool
|
|
220
|
+
* serves it exactly as before.
|
|
221
|
+
*/
|
|
222
|
+
EventCategory["PipelineNodeInferenceUnavailable"] = "pipeline.node-inference-unavailable";
|
|
223
|
+
/**
|
|
224
|
+
* A camera has an OPEN detection session and has produced no detection at
|
|
225
|
+
* all for longer than the blind threshold — the camera is being decoded and
|
|
226
|
+
* inferred and is returning nothing. Emitted once per transition into blind,
|
|
227
|
+
* per camera.
|
|
228
|
+
*
|
|
229
|
+
* The failure it reports: a 1h43 detection blackout on the entrance camera
|
|
230
|
+
* that nobody noticed, because "a camera that detects nothing" and "a quiet
|
|
231
|
+
* camera" produce byte-identical silence.
|
|
232
|
+
*/
|
|
233
|
+
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
234
|
+
/**
|
|
208
235
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
209
236
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
210
237
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -2996,6 +3023,9 @@ function handlePipeResult(left, next, ctx) {
|
|
|
2996
3023
|
fallback: left.fallback
|
|
2997
3024
|
}, ctx);
|
|
2998
3025
|
}
|
|
3026
|
+
var $ZodPreprocess = /*@__PURE__*/ $constructor("$ZodPreprocess", (inst, def) => {
|
|
3027
|
+
$ZodPipe.init(inst, def);
|
|
3028
|
+
});
|
|
2999
3029
|
var $ZodReadonly = /*@__PURE__*/ $constructor("$ZodReadonly", (inst, def) => {
|
|
3000
3030
|
$ZodType.init(inst, def);
|
|
3001
3031
|
defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
|
|
@@ -5181,6 +5211,10 @@ function pipe(in_, out) {
|
|
|
5181
5211
|
out
|
|
5182
5212
|
});
|
|
5183
5213
|
}
|
|
5214
|
+
var ZodPreprocess = /*@__PURE__*/ $constructor("ZodPreprocess", (inst, def) => {
|
|
5215
|
+
ZodPipe.init(inst, def);
|
|
5216
|
+
$ZodPreprocess.init(inst, def);
|
|
5217
|
+
});
|
|
5184
5218
|
var ZodReadonly = /*@__PURE__*/ $constructor("ZodReadonly", (inst, def) => {
|
|
5185
5219
|
$ZodReadonly.init(inst, def);
|
|
5186
5220
|
ZodType.init(inst, def);
|
|
@@ -5239,6 +5273,13 @@ function _instanceof(cls, params = {}) {
|
|
|
5239
5273
|
};
|
|
5240
5274
|
return inst;
|
|
5241
5275
|
}
|
|
5276
|
+
function preprocess(fn, schema) {
|
|
5277
|
+
return new ZodPreprocess({
|
|
5278
|
+
type: "pipe",
|
|
5279
|
+
in: transform(fn),
|
|
5280
|
+
out: schema
|
|
5281
|
+
});
|
|
5282
|
+
}
|
|
5242
5283
|
//#endregion
|
|
5243
5284
|
//#region ../../node_modules/zod/v4/classic/compat.js
|
|
5244
5285
|
/** @deprecated Use the raw string literal codes instead, e.g. "invalid_type". */
|
|
@@ -11560,6 +11601,8 @@ var QueryFilterSchema = object({
|
|
|
11560
11601
|
where: record(string(), unknown()).optional(),
|
|
11561
11602
|
whereIn: record(string(), array(unknown())).optional(),
|
|
11562
11603
|
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
11604
|
+
/** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
|
|
11605
|
+
whereNot: record(string(), unknown()).optional(),
|
|
11563
11606
|
orderBy: object({
|
|
11564
11607
|
field: string(),
|
|
11565
11608
|
direction: _enum(["asc", "desc"])
|
|
@@ -11579,7 +11622,8 @@ var QueryFilterSchema = object({
|
|
|
11579
11622
|
var MutationFilterSchema = object({
|
|
11580
11623
|
where: record(string(), unknown()).optional(),
|
|
11581
11624
|
whereIn: record(string(), array(unknown())).optional(),
|
|
11582
|
-
whereBetween: record(string(), tuple([unknown(), unknown()])).optional()
|
|
11625
|
+
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
11626
|
+
whereNot: record(string(), unknown()).optional()
|
|
11583
11627
|
});
|
|
11584
11628
|
/** A single stored record: `{ id, data }`. */
|
|
11585
11629
|
var SettingsRecordSchema = object({
|
|
@@ -13745,6 +13789,17 @@ var LlmImageSchema = object({
|
|
|
13745
13789
|
bytes: _instanceof(Uint8Array),
|
|
13746
13790
|
mimeType: string()
|
|
13747
13791
|
});
|
|
13792
|
+
/**
|
|
13793
|
+
* Retry policy. `enabled: false` is NOT the same as `maxAttempts: 1` in intent —
|
|
13794
|
+
* the flag is what a consumer table flips, the count is what the operator tunes.
|
|
13795
|
+
* A retry doubles the wall time of a call, so the two gates that run inside a
|
|
13796
|
+
* notification's budget keep it off (see `CONSUMER_RETRY_POLICY` in addon-ai).
|
|
13797
|
+
*/
|
|
13798
|
+
var LlmRetryPolicySchema = object({
|
|
13799
|
+
enabled: boolean().default(false),
|
|
13800
|
+
/** Total attempts INCLUDING the first. 1 = no retry. */
|
|
13801
|
+
maxAttempts: number().int().min(1).max(5).default(1)
|
|
13802
|
+
});
|
|
13748
13803
|
var LlmGenerateBaseInputSchema = object({
|
|
13749
13804
|
/** Collection routing (the notification-output posture). */
|
|
13750
13805
|
addonId: string().optional(),
|
|
@@ -13759,7 +13814,28 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
13759
13814
|
jsonSchema: record(string(), unknown()).optional(),
|
|
13760
13815
|
/** Per-call override of the profile default. */
|
|
13761
13816
|
maxTokens: number().int().positive().optional(),
|
|
13762
|
-
temperature: number().optional()
|
|
13817
|
+
temperature: number().optional(),
|
|
13818
|
+
/** Per-call override of the profile default (nucleus sampling). */
|
|
13819
|
+
topP: number().min(0).max(1).optional(),
|
|
13820
|
+
/** Per-call override of the profile default (top-k sampling). */
|
|
13821
|
+
topK: number().int().positive().optional(),
|
|
13822
|
+
/** Per-call override of `profile.timeoutMs` — the total generation bound. */
|
|
13823
|
+
timeoutMs: number().int().positive().optional(),
|
|
13824
|
+
/** Per-call override; beats both the consumer table and the profile. */
|
|
13825
|
+
retry: LlmRetryPolicySchema.optional(),
|
|
13826
|
+
/**
|
|
13827
|
+
* Caller-minted id that makes this generation CANCELLABLE.
|
|
13828
|
+
*
|
|
13829
|
+
* Without it a caller that stops waiting cannot stop the work: the gates race
|
|
13830
|
+
* the call against 8 s and free their own slot when the timer wins, while the
|
|
13831
|
+
* generation upstream keeps running to `profile.timeoutMs` — 60 s by default,
|
|
13832
|
+
* on a single-threaded local model. The per-camera bound then counts WAITS,
|
|
13833
|
+
* not generations, and the real load is unbounded.
|
|
13834
|
+
*
|
|
13835
|
+
* `AbortSignal` cannot cross a process boundary; an id can. Pass one here and
|
|
13836
|
+
* `llm.cancel({ requestId })` tears the socket down.
|
|
13837
|
+
*/
|
|
13838
|
+
requestId: string().optional()
|
|
13763
13839
|
});
|
|
13764
13840
|
/**
|
|
13765
13841
|
* `llm-runtime` — node-side managed llama.cpp executor (spec §4). Registered
|
|
@@ -13772,6 +13848,18 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
13772
13848
|
* Resource ceiling = llama-server flags + idleStopMinutes ONLY (no RSS
|
|
13773
13849
|
* watchdog — operator decision #3).
|
|
13774
13850
|
*/
|
|
13851
|
+
/**
|
|
13852
|
+
* A companion artifact that MUST land beside the main GGUF: the `mmproj`
|
|
13853
|
+
* projector of a vision model, or shards 2..N of a split GGUF. Carried on the
|
|
13854
|
+
* REF rather than looked up at install time, so what the operator approved in
|
|
13855
|
+
* the preview is exactly what the node downloads.
|
|
13856
|
+
*/
|
|
13857
|
+
var ManagedModelExtraFileSchema = object({
|
|
13858
|
+
url: string(),
|
|
13859
|
+
filename: string(),
|
|
13860
|
+
sizeBytes: number(),
|
|
13861
|
+
sha256: string().optional()
|
|
13862
|
+
});
|
|
13775
13863
|
var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
13776
13864
|
object({
|
|
13777
13865
|
kind: literal("catalog"),
|
|
@@ -13780,7 +13868,11 @@ var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
|
13780
13868
|
object({
|
|
13781
13869
|
kind: literal("url"),
|
|
13782
13870
|
url: string(),
|
|
13783
|
-
sha256: string().optional()
|
|
13871
|
+
sha256: string().optional(),
|
|
13872
|
+
/** Picker/status label; the file basename when absent. */
|
|
13873
|
+
label: string().optional(),
|
|
13874
|
+
sizeBytes: number().optional(),
|
|
13875
|
+
extraFiles: array(ManagedModelExtraFileSchema).optional()
|
|
13784
13876
|
}),
|
|
13785
13877
|
object({
|
|
13786
13878
|
kind: literal("path"),
|
|
@@ -13798,13 +13890,82 @@ var ManagedRuntimeConfigSchema = object({
|
|
|
13798
13890
|
gpuLayers: number().int().default(0),
|
|
13799
13891
|
/** Default: cpus-2, clamped ≥1 (resolved node-side). */
|
|
13800
13892
|
threads: number().int().optional(),
|
|
13801
|
-
/** Concurrent slots. */
|
|
13893
|
+
/** Concurrent slots (`--parallel`). */
|
|
13802
13894
|
parallel: number().int().default(1),
|
|
13895
|
+
/** Logical batch size (`-b`). Larger = faster prompt ingest, more RAM. */
|
|
13896
|
+
batchSize: number().int().positive().optional(),
|
|
13897
|
+
/** Physical batch / micro-batch (`-ub`). */
|
|
13898
|
+
ubatchSize: number().int().positive().optional(),
|
|
13899
|
+
/**
|
|
13900
|
+
* `--flash-attn`. Cuts KV-cache memory on the backends that implement it and
|
|
13901
|
+
* is a no-op elsewhere, so it is offered rather than assumed.
|
|
13902
|
+
*/
|
|
13903
|
+
flashAttention: boolean().default(false),
|
|
13904
|
+
/**
|
|
13905
|
+
* `--mlock`. Pins the weights in RAM so the OS cannot page them out mid
|
|
13906
|
+
* inference. Costs the full model size in resident memory — which is exactly
|
|
13907
|
+
* what the RAM budget is counting.
|
|
13908
|
+
*/
|
|
13909
|
+
mlock: boolean().default(false),
|
|
13910
|
+
/**
|
|
13911
|
+
* `--no-mmap`. Reads the whole GGUF up front instead of mapping it. Slower to
|
|
13912
|
+
* start, but avoids the page-fault stalls a network or spinning-disk model
|
|
13913
|
+
* store produces on every first token.
|
|
13914
|
+
*/
|
|
13915
|
+
noMmap: boolean().default(false),
|
|
13916
|
+
/** `--cache-type-k` / `--cache-type-v` — quantising the KV cache is the
|
|
13917
|
+
* cheapest way to fit a longer context in the same RAM. */
|
|
13918
|
+
cacheTypeK: _enum([
|
|
13919
|
+
"f32",
|
|
13920
|
+
"f16",
|
|
13921
|
+
"q8_0",
|
|
13922
|
+
"q5_1",
|
|
13923
|
+
"q5_0",
|
|
13924
|
+
"q4_1",
|
|
13925
|
+
"q4_0"
|
|
13926
|
+
]).optional(),
|
|
13927
|
+
cacheTypeV: _enum([
|
|
13928
|
+
"f32",
|
|
13929
|
+
"f16",
|
|
13930
|
+
"q8_0",
|
|
13931
|
+
"q5_1",
|
|
13932
|
+
"q5_0",
|
|
13933
|
+
"q4_1",
|
|
13934
|
+
"q4_0"
|
|
13935
|
+
]).optional(),
|
|
13936
|
+
/**
|
|
13937
|
+
* Escape hatch for llama-server flags this schema does NOT model — `--jinja`
|
|
13938
|
+
* (which most vision chat templates need and some language-only models
|
|
13939
|
+
* dislike), `--cont-batching`, `--rope-scaling`, …
|
|
13940
|
+
*
|
|
13941
|
+
* It is NOT a second place to set the flags above. A token that collides
|
|
13942
|
+
* with a typed field is REJECTED at start, naming the field that owns it
|
|
13943
|
+
* (`assertNoOwnedFlags`), because two knobs writing the same argv is exactly
|
|
13944
|
+
* the "two switches that disagree" failure this repo has already shipped
|
|
13945
|
+
* twice (D62).
|
|
13946
|
+
*/
|
|
13947
|
+
extraArgs: array(string()).default([]),
|
|
13803
13948
|
/** Else lazy: first generate boots it. */
|
|
13804
13949
|
autoStart: boolean().default(false),
|
|
13805
13950
|
/** 0 = never; frees RAM after quiet periods. */
|
|
13806
13951
|
idleStopMinutes: number().int().default(30)
|
|
13807
13952
|
});
|
|
13953
|
+
/**
|
|
13954
|
+
* Where a multi-GB install currently is. A single 0..1 fraction cannot answer
|
|
13955
|
+
* "is it stuck?" for an install that is three files (shards + mmproj) followed
|
|
13956
|
+
* by a sha256 pass over 22 GB — during which the fraction sat at 1.0 and the
|
|
13957
|
+
* node looked hung. Phase + file + bytes is the smallest shape that does.
|
|
13958
|
+
*/
|
|
13959
|
+
var LlmDownloadProgressSchema = object({
|
|
13960
|
+
phase: _enum(["downloading", "verifying"]),
|
|
13961
|
+
/** The artifact currently moving, e.g. `mmproj-F16.gguf`. */
|
|
13962
|
+
file: string(),
|
|
13963
|
+
fileIndex: number().int(),
|
|
13964
|
+
fileCount: number().int(),
|
|
13965
|
+
/** Across the WHOLE install, not the current file. */
|
|
13966
|
+
downloadedBytes: number(),
|
|
13967
|
+
totalBytes: number().optional()
|
|
13968
|
+
});
|
|
13808
13969
|
var LlmRuntimeStatusSchema = object({
|
|
13809
13970
|
/** Status is ALWAYS node-qualified. */
|
|
13810
13971
|
nodeId: string(),
|
|
@@ -13821,6 +13982,8 @@ var LlmRuntimeStatusSchema = object({
|
|
|
13821
13982
|
modelPath: string().optional(),
|
|
13822
13983
|
modelId: string().optional(),
|
|
13823
13984
|
downloadProgress: number().min(0).max(1).optional(),
|
|
13985
|
+
/** Detail behind `downloadProgress`; present for the same lifetime. */
|
|
13986
|
+
download: LlmDownloadProgressSchema.optional(),
|
|
13824
13987
|
lastError: string().optional(),
|
|
13825
13988
|
crashesInWindow: number(),
|
|
13826
13989
|
/** Child RSS (sampled best-effort). */
|
|
@@ -13831,7 +13994,14 @@ var LlmNodeModelSchema = object({
|
|
|
13831
13994
|
file: string(),
|
|
13832
13995
|
sizeBytes: number(),
|
|
13833
13996
|
catalogId: string().optional(),
|
|
13834
|
-
installedAt: number().optional()
|
|
13997
|
+
installedAt: number().optional(),
|
|
13998
|
+
/**
|
|
13999
|
+
* Absolute path on the node. Present so a file that is on disk but matches
|
|
14000
|
+
* no catalog entry — a custom Hugging Face install, or a GGUF the operator
|
|
14001
|
+
* copied in by hand — is still SELECTABLE, as a `{kind:'path'}` ref. Without
|
|
14002
|
+
* it the picker could list such a file and do nothing with it.
|
|
14003
|
+
*/
|
|
14004
|
+
path: string().optional()
|
|
13835
14005
|
});
|
|
13836
14006
|
var LlmRuntimeDiskUsageSchema = object({
|
|
13837
14007
|
nodeId: string(),
|
|
@@ -13902,10 +14072,47 @@ var LlmProfileSchema = object({
|
|
|
13902
14072
|
baseUrl: string().optional(),
|
|
13903
14073
|
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
13904
14074
|
apiKey: string().optional(),
|
|
14075
|
+
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
14076
|
+
* degraded to text — that shipped once and produced a confident answer to a
|
|
14077
|
+
* question about a picture nobody sent. */
|
|
13905
14078
|
supportsVision: boolean(),
|
|
13906
14079
|
temperature: number().min(0).max(2).optional(),
|
|
14080
|
+
/** Nucleus sampling. Every wire we speak has it. */
|
|
14081
|
+
topP: number().min(0).max(1).optional(),
|
|
14082
|
+
/** Top-k sampling. Carried only by the wires that have it — NEITHER OpenAI
|
|
14083
|
+
* wire does, and the client drops it there (measured: the request body gets
|
|
14084
|
+
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
14085
|
+
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
14086
|
+
topK: number().int().positive().optional(),
|
|
13907
14087
|
maxTokens: number().int().positive().optional(),
|
|
14088
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own);
|
|
14089
|
+
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
14090
|
+
* the model with, so it is the one field that changes a PROCESS. */
|
|
14091
|
+
contextLength: number().int().positive().optional(),
|
|
14092
|
+
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
14093
|
+
* two system prompts fighting is worse than either alone). */
|
|
14094
|
+
systemPrompt: string().optional(),
|
|
14095
|
+
/** Total generation bound — the only one a unary call has. */
|
|
13908
14096
|
timeoutMs: number().int().positive().default(6e4),
|
|
14097
|
+
/** The TCP handshake only — "is the port even open". NOT the wait for
|
|
14098
|
+
* response headers: on the LM Studio / llama-server wire those are written
|
|
14099
|
+
* once the model has finished loading, so they belong to the bound below. */
|
|
14100
|
+
connectTimeoutMs: number().int().positive().default(1e4),
|
|
14101
|
+
/** Accepted, but no output yet — response headers included, because a cold
|
|
14102
|
+
* GPU load is exactly what happens before them. */
|
|
14103
|
+
firstTokenTimeoutMs: number().int().positive().default(12e4),
|
|
14104
|
+
/** Output started then stopped. */
|
|
14105
|
+
idleTimeoutMs: number().int().positive().default(6e4),
|
|
14106
|
+
/** Profile-level default. The per-consumer table and a per-call override
|
|
14107
|
+
* both beat it — see `resolveRetryPolicy`. */
|
|
14108
|
+
retry: LlmRetryPolicySchema.default({
|
|
14109
|
+
enabled: false,
|
|
14110
|
+
maxAttempts: 1
|
|
14111
|
+
}),
|
|
14112
|
+
/** Whether this profile may use tools. The tool-call plumbing rides the
|
|
14113
|
+
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
14114
|
+
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
14115
|
+
toolsEnabled: boolean().default(false),
|
|
13909
14116
|
extraHeaders: record(string(), string()).optional(),
|
|
13910
14117
|
/** kind === 'managed-local' only (spec §4). */
|
|
13911
14118
|
runtime: ManagedRuntimeConfigSchema.optional()
|
|
@@ -13955,6 +14162,36 @@ var ManagedModelCatalogEntrySchema = object({
|
|
|
13955
14162
|
/** Vision models: companion projector file. */
|
|
13956
14163
|
mmprojUrl: string().optional()
|
|
13957
14164
|
});
|
|
14165
|
+
/**
|
|
14166
|
+
* The outcome of turning one operator-typed Hugging Face reference into a
|
|
14167
|
+
* download plan. A RESULT, never a throw: "this repo has 24 quantizations and
|
|
14168
|
+
* I will not pick for you" is a normal answer the UI has to render, not an
|
|
14169
|
+
* exception.
|
|
14170
|
+
*
|
|
14171
|
+
* `candidates` is the whole reason the refusal is usable — every string in it
|
|
14172
|
+
* is a tag that resolves when pasted back as `<org>/<repo>:<TAG>`.
|
|
14173
|
+
*/
|
|
14174
|
+
var HfModelResolutionSchema = discriminatedUnion("ok", [object({
|
|
14175
|
+
ok: literal(true),
|
|
14176
|
+
/** Ready to hand to `installModel` unchanged. */
|
|
14177
|
+
model: ManagedModelRefSchema,
|
|
14178
|
+
label: string(),
|
|
14179
|
+
repo: string(),
|
|
14180
|
+
quantization: string(),
|
|
14181
|
+
purpose: _enum(["text", "vision"]),
|
|
14182
|
+
totalBytes: number(),
|
|
14183
|
+
/** mmproj + shards, for the preview: an operator approving 23 GB should
|
|
14184
|
+
* see that 0.9 GB of it is a projector they did not name. */
|
|
14185
|
+
extraFilenames: array(string())
|
|
14186
|
+
}), object({
|
|
14187
|
+
ok: literal(false),
|
|
14188
|
+
code: string(),
|
|
14189
|
+
message: string(),
|
|
14190
|
+
candidates: array(string()).optional(),
|
|
14191
|
+
/** Set when the refusal was only the ceiling: re-calling with
|
|
14192
|
+
* `maxBytes: requiredBytes` is the operator's explicit override. */
|
|
14193
|
+
requiredBytes: number().optional()
|
|
14194
|
+
})]);
|
|
13958
14195
|
var LlmRuntimeNodeSchema = object({
|
|
13959
14196
|
nodeId: string(),
|
|
13960
14197
|
reachable: boolean(),
|
|
@@ -13978,6 +14215,17 @@ var llmCapability = {
|
|
|
13978
14215
|
methods: {
|
|
13979
14216
|
generate: method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }),
|
|
13980
14217
|
generateVision: method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }),
|
|
14218
|
+
/**
|
|
14219
|
+
* Stop a generation started with a `requestId`.
|
|
14220
|
+
*
|
|
14221
|
+
* Idempotent and always successful: cancelling an id that already finished,
|
|
14222
|
+
* never existed, or was cancelled a moment ago is a no-op. A caller that has
|
|
14223
|
+
* given up must never have to handle an error from giving up.
|
|
14224
|
+
*/
|
|
14225
|
+
cancel: method(object({
|
|
14226
|
+
addonId: string().optional(),
|
|
14227
|
+
requestId: string()
|
|
14228
|
+
}), _void(), { kind: "mutation" }),
|
|
13981
14229
|
listProfileKinds: method(object({}), array(LlmProfileKindDescriptorSchema)),
|
|
13982
14230
|
listProfiles: method(object({}), array(LlmProfileSchema)),
|
|
13983
14231
|
upsertProfile: method(object({ profile: LlmProfileSchema }), LlmProfileSchema, {
|
|
@@ -14011,6 +14259,25 @@ var llmCapability = {
|
|
|
14011
14259
|
listModelCatalog: method(object({}), array(ManagedModelCatalogEntrySchema)),
|
|
14012
14260
|
listRuntimeNodes: method(object({}), array(LlmRuntimeNodeSchema)),
|
|
14013
14261
|
listNodeModels: method(object({ nodeId: string() }), array(LlmNodeModelSchema)),
|
|
14262
|
+
/**
|
|
14263
|
+
* One typed Hugging Face reference → a pinned, verified `ManagedModelRef`.
|
|
14264
|
+
*
|
|
14265
|
+
* Runs on the HUB, not on the target node: resolution needs egress to
|
|
14266
|
+
* huggingface.co, and an agent that cannot reach it still installs fine
|
|
14267
|
+
* through the model-distributor relay. Nothing is downloaded here — this is
|
|
14268
|
+
* a tree read plus a HEAD, so the operator sees the size, the quantization
|
|
14269
|
+
* and the mmproj BEFORE approving a multi-GB pull.
|
|
14270
|
+
*/
|
|
14271
|
+
resolveModelRef: method(object({
|
|
14272
|
+
/** `https://huggingface.co/<org>/<repo>/resolve/main/<f>.gguf`,
|
|
14273
|
+
* `<org>/<repo>/<f>.gguf`, `<org>/<repo>` or `<org>/<repo>:<QUANT>`. */
|
|
14274
|
+
ref: string(),
|
|
14275
|
+
/** Explicit ceiling override, in bytes. Absent = the built-in ceiling. */
|
|
14276
|
+
maxBytes: number().positive().optional()
|
|
14277
|
+
}), HfModelResolutionSchema, {
|
|
14278
|
+
kind: "mutation",
|
|
14279
|
+
auth: "admin"
|
|
14280
|
+
}),
|
|
14014
14281
|
installModel: method(object({
|
|
14015
14282
|
nodeId: string(),
|
|
14016
14283
|
model: ManagedModelRefSchema
|
|
@@ -15820,6 +16087,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
15820
16087
|
"stream-offline",
|
|
15821
16088
|
"node-online",
|
|
15822
16089
|
"node-offline",
|
|
16090
|
+
"node-inference-unavailable",
|
|
16091
|
+
"detection-blind",
|
|
15823
16092
|
"addon-update-available",
|
|
15824
16093
|
"server-update-available",
|
|
15825
16094
|
"alarm-triggered",
|
|
@@ -15881,7 +16150,16 @@ var NcScheduleSchema = object({
|
|
|
15881
16150
|
});
|
|
15882
16151
|
/** Fuzzy plate matcher — OCR noise makes exact match useless (spec row 12/13). */
|
|
15883
16152
|
var NcPlateMatcherSchema = object({
|
|
15884
|
-
|
|
16153
|
+
/**
|
|
16154
|
+
* Plate texts (or gallery vehicle names) to match. EMPTY = **any plate the
|
|
16155
|
+
* pipeline could read** — the plate half of "no selection = no narrowing",
|
|
16156
|
+
* and the switch that says this rule is about vehicles that were IDENTIFIED
|
|
16157
|
+
* rather than merely seen. A subject carrying no plate still fails.
|
|
16158
|
+
*
|
|
16159
|
+
* The `.min(1)` this used to carry made that state unauthorable; nothing has
|
|
16160
|
+
* ever persisted an empty list, so widening it cannot change an existing rule.
|
|
16161
|
+
*/
|
|
16162
|
+
values: array(string().min(1)),
|
|
15885
16163
|
/** Max Levenshtein distance after normalization (uppercase alphanumeric). */
|
|
15886
16164
|
maxDistance: number().int().min(0).max(3).default(1)
|
|
15887
16165
|
});
|
|
@@ -15915,28 +16193,36 @@ var NcOccupancyConditionSchema = object({
|
|
|
15915
16193
|
/**
|
|
15916
16194
|
* Audio condition (IMMEDIATE trigger) — a rule on SOUND, not on a picture.
|
|
15917
16195
|
*
|
|
15918
|
-
*
|
|
15919
|
-
*
|
|
15920
|
-
*
|
|
15921
|
-
*
|
|
15922
|
-
*
|
|
15923
|
-
*
|
|
15924
|
-
*
|
|
15925
|
-
*
|
|
15926
|
-
*
|
|
15927
|
-
*
|
|
15928
|
-
*
|
|
15929
|
-
*
|
|
15930
|
-
*
|
|
15931
|
-
*
|
|
15932
|
-
*
|
|
15933
|
-
*
|
|
15934
|
-
*
|
|
15935
|
-
*
|
|
15936
|
-
*
|
|
15937
|
-
*
|
|
15938
|
-
*
|
|
15939
|
-
* `
|
|
16196
|
+
* **TWO EXCLUSIVE MODES** (operator decision 2026-08-14, D157). Which one a
|
|
16197
|
+
* rule is in is not a stored field — it is WHICH FILTER the rule carries, so
|
|
16198
|
+
* there is no second switch that can disagree with the first and every rule
|
|
16199
|
+
* authored before the decision migrates for free (`audioModeOf`):
|
|
16200
|
+
*
|
|
16201
|
+
* - **LABEL mode — `labels` present.** The rule fires on the FIRST frame the
|
|
16202
|
+
* classifier labels with one of them. No window, no percentage:
|
|
16203
|
+
* `hitPercent` and `samplingSeconds` are ignored, and the rule's own
|
|
16204
|
+
* `throttle` cooldown is the only brake. The per-label confidence floor is
|
|
16205
|
+
* the analyzer's (`classificationMinScore`, per device) — a label only
|
|
16206
|
+
* reaches this condition if the classifier was already confident enough.
|
|
16207
|
+
* - **LEVEL mode — `dbThreshold` present, no labels.** The sampling window IS
|
|
16208
|
+
* the condition: at least `hitPercent`% of the samples over
|
|
16209
|
+
* `samplingSeconds` must be at or above `dbThreshold` dBFS (see
|
|
16210
|
+
* {@link NC_AUDIO_DBFS_FLOOR}: negative-going, `0` = full scale). The window
|
|
16211
|
+
* must be FULL before it can match — a window open for two of its ten
|
|
16212
|
+
* seconds is 100% of nothing.
|
|
16213
|
+
*
|
|
16214
|
+
* **Why label mode has no window.** It had one, and it never fired: the
|
|
16215
|
+
* analyzer emits ~1 audio frame per second but YAMNet only LABELS one to three
|
|
16216
|
+
* of them per episode, even through continuous crying. The measured maximum
|
|
16217
|
+
* `hitPercent` over the whole live history was 40 — under the shipped default
|
|
16218
|
+
* of 60, so a label rule could not fire at all, ever. A percentage of frames is
|
|
16219
|
+
* the wrong question to ask of a sparse classifier.
|
|
16220
|
+
*
|
|
16221
|
+
* **Fail-closed when NEITHER is given** — every sample would be a trivial hit
|
|
16222
|
+
* and the rule would fire on silence. The schema cannot express "exactly one
|
|
16223
|
+
* of" without becoming a ZodEffects the cap path would have to special-case, so
|
|
16224
|
+
* the exclusivity is enforced where every editor writes (`patchAudio`) and a
|
|
16225
|
+
* legacy rule carrying both resolves to LABEL (the mode that fires).
|
|
15940
16226
|
*
|
|
15941
16227
|
* Labels are the audio macro classes (`AUDIO_MACRO_LABELS` / the NC taxonomy's
|
|
15942
16228
|
* `audio-*` ids). Both spellings are accepted — the matcher normalizes the
|
|
@@ -15944,13 +16230,13 @@ var NcOccupancyConditionSchema = object({
|
|
|
15944
16230
|
* an operator who typed `dog` mean the same thing.
|
|
15945
16231
|
*/
|
|
15946
16232
|
var NcAudioConditionSchema = object({
|
|
15947
|
-
/**
|
|
16233
|
+
/** LABEL MODE: audio macro labels. Present ⇒ fires on the first labelled frame. */
|
|
15948
16234
|
labels: array(string().min(1)).min(1).optional(),
|
|
15949
|
-
/**
|
|
16235
|
+
/** LEVEL MODE: floor in dBFS (negative-going, `0` = full scale). */
|
|
15950
16236
|
dbThreshold: number().min(-96).max(0).optional(),
|
|
15951
|
-
/**
|
|
16237
|
+
/** LEVEL MODE ONLY: percentage of the window's samples that must be hits (1–100). */
|
|
15952
16238
|
hitPercent: number().int().min(1).max(100).default(60),
|
|
15953
|
-
/**
|
|
16239
|
+
/** LEVEL MODE ONLY: length of the sampling window in seconds. */
|
|
15954
16240
|
samplingSeconds: number().int().min(1).max(300).default(10)
|
|
15955
16241
|
});
|
|
15956
16242
|
/**
|
|
@@ -16088,13 +16374,81 @@ var NcRuleActionsSchema = object({
|
|
|
16088
16374
|
*/
|
|
16089
16375
|
buttons: array(NcRuleNotificationButtonSchema).max(8).optional()
|
|
16090
16376
|
});
|
|
16377
|
+
/**
|
|
16378
|
+
* "This rule applies only while `deviceId` is in one of `states`."
|
|
16379
|
+
*
|
|
16380
|
+
* The states are the DEVICE's own vocabulary — `AlarmState` for a panel,
|
|
16381
|
+
* `on`/`off` for a switch — not a normalised set, because normalising would
|
|
16382
|
+
* make the condition lie about devices whose states have no equivalent.
|
|
16383
|
+
*
|
|
16384
|
+
* An unreadable state does NOT match: see the engine's fail-closed gate. A
|
|
16385
|
+
* condition that fired on "I could not read it" would be worse than no gate.
|
|
16386
|
+
*/
|
|
16387
|
+
var NcDeviceStateConditionSchema = object({
|
|
16388
|
+
deviceId: number().int(),
|
|
16389
|
+
/** Any of these matches. */
|
|
16390
|
+
states: array(string().min(1)).min(1)
|
|
16391
|
+
});
|
|
16392
|
+
/**
|
|
16393
|
+
* "This rule applies only while scene `sceneId` is `matched` / `diverged`."
|
|
16394
|
+
*
|
|
16395
|
+
* A GATE, not a trigger. `occupancy` and `audio` each DISCRIMINATE their rule —
|
|
16396
|
+
* carrying one makes the rule fire on that subject and nothing else. Scene is
|
|
16397
|
+
* the other shape entirely, the `deviceState` shape: it narrows a rule that
|
|
16398
|
+
* already has a trigger ("tell me about a person at the front door, but only
|
|
16399
|
+
* while the bin is still out"). That is why it composes with every delivery
|
|
16400
|
+
* instead of owning one, and why no new `NcDelivery` member and no new subject
|
|
16401
|
+
* kind exist for it — see D159.
|
|
16402
|
+
*
|
|
16403
|
+
* ── Identity ───────────────────────────────────────────────────────────────
|
|
16404
|
+
* `sceneId` is `SceneMonitor.id`, a `randomUUID()` minted by `createScene` —
|
|
16405
|
+
* globally unique, so it needs no device to disambiguate it. `deviceId` is
|
|
16406
|
+
* carried as a HINT for the editor and for the log line, never as part of the
|
|
16407
|
+
* lookup key: a rule whose hint drifted must still gate correctly.
|
|
16408
|
+
*
|
|
16409
|
+
* ── Which boolean ──────────────────────────────────────────────────────────
|
|
16410
|
+
* `latched` ABSENT means "whatever the scene itself says" — `SceneMonitor.emit`
|
|
16411
|
+
* already declares which boolean drives notification rules, and a second knob
|
|
16412
|
+
* that could disagree with it is exactly the D62 failure. Set it only to
|
|
16413
|
+
* override one rule against the scene's own default.
|
|
16414
|
+
*
|
|
16415
|
+
* - LIVE reading (`emit`/`latched` resolve to live): passes iff
|
|
16416
|
+
* `verdict === requiredState`. `unknown` — no reference for this light, view
|
|
16417
|
+
* shifted, no snapshot — passes NEITHER. A scene that cannot judge is not
|
|
16418
|
+
* evidence, in either direction.
|
|
16419
|
+
* - LATCHED reading: passes iff `latched === (requiredState === 'diverged')`.
|
|
16420
|
+
* The latch is a durable fact about the past ("it has diverged since I armed
|
|
16421
|
+
* it"), so a camera that has gone dark does not clear it — that is the whole
|
|
16422
|
+
* reason the operator asked for a latch.
|
|
16423
|
+
*
|
|
16424
|
+
* The gate reads an in-memory mirror (`NcSceneStateCache`) refreshed OFF the
|
|
16425
|
+
* event path, never the cap: D49. A mirror that has never loaded, or a scene it
|
|
16426
|
+
* does not carry, reads absent and the rule does NOT fire — fail closed, and
|
|
16427
|
+
* said out loud in the log rather than dropped in silence.
|
|
16428
|
+
*/
|
|
16429
|
+
var NcSceneConditionSchema = object({
|
|
16430
|
+
/** `SceneMonitor.id` — the uuid the cap mints. The whole lookup key. */
|
|
16431
|
+
sceneId: string().min(1),
|
|
16432
|
+
/** The camera the scene lives on. A hint for the editor and the log line. */
|
|
16433
|
+
deviceId: number().int().optional(),
|
|
16434
|
+
/** The state the scene must be in for the rule to fire. */
|
|
16435
|
+
requiredState: _enum(["matched", "diverged"]),
|
|
16436
|
+
/**
|
|
16437
|
+
* Read the LATCH (`true`) or the LIVE verdict (`false`). Absent = follow the
|
|
16438
|
+
* scene's own `emit` field, which is the only place that decision belongs.
|
|
16439
|
+
*/
|
|
16440
|
+
latched: boolean().optional()
|
|
16441
|
+
});
|
|
16091
16442
|
var NcConditionsSchema = object({
|
|
16092
16443
|
/** Gate on ANOTHER device's current state (the alarm armed, a switch on). */
|
|
16093
|
-
deviceState:
|
|
16094
|
-
|
|
16095
|
-
|
|
16096
|
-
|
|
16097
|
-
|
|
16444
|
+
deviceState: NcDeviceStateConditionSchema.optional(),
|
|
16445
|
+
/**
|
|
16446
|
+
* Gate on a SCENE's state — "only while the bin is still out". Composes with
|
|
16447
|
+
* every trigger (detection, occupancy, audio, sensor, package, track-end);
|
|
16448
|
+
* unlike `occupancy`/`audio` it discriminates nothing. See
|
|
16449
|
+
* {@link NcSceneCondition} and D159.
|
|
16450
|
+
*/
|
|
16451
|
+
scene: NcSceneConditionSchema.optional(),
|
|
16098
16452
|
/** Device scope — absent = all devices. */
|
|
16099
16453
|
devices: array(number()).optional(),
|
|
16100
16454
|
/** Detector class names (any overlap with the record's class set). */
|
|
@@ -16120,18 +16474,47 @@ var NcConditionsSchema = object({
|
|
|
16120
16474
|
*/
|
|
16121
16475
|
labelEquals: array(string().min(1)).optional(),
|
|
16122
16476
|
/**
|
|
16123
|
-
*
|
|
16124
|
-
*
|
|
16125
|
-
*
|
|
16477
|
+
* KNOWN FACES — the rule's identity scope, and the switch that says the rule
|
|
16478
|
+
* is about recognised people at all.
|
|
16479
|
+
*
|
|
16480
|
+
* Three states, and the empty one is the point:
|
|
16481
|
+
*
|
|
16482
|
+
* | value | meaning |
|
|
16483
|
+
* | --- | --- |
|
|
16484
|
+
* | absent | the rule does not care who it is; an unrecognised person matches |
|
|
16485
|
+
* | `[]` | **only known faces** — any identity in the gallery, nobody in particular |
|
|
16486
|
+
* | a list | only these identities |
|
|
16487
|
+
*
|
|
16488
|
+
* `[]` is the repo-wide "no selection = no narrowing" reading (an absent
|
|
16489
|
+
* `devices` list is every device), applied one level down: the operator has
|
|
16490
|
+
* turned the face scope ON and narrowed it to nothing, which is every known
|
|
16491
|
+
* face. No second field states the same thing — a switch that can disagree
|
|
16492
|
+
* with the list under it is worse than no switch (D62).
|
|
16493
|
+
*
|
|
16494
|
+
* MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
|
|
16495
|
+
* renameable, and a rule authored on "Gianluca" went silently dark the moment
|
|
16496
|
+
* the operator fixed the spelling. The id reaches the record on
|
|
16497
|
+
* `LabelAttribution.identityId`; the name is what the editor shows and what
|
|
16498
|
+
* `{{label}}` renders.
|
|
16499
|
+
*
|
|
16500
|
+
* Rules written before this carry NAMES, and are resolved to ids lazily at
|
|
16501
|
+
* load (`NcRuleStore.load`) against the live gallery — a name nothing answers
|
|
16502
|
+
* for is left as it stands and reported, never dropped. The engine also
|
|
16503
|
+
* accepts a display-name hit as a compatibility leg, so a rule whose
|
|
16504
|
+
* migration could not resolve keeps matching exactly what it matched before.
|
|
16126
16505
|
*/
|
|
16127
16506
|
identities: array(string().min(1)).optional(),
|
|
16128
|
-
/**
|
|
16507
|
+
/**
|
|
16508
|
+
* KNOWN PLATES / VEHICLES — the plate mirror of {@link identities}, including
|
|
16509
|
+
* the empty-list reading: `values: []` is "any plate the OCR could read",
|
|
16510
|
+
* a non-empty list is those plates (fuzzily). See {@link NcPlateMatcherSchema}.
|
|
16511
|
+
*/
|
|
16129
16512
|
plates: NcPlateMatcherSchema.optional(),
|
|
16130
16513
|
/**
|
|
16131
|
-
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics
|
|
16132
|
-
*
|
|
16133
|
-
* identity
|
|
16134
|
-
*
|
|
16514
|
+
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics, and
|
|
16515
|
+
* the same id members and the same lazy name→id migration. A record with NO
|
|
16516
|
+
* identity passes (nothing to exclude), unlike the include variant which
|
|
16517
|
+
* fails on an unrecognised subject. An EMPTY list excludes nobody.
|
|
16135
16518
|
*/
|
|
16136
16519
|
identitiesExclude: array(string().min(1)).optional(),
|
|
16137
16520
|
/**
|
|
@@ -16523,7 +16906,80 @@ var NcRuleInputSchema = object({
|
|
|
16523
16906
|
* a rule that predates the gate must keep delivering byte-for-byte as it
|
|
16524
16907
|
* did, and absent is the only way to say that without a migration.
|
|
16525
16908
|
*/
|
|
16526
|
-
confirm: NcConfirmSchema.optional()
|
|
16909
|
+
confirm: NcConfirmSchema.optional(),
|
|
16910
|
+
/**
|
|
16911
|
+
* WAIT for face/plate recognition before saying anything.
|
|
16912
|
+
*
|
|
16913
|
+
* A notification's TEXT is frozen at enqueue and its media is re-resolved at
|
|
16914
|
+
* send; the identity is neither. A face is confirmed after `confirmFrames`
|
|
16915
|
+
* agreeing observations — p50 **11.4 s** after the track was first seen,
|
|
16916
|
+
* measured on this hub — and an `immediate` rule enqueues on the first object
|
|
16917
|
+
* event, seconds before that. So "Gianluca è arrivato" is unsayable on the
|
|
16918
|
+
* immediate path, and no amount of media re-resolution fixes a sentence.
|
|
16919
|
+
*
|
|
16920
|
+
* Only two honest answers exist, and this flag picks between them. It has
|
|
16921
|
+
* effect ONLY on a rule that declares a recognition scope
|
|
16922
|
+
* ({@link NcConditions.identities} or {@link NcConditions.plates}) — on any
|
|
16923
|
+
* other rule there is nothing to wait for and the flag is inert.
|
|
16924
|
+
*
|
|
16925
|
+
* | value | what happens |
|
|
16926
|
+
* | --- | --- |
|
|
16927
|
+
* | `true` | the rule stops firing on the object event and fires at TRACK CLOSE instead, once, with the name — later, and complete |
|
|
16928
|
+
* | absent / `false` | it fires at once WITHOUT the name, and if recognition lands before the track closes a SECOND, "…is Gianluca" notification follows (one per track, per rule, per target) |
|
|
16929
|
+
*
|
|
16930
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
16931
|
+
* on the addon cap path, and absent has to keep meaning exactly what every
|
|
16932
|
+
* rule authored before this field meant.
|
|
16933
|
+
*
|
|
16934
|
+
* The cost of `true` is stated here because the editor states it too: a rule
|
|
16935
|
+
* that waits also inherits track-close SEMANTICS — its `zones` condition
|
|
16936
|
+
* tests every zone the track visited and a `crossing` condition can no longer
|
|
16937
|
+
* be satisfied, because a closed track carries no crossing.
|
|
16938
|
+
*/
|
|
16939
|
+
waitForEnhancement: boolean().optional(),
|
|
16940
|
+
/**
|
|
16941
|
+
* GROUP a burst of subjects into ONE notification that grows.
|
|
16942
|
+
*
|
|
16943
|
+
* Seconds of quiet after the last matching subject before the burst is
|
|
16944
|
+
* considered over. While it is open, the first subject enqueues immediately —
|
|
16945
|
+
* **exactly as today, with no added latency** — and every real growth (a new
|
|
16946
|
+
* subject, or a name confirmed on one already in it) REPLACES that
|
|
16947
|
+
* notification with an updated one naming everybody. The push carries the
|
|
16948
|
+
* group's own coalescing tag, so the phone replaces rather than stacks.
|
|
16949
|
+
*
|
|
16950
|
+
* `0` / absent = off, and off is today's behaviour byte for byte.
|
|
16951
|
+
*
|
|
16952
|
+
* ### Why an idle cutoff and not a window
|
|
16953
|
+
*
|
|
16954
|
+
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
16955
|
+
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
16956
|
+
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
16957
|
+
* 30 is Frigate's shipped value for the same decision.
|
|
16958
|
+
*
|
|
16959
|
+
* ### What it replaces
|
|
16960
|
+
*
|
|
16961
|
+
* The blind cooldown, which collapses a burst by DISCARDING it. Measured on
|
|
16962
|
+
* device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
|
|
16963
|
+
* notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
|
|
16964
|
+
* track that did fire and 7 carrying a confirmed identity nobody heard about.
|
|
16965
|
+
* A group collapses the same volume by MERGING, so the cooldown becomes a
|
|
16966
|
+
* budget over GROUPS — which is what it always meant — and a growth is never
|
|
16967
|
+
* throttled by the window its own first member spent.
|
|
16968
|
+
*
|
|
16969
|
+
* ### Interaction with {@link waitForEnhancement}
|
|
16970
|
+
*
|
|
16971
|
+
* They compose, and the order matters. `waitForEnhancement` defers the rule to
|
|
16972
|
+
* TRACK CLOSE, so with both set the group is opened by the first member to
|
|
16973
|
+
* CLOSE — already carrying its name — and grows as later members close. That
|
|
16974
|
+
* is later, and complete. With grouping alone the group opens on the first
|
|
16975
|
+
* object event and picks up names as they are confirmed, through the growth
|
|
16976
|
+
* path. Neither combination fires twice for one subject.
|
|
16977
|
+
*
|
|
16978
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
16979
|
+
* on the addon cap path, so absent must keep meaning what it meant before this
|
|
16980
|
+
* field existed.
|
|
16981
|
+
*/
|
|
16982
|
+
groupIdleSec: number().int().min(0).max(600).optional()
|
|
16527
16983
|
});
|
|
16528
16984
|
/**
|
|
16529
16985
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -16630,6 +17086,7 @@ var NcConditionDescriptorSchema = object({
|
|
|
16630
17086
|
"occupancy",
|
|
16631
17087
|
"audio",
|
|
16632
17088
|
"deviceState",
|
|
17089
|
+
"scene",
|
|
16633
17090
|
"systemEvent"
|
|
16634
17091
|
]),
|
|
16635
17092
|
operator: _enum([
|
|
@@ -16710,6 +17167,14 @@ var NC_CONDITION_CATALOG = [
|
|
|
16710
17167
|
value: "node-offline",
|
|
16711
17168
|
label: "Node offline"
|
|
16712
17169
|
},
|
|
17170
|
+
{
|
|
17171
|
+
value: "node-inference-unavailable",
|
|
17172
|
+
label: "Node has no usable inference device"
|
|
17173
|
+
},
|
|
17174
|
+
{
|
|
17175
|
+
value: "detection-blind",
|
|
17176
|
+
label: "Camera detecting nothing"
|
|
17177
|
+
},
|
|
16713
17178
|
{
|
|
16714
17179
|
value: "addon-update-available",
|
|
16715
17180
|
label: "Addon update available"
|
|
@@ -16867,32 +17332,32 @@ var NC_CONDITION_CATALOG = [
|
|
|
16867
17332
|
{
|
|
16868
17333
|
id: "identities",
|
|
16869
17334
|
group: "label",
|
|
16870
|
-
label: "
|
|
17335
|
+
label: "Known faces",
|
|
16871
17336
|
valueType: "stringList",
|
|
16872
17337
|
operator: "in",
|
|
16873
17338
|
appliesTo: ["immediate", "track-end"],
|
|
16874
17339
|
phase: "P1",
|
|
16875
|
-
description: "
|
|
17340
|
+
description: "Only recognised people. Selecting NOBODY means every identity in the face gallery; selecting some narrows to those. Matched on the gallery id, so renaming a person does not break the rule. On immediate delivery the name is not known yet when the notification is enqueued — see the rule’s \"wait for recognition\" switch."
|
|
16876
17341
|
},
|
|
16877
17342
|
{
|
|
16878
17343
|
id: "plates",
|
|
16879
17344
|
group: "label",
|
|
16880
|
-
label: "
|
|
17345
|
+
label: "Known plates",
|
|
16881
17346
|
valueType: "plateMatcher",
|
|
16882
17347
|
operator: "fuzzyIn",
|
|
16883
17348
|
appliesTo: ["immediate", "track-end"],
|
|
16884
17349
|
phase: "P1",
|
|
16885
|
-
description: "Levenshtein-
|
|
17350
|
+
description: "Only vehicles whose plate was read. Selecting NO plate means any readable plate; listed plates are matched Levenshtein-tolerantly, because OCR noise makes an exact match useless."
|
|
16886
17351
|
},
|
|
16887
17352
|
{
|
|
16888
17353
|
id: "identitiesExclude",
|
|
16889
17354
|
group: "label",
|
|
16890
|
-
label: "Excluded
|
|
17355
|
+
label: "Excluded faces",
|
|
16891
17356
|
valueType: "stringList",
|
|
16892
17357
|
operator: "notIn",
|
|
16893
17358
|
appliesTo: ["immediate", "track-end"],
|
|
16894
17359
|
phase: "P1",
|
|
16895
|
-
description: "Veto by identity
|
|
17360
|
+
description: "Veto by identity (mirror of Known faces, same gallery ids). A subject nobody recognised passes — there is nothing to exclude."
|
|
16896
17361
|
},
|
|
16897
17362
|
{
|
|
16898
17363
|
id: "minLabelConfidence",
|
|
@@ -16976,6 +17441,21 @@ var NC_CONDITION_CATALOG = [
|
|
|
16976
17441
|
phase: "P2",
|
|
16977
17442
|
description: "Only fire while another device is in one of the chosen states — the alarm armed, a switch on, a contact closed. A state that cannot be read does NOT fire."
|
|
16978
17443
|
},
|
|
17444
|
+
{
|
|
17445
|
+
id: "scene",
|
|
17446
|
+
group: "scope",
|
|
17447
|
+
label: "Scene state",
|
|
17448
|
+
valueType: "scene",
|
|
17449
|
+
operator: "in",
|
|
17450
|
+
appliesTo: [
|
|
17451
|
+
"immediate",
|
|
17452
|
+
"track-end",
|
|
17453
|
+
"device-event",
|
|
17454
|
+
"package-event"
|
|
17455
|
+
],
|
|
17456
|
+
phase: "P3",
|
|
17457
|
+
description: "Only fire while a scene is matched (the baseline is what we see) or diverged (it demonstrably is not) — “tell me about a person at the door, but only while the bin is still out”. A scene that cannot judge, or one this hub has not read yet, does NOT fire."
|
|
17458
|
+
},
|
|
16979
17459
|
{
|
|
16980
17460
|
id: "sensorKinds",
|
|
16981
17461
|
group: "device",
|
|
@@ -17541,7 +18021,87 @@ var MethodAccessSchema = _enum([
|
|
|
17541
18021
|
var AllowedProviderSchema = union([literal("*"), array(string())]);
|
|
17542
18022
|
var AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
|
|
17543
18023
|
var CapScopeSchema = _enum(["device", "system"]);
|
|
17544
|
-
|
|
18024
|
+
/**
|
|
18025
|
+
* DeviceSelector (scope model v3 — 2026-08-12).
|
|
18026
|
+
*
|
|
18027
|
+
* A `device` grant no longer carries a frozen list of deviceIds. It carries
|
|
18028
|
+
* a SELECTOR the matcher resolves against the live fleet, so the grant can be
|
|
18029
|
+
* DYNAMIC: a `types:['camera']` selector automatically covers a camera added
|
|
18030
|
+
* AFTER the grant was minted — no re-grant, no re-login.
|
|
18031
|
+
*
|
|
18032
|
+
* - `all` — every device in the deployment. The broad viewer/operator
|
|
18033
|
+
* lever without a `category` grant (a `category` grant also covers device
|
|
18034
|
+
* caps that carry no deviceId; `all` is specifically the device set).
|
|
18035
|
+
* - `ids` — an explicit deviceId list. This is what a v2 `device:[…]`
|
|
18036
|
+
* grant migrates to (see {@link TokenScopeSchema}); STATIC — a new camera
|
|
18037
|
+
* is NOT covered until the grant is edited.
|
|
18038
|
+
* - `types` — every device of a `DeviceType` (e.g. every `camera`).
|
|
18039
|
+
* DYNAMIC. A device that changes type, or a new device of the type,
|
|
18040
|
+
* re-resolves on the next request.
|
|
18041
|
+
* - `locations` — every device whose operator-assigned `location` label is
|
|
18042
|
+
* in the set (e.g. "Garden", "Front door"). DYNAMIC. A device with a
|
|
18043
|
+
* null/unset location matches NO `locations` selector.
|
|
18044
|
+
*/
|
|
18045
|
+
var DeviceSelectorSchema = discriminatedUnion("kind", [
|
|
18046
|
+
object({ kind: literal("all") }),
|
|
18047
|
+
object({
|
|
18048
|
+
kind: literal("ids"),
|
|
18049
|
+
ids: array(number().int()).min(1)
|
|
18050
|
+
}),
|
|
18051
|
+
object({
|
|
18052
|
+
kind: literal("types"),
|
|
18053
|
+
types: array(_enum(DeviceType)).min(1)
|
|
18054
|
+
}),
|
|
18055
|
+
object({
|
|
18056
|
+
kind: literal("locations"),
|
|
18057
|
+
locations: array(string().min(1)).min(1)
|
|
18058
|
+
})
|
|
18059
|
+
]);
|
|
18060
|
+
var DeviceTokenScopeSchema = object({
|
|
18061
|
+
type: literal("device"),
|
|
18062
|
+
/** The device SET this grant covers — resolved against the live fleet. */
|
|
18063
|
+
selector: DeviceSelectorSchema,
|
|
18064
|
+
access: array(MethodAccessSchema).min(1),
|
|
18065
|
+
/**
|
|
18066
|
+
* Whether a grant on a PARENT device transparently covers its accessory
|
|
18067
|
+
* CHILDREN (siren / floodlight / PIR) via the persisted-parentage walk.
|
|
18068
|
+
* Direction is parent → children ONLY.
|
|
18069
|
+
*
|
|
18070
|
+
* Absent → the matcher DERIVES it from the access flavour: `view`
|
|
18071
|
+
* inherits (a camera viewer sees the camera's accessories), `create` /
|
|
18072
|
+
* `delete` do NOT (actuating/removing a child is an explicit act the
|
|
18073
|
+
* operator must grant on the child, not inherit from the parent). Set it
|
|
18074
|
+
* explicitly to override that default per grant.
|
|
18075
|
+
*/
|
|
18076
|
+
includeLinked: boolean().optional()
|
|
18077
|
+
});
|
|
18078
|
+
/**
|
|
18079
|
+
* v2 → v3 lazy migration. A pre-v3 `device` grant carried
|
|
18080
|
+
* `targets: string[]` (stringified deviceIds); it rewrites to the equivalent
|
|
18081
|
+
* `selector: {kind:'ids', ids}`. Applied as a `preprocess` so it runs on
|
|
18082
|
+
* EVERY parse path — stored records AND the JWT-carried scope arrays
|
|
18083
|
+
* normalised at the request boundary ({@link normalizeTokenScopes} in
|
|
18084
|
+
* `device-selector.ts`). Chosen over a one-time DB migration because a
|
|
18085
|
+
* migration cannot reach a JWT already in a client's hands; parse-time
|
|
18086
|
+
* migration covers both without a flag day. No cast — the raw object is read
|
|
18087
|
+
* through `Reflect.get` (its static type is `unknown`).
|
|
18088
|
+
*/
|
|
18089
|
+
function migrateLegacyTokenScope(raw) {
|
|
18090
|
+
if (raw === null || typeof raw !== "object" || Array.isArray(raw)) return raw;
|
|
18091
|
+
if (Reflect.get(raw, "type") !== "device") return raw;
|
|
18092
|
+
if (Reflect.get(raw, "selector") !== void 0) return raw;
|
|
18093
|
+
const targets = Reflect.get(raw, "targets");
|
|
18094
|
+
if (!Array.isArray(targets)) return raw;
|
|
18095
|
+
return {
|
|
18096
|
+
type: "device",
|
|
18097
|
+
selector: {
|
|
18098
|
+
kind: "ids",
|
|
18099
|
+
ids: targets.map((t) => typeof t === "string" ? Number(t) : t).filter((n) => typeof n === "number" && Number.isInteger(n))
|
|
18100
|
+
},
|
|
18101
|
+
access: Reflect.get(raw, "access")
|
|
18102
|
+
};
|
|
18103
|
+
}
|
|
18104
|
+
var TokenScopeSchema = preprocess(migrateLegacyTokenScope, discriminatedUnion("type", [
|
|
17545
18105
|
object({
|
|
17546
18106
|
type: literal("category"),
|
|
17547
18107
|
target: CapScopeSchema,
|
|
@@ -17557,18 +18117,8 @@ var TokenScopeSchema = discriminatedUnion("type", [
|
|
|
17557
18117
|
target: string(),
|
|
17558
18118
|
access: array(MethodAccessSchema).min(1)
|
|
17559
18119
|
}),
|
|
17560
|
-
|
|
17561
|
-
|
|
17562
|
-
/**
|
|
17563
|
-
* One or more deviceIds (serialised as strings for wire-format
|
|
17564
|
-
* consistency with the rest of the union). Matcher accepts if
|
|
17565
|
-
* `input.deviceId` ∈ `targets`. Array shape avoids the row-explosion
|
|
17566
|
-
* of one scope-per-device when granting access to a set of cameras.
|
|
17567
|
-
*/
|
|
17568
|
-
targets: array(string()).min(1),
|
|
17569
|
-
access: array(MethodAccessSchema).min(1)
|
|
17570
|
-
})
|
|
17571
|
-
]);
|
|
18120
|
+
DeviceTokenScopeSchema
|
|
18121
|
+
]));
|
|
17572
18122
|
object({
|
|
17573
18123
|
id: string(),
|
|
17574
18124
|
username: string(),
|
|
@@ -17891,7 +18441,7 @@ var TrackEnvelopeSchema = object({
|
|
|
17891
18441
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
17892
18442
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
17893
18443
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
17894
|
-
* zonesVisited, bestEventId, envelope, hasFace) and returns `positions` /
|
|
18444
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
17895
18445
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
17896
18446
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
17897
18447
|
* (`getObjectEvents` et al.).
|
|
@@ -18027,7 +18577,21 @@ union([literal(1), literal(2)]);
|
|
|
18027
18577
|
var LabelAttributionSchema = object({
|
|
18028
18578
|
stepId: string(),
|
|
18029
18579
|
modelId: string().optional(),
|
|
18030
|
-
decidedAt: number()
|
|
18580
|
+
decidedAt: number(),
|
|
18581
|
+
/**
|
|
18582
|
+
* The GALLERY id behind a recognised tier-2 label — a face-gallery
|
|
18583
|
+
* `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
|
|
18584
|
+
*
|
|
18585
|
+
* The text alone is a DISPLAY NAME, and a display name is renameable: a
|
|
18586
|
+
* notification rule authored on "Gianluca" stopped matching the moment the
|
|
18587
|
+
* operator fixed the spelling in the gallery, and nothing said so. The id is
|
|
18588
|
+
* the thing that does not move, so it is what a rule matches on
|
|
18589
|
+
* (`NcConditions.identities`) and the text is what a human is shown.
|
|
18590
|
+
*
|
|
18591
|
+
* Absent when the label names no gallery row — a plate the OCR read but no
|
|
18592
|
+
* vehicle claims, a sub-class, a species, any tier-1 value.
|
|
18593
|
+
*/
|
|
18594
|
+
identityId: string().optional()
|
|
18031
18595
|
});
|
|
18032
18596
|
/**
|
|
18033
18597
|
* The TIERED label model (roadmap 4g), spread into `TrackSchema` and
|
|
@@ -18164,6 +18728,28 @@ var TrackSchema = object({
|
|
|
18164
18728
|
* `=== true` and render nothing otherwise, never infer "no face".
|
|
18165
18729
|
*/
|
|
18166
18730
|
hasFace: boolean().optional(),
|
|
18731
|
+
/**
|
|
18732
|
+
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
18733
|
+
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
18734
|
+
* so the passage is tracked once and as a VEHICLE.
|
|
18735
|
+
*
|
|
18736
|
+
* It exists because the fold's record was dishonest. D34 and the code both
|
|
18737
|
+
* said "the person is not lost — it is reported so both entities stay on the
|
|
18738
|
+
* record"; in fact the pair went into a per-processor RAM field behind an
|
|
18739
|
+
* accessor nobody called, and every durable surface said `vehicle`, full
|
|
18740
|
+
* stop. This is the composition note that makes the row true.
|
|
18741
|
+
*
|
|
18742
|
+
* A COMPOSITION, never a class and never a label. "This vehicle contains a
|
|
18743
|
+
* person" is not an answer to "what is this" — both label tiers would refuse
|
|
18744
|
+
* a macro token anyway (D89), and correctly. Nothing here changes what the
|
|
18745
|
+
* subject IS: a cyclist stays one vehicle track, occupancy still counts one,
|
|
18746
|
+
* and a `person` rule still does not fire for someone cycling past.
|
|
18747
|
+
*
|
|
18748
|
+
* **Absent ≠ false**, exactly like {@link hasFace}: every row written before
|
|
18749
|
+
* the column, and every hub that predates the field, omits it. Test
|
|
18750
|
+
* `=== true` and render nothing otherwise — never infer "no rider".
|
|
18751
|
+
*/
|
|
18752
|
+
hasRider: boolean().optional(),
|
|
18167
18753
|
...TrackFlagFields,
|
|
18168
18754
|
...TrackRetrainFields
|
|
18169
18755
|
});
|
|
@@ -18513,7 +19099,10 @@ var RecentTracksQueryInput = object({
|
|
|
18513
19099
|
* Encodes the (lastSeen, trackId) sort position — treat as opaque. */
|
|
18514
19100
|
cursor: string().optional(),
|
|
18515
19101
|
/** See {@link TrackProjectionSchema}. Default `full`. */
|
|
18516
|
-
projection: TrackProjectionSchema.optional()
|
|
19102
|
+
projection: TrackProjectionSchema.optional(),
|
|
19103
|
+
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
19104
|
+
* feed lists passages; parking records live on the stationary registry. */
|
|
19105
|
+
includeStationary: boolean().optional()
|
|
18517
19106
|
});
|
|
18518
19107
|
var RecentTracksPageSchema = object({
|
|
18519
19108
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -18745,7 +19334,11 @@ var pipelineAnalyticsCapability = {
|
|
|
18745
19334
|
zone: TrackZoneFilterSchema.optional(),
|
|
18746
19335
|
/** See {@link TrackProjectionSchema}. Default `full` (backward
|
|
18747
19336
|
* compatible — omitting the field keeps today's exact behaviour). */
|
|
18748
|
-
projection: TrackProjectionSchema.optional()
|
|
19337
|
+
projection: TrackProjectionSchema.optional(),
|
|
19338
|
+
/** Include stationary-promoted rows (parked objects handed to the
|
|
19339
|
+
* stationary registry). Default false: the timeline lists passages,
|
|
19340
|
+
* not parking records (operator decision, 2026-08-15). */
|
|
19341
|
+
includeStationary: boolean().optional()
|
|
18749
19342
|
}), array(TrackSchema).readonly()),
|
|
18750
19343
|
/**
|
|
18751
19344
|
* Batched cluster-wide track listing — ONE call for the events page /
|
|
@@ -19236,7 +19829,8 @@ var pipelineAnalyticsCapability = {
|
|
|
19236
19829
|
}),
|
|
19237
19830
|
getEventMedia: method(object({
|
|
19238
19831
|
eventId: string(),
|
|
19239
|
-
kind: MediaFileKindEnum.optional()
|
|
19832
|
+
kind: MediaFileKindEnum.optional(),
|
|
19833
|
+
deviceId: number()
|
|
19240
19834
|
}), array(MediaFileSchema).readonly()),
|
|
19241
19835
|
/** All media rows owned by a track. `kinds` narrows to a kind subset so a
|
|
19242
19836
|
* client can fetch the SMALL display variants on open and pull the
|
|
@@ -19244,7 +19838,8 @@ var pipelineAnalyticsCapability = {
|
|
|
19244
19838
|
* Absent ⇒ every kind (back-compat). */
|
|
19245
19839
|
getTrackMedia: method(object({
|
|
19246
19840
|
trackId: string(),
|
|
19247
|
-
kinds: array(MediaFileKindEnum).optional()
|
|
19841
|
+
kinds: array(MediaFileKindEnum).optional(),
|
|
19842
|
+
deviceId: number()
|
|
19248
19843
|
}), array(MediaFileSchema).readonly()),
|
|
19249
19844
|
/**
|
|
19250
19845
|
* What media a track HAS, without any of it.
|
|
@@ -19261,7 +19856,10 @@ var pipelineAnalyticsCapability = {
|
|
|
19261
19856
|
* tell a full-resolution variant existed — and the affordance that opens it
|
|
19262
19857
|
* would silently disappear.
|
|
19263
19858
|
*/
|
|
19264
|
-
listTrackMedia: method(object({
|
|
19859
|
+
listTrackMedia: method(object({
|
|
19860
|
+
trackId: string(),
|
|
19861
|
+
deviceId: number()
|
|
19862
|
+
}), array(MediaFileInfoSchema).readonly()),
|
|
19265
19863
|
/**
|
|
19266
19864
|
* Search object events by text query using CLIP cosine similarity.
|
|
19267
19865
|
* Encodes `text` via the `embedding-encoder` cap, queries the
|
|
@@ -20144,6 +20742,17 @@ var maxSessionHoldMsField = {
|
|
|
20144
20742
|
default: 12e4,
|
|
20145
20743
|
step: 5e3
|
|
20146
20744
|
};
|
|
20745
|
+
/**
|
|
20746
|
+
* Quiet period that closes an `audioMode: 'on-motion'` audio window. Floor of
|
|
20747
|
+
* 5s so a rearm can never degenerate into per-event stream churn; default 90s
|
|
20748
|
+
* comfortably outlives the gap between two PIR wakes on a battery camera.
|
|
20749
|
+
*/
|
|
20750
|
+
var audioMotionWindowMsField = {
|
|
20751
|
+
min: 5e3,
|
|
20752
|
+
max: 6e5,
|
|
20753
|
+
default: 9e4,
|
|
20754
|
+
step: 5e3
|
|
20755
|
+
};
|
|
20147
20756
|
var motionFpsField = {
|
|
20148
20757
|
min: 1,
|
|
20149
20758
|
max: 30,
|
|
@@ -20175,7 +20784,7 @@ var detectionFpsField = {
|
|
|
20175
20784
|
var occupancyRecheckSecField = {
|
|
20176
20785
|
min: 0,
|
|
20177
20786
|
max: 300,
|
|
20178
|
-
default:
|
|
20787
|
+
default: 300,
|
|
20179
20788
|
step: 5
|
|
20180
20789
|
};
|
|
20181
20790
|
var occupancyRecheckFramesField = {
|
|
@@ -20320,6 +20929,27 @@ var RunnerCameraConfigSchema = object({
|
|
|
20320
20929
|
* resolved `CameraDetectionConfig`.
|
|
20321
20930
|
*/
|
|
20322
20931
|
maxSessionHoldMs: number().min(maxSessionHoldMsField.min).max(maxSessionHoldMsField.max).optional(),
|
|
20932
|
+
/**
|
|
20933
|
+
* Orchestrator-side quiet period (ms) that closes an `audioMode:
|
|
20934
|
+
* 'on-motion'` audio window, measured from the LAST motion event.
|
|
20935
|
+
*
|
|
20936
|
+
* This exists because the falling edge cannot be relied on. Camera-native
|
|
20937
|
+
* providers emit motion as a RISING EDGE ONLY (Reolink's Baichuan push and
|
|
20938
|
+
* its email-push SMTP path both emit `detected: true` and never the
|
|
20939
|
+
* counterpart); only the frame-diff analyzer emits falls. So on an
|
|
20940
|
+
* onboard-only camera a window that closed only on `detected: false` never
|
|
20941
|
+
* closed at all, and `on-motion` silently behaved as `always-on` — on a
|
|
20942
|
+
* battery camera, the one failure mode the mode exists to prevent.
|
|
20943
|
+
*
|
|
20944
|
+
* Every motion event rearms this timer WITHOUT restarting the stream, so a
|
|
20945
|
+
* burst of re-fires costs nothing. A falling edge, when one does arrive,
|
|
20946
|
+
* still closes earlier via `motionCooldownMs` — whichever comes first wins.
|
|
20947
|
+
*
|
|
20948
|
+
* Not consumed by the runner: carried here so it shares the per-camera
|
|
20949
|
+
* device-settings surface with `motionCooldownMs`, exactly like
|
|
20950
|
+
* `maxSessionHoldMs`.
|
|
20951
|
+
*/
|
|
20952
|
+
audioMotionWindowMs: number().min(audioMotionWindowMsField.min).max(audioMotionWindowMsField.max).optional(),
|
|
20323
20953
|
motionFps: number().min(motionFpsField.min).max(motionFpsField.max).default(motionFpsField.default),
|
|
20324
20954
|
detectionFps: number().min(detectionFpsField.min).max(detectionFpsField.max).default(detectionFpsField.default),
|
|
20325
20955
|
motionStreamId: string(),
|
|
@@ -20415,7 +21045,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
20415
21045
|
*/
|
|
20416
21046
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
20417
21047
|
});
|
|
20418
|
-
motionFpsField.min, motionFpsField.max, motionFpsField.step, motionFpsField.default, detectionFpsField.min, detectionFpsField.max, detectionFpsField.step, detectionFpsField.default, motionCooldownMsField.min, motionCooldownMsField.max, motionCooldownMsField.step, motionCooldownMsField.default, maxSessionHoldMsField.min, maxSessionHoldMsField.max, maxSessionHoldMsField.step, maxSessionHoldMsField.default, occupancyRecheckSecField.min, occupancyRecheckSecField.max, occupancyRecheckSecField.step, occupancyRecheckSecField.default, occupancyRecheckFramesField.min, occupancyRecheckFramesField.max, occupancyRecheckFramesField.step, occupancyRecheckFramesField.default;
|
|
21048
|
+
motionFpsField.min, motionFpsField.max, motionFpsField.step, motionFpsField.default, detectionFpsField.min, detectionFpsField.max, detectionFpsField.step, detectionFpsField.default, motionCooldownMsField.min, motionCooldownMsField.max, motionCooldownMsField.step, motionCooldownMsField.default, maxSessionHoldMsField.min, maxSessionHoldMsField.max, maxSessionHoldMsField.step, maxSessionHoldMsField.default, audioMotionWindowMsField.min, audioMotionWindowMsField.max, audioMotionWindowMsField.step, audioMotionWindowMsField.default, occupancyRecheckSecField.min, occupancyRecheckSecField.max, occupancyRecheckSecField.step, occupancyRecheckSecField.default, occupancyRecheckFramesField.min, occupancyRecheckFramesField.max, occupancyRecheckFramesField.step, occupancyRecheckFramesField.default;
|
|
20419
21049
|
/**
|
|
20420
21050
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
20421
21051
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
|
@@ -22009,7 +22639,16 @@ targets: array(object({
|
|
|
22009
22639
|
/** A sleeping battery camera: the frame is deliberately stale and will
|
|
22010
22640
|
* NOT refresh in the background. A surface should say so rather than
|
|
22011
22641
|
* present it as current. */
|
|
22012
|
-
sleeping: boolean()
|
|
22642
|
+
sleeping: boolean(),
|
|
22643
|
+
/** Current device state rendered over the cached frame. State images
|
|
22644
|
+
* remain authoritative even when their photographic background is
|
|
22645
|
+
* old; null means the link must carry a current camera frame. */
|
|
22646
|
+
stateReason: _enum([
|
|
22647
|
+
"disabled",
|
|
22648
|
+
"sleeping",
|
|
22649
|
+
"unreachable",
|
|
22650
|
+
"waking"
|
|
22651
|
+
]).nullable()
|
|
22013
22652
|
})))
|
|
22014
22653
|
},
|
|
22015
22654
|
status: {
|
|
@@ -24228,6 +24867,25 @@ var BatteryStatusSchema = object({
|
|
|
24228
24867
|
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
24229
24868
|
lastUpdated: number(),
|
|
24230
24869
|
/**
|
|
24870
|
+
* Ms epoch of the last time the device PROVED it was reachable — a
|
|
24871
|
+
* completed firmware round-trip, an observed wake, or an inbound push
|
|
24872
|
+
* (firmware event, email). `0`/absent = never since this slice was born.
|
|
24873
|
+
*
|
|
24874
|
+
* This is the ONLY input that separates "asleep" from "gone", and it is
|
|
24875
|
+
* fed exclusively by PASSIVE signals: nothing may write it by reaching
|
|
24876
|
+
* for the radio, because a poll that confirms reachability is the same
|
|
24877
|
+
* poll that drains the battery. See {@link deriveBatteryPresence} — the
|
|
24878
|
+
* single derivation every consumer must use; no surface computes its own.
|
|
24879
|
+
*
|
|
24880
|
+
* It is deliberately NOT a clock in the
|
|
24881
|
+
* `scripts/check-runtime-state-durability.ts` sense: it is the
|
|
24882
|
+
* observation itself, and it is the only thing a 30-hour silence is
|
|
24883
|
+
* visible in. Writers quantise it (see `CONTACT_WRITE_QUANTUM_MS` in the
|
|
24884
|
+
* Reolink provider) so a value that means "recently" cannot cost a
|
|
24885
|
+
* SQLite commit per round-trip.
|
|
24886
|
+
*/
|
|
24887
|
+
lastContactAt: number().optional(),
|
|
24888
|
+
/**
|
|
24231
24889
|
* True when the source is a BINARY low-battery indicator (HA
|
|
24232
24890
|
* `binary_sensor` device_class=battery / `LOW_BAT`) that has no real
|
|
24233
24891
|
* charge level — `percentage` is then a coarse stand-in (100 = normal,
|
|
@@ -26692,7 +27350,41 @@ var intercomCapability = {
|
|
|
26692
27350
|
status: {
|
|
26693
27351
|
schema: IntercomStatusSchema,
|
|
26694
27352
|
kind: "command-driven"
|
|
26695
|
-
}
|
|
27353
|
+
},
|
|
27354
|
+
/**
|
|
27355
|
+
* Runtime-state slice — mirrored by the kernel.
|
|
27356
|
+
*
|
|
27357
|
+
* The cap declared `status` and nothing else, so the only two sources an
|
|
27358
|
+
* exporter has for a value — the `device.state-changed` slice event and the
|
|
27359
|
+
* `deviceState.getAllSnapshots` snapshot, both built from runtime state —
|
|
27360
|
+
* carried nothing for `intercom`. A talk-back entity in Home Assistant would
|
|
27361
|
+
* have been published and never received a value, which is the defect the
|
|
27362
|
+
* export's two classification tables exist to prevent (177 of them, once), so
|
|
27363
|
+
* `intercom` was excluded rather than exported.
|
|
27364
|
+
*
|
|
27365
|
+
* The shape is the status shape: there is exactly one truth about talk-back
|
|
27366
|
+
* and duplicating it into a second schema is how two halves of one capability
|
|
27367
|
+
* come to disagree. Providers write it through
|
|
27368
|
+
* `this.runtimeState.setCapState('intercom', …)` at the four points that open
|
|
27369
|
+
* and close a session, and seed it at registration so the slice exists before
|
|
27370
|
+
* the first session rather than after it.
|
|
27371
|
+
*
|
|
27372
|
+
* **Bound, named rather than hidden:** `talking` mirrors the provider's own
|
|
27373
|
+
* session handle, so a session torn down by a transport death that never
|
|
27374
|
+
* reaches `stopSession` / `endTalkSession` leaves it latched until the next
|
|
27375
|
+
* session or the next restart. That is why the slice is `session` and not
|
|
27376
|
+
* `restored` — a restart must never restore "talking".
|
|
27377
|
+
*/
|
|
27378
|
+
runtimeState: IntercomStatusSchema,
|
|
27379
|
+
/**
|
|
27380
|
+
* Runtime-state durability: **session** — `talking` describes a live audio
|
|
27381
|
+
* session, which by definition does not survive the process that held it.
|
|
27382
|
+
* Restoring it would publish a camera as talking to nobody.
|
|
27383
|
+
*
|
|
27384
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
27385
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
27386
|
+
*/
|
|
27387
|
+
durability: "session"
|
|
26696
27388
|
};
|
|
26697
27389
|
/**
|
|
26698
27390
|
* Robotic lawn-mower cap. Models HA `lawn_mower.*` entities — anything
|
|
@@ -29788,7 +30480,7 @@ var recordingCapability = {
|
|
|
29788
30480
|
toMs: number()
|
|
29789
30481
|
}), RecordingAvailabilitySchema, {
|
|
29790
30482
|
kind: "query",
|
|
29791
|
-
auth: "
|
|
30483
|
+
auth: "protected"
|
|
29792
30484
|
}),
|
|
29793
30485
|
/** Which calendar days in [fromMs,toMs) have ≥1 recorded segment, bucketed by
|
|
29794
30486
|
* the client's local day (`tzOffsetMinutes` = minutes to add to UTC). Drives
|
|
@@ -29800,7 +30492,7 @@ var recordingCapability = {
|
|
|
29800
30492
|
tzOffsetMinutes: number()
|
|
29801
30493
|
}), RecordingDaysSchema, {
|
|
29802
30494
|
kind: "query",
|
|
29803
|
-
auth: "
|
|
30495
|
+
auth: "protected"
|
|
29804
30496
|
}),
|
|
29805
30497
|
getPlaybackManifest: method(object({
|
|
29806
30498
|
deviceId: number(),
|
|
@@ -29808,7 +30500,7 @@ var recordingCapability = {
|
|
|
29808
30500
|
toMs: number()
|
|
29809
30501
|
}), RecordingManifestSchema, {
|
|
29810
30502
|
kind: "query",
|
|
29811
|
-
auth: "
|
|
30503
|
+
auth: "protected"
|
|
29812
30504
|
}),
|
|
29813
30505
|
getStorageUsage: method(object({}), RecordingStorageUsageSchema, {
|
|
29814
30506
|
kind: "query",
|
|
@@ -30216,14 +30908,77 @@ var recordingExportCapability = {
|
|
|
30216
30908
|
* thing except the comparator: `similarity` (CLIP cosine at the same ROI coords
|
|
30217
30909
|
* vs condition-tagged references) and `llm` (vision-LLM judgment over the crop).
|
|
30218
30910
|
*
|
|
30219
|
-
*
|
|
30220
|
-
*
|
|
30221
|
-
*
|
|
30222
|
-
*
|
|
30223
|
-
|
|
30224
|
-
|
|
30225
|
-
*
|
|
30911
|
+
* **No `deviceConfig`, deliberately.** This shipped as the D14 widget archetype,
|
|
30912
|
+
* which put a "Scenes" tab on one camera's detail page. That is the wrong shape
|
|
30913
|
+
* for the thing: a scene is a standing question about the property ("is the bin
|
|
30914
|
+
* still out"), and the operator's question is "which of my scenes have tripped",
|
|
30915
|
+
* across every camera at once — not "what does camera 617 think". Buried one
|
|
30916
|
+
* camera deep it also could not be found. The surface is now a top-level admin
|
|
30917
|
+
* page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
|
|
30918
|
+
* picks the camera inside the create flow, the same shape Events and Faces have.
|
|
30919
|
+
*
|
|
30920
|
+
* The consequence to keep in mind: `host/scene-monitor-editor` is gone from
|
|
30921
|
+
* `HOST_WIDGETS` too. `scripts/check-host-widget-resolves.ts` asserts BOTH
|
|
30922
|
+
* directions, so a registration nobody declares fails exactly as loudly as a
|
|
30923
|
+
* declaration nobody registers. The editor is imported directly by the page.
|
|
30924
|
+
*
|
|
30925
|
+
* `status.kind:'push'` — the engine pushes on every hysteresis flip /
|
|
30926
|
+
* availability change; consumers never poll.
|
|
30927
|
+
*/
|
|
30928
|
+
/** Extensible condition tag. Seeded 'day' | 'ir' (the two variants the operator
|
|
30929
|
+
* captures) plus 'night' | 'dawn' | 'dusk' from the resolver's sun-times band.
|
|
30930
|
+
* Open by design so more can be added without a wire break.
|
|
30931
|
+
*
|
|
30932
|
+
* Matching does NOT fall back across conditions: cross-condition cosines are
|
|
30933
|
+
* not comparable, so "I have never seen this scene in this light" is reported
|
|
30934
|
+
* as `unknown`, never guessed. A day reference scored against an IR frame
|
|
30935
|
+
* collapses the cosine and would latch a false alarm every single night. */
|
|
30226
30936
|
var SceneConditionSchema = string();
|
|
30937
|
+
/**
|
|
30938
|
+
* What a scene does when the CURRENT light has no reference of its own.
|
|
30939
|
+
*
|
|
30940
|
+
* The lighting variants are not equally likely to exist. Almost every operator
|
|
30941
|
+
* captures daylight and then never stands outside at 22:00 to capture IR, and a
|
|
30942
|
+
* scene that is only ever going to be asked about a daytime question ("is the
|
|
30943
|
+
* bin still on the kerb at 08:00") does not need a night reference at all. The
|
|
30944
|
+
* night half must therefore be OPTIONAL, and optional means the scene keeps
|
|
30945
|
+
* working without it rather than degrading into a permanent complaint.
|
|
30946
|
+
*
|
|
30947
|
+
* - `skip` (default) — the check in that light is not made. Not a verdict, not
|
|
30948
|
+
* an alarm, not even an `unknown`: the live state simply stays whatever the
|
|
30949
|
+
* last covered light left it at, the latch is untouched, and the hysteresis
|
|
30950
|
+
* run is neither spent nor cleared. The scene resumes by itself at first
|
|
30951
|
+
* light. This is the only behaviour under which "I never captured IR" is a
|
|
30952
|
+
* configuration choice instead of a nightly fault.
|
|
30953
|
+
* - `judge-anyway` — score against the OTHER conditions' references. Available
|
|
30954
|
+
* for cameras whose IR frame is close enough to daylight (a floodlit
|
|
30955
|
+
* driveway, an always-white-light doorbell), and wrong for everything else:
|
|
30956
|
+
* cross-condition cosines are not comparable, so a day reference against a
|
|
30957
|
+
* true IR frame collapses and the scene reports a theft at 21:40.
|
|
30958
|
+
*
|
|
30959
|
+
* Never applies when the scene has NO comparable reference at all — that is
|
|
30960
|
+
* "not armed yet", it is reported as `no-reference-for-condition`, and silence
|
|
30961
|
+
* there would hide a scene the operator never finished setting up.
|
|
30962
|
+
*/
|
|
30963
|
+
var SceneUncoveredPolicySchema = _enum(["skip", "judge-anyway"]);
|
|
30964
|
+
/** `matched` = the baseline is what we see; `diverged` = it demonstrably is not;
|
|
30965
|
+
* `unknown` = we cannot judge (no reference for this condition, encoder model
|
|
30966
|
+
* changed, view shifted, no snapshot). `unknown` is a real value, not a null,
|
|
30967
|
+
* and never counts toward hysteresis in either direction. */
|
|
30968
|
+
var SceneVerdictSchema = _enum([
|
|
30969
|
+
"matched",
|
|
30970
|
+
"diverged",
|
|
30971
|
+
"unknown"
|
|
30972
|
+
]);
|
|
30973
|
+
/** Why a scene cannot judge. Named, because this feature's failure mode is
|
|
30974
|
+
* silence that reads as "nothing has happened". */
|
|
30975
|
+
var SceneUnavailableSchema = _enum([
|
|
30976
|
+
"no-reference-for-condition",
|
|
30977
|
+
"view-shifted",
|
|
30978
|
+
"no-vision-profile",
|
|
30979
|
+
"encoder-model-changed",
|
|
30980
|
+
"no-snapshot"
|
|
30981
|
+
]);
|
|
30227
30982
|
/** One captured reference — condition-tagged, model-version-gated. `embedding`
|
|
30228
30983
|
* is `number[]` (Float32Array does NOT survive MsgPack/UDS). */
|
|
30229
30984
|
var SceneReferenceSchema = object({
|
|
@@ -30231,7 +30986,14 @@ var SceneReferenceSchema = object({
|
|
|
30231
30986
|
modelId: string(),
|
|
30232
30987
|
condition: SceneConditionSchema,
|
|
30233
30988
|
capturedAt: number(),
|
|
30234
|
-
thumbnailMediaId: string().optional()
|
|
30989
|
+
thumbnailMediaId: string().optional(),
|
|
30990
|
+
/** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
|
|
30991
|
+
* anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
|
|
30992
|
+
* normalized rect frame a different piece of world, and the scene would
|
|
30993
|
+
* diverge forever with a perfectly plausible cosine. Checked LAZILY, only
|
|
30994
|
+
* when hysteresis is about to flip — one extra encode per candidate
|
|
30995
|
+
* transition, not per poll. */
|
|
30996
|
+
anchorEmbedding: array(number()).optional()
|
|
30235
30997
|
});
|
|
30236
30998
|
var SceneMonitorStateSchema = object({
|
|
30237
30999
|
id: string(),
|
|
@@ -30253,6 +31015,28 @@ var SceneCheckSchema = discriminatedUnion("mode", [object({
|
|
|
30253
31015
|
profileId: string().optional(),
|
|
30254
31016
|
hysteresisCount: number().int().positive()
|
|
30255
31017
|
})]);
|
|
31018
|
+
var SCENE_DEFAULT_ANCHOR_THRESHOLD = .85;
|
|
31019
|
+
/** Night is OPTIONAL. A scene with only a daylight reference sits the IR hours
|
|
31020
|
+
* out in silence rather than reporting a fault every night. */
|
|
31021
|
+
var SCENE_DEFAULT_UNCOVERED_POLICY = "skip";
|
|
31022
|
+
/**
|
|
31023
|
+
* Vision-model adjudication of a candidate flip. Field names deliberately
|
|
31024
|
+
* mirror `NcConfirmSchema` so an operator meets one vocabulary, not two.
|
|
31025
|
+
*
|
|
31026
|
+
* `onTimeout` defaults to **'hold'**, the OPPOSITE of `NcConfirmGate`'s
|
|
31027
|
+
* fail-open: a notification suppressed is the worse error there, but a vision
|
|
31028
|
+
* model that timed out has not told us the bin is gone, and a latch is a
|
|
31029
|
+
* stateful claim that costs the operator a trip to reset.
|
|
31030
|
+
*/
|
|
31031
|
+
var SceneConfirmSchema = object({
|
|
31032
|
+
enabled: boolean().default(false),
|
|
31033
|
+
prompt: string().min(1).max(1e3),
|
|
31034
|
+
profileId: string().optional(),
|
|
31035
|
+
timeoutMs: number().int().min(1e3).max(2e4).default(8e3),
|
|
31036
|
+
maxImagePx: number().int().min(64).max(2048).default(448),
|
|
31037
|
+
/** What a timeout / unavailable model means for the PENDING flip. */
|
|
31038
|
+
onTimeout: _enum(["flip", "hold"]).default("hold")
|
|
31039
|
+
});
|
|
30256
31040
|
var SceneMonitorSchema = object({
|
|
30257
31041
|
id: string(),
|
|
30258
31042
|
label: string(),
|
|
@@ -30271,7 +31055,56 @@ var SceneMonitorSchema = object({
|
|
|
30271
31055
|
lastConfidence: number().nullable(),
|
|
30272
31056
|
currentCondition: SceneConditionSchema.nullable(),
|
|
30273
31057
|
availability: _enum(["ok", "unavailable"]),
|
|
30274
|
-
unavailableReason: string().nullable()
|
|
31058
|
+
unavailableReason: string().nullable(),
|
|
31059
|
+
/** Which state is "the initial screen". `null` until the first capture. */
|
|
31060
|
+
baselineStateId: string().nullable(),
|
|
31061
|
+
/** Which boolean drives notification rules and any export. */
|
|
31062
|
+
emit: _enum(["latched", "live"]).default("latched"),
|
|
31063
|
+
/** Live: does the region match the baseline RIGHT NOW. */
|
|
31064
|
+
verdict: SceneVerdictSchema,
|
|
31065
|
+
/** Has it been `diverged` at least once since `armedAt` — the operator's boolean. */
|
|
31066
|
+
latched: boolean(),
|
|
31067
|
+
/** Last reset (or creation). */
|
|
31068
|
+
armedAt: number(),
|
|
31069
|
+
divergedAt: number().nullable(),
|
|
31070
|
+
restoredAt: number().nullable(),
|
|
31071
|
+
/** A check is only COUNTED when the device has been quiet this long. Motion
|
|
31072
|
+
* during the window DISCARDS the observation — a car pulling up in front of
|
|
31073
|
+
* the bin must not be able to spend hysteresis credit. */
|
|
31074
|
+
quietSeconds: number().int().min(0).max(3600).default(60),
|
|
31075
|
+
/** An observation only advances the pending count when it is at least this
|
|
31076
|
+
* far from the previously counted one, so N agreeing checks span real time
|
|
31077
|
+
* rather than N adjacent polls inside one occlusion. */
|
|
31078
|
+
minObservationSpacingSec: number().int().min(0).max(3600).default(120),
|
|
31079
|
+
/** Vision-model adjudication of a candidate flip. Similarity primary only. */
|
|
31080
|
+
confirm: SceneConfirmSchema.optional(),
|
|
31081
|
+
/** Whole-frame anchor cosine below which a flip is REFUSED as `view-shifted`. */
|
|
31082
|
+
anchorThreshold: number().min(0).max(1).default(SCENE_DEFAULT_ANCHOR_THRESHOLD),
|
|
31083
|
+
/** Clear the latch on its own when the scene matches again? Default false —
|
|
31084
|
+
* `restoredAt` and the `scene-restored` edge are recorded regardless, so an
|
|
31085
|
+
* automation can react to the bin coming back without the operator's own
|
|
31086
|
+
* alarm silently clearing itself. */
|
|
31087
|
+
autoRestore: boolean().default(false),
|
|
31088
|
+
/** What to do when the current light has no reference of its own. See
|
|
31089
|
+
* {@link SceneUncoveredPolicySchema} — the default makes night OPTIONAL. */
|
|
31090
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.default(SCENE_DEFAULT_UNCOVERED_POLICY),
|
|
31091
|
+
/**
|
|
31092
|
+
* The light whose checks are currently being SAT OUT under
|
|
31093
|
+
* `onUncoveredCondition: 'skip'` — `null` when the scene is checking normally.
|
|
31094
|
+
*
|
|
31095
|
+
* Engine-reported and advisory only: it moves no verdict, no latch and no
|
|
31096
|
+
* hysteresis. It exists so the card can say *"night (IR) — checks paused,
|
|
31097
|
+
* nothing captured in this light"* in the same calm voice as the coverage
|
|
31098
|
+
* line, because the alternative is a scene that silently stops answering
|
|
31099
|
+
* after sunset with nothing anywhere saying why. A skipped check must never
|
|
31100
|
+
* read as a broken one.
|
|
31101
|
+
*/
|
|
31102
|
+
suspendedCondition: SceneConditionSchema.nullable().default(null),
|
|
31103
|
+
/** Named cause when `verdict === 'unknown'`. */
|
|
31104
|
+
unavailable: SceneUnavailableSchema.nullable(),
|
|
31105
|
+
/** Conditions that have at least one comparable reference — the coverage line
|
|
31106
|
+
* ("day ✓ · ir ✓ · dusk ✗") that turns a silent fallback into a visible fact. */
|
|
31107
|
+
coveredConditions: array(SceneConditionSchema)
|
|
30275
31108
|
});
|
|
30276
31109
|
var SceneMonitorStatusSchema = object({
|
|
30277
31110
|
monitors: array(SceneMonitorSchema),
|
|
@@ -30284,12 +31117,6 @@ var sceneMonitorCapability = {
|
|
|
30284
31117
|
kind: "wrapper",
|
|
30285
31118
|
defaultActive: true,
|
|
30286
31119
|
deviceTypes: [DeviceType.Camera],
|
|
30287
|
-
deviceConfig: { ui: {
|
|
30288
|
-
kind: "widget",
|
|
30289
|
-
widgetId: "host/scene-monitor-editor",
|
|
30290
|
-
tab: "scenes",
|
|
30291
|
-
label: "Scenes"
|
|
30292
|
-
} },
|
|
30293
31120
|
methods: {
|
|
30294
31121
|
listScenes: method(object({ deviceId: number() }), SceneMonitorStatusSchema),
|
|
30295
31122
|
createScene: method(object({
|
|
@@ -30320,7 +31147,15 @@ var sceneMonitorCapability = {
|
|
|
30320
31147
|
"both"
|
|
30321
31148
|
]).optional(),
|
|
30322
31149
|
checkIntervalSec: number().optional(),
|
|
30323
|
-
check: SceneCheckSchema.optional()
|
|
31150
|
+
check: SceneCheckSchema.optional(),
|
|
31151
|
+
emit: _enum(["latched", "live"]).optional(),
|
|
31152
|
+
quietSeconds: number().int().min(0).max(3600).optional(),
|
|
31153
|
+
minObservationSpacingSec: number().int().min(0).max(3600).optional(),
|
|
31154
|
+
anchorThreshold: number().min(0).max(1).optional(),
|
|
31155
|
+
autoRestore: boolean().optional(),
|
|
31156
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.optional(),
|
|
31157
|
+
/** `null` clears the vision-model adjudicator. */
|
|
31158
|
+
confirm: SceneConfirmSchema.nullable().optional()
|
|
30324
31159
|
})
|
|
30325
31160
|
}), _void(), {
|
|
30326
31161
|
kind: "mutation",
|
|
@@ -30361,6 +31196,26 @@ var sceneMonitorCapability = {
|
|
|
30361
31196
|
}), _void(), {
|
|
30362
31197
|
kind: "mutation",
|
|
30363
31198
|
auth: "admin"
|
|
31199
|
+
}),
|
|
31200
|
+
/**
|
|
31201
|
+
* Clear the latch, re-arm, and — by default — RE-CAPTURE the baseline for
|
|
31202
|
+
* the CURRENT condition. The bin never goes back in exactly the same spot;
|
|
31203
|
+
* "reset" in the operator's head means *this is the new normal*, and
|
|
31204
|
+
* re-capture is what makes the feature self-healing against slow drift
|
|
31205
|
+
* instead of failing silently weeks later.
|
|
31206
|
+
*
|
|
31207
|
+
* Reachable from three surfaces on this one mutation: the scene card, a
|
|
31208
|
+
* notification button (an `onTrigger` sequence with a `kind:'cap'` step —
|
|
31209
|
+
* no new Notification-Center code at all), and tRPC for scripts.
|
|
31210
|
+
*/
|
|
31211
|
+
resetScene: method(object({
|
|
31212
|
+
deviceId: number(),
|
|
31213
|
+
monitorId: string(),
|
|
31214
|
+
/** Defaults to TRUE at the provider seam — see `SCENE_RESET_RECAPTURES`. */
|
|
31215
|
+
recapture: boolean().optional()
|
|
31216
|
+
}), _void(), {
|
|
31217
|
+
kind: "mutation",
|
|
31218
|
+
auth: "admin"
|
|
30364
31219
|
})
|
|
30365
31220
|
},
|
|
30366
31221
|
status: {
|
|
@@ -30603,13 +31458,63 @@ var CamStreamDescriptorSchema = object({
|
|
|
30603
31458
|
* set of stream descriptors it can offer for the device, synchronously, so the
|
|
30604
31459
|
* broker can reconcile its registry against the authoritative provider state.
|
|
30605
31460
|
*/
|
|
31461
|
+
/**
|
|
31462
|
+
* The catalog as a DURABLE fact rather than a live answer.
|
|
31463
|
+
*
|
|
31464
|
+
* A battery camera's descriptors are profile-stable — they change when the
|
|
31465
|
+
* operator rewrites an encoder profile, not minute to minute — but building
|
|
31466
|
+
* them costs a Baichuan login, which on a sleeping Argus IS a wake. So the
|
|
31467
|
+
* provider is allowed to build them exactly once per profile and must serve
|
|
31468
|
+
* every later pull from a cache.
|
|
31469
|
+
*
|
|
31470
|
+
* Holding that cache only in RAM is what turned a restart into an outage. The
|
|
31471
|
+
* runner comes back with the camera asleep, `buildStreamCatalogUncached`
|
|
31472
|
+
* correctly refuses to wake it, the pull answers `[]`, the broker has no
|
|
31473
|
+
* cam-stream entry to build a broker from, and `webrtcSession.handleOffer`
|
|
31474
|
+
* fails with a flat "No broker for stream" — for as long as the camera sleeps,
|
|
31475
|
+
* which on a battery cam is most of the day. The camera was fine. The stream
|
|
31476
|
+
* was unreachable because the process had forgotten what the camera offers.
|
|
31477
|
+
*
|
|
31478
|
+
* Declaring it here puts it in `device-runtime-state`, the kernel's canonical
|
|
31479
|
+
* declared collection, with the same `restored` durability `battery` uses for
|
|
31480
|
+
* the same reason: the last known value is the only value there is while the
|
|
31481
|
+
* device is asleep. The broker's brokers are therefore always DEFINABLE — it
|
|
31482
|
+
* is the DIAL that wakes a camera, never the catalog (D173).
|
|
31483
|
+
*/
|
|
31484
|
+
var StreamCatalogStateSchema = object({
|
|
31485
|
+
/** The descriptors as last built from a real camera response. Never a guess:
|
|
31486
|
+
* a failed or refused build writes NOTHING, so a restored catalog is always
|
|
31487
|
+
* one the camera itself once produced. */
|
|
31488
|
+
descriptors: array(CamStreamDescriptorSchema),
|
|
31489
|
+
/** Ms epoch of the build that produced {@link descriptors}. Lets the wake
|
|
31490
|
+
* path decide whether the camera's own awake window is worth spending on a
|
|
31491
|
+
* re-read. */
|
|
31492
|
+
lastFetchedAt: number()
|
|
31493
|
+
});
|
|
30606
31494
|
var streamCatalogCapability = {
|
|
30607
31495
|
name: "stream-catalog",
|
|
30608
31496
|
scope: "device",
|
|
30609
31497
|
deviceNative: true,
|
|
30610
31498
|
mode: "singleton",
|
|
30611
31499
|
deviceTypes: [DeviceType.Camera],
|
|
30612
|
-
methods: { getCatalog: method(object({ deviceId: number().int().nonnegative() }), array(CamStreamDescriptorSchema).readonly()) }
|
|
31500
|
+
methods: { getCatalog: method(object({ deviceId: number().int().nonnegative() }), array(CamStreamDescriptorSchema).readonly()) },
|
|
31501
|
+
runtimeState: StreamCatalogStateSchema,
|
|
31502
|
+
/**
|
|
31503
|
+
* Runtime-state durability: **restored** — see the schema doc. A cold
|
|
31504
|
+
* catalog on a sleeping battery camera is not a slow first frame, it is a
|
|
31505
|
+
* camera that cannot be watched at all until it happens to wake.
|
|
31506
|
+
*
|
|
31507
|
+
* Churn is nil by construction: the slice is written only by a SUCCESSFUL
|
|
31508
|
+
* build, and a build only runs when there is no cached copy (or the copy is
|
|
31509
|
+
* a day old and the camera is awake anyway).
|
|
31510
|
+
*
|
|
31511
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
31512
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
31513
|
+
*/
|
|
31514
|
+
durability: "restored",
|
|
31515
|
+
/** Clock field: written, but excluded from the compare that decides whether
|
|
31516
|
+
* persisting is worth a SQLite commit — the descriptors are the value. */
|
|
31517
|
+
volatileStateFields: ["lastFetchedAt"]
|
|
30613
31518
|
};
|
|
30614
31519
|
/** One of the camera's stream profiles. */
|
|
30615
31520
|
var StreamProfileSchema = _enum([
|
|
@@ -30864,6 +31769,52 @@ var NetworkAddressSchema = object({
|
|
|
30864
31769
|
family: string(),
|
|
30865
31770
|
internal: boolean()
|
|
30866
31771
|
});
|
|
31772
|
+
/**
|
|
31773
|
+
* Provenance of the site coordinates, and the whole reason this is not just two
|
|
31774
|
+
* numbers.
|
|
31775
|
+
*
|
|
31776
|
+
* - `operator-set` — a human typed it, or accepted a detection. Authoritative;
|
|
31777
|
+
* nothing overwrites it.
|
|
31778
|
+
* - `derived-from-ip` — the hub geolocated its own public IP once, because a
|
|
31779
|
+
* default that is right to a few kilometres beats the coarse UTC clock split
|
|
31780
|
+
* the sun-times consumers otherwise fall back to.
|
|
31781
|
+
*
|
|
31782
|
+
* The UI shows which one it is. An operator who cannot tell a guess from their
|
|
31783
|
+
* own input will eventually trust the guess.
|
|
31784
|
+
*/
|
|
31785
|
+
var SiteLocationSourceSchema = _enum(["operator-set", "derived-from-ip"]);
|
|
31786
|
+
/**
|
|
31787
|
+
* The read shape: the location plus the honest state of the one-shot derivation.
|
|
31788
|
+
*
|
|
31789
|
+
* `derivationAttemptedAt` is what makes the "one call, ever" contract
|
|
31790
|
+
* inspectable. When it is set and `location` is null, the geo-IP lookup ran and
|
|
31791
|
+
* failed; the hub will NOT try again on its own — the fallback is declared
|
|
31792
|
+
* (consumers degrade to their own last resort) and the operator either types the
|
|
31793
|
+
* coordinates or presses detect.
|
|
31794
|
+
*/
|
|
31795
|
+
var SiteLocationStatusSchema = object({
|
|
31796
|
+
location: object({
|
|
31797
|
+
/** WGS84 decimal degrees. */
|
|
31798
|
+
latitude: number().min(-90).max(90),
|
|
31799
|
+
longitude: number().min(-180).max(180),
|
|
31800
|
+
source: SiteLocationSourceSchema,
|
|
31801
|
+
/** Epoch ms the value was last written. */
|
|
31802
|
+
updatedAt: number(),
|
|
31803
|
+
/**
|
|
31804
|
+
* Human-readable place the geo-IP service reported ("Napoli, IT"). Display
|
|
31805
|
+
* only — never parsed, never matched on. Absent for an operator-typed value.
|
|
31806
|
+
*/
|
|
31807
|
+
label: string().optional()
|
|
31808
|
+
}).nullable(),
|
|
31809
|
+
derivationAttemptedAt: number().nullable(),
|
|
31810
|
+
/** Why the last derivation failed, for the UI to show instead of a shrug. */
|
|
31811
|
+
derivationError: string().nullable()
|
|
31812
|
+
});
|
|
31813
|
+
/** `null` clears the location and re-arms nothing — the derivation stays spent. */
|
|
31814
|
+
var SetSiteLocationInputSchema = object({
|
|
31815
|
+
latitude: number().min(-90).max(90),
|
|
31816
|
+
longitude: number().min(-180).max(180)
|
|
31817
|
+
}).nullable();
|
|
30867
31818
|
var systemCapability = {
|
|
30868
31819
|
name: "system",
|
|
30869
31820
|
scope: "system",
|
|
@@ -30881,6 +31832,32 @@ var systemCapability = {
|
|
|
30881
31832
|
forceRetentionCleanup: method(_void(), _void(), {
|
|
30882
31833
|
kind: "mutation",
|
|
30883
31834
|
auth: "admin"
|
|
31835
|
+
}),
|
|
31836
|
+
/**
|
|
31837
|
+
* The site coordinates, deriving a default from the hub's public IP on the
|
|
31838
|
+
* FIRST read that finds nothing stored.
|
|
31839
|
+
*
|
|
31840
|
+
* The derivation is one-shot and bounded: one outbound request, a few
|
|
31841
|
+
* seconds, its outcome persisted either way. A hub with no internet pays it
|
|
31842
|
+
* once and never again, and neither boot nor any consumer is blocked on it —
|
|
31843
|
+
* the caller gets `location: null` and degrades exactly as it did before this
|
|
31844
|
+
* method existed.
|
|
31845
|
+
*/
|
|
31846
|
+
getSiteLocation: method(_void(), SiteLocationStatusSchema),
|
|
31847
|
+
/** Operator input. Always lands as `source: 'operator-set'`. */
|
|
31848
|
+
setSiteLocation: method(SetSiteLocationInputSchema, SiteLocationStatusSchema, {
|
|
31849
|
+
kind: "mutation",
|
|
31850
|
+
auth: "admin"
|
|
31851
|
+
}),
|
|
31852
|
+
/**
|
|
31853
|
+
* Re-run the geo-IP derivation now. The ONLY way a spent or failed
|
|
31854
|
+
* derivation is retried — there is no timer, and no read path retries.
|
|
31855
|
+
* Overwrites an existing `derived-from-ip` value; refuses to clobber an
|
|
31856
|
+
* `operator-set` one.
|
|
31857
|
+
*/
|
|
31858
|
+
detectSiteLocation: method(_void(), SiteLocationStatusSchema, {
|
|
31859
|
+
kind: "mutation",
|
|
31860
|
+
auth: "admin"
|
|
30884
31861
|
})
|
|
30885
31862
|
},
|
|
30886
31863
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
@@ -34248,6 +35225,12 @@ Object.freeze({
|
|
|
34248
35225
|
addonId: null,
|
|
34249
35226
|
access: "create"
|
|
34250
35227
|
},
|
|
35228
|
+
"llm.cancel": {
|
|
35229
|
+
capName: "llm",
|
|
35230
|
+
capScope: "system",
|
|
35231
|
+
addonId: null,
|
|
35232
|
+
access: "create"
|
|
35233
|
+
},
|
|
34251
35234
|
"llm.deleteModel": {
|
|
34252
35235
|
capName: "llm",
|
|
34253
35236
|
capScope: "system",
|
|
@@ -34332,6 +35315,12 @@ Object.freeze({
|
|
|
34332
35315
|
addonId: null,
|
|
34333
35316
|
access: "view"
|
|
34334
35317
|
},
|
|
35318
|
+
"llm.resolveModelRef": {
|
|
35319
|
+
capName: "llm",
|
|
35320
|
+
capScope: "system",
|
|
35321
|
+
addonId: null,
|
|
35322
|
+
access: "create"
|
|
35323
|
+
},
|
|
34335
35324
|
"llm.setDefault": {
|
|
34336
35325
|
capName: "llm",
|
|
34337
35326
|
capScope: "system",
|
|
@@ -36498,6 +37487,12 @@ Object.freeze({
|
|
|
36498
37487
|
addonId: null,
|
|
36499
37488
|
access: "create"
|
|
36500
37489
|
},
|
|
37490
|
+
"sceneMonitor.resetScene": {
|
|
37491
|
+
capName: "scene-monitor",
|
|
37492
|
+
capScope: "device",
|
|
37493
|
+
addonId: null,
|
|
37494
|
+
access: "delete"
|
|
37495
|
+
},
|
|
36501
37496
|
"sceneMonitor.updateScene": {
|
|
36502
37497
|
capName: "scene-monitor",
|
|
36503
37498
|
capScope: "device",
|
|
@@ -37176,6 +38171,12 @@ Object.freeze({
|
|
|
37176
38171
|
addonId: null,
|
|
37177
38172
|
access: "create"
|
|
37178
38173
|
},
|
|
38174
|
+
"system.detectSiteLocation": {
|
|
38175
|
+
capName: "system",
|
|
38176
|
+
capScope: "system",
|
|
38177
|
+
addonId: null,
|
|
38178
|
+
access: "create"
|
|
38179
|
+
},
|
|
37179
38180
|
"system.featureFlags": {
|
|
37180
38181
|
capName: "system",
|
|
37181
38182
|
capScope: "system",
|
|
@@ -37194,6 +38195,12 @@ Object.freeze({
|
|
|
37194
38195
|
addonId: null,
|
|
37195
38196
|
access: "view"
|
|
37196
38197
|
},
|
|
38198
|
+
"system.getSiteLocation": {
|
|
38199
|
+
capName: "system",
|
|
38200
|
+
capScope: "system",
|
|
38201
|
+
addonId: null,
|
|
38202
|
+
access: "view"
|
|
38203
|
+
},
|
|
37197
38204
|
"system.health": {
|
|
37198
38205
|
capName: "system",
|
|
37199
38206
|
capScope: "system",
|
|
@@ -37218,6 +38225,12 @@ Object.freeze({
|
|
|
37218
38225
|
addonId: null,
|
|
37219
38226
|
access: "create"
|
|
37220
38227
|
},
|
|
38228
|
+
"system.setSiteLocation": {
|
|
38229
|
+
capName: "system",
|
|
38230
|
+
capScope: "system",
|
|
38231
|
+
addonId: null,
|
|
38232
|
+
access: "create"
|
|
38233
|
+
},
|
|
37221
38234
|
"terminalSession.adoptLegacyMonitor": {
|
|
37222
38235
|
capName: "terminal-session",
|
|
37223
38236
|
capScope: "system",
|
|
@@ -37789,6 +38802,1704 @@ Object.freeze({
|
|
|
37789
38802
|
access: "create"
|
|
37790
38803
|
}
|
|
37791
38804
|
});
|
|
38805
|
+
Object.freeze({
|
|
38806
|
+
"accessories.setChildHidden": [{
|
|
38807
|
+
name: "childDeviceId",
|
|
38808
|
+
form: "single",
|
|
38809
|
+
optional: false
|
|
38810
|
+
}, {
|
|
38811
|
+
name: "deviceId",
|
|
38812
|
+
form: "single",
|
|
38813
|
+
optional: false
|
|
38814
|
+
}],
|
|
38815
|
+
"addonSettings.getDeviceSettings": [{
|
|
38816
|
+
name: "deviceId",
|
|
38817
|
+
form: "single",
|
|
38818
|
+
optional: false
|
|
38819
|
+
}],
|
|
38820
|
+
"addonSettings.updateDeviceSettings": [{
|
|
38821
|
+
name: "deviceId",
|
|
38822
|
+
form: "single",
|
|
38823
|
+
optional: false
|
|
38824
|
+
}],
|
|
38825
|
+
"alarmPanel.arm": [{
|
|
38826
|
+
name: "deviceId",
|
|
38827
|
+
form: "single",
|
|
38828
|
+
optional: false
|
|
38829
|
+
}],
|
|
38830
|
+
"alarmPanel.disarm": [{
|
|
38831
|
+
name: "deviceId",
|
|
38832
|
+
form: "single",
|
|
38833
|
+
optional: false
|
|
38834
|
+
}],
|
|
38835
|
+
"alarmPanel.trigger": [{
|
|
38836
|
+
name: "deviceId",
|
|
38837
|
+
form: "single",
|
|
38838
|
+
optional: false
|
|
38839
|
+
}],
|
|
38840
|
+
"audioAnalysis.resolveDeviceSettings": [{
|
|
38841
|
+
name: "deviceId",
|
|
38842
|
+
form: "single",
|
|
38843
|
+
optional: false
|
|
38844
|
+
}],
|
|
38845
|
+
"audioAnalyzer.classify": [{
|
|
38846
|
+
name: "deviceId",
|
|
38847
|
+
form: "single",
|
|
38848
|
+
optional: true
|
|
38849
|
+
}],
|
|
38850
|
+
"audioMetrics.getCurrentSnapshot": [{
|
|
38851
|
+
name: "deviceId",
|
|
38852
|
+
form: "single",
|
|
38853
|
+
optional: false
|
|
38854
|
+
}],
|
|
38855
|
+
"audioMetrics.getHistory": [{
|
|
38856
|
+
name: "deviceId",
|
|
38857
|
+
form: "single",
|
|
38858
|
+
optional: false
|
|
38859
|
+
}],
|
|
38860
|
+
"automationControl.disable": [{
|
|
38861
|
+
name: "deviceId",
|
|
38862
|
+
form: "single",
|
|
38863
|
+
optional: false
|
|
38864
|
+
}],
|
|
38865
|
+
"automationControl.enable": [{
|
|
38866
|
+
name: "deviceId",
|
|
38867
|
+
form: "single",
|
|
38868
|
+
optional: false
|
|
38869
|
+
}],
|
|
38870
|
+
"automationControl.trigger": [{
|
|
38871
|
+
name: "deviceId",
|
|
38872
|
+
form: "single",
|
|
38873
|
+
optional: false
|
|
38874
|
+
}],
|
|
38875
|
+
"battery.wakeForStream": [{
|
|
38876
|
+
name: "deviceId",
|
|
38877
|
+
form: "single",
|
|
38878
|
+
optional: false
|
|
38879
|
+
}],
|
|
38880
|
+
"brightness.setBrightness": [{
|
|
38881
|
+
name: "deviceId",
|
|
38882
|
+
form: "single",
|
|
38883
|
+
optional: false
|
|
38884
|
+
}],
|
|
38885
|
+
"button.press": [{
|
|
38886
|
+
name: "deviceId",
|
|
38887
|
+
form: "single",
|
|
38888
|
+
optional: false
|
|
38889
|
+
}],
|
|
38890
|
+
"cameraCredentials.getCredentials": [{
|
|
38891
|
+
name: "deviceId",
|
|
38892
|
+
form: "single",
|
|
38893
|
+
optional: false
|
|
38894
|
+
}],
|
|
38895
|
+
"cameraStreams.getBrokerStreams": [{
|
|
38896
|
+
name: "deviceId",
|
|
38897
|
+
form: "single",
|
|
38898
|
+
optional: false
|
|
38899
|
+
}],
|
|
38900
|
+
"cameraStreams.getCameraStreams": [{
|
|
38901
|
+
name: "deviceId",
|
|
38902
|
+
form: "single",
|
|
38903
|
+
optional: false
|
|
38904
|
+
}],
|
|
38905
|
+
"cameraStreams.getProfileRtspEntries": [{
|
|
38906
|
+
name: "deviceId",
|
|
38907
|
+
form: "single",
|
|
38908
|
+
optional: false
|
|
38909
|
+
}],
|
|
38910
|
+
"cameraStreams.getRtspEntries": [{
|
|
38911
|
+
name: "deviceId",
|
|
38912
|
+
form: "single",
|
|
38913
|
+
optional: false
|
|
38914
|
+
}],
|
|
38915
|
+
"cameraStreams.pickStream": [{
|
|
38916
|
+
name: "deviceId",
|
|
38917
|
+
form: "single",
|
|
38918
|
+
optional: false
|
|
38919
|
+
}],
|
|
38920
|
+
"climateControl.setFanMode": [{
|
|
38921
|
+
name: "deviceId",
|
|
38922
|
+
form: "single",
|
|
38923
|
+
optional: false
|
|
38924
|
+
}],
|
|
38925
|
+
"climateControl.setMode": [{
|
|
38926
|
+
name: "deviceId",
|
|
38927
|
+
form: "single",
|
|
38928
|
+
optional: false
|
|
38929
|
+
}],
|
|
38930
|
+
"climateControl.setPreset": [{
|
|
38931
|
+
name: "deviceId",
|
|
38932
|
+
form: "single",
|
|
38933
|
+
optional: false
|
|
38934
|
+
}],
|
|
38935
|
+
"climateControl.setSwingHorizontal": [{
|
|
38936
|
+
name: "deviceId",
|
|
38937
|
+
form: "single",
|
|
38938
|
+
optional: false
|
|
38939
|
+
}],
|
|
38940
|
+
"climateControl.setSwingVertical": [{
|
|
38941
|
+
name: "deviceId",
|
|
38942
|
+
form: "single",
|
|
38943
|
+
optional: false
|
|
38944
|
+
}],
|
|
38945
|
+
"climateControl.setTarget": [{
|
|
38946
|
+
name: "deviceId",
|
|
38947
|
+
form: "single",
|
|
38948
|
+
optional: false
|
|
38949
|
+
}],
|
|
38950
|
+
"climateControl.setTargetHumidity": [{
|
|
38951
|
+
name: "deviceId",
|
|
38952
|
+
form: "single",
|
|
38953
|
+
optional: false
|
|
38954
|
+
}],
|
|
38955
|
+
"climateControl.setTargetRange": [{
|
|
38956
|
+
name: "deviceId",
|
|
38957
|
+
form: "single",
|
|
38958
|
+
optional: false
|
|
38959
|
+
}],
|
|
38960
|
+
"color.setColor": [{
|
|
38961
|
+
name: "deviceId",
|
|
38962
|
+
form: "single",
|
|
38963
|
+
optional: false
|
|
38964
|
+
}],
|
|
38965
|
+
"consumables.reset": [{
|
|
38966
|
+
name: "deviceId",
|
|
38967
|
+
form: "single",
|
|
38968
|
+
optional: false
|
|
38969
|
+
}],
|
|
38970
|
+
"control.setValue": [{
|
|
38971
|
+
name: "deviceId",
|
|
38972
|
+
form: "single",
|
|
38973
|
+
optional: false
|
|
38974
|
+
}],
|
|
38975
|
+
"cover.close": [{
|
|
38976
|
+
name: "deviceId",
|
|
38977
|
+
form: "single",
|
|
38978
|
+
optional: false
|
|
38979
|
+
}],
|
|
38980
|
+
"cover.open": [{
|
|
38981
|
+
name: "deviceId",
|
|
38982
|
+
form: "single",
|
|
38983
|
+
optional: false
|
|
38984
|
+
}],
|
|
38985
|
+
"cover.setPosition": [{
|
|
38986
|
+
name: "deviceId",
|
|
38987
|
+
form: "single",
|
|
38988
|
+
optional: false
|
|
38989
|
+
}],
|
|
38990
|
+
"cover.setTiltPosition": [{
|
|
38991
|
+
name: "deviceId",
|
|
38992
|
+
form: "single",
|
|
38993
|
+
optional: false
|
|
38994
|
+
}],
|
|
38995
|
+
"cover.stop": [{
|
|
38996
|
+
name: "deviceId",
|
|
38997
|
+
form: "single",
|
|
38998
|
+
optional: false
|
|
38999
|
+
}],
|
|
39000
|
+
"dayNight.getOptions": [{
|
|
39001
|
+
name: "deviceId",
|
|
39002
|
+
form: "single",
|
|
39003
|
+
optional: false
|
|
39004
|
+
}],
|
|
39005
|
+
"dayNight.setSettings": [{
|
|
39006
|
+
name: "deviceId",
|
|
39007
|
+
form: "single",
|
|
39008
|
+
optional: false
|
|
39009
|
+
}],
|
|
39010
|
+
"decoder.createSession": [{
|
|
39011
|
+
name: "deviceId",
|
|
39012
|
+
form: "single",
|
|
39013
|
+
optional: true
|
|
39014
|
+
}],
|
|
39015
|
+
"deviceAdoption.release": [{
|
|
39016
|
+
name: "camDeviceId",
|
|
39017
|
+
form: "single",
|
|
39018
|
+
optional: false
|
|
39019
|
+
}],
|
|
39020
|
+
"deviceAdoption.resync": [{
|
|
39021
|
+
name: "camDeviceId",
|
|
39022
|
+
form: "single",
|
|
39023
|
+
optional: false
|
|
39024
|
+
}],
|
|
39025
|
+
"deviceDiscovery.adoptDevice": [{
|
|
39026
|
+
name: "deviceId",
|
|
39027
|
+
form: "single",
|
|
39028
|
+
optional: false
|
|
39029
|
+
}],
|
|
39030
|
+
"deviceDiscovery.listDiscovered": [{
|
|
39031
|
+
name: "deviceId",
|
|
39032
|
+
form: "single",
|
|
39033
|
+
optional: false
|
|
39034
|
+
}],
|
|
39035
|
+
"deviceDiscovery.refreshDiscovery": [{
|
|
39036
|
+
name: "deviceId",
|
|
39037
|
+
form: "single",
|
|
39038
|
+
optional: false
|
|
39039
|
+
}],
|
|
39040
|
+
"deviceDiscovery.releaseDevice": [{
|
|
39041
|
+
name: "childDeviceId",
|
|
39042
|
+
form: "single",
|
|
39043
|
+
optional: false
|
|
39044
|
+
}, {
|
|
39045
|
+
name: "deviceId",
|
|
39046
|
+
form: "single",
|
|
39047
|
+
optional: false
|
|
39048
|
+
}],
|
|
39049
|
+
"deviceManager.adoptionRelease": [{
|
|
39050
|
+
name: "camDeviceId",
|
|
39051
|
+
form: "single",
|
|
39052
|
+
optional: false
|
|
39053
|
+
}],
|
|
39054
|
+
"deviceManager.adoptionResync": [{
|
|
39055
|
+
name: "camDeviceId",
|
|
39056
|
+
form: "single",
|
|
39057
|
+
optional: false
|
|
39058
|
+
}],
|
|
39059
|
+
"deviceManager.applyInitialMeta": [{
|
|
39060
|
+
name: "deviceId",
|
|
39061
|
+
form: "single",
|
|
39062
|
+
optional: false
|
|
39063
|
+
}, {
|
|
39064
|
+
name: "linkDeviceId",
|
|
39065
|
+
form: "single",
|
|
39066
|
+
optional: true
|
|
39067
|
+
}],
|
|
39068
|
+
"deviceManager.disable": [{
|
|
39069
|
+
name: "deviceId",
|
|
39070
|
+
form: "single",
|
|
39071
|
+
optional: false
|
|
39072
|
+
}],
|
|
39073
|
+
"deviceManager.enable": [{
|
|
39074
|
+
name: "deviceId",
|
|
39075
|
+
form: "single",
|
|
39076
|
+
optional: false
|
|
39077
|
+
}],
|
|
39078
|
+
"deviceManager.getBindings": [{
|
|
39079
|
+
name: "deviceId",
|
|
39080
|
+
form: "single",
|
|
39081
|
+
optional: false
|
|
39082
|
+
}],
|
|
39083
|
+
"deviceManager.getChildren": [{
|
|
39084
|
+
name: "parentDeviceId",
|
|
39085
|
+
form: "single",
|
|
39086
|
+
optional: false
|
|
39087
|
+
}],
|
|
39088
|
+
"deviceManager.getConfigSchema": [{
|
|
39089
|
+
name: "deviceId",
|
|
39090
|
+
form: "single",
|
|
39091
|
+
optional: false
|
|
39092
|
+
}],
|
|
39093
|
+
"deviceManager.getDevice": [{
|
|
39094
|
+
name: "deviceId",
|
|
39095
|
+
form: "single",
|
|
39096
|
+
optional: false
|
|
39097
|
+
}],
|
|
39098
|
+
"deviceManager.getDeviceAggregate": [{
|
|
39099
|
+
name: "deviceId",
|
|
39100
|
+
form: "single",
|
|
39101
|
+
optional: false
|
|
39102
|
+
}],
|
|
39103
|
+
"deviceManager.getDeviceLiveInfoAggregate": [{
|
|
39104
|
+
name: "deviceId",
|
|
39105
|
+
form: "single",
|
|
39106
|
+
optional: false
|
|
39107
|
+
}],
|
|
39108
|
+
"deviceManager.getDeviceSettingsAggregate": [{
|
|
39109
|
+
name: "deviceId",
|
|
39110
|
+
form: "single",
|
|
39111
|
+
optional: false
|
|
39112
|
+
}],
|
|
39113
|
+
"deviceManager.getDeviceStatusAggregate": [{
|
|
39114
|
+
name: "deviceId",
|
|
39115
|
+
form: "single",
|
|
39116
|
+
optional: false
|
|
39117
|
+
}],
|
|
39118
|
+
"deviceManager.getDeviceStatusAggregateBatch": [{
|
|
39119
|
+
name: "deviceIds",
|
|
39120
|
+
form: "array",
|
|
39121
|
+
optional: false
|
|
39122
|
+
}],
|
|
39123
|
+
"deviceManager.getLinkedDevices": [{
|
|
39124
|
+
name: "deviceId",
|
|
39125
|
+
form: "single",
|
|
39126
|
+
optional: false
|
|
39127
|
+
}],
|
|
39128
|
+
"deviceManager.getSettingsSchema": [{
|
|
39129
|
+
name: "deviceId",
|
|
39130
|
+
form: "single",
|
|
39131
|
+
optional: false
|
|
39132
|
+
}],
|
|
39133
|
+
"deviceManager.getStreamProfileMap": [{
|
|
39134
|
+
name: "deviceId",
|
|
39135
|
+
form: "single",
|
|
39136
|
+
optional: false
|
|
39137
|
+
}],
|
|
39138
|
+
"deviceManager.getStreamSources": [{
|
|
39139
|
+
name: "deviceId",
|
|
39140
|
+
form: "single",
|
|
39141
|
+
optional: false
|
|
39142
|
+
}],
|
|
39143
|
+
"deviceManager.getWireableFields": [{
|
|
39144
|
+
name: "deviceId",
|
|
39145
|
+
form: "single",
|
|
39146
|
+
optional: false
|
|
39147
|
+
}],
|
|
39148
|
+
"deviceManager.loadConfig": [{
|
|
39149
|
+
name: "deviceId",
|
|
39150
|
+
form: "single",
|
|
39151
|
+
optional: false
|
|
39152
|
+
}],
|
|
39153
|
+
"deviceManager.loadMeta": [{
|
|
39154
|
+
name: "deviceId",
|
|
39155
|
+
form: "single",
|
|
39156
|
+
optional: false
|
|
39157
|
+
}],
|
|
39158
|
+
"deviceManager.loadRuntimeState": [{
|
|
39159
|
+
name: "deviceId",
|
|
39160
|
+
form: "single",
|
|
39161
|
+
optional: false
|
|
39162
|
+
}],
|
|
39163
|
+
"deviceManager.persistConfig": [{
|
|
39164
|
+
name: "deviceId",
|
|
39165
|
+
form: "single",
|
|
39166
|
+
optional: false
|
|
39167
|
+
}],
|
|
39168
|
+
"deviceManager.probeStreams": [{
|
|
39169
|
+
name: "deviceId",
|
|
39170
|
+
form: "single",
|
|
39171
|
+
optional: false
|
|
39172
|
+
}],
|
|
39173
|
+
"deviceManager.registerDevice": [{
|
|
39174
|
+
name: "parentDeviceId",
|
|
39175
|
+
form: "single",
|
|
39176
|
+
optional: true
|
|
39177
|
+
}],
|
|
39178
|
+
"deviceManager.remove": [{
|
|
39179
|
+
name: "deviceId",
|
|
39180
|
+
form: "single",
|
|
39181
|
+
optional: false
|
|
39182
|
+
}],
|
|
39183
|
+
"deviceManager.removeDevice": [{
|
|
39184
|
+
name: "deviceId",
|
|
39185
|
+
form: "single",
|
|
39186
|
+
optional: false
|
|
39187
|
+
}],
|
|
39188
|
+
"deviceManager.runDeviceAction": [{
|
|
39189
|
+
name: "deviceId",
|
|
39190
|
+
form: "single",
|
|
39191
|
+
optional: false
|
|
39192
|
+
}],
|
|
39193
|
+
"deviceManager.setChildLayout": [{
|
|
39194
|
+
name: "deviceId",
|
|
39195
|
+
form: "single",
|
|
39196
|
+
optional: false
|
|
39197
|
+
}],
|
|
39198
|
+
"deviceManager.setDisabled": [{
|
|
39199
|
+
name: "deviceId",
|
|
39200
|
+
form: "single",
|
|
39201
|
+
optional: false
|
|
39202
|
+
}],
|
|
39203
|
+
"deviceManager.setDisplay": [{
|
|
39204
|
+
name: "deviceId",
|
|
39205
|
+
form: "single",
|
|
39206
|
+
optional: false
|
|
39207
|
+
}],
|
|
39208
|
+
"deviceManager.setIntegrationId": [{
|
|
39209
|
+
name: "deviceId",
|
|
39210
|
+
form: "single",
|
|
39211
|
+
optional: false
|
|
39212
|
+
}],
|
|
39213
|
+
"deviceManager.setLinkDeviceId": [{
|
|
39214
|
+
name: "deviceId",
|
|
39215
|
+
form: "single",
|
|
39216
|
+
optional: false
|
|
39217
|
+
}, {
|
|
39218
|
+
name: "linkDeviceId",
|
|
39219
|
+
form: "single",
|
|
39220
|
+
optional: true
|
|
39221
|
+
}],
|
|
39222
|
+
"deviceManager.setLocation": [{
|
|
39223
|
+
name: "deviceId",
|
|
39224
|
+
form: "single",
|
|
39225
|
+
optional: false
|
|
39226
|
+
}],
|
|
39227
|
+
"deviceManager.setMetadata": [{
|
|
39228
|
+
name: "deviceId",
|
|
39229
|
+
form: "single",
|
|
39230
|
+
optional: false
|
|
39231
|
+
}],
|
|
39232
|
+
"deviceManager.setName": [{
|
|
39233
|
+
name: "deviceId",
|
|
39234
|
+
form: "single",
|
|
39235
|
+
optional: false
|
|
39236
|
+
}],
|
|
39237
|
+
"deviceManager.setPrimaryChildEntityId": [{
|
|
39238
|
+
name: "deviceId",
|
|
39239
|
+
form: "single",
|
|
39240
|
+
optional: false
|
|
39241
|
+
}],
|
|
39242
|
+
"deviceManager.setRole": [{
|
|
39243
|
+
name: "deviceId",
|
|
39244
|
+
form: "single",
|
|
39245
|
+
optional: false
|
|
39246
|
+
}],
|
|
39247
|
+
"deviceManager.setStreamProfileMap": [{
|
|
39248
|
+
name: "deviceId",
|
|
39249
|
+
form: "single",
|
|
39250
|
+
optional: false
|
|
39251
|
+
}],
|
|
39252
|
+
"deviceManager.setType": [{
|
|
39253
|
+
name: "deviceId",
|
|
39254
|
+
form: "single",
|
|
39255
|
+
optional: false
|
|
39256
|
+
}],
|
|
39257
|
+
"deviceManager.setWrapperActive": [{
|
|
39258
|
+
name: "deviceId",
|
|
39259
|
+
form: "single",
|
|
39260
|
+
optional: false
|
|
39261
|
+
}],
|
|
39262
|
+
"deviceManager.testField": [{
|
|
39263
|
+
name: "deviceId",
|
|
39264
|
+
form: "single",
|
|
39265
|
+
optional: false
|
|
39266
|
+
}],
|
|
39267
|
+
"deviceManager.updateConfig": [{
|
|
39268
|
+
name: "deviceId",
|
|
39269
|
+
form: "single",
|
|
39270
|
+
optional: false
|
|
39271
|
+
}],
|
|
39272
|
+
"deviceManager.updateDeviceField": [{
|
|
39273
|
+
name: "deviceId",
|
|
39274
|
+
form: "single",
|
|
39275
|
+
optional: false
|
|
39276
|
+
}],
|
|
39277
|
+
"deviceManager.updateDeviceFieldsBatch": [{
|
|
39278
|
+
name: "deviceId",
|
|
39279
|
+
form: "single",
|
|
39280
|
+
optional: false
|
|
39281
|
+
}],
|
|
39282
|
+
"deviceOps.getConfigEntries": [{
|
|
39283
|
+
name: "deviceId",
|
|
39284
|
+
form: "single",
|
|
39285
|
+
optional: false
|
|
39286
|
+
}],
|
|
39287
|
+
"deviceOps.getRawState": [{
|
|
39288
|
+
name: "deviceId",
|
|
39289
|
+
form: "single",
|
|
39290
|
+
optional: false
|
|
39291
|
+
}],
|
|
39292
|
+
"deviceOps.getSettingsSchema": [{
|
|
39293
|
+
name: "deviceId",
|
|
39294
|
+
form: "single",
|
|
39295
|
+
optional: false
|
|
39296
|
+
}],
|
|
39297
|
+
"deviceOps.getStreamSources": [{
|
|
39298
|
+
name: "deviceId",
|
|
39299
|
+
form: "single",
|
|
39300
|
+
optional: false
|
|
39301
|
+
}],
|
|
39302
|
+
"deviceOps.removeDevice": [{
|
|
39303
|
+
name: "deviceId",
|
|
39304
|
+
form: "single",
|
|
39305
|
+
optional: false
|
|
39306
|
+
}],
|
|
39307
|
+
"deviceOps.runAction": [{
|
|
39308
|
+
name: "deviceId",
|
|
39309
|
+
form: "single",
|
|
39310
|
+
optional: false
|
|
39311
|
+
}],
|
|
39312
|
+
"deviceOps.setConfig": [{
|
|
39313
|
+
name: "deviceId",
|
|
39314
|
+
form: "single",
|
|
39315
|
+
optional: false
|
|
39316
|
+
}],
|
|
39317
|
+
"deviceState.getCapSlice": [{
|
|
39318
|
+
name: "deviceId",
|
|
39319
|
+
form: "single",
|
|
39320
|
+
optional: false
|
|
39321
|
+
}],
|
|
39322
|
+
"deviceState.getSnapshot": [{
|
|
39323
|
+
name: "deviceId",
|
|
39324
|
+
form: "single",
|
|
39325
|
+
optional: false
|
|
39326
|
+
}],
|
|
39327
|
+
"deviceState.setCapSlice": [{
|
|
39328
|
+
name: "deviceId",
|
|
39329
|
+
form: "single",
|
|
39330
|
+
optional: false
|
|
39331
|
+
}],
|
|
39332
|
+
"events.getEventClipUrl": [{
|
|
39333
|
+
name: "deviceId",
|
|
39334
|
+
form: "single",
|
|
39335
|
+
optional: false
|
|
39336
|
+
}],
|
|
39337
|
+
"events.getEvents": [{
|
|
39338
|
+
name: "deviceId",
|
|
39339
|
+
form: "single",
|
|
39340
|
+
optional: false
|
|
39341
|
+
}],
|
|
39342
|
+
"events.getEventThumbnail": [{
|
|
39343
|
+
name: "deviceId",
|
|
39344
|
+
form: "single",
|
|
39345
|
+
optional: false
|
|
39346
|
+
}],
|
|
39347
|
+
"faceGallery.getFaceByTrack": [{
|
|
39348
|
+
name: "deviceId",
|
|
39349
|
+
form: "single",
|
|
39350
|
+
optional: false
|
|
39351
|
+
}],
|
|
39352
|
+
"faceGallery.listRecentFaces": [{
|
|
39353
|
+
name: "deviceId",
|
|
39354
|
+
form: "single",
|
|
39355
|
+
optional: true
|
|
39356
|
+
}],
|
|
39357
|
+
"fanControl.setDirection": [{
|
|
39358
|
+
name: "deviceId",
|
|
39359
|
+
form: "single",
|
|
39360
|
+
optional: false
|
|
39361
|
+
}],
|
|
39362
|
+
"fanControl.setOscillating": [{
|
|
39363
|
+
name: "deviceId",
|
|
39364
|
+
form: "single",
|
|
39365
|
+
optional: false
|
|
39366
|
+
}],
|
|
39367
|
+
"fanControl.setPercentage": [{
|
|
39368
|
+
name: "deviceId",
|
|
39369
|
+
form: "single",
|
|
39370
|
+
optional: false
|
|
39371
|
+
}],
|
|
39372
|
+
"fanControl.setPreset": [{
|
|
39373
|
+
name: "deviceId",
|
|
39374
|
+
form: "single",
|
|
39375
|
+
optional: false
|
|
39376
|
+
}],
|
|
39377
|
+
"humidifier.setMode": [{
|
|
39378
|
+
name: "deviceId",
|
|
39379
|
+
form: "single",
|
|
39380
|
+
optional: false
|
|
39381
|
+
}],
|
|
39382
|
+
"humidifier.setOn": [{
|
|
39383
|
+
name: "deviceId",
|
|
39384
|
+
form: "single",
|
|
39385
|
+
optional: false
|
|
39386
|
+
}],
|
|
39387
|
+
"humidifier.setTargetHumidity": [{
|
|
39388
|
+
name: "deviceId",
|
|
39389
|
+
form: "single",
|
|
39390
|
+
optional: false
|
|
39391
|
+
}],
|
|
39392
|
+
"imageSettings.getOptions": [{
|
|
39393
|
+
name: "deviceId",
|
|
39394
|
+
form: "single",
|
|
39395
|
+
optional: false
|
|
39396
|
+
}],
|
|
39397
|
+
"imageSettings.setSettings": [{
|
|
39398
|
+
name: "deviceId",
|
|
39399
|
+
form: "single",
|
|
39400
|
+
optional: false
|
|
39401
|
+
}],
|
|
39402
|
+
"intercom.endTalkSession": [{
|
|
39403
|
+
name: "deviceId",
|
|
39404
|
+
form: "single",
|
|
39405
|
+
optional: false
|
|
39406
|
+
}],
|
|
39407
|
+
"intercom.handleAnswer": [{
|
|
39408
|
+
name: "deviceId",
|
|
39409
|
+
form: "single",
|
|
39410
|
+
optional: false
|
|
39411
|
+
}],
|
|
39412
|
+
"intercom.pushTalkAudio": [{
|
|
39413
|
+
name: "deviceId",
|
|
39414
|
+
form: "single",
|
|
39415
|
+
optional: false
|
|
39416
|
+
}],
|
|
39417
|
+
"intercom.startSession": [{
|
|
39418
|
+
name: "deviceId",
|
|
39419
|
+
form: "single",
|
|
39420
|
+
optional: false
|
|
39421
|
+
}],
|
|
39422
|
+
"intercom.startTalkSession": [{
|
|
39423
|
+
name: "deviceId",
|
|
39424
|
+
form: "single",
|
|
39425
|
+
optional: false
|
|
39426
|
+
}],
|
|
39427
|
+
"intercom.stopSession": [{
|
|
39428
|
+
name: "deviceId",
|
|
39429
|
+
form: "single",
|
|
39430
|
+
optional: false
|
|
39431
|
+
}],
|
|
39432
|
+
"lawnMowerControl.dock": [{
|
|
39433
|
+
name: "deviceId",
|
|
39434
|
+
form: "single",
|
|
39435
|
+
optional: false
|
|
39436
|
+
}],
|
|
39437
|
+
"lawnMowerControl.pause": [{
|
|
39438
|
+
name: "deviceId",
|
|
39439
|
+
form: "single",
|
|
39440
|
+
optional: false
|
|
39441
|
+
}],
|
|
39442
|
+
"lawnMowerControl.startMowing": [{
|
|
39443
|
+
name: "deviceId",
|
|
39444
|
+
form: "single",
|
|
39445
|
+
optional: false
|
|
39446
|
+
}],
|
|
39447
|
+
"lockControl.lock": [{
|
|
39448
|
+
name: "deviceId",
|
|
39449
|
+
form: "single",
|
|
39450
|
+
optional: false
|
|
39451
|
+
}],
|
|
39452
|
+
"lockControl.open": [{
|
|
39453
|
+
name: "deviceId",
|
|
39454
|
+
form: "single",
|
|
39455
|
+
optional: false
|
|
39456
|
+
}],
|
|
39457
|
+
"lockControl.unlock": [{
|
|
39458
|
+
name: "deviceId",
|
|
39459
|
+
form: "single",
|
|
39460
|
+
optional: false
|
|
39461
|
+
}],
|
|
39462
|
+
"mediaPlayer.next": [{
|
|
39463
|
+
name: "deviceId",
|
|
39464
|
+
form: "single",
|
|
39465
|
+
optional: false
|
|
39466
|
+
}],
|
|
39467
|
+
"mediaPlayer.pause": [{
|
|
39468
|
+
name: "deviceId",
|
|
39469
|
+
form: "single",
|
|
39470
|
+
optional: false
|
|
39471
|
+
}],
|
|
39472
|
+
"mediaPlayer.play": [{
|
|
39473
|
+
name: "deviceId",
|
|
39474
|
+
form: "single",
|
|
39475
|
+
optional: false
|
|
39476
|
+
}],
|
|
39477
|
+
"mediaPlayer.playMedia": [{
|
|
39478
|
+
name: "deviceId",
|
|
39479
|
+
form: "single",
|
|
39480
|
+
optional: false
|
|
39481
|
+
}],
|
|
39482
|
+
"mediaPlayer.previous": [{
|
|
39483
|
+
name: "deviceId",
|
|
39484
|
+
form: "single",
|
|
39485
|
+
optional: false
|
|
39486
|
+
}],
|
|
39487
|
+
"mediaPlayer.seek": [{
|
|
39488
|
+
name: "deviceId",
|
|
39489
|
+
form: "single",
|
|
39490
|
+
optional: false
|
|
39491
|
+
}],
|
|
39492
|
+
"mediaPlayer.selectSource": [{
|
|
39493
|
+
name: "deviceId",
|
|
39494
|
+
form: "single",
|
|
39495
|
+
optional: false
|
|
39496
|
+
}],
|
|
39497
|
+
"mediaPlayer.setMute": [{
|
|
39498
|
+
name: "deviceId",
|
|
39499
|
+
form: "single",
|
|
39500
|
+
optional: false
|
|
39501
|
+
}],
|
|
39502
|
+
"mediaPlayer.setRepeat": [{
|
|
39503
|
+
name: "deviceId",
|
|
39504
|
+
form: "single",
|
|
39505
|
+
optional: false
|
|
39506
|
+
}],
|
|
39507
|
+
"mediaPlayer.setShuffle": [{
|
|
39508
|
+
name: "deviceId",
|
|
39509
|
+
form: "single",
|
|
39510
|
+
optional: false
|
|
39511
|
+
}],
|
|
39512
|
+
"mediaPlayer.setVolume": [{
|
|
39513
|
+
name: "deviceId",
|
|
39514
|
+
form: "single",
|
|
39515
|
+
optional: false
|
|
39516
|
+
}],
|
|
39517
|
+
"mediaPlayer.stop": [{
|
|
39518
|
+
name: "deviceId",
|
|
39519
|
+
form: "single",
|
|
39520
|
+
optional: false
|
|
39521
|
+
}],
|
|
39522
|
+
"motion.isDetected": [{
|
|
39523
|
+
name: "deviceId",
|
|
39524
|
+
form: "single",
|
|
39525
|
+
optional: false
|
|
39526
|
+
}],
|
|
39527
|
+
"motionDetection.analyze": [{
|
|
39528
|
+
name: "deviceId",
|
|
39529
|
+
form: "single",
|
|
39530
|
+
optional: false
|
|
39531
|
+
}],
|
|
39532
|
+
"motionDetection.removeCamera": [{
|
|
39533
|
+
name: "deviceId",
|
|
39534
|
+
form: "single",
|
|
39535
|
+
optional: false
|
|
39536
|
+
}],
|
|
39537
|
+
"motionTrigger.setMotionTrigger": [{
|
|
39538
|
+
name: "deviceId",
|
|
39539
|
+
form: "single",
|
|
39540
|
+
optional: false
|
|
39541
|
+
}],
|
|
39542
|
+
"motionZones.getOptions": [{
|
|
39543
|
+
name: "deviceId",
|
|
39544
|
+
form: "single",
|
|
39545
|
+
optional: false
|
|
39546
|
+
}],
|
|
39547
|
+
"motionZones.setZone": [{
|
|
39548
|
+
name: "deviceId",
|
|
39549
|
+
form: "single",
|
|
39550
|
+
optional: false
|
|
39551
|
+
}],
|
|
39552
|
+
"nativeObjectDetection.setEnabled": [{
|
|
39553
|
+
name: "deviceId",
|
|
39554
|
+
form: "single",
|
|
39555
|
+
optional: false
|
|
39556
|
+
}],
|
|
39557
|
+
"networkQuality.getDeviceStats": [{
|
|
39558
|
+
name: "deviceId",
|
|
39559
|
+
form: "single",
|
|
39560
|
+
optional: false
|
|
39561
|
+
}],
|
|
39562
|
+
"networkQuality.reportClientStats": [{
|
|
39563
|
+
name: "deviceId",
|
|
39564
|
+
form: "single",
|
|
39565
|
+
optional: false
|
|
39566
|
+
}],
|
|
39567
|
+
"notificationRules.setDeviceMuted": [{
|
|
39568
|
+
name: "deviceId",
|
|
39569
|
+
form: "single",
|
|
39570
|
+
optional: false
|
|
39571
|
+
}],
|
|
39572
|
+
"notifier.cancel": [{
|
|
39573
|
+
name: "deviceId",
|
|
39574
|
+
form: "single",
|
|
39575
|
+
optional: false
|
|
39576
|
+
}],
|
|
39577
|
+
"notifier.send": [{
|
|
39578
|
+
name: "deviceId",
|
|
39579
|
+
form: "single",
|
|
39580
|
+
optional: false
|
|
39581
|
+
}],
|
|
39582
|
+
"osd.setOverlay": [{
|
|
39583
|
+
name: "deviceId",
|
|
39584
|
+
form: "single",
|
|
39585
|
+
optional: false
|
|
39586
|
+
}],
|
|
39587
|
+
"osdManager.clearSlotBinding": [{
|
|
39588
|
+
name: "deviceId",
|
|
39589
|
+
form: "single",
|
|
39590
|
+
optional: false
|
|
39591
|
+
}],
|
|
39592
|
+
"osdManager.copyDeviceConfiguration": [{
|
|
39593
|
+
name: "sourceDeviceId",
|
|
39594
|
+
form: "single",
|
|
39595
|
+
optional: false
|
|
39596
|
+
}, {
|
|
39597
|
+
name: "targetDeviceId",
|
|
39598
|
+
form: "single",
|
|
39599
|
+
optional: false
|
|
39600
|
+
}],
|
|
39601
|
+
"osdManager.getDeviceOsd": [{
|
|
39602
|
+
name: "deviceId",
|
|
39603
|
+
form: "single",
|
|
39604
|
+
optional: false
|
|
39605
|
+
}],
|
|
39606
|
+
"osdManager.getSourceCatalog": [{
|
|
39607
|
+
name: "deviceId",
|
|
39608
|
+
form: "single",
|
|
39609
|
+
optional: false
|
|
39610
|
+
}],
|
|
39611
|
+
"osdManager.previewSlot": [{
|
|
39612
|
+
name: "deviceId",
|
|
39613
|
+
form: "single",
|
|
39614
|
+
optional: false
|
|
39615
|
+
}],
|
|
39616
|
+
"osdManager.renderDevice": [{
|
|
39617
|
+
name: "deviceId",
|
|
39618
|
+
form: "single",
|
|
39619
|
+
optional: false
|
|
39620
|
+
}],
|
|
39621
|
+
"osdManager.setSlotBinding": [{
|
|
39622
|
+
name: "deviceId",
|
|
39623
|
+
form: "single",
|
|
39624
|
+
optional: false
|
|
39625
|
+
}],
|
|
39626
|
+
"petFeeder.callPet": [{
|
|
39627
|
+
name: "deviceId",
|
|
39628
|
+
form: "single",
|
|
39629
|
+
optional: false
|
|
39630
|
+
}],
|
|
39631
|
+
"petFeeder.cancelFeed": [{
|
|
39632
|
+
name: "deviceId",
|
|
39633
|
+
form: "single",
|
|
39634
|
+
optional: false
|
|
39635
|
+
}],
|
|
39636
|
+
"petFeeder.feed": [{
|
|
39637
|
+
name: "deviceId",
|
|
39638
|
+
form: "single",
|
|
39639
|
+
optional: false
|
|
39640
|
+
}],
|
|
39641
|
+
"petFeeder.markFoodReplenished": [{
|
|
39642
|
+
name: "deviceId",
|
|
39643
|
+
form: "single",
|
|
39644
|
+
optional: false
|
|
39645
|
+
}],
|
|
39646
|
+
"petFeeder.playSound": [{
|
|
39647
|
+
name: "deviceId",
|
|
39648
|
+
form: "single",
|
|
39649
|
+
optional: false
|
|
39650
|
+
}],
|
|
39651
|
+
"petFeeder.resetDesiccant": [{
|
|
39652
|
+
name: "deviceId",
|
|
39653
|
+
form: "single",
|
|
39654
|
+
optional: false
|
|
39655
|
+
}],
|
|
39656
|
+
"petFeeder.setChildLock": [{
|
|
39657
|
+
name: "deviceId",
|
|
39658
|
+
form: "single",
|
|
39659
|
+
optional: false
|
|
39660
|
+
}],
|
|
39661
|
+
"petFeeder.setFeedSound": [{
|
|
39662
|
+
name: "deviceId",
|
|
39663
|
+
form: "single",
|
|
39664
|
+
optional: false
|
|
39665
|
+
}],
|
|
39666
|
+
"petFeeder.setIndicatorLight": [{
|
|
39667
|
+
name: "deviceId",
|
|
39668
|
+
form: "single",
|
|
39669
|
+
optional: false
|
|
39670
|
+
}],
|
|
39671
|
+
"petFeeder.setVolume": [{
|
|
39672
|
+
name: "deviceId",
|
|
39673
|
+
form: "single",
|
|
39674
|
+
optional: false
|
|
39675
|
+
}],
|
|
39676
|
+
"pipelineAnalytics.clearTracks": [{
|
|
39677
|
+
name: "deviceId",
|
|
39678
|
+
form: "single",
|
|
39679
|
+
optional: false
|
|
39680
|
+
}],
|
|
39681
|
+
"pipelineAnalytics.completeRetrainTrack": [{
|
|
39682
|
+
name: "deviceId",
|
|
39683
|
+
form: "single",
|
|
39684
|
+
optional: false
|
|
39685
|
+
}],
|
|
39686
|
+
"pipelineAnalytics.deleteDeviceEvents": [{
|
|
39687
|
+
name: "deviceId",
|
|
39688
|
+
form: "single",
|
|
39689
|
+
optional: false
|
|
39690
|
+
}],
|
|
39691
|
+
"pipelineAnalytics.deleteTracks": [{
|
|
39692
|
+
name: "deviceId",
|
|
39693
|
+
form: "single",
|
|
39694
|
+
optional: false
|
|
39695
|
+
}],
|
|
39696
|
+
"pipelineAnalytics.deselectRetrainFrame": [{
|
|
39697
|
+
name: "deviceId",
|
|
39698
|
+
form: "single",
|
|
39699
|
+
optional: false
|
|
39700
|
+
}],
|
|
39701
|
+
"pipelineAnalytics.getActiveTracks": [{
|
|
39702
|
+
name: "deviceId",
|
|
39703
|
+
form: "single",
|
|
39704
|
+
optional: false
|
|
39705
|
+
}],
|
|
39706
|
+
"pipelineAnalytics.getAudioEvents": [{
|
|
39707
|
+
name: "deviceId",
|
|
39708
|
+
form: "single",
|
|
39709
|
+
optional: false
|
|
39710
|
+
}],
|
|
39711
|
+
"pipelineAnalytics.getEventDensity": [{
|
|
39712
|
+
name: "deviceId",
|
|
39713
|
+
form: "single",
|
|
39714
|
+
optional: false
|
|
39715
|
+
}],
|
|
39716
|
+
"pipelineAnalytics.getEventMedia": [{
|
|
39717
|
+
name: "deviceId",
|
|
39718
|
+
form: "single",
|
|
39719
|
+
optional: false
|
|
39720
|
+
}],
|
|
39721
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
39722
|
+
name: "deviceId",
|
|
39723
|
+
form: "single",
|
|
39724
|
+
optional: false
|
|
39725
|
+
}],
|
|
39726
|
+
"pipelineAnalytics.getMotionEvents": [{
|
|
39727
|
+
name: "deviceId",
|
|
39728
|
+
form: "single",
|
|
39729
|
+
optional: false
|
|
39730
|
+
}],
|
|
39731
|
+
"pipelineAnalytics.getObjectEvents": [{
|
|
39732
|
+
name: "deviceId",
|
|
39733
|
+
form: "single",
|
|
39734
|
+
optional: false
|
|
39735
|
+
}],
|
|
39736
|
+
"pipelineAnalytics.getRetrainExportUrl": [{
|
|
39737
|
+
name: "deviceIds",
|
|
39738
|
+
form: "array",
|
|
39739
|
+
optional: true
|
|
39740
|
+
}],
|
|
39741
|
+
"pipelineAnalytics.getSensorEvents": [{
|
|
39742
|
+
name: "deviceId",
|
|
39743
|
+
form: "single",
|
|
39744
|
+
optional: false
|
|
39745
|
+
}],
|
|
39746
|
+
"pipelineAnalytics.getTrack": [{
|
|
39747
|
+
name: "deviceId",
|
|
39748
|
+
form: "single",
|
|
39749
|
+
optional: false
|
|
39750
|
+
}],
|
|
39751
|
+
"pipelineAnalytics.getTrackMedia": [{
|
|
39752
|
+
name: "deviceId",
|
|
39753
|
+
form: "single",
|
|
39754
|
+
optional: false
|
|
39755
|
+
}],
|
|
39756
|
+
"pipelineAnalytics.getTrainingExportSummary": [{
|
|
39757
|
+
name: "deviceIds",
|
|
39758
|
+
form: "array",
|
|
39759
|
+
optional: true
|
|
39760
|
+
}],
|
|
39761
|
+
"pipelineAnalytics.getTrainingExportUrl": [{
|
|
39762
|
+
name: "deviceIds",
|
|
39763
|
+
form: "array",
|
|
39764
|
+
optional: true
|
|
39765
|
+
}],
|
|
39766
|
+
"pipelineAnalytics.listEventKinds": [{
|
|
39767
|
+
name: "deviceId",
|
|
39768
|
+
form: "single",
|
|
39769
|
+
optional: false
|
|
39770
|
+
}],
|
|
39771
|
+
"pipelineAnalytics.listEventKindsBatch": [{
|
|
39772
|
+
name: "deviceIds",
|
|
39773
|
+
form: "array",
|
|
39774
|
+
optional: false
|
|
39775
|
+
}],
|
|
39776
|
+
"pipelineAnalytics.listOpsLog": [{
|
|
39777
|
+
name: "deviceId",
|
|
39778
|
+
form: "single",
|
|
39779
|
+
optional: true
|
|
39780
|
+
}],
|
|
39781
|
+
"pipelineAnalytics.listRecentTracks": [{
|
|
39782
|
+
name: "deviceIds",
|
|
39783
|
+
form: "array",
|
|
39784
|
+
optional: false
|
|
39785
|
+
}],
|
|
39786
|
+
"pipelineAnalytics.listRetrainStaging": [{
|
|
39787
|
+
name: "deviceIds",
|
|
39788
|
+
form: "array",
|
|
39789
|
+
optional: true
|
|
39790
|
+
}],
|
|
39791
|
+
"pipelineAnalytics.listTrackMedia": [{
|
|
39792
|
+
name: "deviceId",
|
|
39793
|
+
form: "single",
|
|
39794
|
+
optional: false
|
|
39795
|
+
}],
|
|
39796
|
+
"pipelineAnalytics.listTracks": [{
|
|
39797
|
+
name: "deviceId",
|
|
39798
|
+
form: "single",
|
|
39799
|
+
optional: false
|
|
39800
|
+
}],
|
|
39801
|
+
"pipelineAnalytics.proposeRetrainAnnotations": [{
|
|
39802
|
+
name: "deviceId",
|
|
39803
|
+
form: "single",
|
|
39804
|
+
optional: false
|
|
39805
|
+
}],
|
|
39806
|
+
"pipelineAnalytics.pruneEventsBefore": [{
|
|
39807
|
+
name: "deviceId",
|
|
39808
|
+
form: "single",
|
|
39809
|
+
optional: false
|
|
39810
|
+
}],
|
|
39811
|
+
"pipelineAnalytics.pruneTracksBefore": [{
|
|
39812
|
+
name: "deviceId",
|
|
39813
|
+
form: "single",
|
|
39814
|
+
optional: false
|
|
39815
|
+
}],
|
|
39816
|
+
"pipelineAnalytics.rebuildObjectEmbeddings": [{
|
|
39817
|
+
name: "deviceId",
|
|
39818
|
+
form: "single",
|
|
39819
|
+
optional: true
|
|
39820
|
+
}],
|
|
39821
|
+
"pipelineAnalytics.restageRetrainTrack": [{
|
|
39822
|
+
name: "deviceId",
|
|
39823
|
+
form: "single",
|
|
39824
|
+
optional: false
|
|
39825
|
+
}],
|
|
39826
|
+
"pipelineAnalytics.saveRetrainAnnotations": [{
|
|
39827
|
+
name: "deviceId",
|
|
39828
|
+
form: "single",
|
|
39829
|
+
optional: false
|
|
39830
|
+
}],
|
|
39831
|
+
"pipelineAnalytics.searchObjectEvents": [{
|
|
39832
|
+
name: "deviceId",
|
|
39833
|
+
form: "single",
|
|
39834
|
+
optional: true
|
|
39835
|
+
}],
|
|
39836
|
+
"pipelineAnalytics.selectRetrainFrames": [{
|
|
39837
|
+
name: "deviceId",
|
|
39838
|
+
form: "single",
|
|
39839
|
+
optional: false
|
|
39840
|
+
}],
|
|
39841
|
+
"pipelineAnalytics.setTrackFlags": [{
|
|
39842
|
+
name: "deviceId",
|
|
39843
|
+
form: "single",
|
|
39844
|
+
optional: false
|
|
39845
|
+
}],
|
|
39846
|
+
"pipelineAnalytics.wipeAllAnalytics": [{
|
|
39847
|
+
name: "deviceId",
|
|
39848
|
+
form: "single",
|
|
39849
|
+
optional: false
|
|
39850
|
+
}],
|
|
39851
|
+
"pipelineExecutor.runPipeline": [{
|
|
39852
|
+
name: "deviceId",
|
|
39853
|
+
form: "single",
|
|
39854
|
+
optional: true
|
|
39855
|
+
}],
|
|
39856
|
+
"pipelineExecutor.runPipelineBatch": [{
|
|
39857
|
+
name: "deviceId",
|
|
39858
|
+
form: "single",
|
|
39859
|
+
optional: true
|
|
39860
|
+
}],
|
|
39861
|
+
"pipelineOrchestrator.assignAudio": [{
|
|
39862
|
+
name: "deviceId",
|
|
39863
|
+
form: "single",
|
|
39864
|
+
optional: false
|
|
39865
|
+
}],
|
|
39866
|
+
"pipelineOrchestrator.assignPipeline": [{
|
|
39867
|
+
name: "deviceId",
|
|
39868
|
+
form: "single",
|
|
39869
|
+
optional: false
|
|
39870
|
+
}],
|
|
39871
|
+
"pipelineOrchestrator.getAudioAssignment": [{
|
|
39872
|
+
name: "deviceId",
|
|
39873
|
+
form: "single",
|
|
39874
|
+
optional: false
|
|
39875
|
+
}],
|
|
39876
|
+
"pipelineOrchestrator.getCameraMetrics": [{
|
|
39877
|
+
name: "deviceId",
|
|
39878
|
+
form: "single",
|
|
39879
|
+
optional: false
|
|
39880
|
+
}],
|
|
39881
|
+
"pipelineOrchestrator.getCameraSettings": [{
|
|
39882
|
+
name: "deviceId",
|
|
39883
|
+
form: "single",
|
|
39884
|
+
optional: false
|
|
39885
|
+
}],
|
|
39886
|
+
"pipelineOrchestrator.getCameraStatus": [{
|
|
39887
|
+
name: "deviceId",
|
|
39888
|
+
form: "single",
|
|
39889
|
+
optional: false
|
|
39890
|
+
}],
|
|
39891
|
+
"pipelineOrchestrator.getCameraStatuses": [{
|
|
39892
|
+
name: "deviceIds",
|
|
39893
|
+
form: "array",
|
|
39894
|
+
optional: true
|
|
39895
|
+
}],
|
|
39896
|
+
"pipelineOrchestrator.getCameraStepOverrides": [{
|
|
39897
|
+
name: "deviceId",
|
|
39898
|
+
form: "single",
|
|
39899
|
+
optional: false
|
|
39900
|
+
}],
|
|
39901
|
+
"pipelineOrchestrator.getCameraSwitches": [{
|
|
39902
|
+
name: "deviceId",
|
|
39903
|
+
form: "single",
|
|
39904
|
+
optional: false
|
|
39905
|
+
}],
|
|
39906
|
+
"pipelineOrchestrator.getPipelineAssignment": [{
|
|
39907
|
+
name: "deviceId",
|
|
39908
|
+
form: "single",
|
|
39909
|
+
optional: false
|
|
39910
|
+
}],
|
|
39911
|
+
"pipelineOrchestrator.getPipelineDevicePin": [{
|
|
39912
|
+
name: "deviceId",
|
|
39913
|
+
form: "single",
|
|
39914
|
+
optional: false
|
|
39915
|
+
}],
|
|
39916
|
+
"pipelineOrchestrator.resolvePipeline": [{
|
|
39917
|
+
name: "deviceId",
|
|
39918
|
+
form: "single",
|
|
39919
|
+
optional: false
|
|
39920
|
+
}],
|
|
39921
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": [{
|
|
39922
|
+
name: "deviceId",
|
|
39923
|
+
form: "single",
|
|
39924
|
+
optional: false
|
|
39925
|
+
}],
|
|
39926
|
+
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
39927
|
+
name: "deviceId",
|
|
39928
|
+
form: "single",
|
|
39929
|
+
optional: false
|
|
39930
|
+
}],
|
|
39931
|
+
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
39932
|
+
name: "deviceId",
|
|
39933
|
+
form: "single",
|
|
39934
|
+
optional: false
|
|
39935
|
+
}],
|
|
39936
|
+
"pipelineOrchestrator.setCameraSwitch": [{
|
|
39937
|
+
name: "deviceId",
|
|
39938
|
+
form: "single",
|
|
39939
|
+
optional: false
|
|
39940
|
+
}],
|
|
39941
|
+
"pipelineOrchestrator.setPipelineDevicePin": [{
|
|
39942
|
+
name: "deviceId",
|
|
39943
|
+
form: "single",
|
|
39944
|
+
optional: false
|
|
39945
|
+
}],
|
|
39946
|
+
"pipelineOrchestrator.unassignAudio": [{
|
|
39947
|
+
name: "deviceId",
|
|
39948
|
+
form: "single",
|
|
39949
|
+
optional: false
|
|
39950
|
+
}],
|
|
39951
|
+
"pipelineOrchestrator.unassignPipeline": [{
|
|
39952
|
+
name: "deviceId",
|
|
39953
|
+
form: "single",
|
|
39954
|
+
optional: false
|
|
39955
|
+
}],
|
|
39956
|
+
"pipelineRunner.attachCamera": [{
|
|
39957
|
+
name: "deviceId",
|
|
39958
|
+
form: "single",
|
|
39959
|
+
optional: false
|
|
39960
|
+
}],
|
|
39961
|
+
"pipelineRunner.detachCamera": [{
|
|
39962
|
+
name: "deviceId",
|
|
39963
|
+
form: "single",
|
|
39964
|
+
optional: false
|
|
39965
|
+
}],
|
|
39966
|
+
"pipelineRunner.getCameraMetrics": [{
|
|
39967
|
+
name: "deviceId",
|
|
39968
|
+
form: "single",
|
|
39969
|
+
optional: false
|
|
39970
|
+
}],
|
|
39971
|
+
"pipelineRunner.reportMotion": [{
|
|
39972
|
+
name: "deviceId",
|
|
39973
|
+
form: "single",
|
|
39974
|
+
optional: false
|
|
39975
|
+
}],
|
|
39976
|
+
"pipelineRunner.runDetailSubtree": [{
|
|
39977
|
+
name: "deviceId",
|
|
39978
|
+
form: "single",
|
|
39979
|
+
optional: false
|
|
39980
|
+
}],
|
|
39981
|
+
"pipelineRunner.runStatelessStep": [{
|
|
39982
|
+
name: "sourceDeviceId",
|
|
39983
|
+
form: "single",
|
|
39984
|
+
optional: false
|
|
39985
|
+
}],
|
|
39986
|
+
"plateGallery.getPlateByTrack": [{
|
|
39987
|
+
name: "deviceId",
|
|
39988
|
+
form: "single",
|
|
39989
|
+
optional: false
|
|
39990
|
+
}],
|
|
39991
|
+
"plateGallery.listPlates": [{
|
|
39992
|
+
name: "deviceId",
|
|
39993
|
+
form: "single",
|
|
39994
|
+
optional: true
|
|
39995
|
+
}],
|
|
39996
|
+
"privacyMask.getOptions": [{
|
|
39997
|
+
name: "deviceId",
|
|
39998
|
+
form: "single",
|
|
39999
|
+
optional: false
|
|
40000
|
+
}],
|
|
40001
|
+
"privacyMask.setAudioEnabled": [{
|
|
40002
|
+
name: "deviceId",
|
|
40003
|
+
form: "single",
|
|
40004
|
+
optional: false
|
|
40005
|
+
}],
|
|
40006
|
+
"privacyMask.setMask": [{
|
|
40007
|
+
name: "deviceId",
|
|
40008
|
+
form: "single",
|
|
40009
|
+
optional: false
|
|
40010
|
+
}],
|
|
40011
|
+
"ptz.continuousMove": [{
|
|
40012
|
+
name: "deviceId",
|
|
40013
|
+
form: "single",
|
|
40014
|
+
optional: false
|
|
40015
|
+
}],
|
|
40016
|
+
"ptz.deletePreset": [{
|
|
40017
|
+
name: "deviceId",
|
|
40018
|
+
form: "single",
|
|
40019
|
+
optional: false
|
|
40020
|
+
}],
|
|
40021
|
+
"ptz.getOptions": [{
|
|
40022
|
+
name: "deviceId",
|
|
40023
|
+
form: "single",
|
|
40024
|
+
optional: false
|
|
40025
|
+
}],
|
|
40026
|
+
"ptz.getPosition": [{
|
|
40027
|
+
name: "deviceId",
|
|
40028
|
+
form: "single",
|
|
40029
|
+
optional: false
|
|
40030
|
+
}],
|
|
40031
|
+
"ptz.getPresets": [{
|
|
40032
|
+
name: "deviceId",
|
|
40033
|
+
form: "single",
|
|
40034
|
+
optional: false
|
|
40035
|
+
}],
|
|
40036
|
+
"ptz.goHome": [{
|
|
40037
|
+
name: "deviceId",
|
|
40038
|
+
form: "single",
|
|
40039
|
+
optional: false
|
|
40040
|
+
}],
|
|
40041
|
+
"ptz.goToPreset": [{
|
|
40042
|
+
name: "deviceId",
|
|
40043
|
+
form: "single",
|
|
40044
|
+
optional: false
|
|
40045
|
+
}],
|
|
40046
|
+
"ptz.move": [{
|
|
40047
|
+
name: "deviceId",
|
|
40048
|
+
form: "single",
|
|
40049
|
+
optional: false
|
|
40050
|
+
}],
|
|
40051
|
+
"ptz.savePreset": [{
|
|
40052
|
+
name: "deviceId",
|
|
40053
|
+
form: "single",
|
|
40054
|
+
optional: false
|
|
40055
|
+
}],
|
|
40056
|
+
"ptz.setAutofocus": [{
|
|
40057
|
+
name: "deviceId",
|
|
40058
|
+
form: "single",
|
|
40059
|
+
optional: false
|
|
40060
|
+
}],
|
|
40061
|
+
"ptz.stop": [{
|
|
40062
|
+
name: "deviceId",
|
|
40063
|
+
form: "single",
|
|
40064
|
+
optional: false
|
|
40065
|
+
}],
|
|
40066
|
+
"ptzAutotrack.getSettings": [{
|
|
40067
|
+
name: "deviceId",
|
|
40068
|
+
form: "single",
|
|
40069
|
+
optional: false
|
|
40070
|
+
}],
|
|
40071
|
+
"ptzAutotrack.getStatus": [{
|
|
40072
|
+
name: "deviceId",
|
|
40073
|
+
form: "single",
|
|
40074
|
+
optional: false
|
|
40075
|
+
}],
|
|
40076
|
+
"ptzAutotrack.setEnabled": [{
|
|
40077
|
+
name: "deviceId",
|
|
40078
|
+
form: "single",
|
|
40079
|
+
optional: false
|
|
40080
|
+
}],
|
|
40081
|
+
"ptzAutotrack.setSettings": [{
|
|
40082
|
+
name: "deviceId",
|
|
40083
|
+
form: "single",
|
|
40084
|
+
optional: false
|
|
40085
|
+
}],
|
|
40086
|
+
"reboot.reboot": [{
|
|
40087
|
+
name: "deviceId",
|
|
40088
|
+
form: "single",
|
|
40089
|
+
optional: false
|
|
40090
|
+
}],
|
|
40091
|
+
"recording.deleteFootprint": [{
|
|
40092
|
+
name: "deviceId",
|
|
40093
|
+
form: "single",
|
|
40094
|
+
optional: false
|
|
40095
|
+
}],
|
|
40096
|
+
"recording.getAvailability": [{
|
|
40097
|
+
name: "deviceId",
|
|
40098
|
+
form: "single",
|
|
40099
|
+
optional: false
|
|
40100
|
+
}],
|
|
40101
|
+
"recording.getDaysWithRecordings": [{
|
|
40102
|
+
name: "deviceId",
|
|
40103
|
+
form: "single",
|
|
40104
|
+
optional: false
|
|
40105
|
+
}],
|
|
40106
|
+
"recording.getDeviceConfig": [{
|
|
40107
|
+
name: "deviceId",
|
|
40108
|
+
form: "single",
|
|
40109
|
+
optional: false
|
|
40110
|
+
}],
|
|
40111
|
+
"recording.getPlaybackManifest": [{
|
|
40112
|
+
name: "deviceId",
|
|
40113
|
+
form: "single",
|
|
40114
|
+
optional: false
|
|
40115
|
+
}],
|
|
40116
|
+
"recording.listOpsLog": [{
|
|
40117
|
+
name: "deviceId",
|
|
40118
|
+
form: "single",
|
|
40119
|
+
optional: true
|
|
40120
|
+
}],
|
|
40121
|
+
"recording.locateSegment": [{
|
|
40122
|
+
name: "deviceId",
|
|
40123
|
+
form: "single",
|
|
40124
|
+
optional: false
|
|
40125
|
+
}],
|
|
40126
|
+
"recording.pruneFootage": [{
|
|
40127
|
+
name: "deviceId",
|
|
40128
|
+
form: "single",
|
|
40129
|
+
optional: false
|
|
40130
|
+
}],
|
|
40131
|
+
"recording.readGopBytes": [{
|
|
40132
|
+
name: "deviceId",
|
|
40133
|
+
form: "single",
|
|
40134
|
+
optional: false
|
|
40135
|
+
}],
|
|
40136
|
+
"recording.readSegmentBytes": [{
|
|
40137
|
+
name: "deviceId",
|
|
40138
|
+
form: "single",
|
|
40139
|
+
optional: false
|
|
40140
|
+
}],
|
|
40141
|
+
"recording.relocateFootage": [{
|
|
40142
|
+
name: "deviceId",
|
|
40143
|
+
form: "single",
|
|
40144
|
+
optional: true
|
|
40145
|
+
}],
|
|
40146
|
+
"recording.renderClip": [{
|
|
40147
|
+
name: "deviceId",
|
|
40148
|
+
form: "single",
|
|
40149
|
+
optional: false
|
|
40150
|
+
}],
|
|
40151
|
+
"recording.renderGif": [{
|
|
40152
|
+
name: "deviceId",
|
|
40153
|
+
form: "single",
|
|
40154
|
+
optional: false
|
|
40155
|
+
}],
|
|
40156
|
+
"recording.rescanStorage": [{
|
|
40157
|
+
name: "deviceId",
|
|
40158
|
+
form: "single",
|
|
40159
|
+
optional: false
|
|
40160
|
+
}],
|
|
40161
|
+
"recording.setDeviceConfig": [{
|
|
40162
|
+
name: "deviceId",
|
|
40163
|
+
form: "single",
|
|
40164
|
+
optional: false
|
|
40165
|
+
}],
|
|
40166
|
+
"recording.startStorageMigrationMove": [{
|
|
40167
|
+
name: "deviceId",
|
|
40168
|
+
form: "single",
|
|
40169
|
+
optional: true
|
|
40170
|
+
}],
|
|
40171
|
+
"recordingExport.createExport": [{
|
|
40172
|
+
name: "deviceId",
|
|
40173
|
+
form: "single",
|
|
40174
|
+
optional: false
|
|
40175
|
+
}],
|
|
40176
|
+
"recordingExport.listExports": [{
|
|
40177
|
+
name: "deviceId",
|
|
40178
|
+
form: "single",
|
|
40179
|
+
optional: true
|
|
40180
|
+
}],
|
|
40181
|
+
"sceneMonitor.captureReference": [{
|
|
40182
|
+
name: "deviceId",
|
|
40183
|
+
form: "single",
|
|
40184
|
+
optional: false
|
|
40185
|
+
}],
|
|
40186
|
+
"sceneMonitor.createScene": [{
|
|
40187
|
+
name: "deviceId",
|
|
40188
|
+
form: "single",
|
|
40189
|
+
optional: false
|
|
40190
|
+
}],
|
|
40191
|
+
"sceneMonitor.deleteReference": [{
|
|
40192
|
+
name: "deviceId",
|
|
40193
|
+
form: "single",
|
|
40194
|
+
optional: false
|
|
40195
|
+
}],
|
|
40196
|
+
"sceneMonitor.deleteScene": [{
|
|
40197
|
+
name: "deviceId",
|
|
40198
|
+
form: "single",
|
|
40199
|
+
optional: false
|
|
40200
|
+
}],
|
|
40201
|
+
"sceneMonitor.listScenes": [{
|
|
40202
|
+
name: "deviceId",
|
|
40203
|
+
form: "single",
|
|
40204
|
+
optional: false
|
|
40205
|
+
}],
|
|
40206
|
+
"sceneMonitor.recheckNow": [{
|
|
40207
|
+
name: "deviceId",
|
|
40208
|
+
form: "single",
|
|
40209
|
+
optional: false
|
|
40210
|
+
}],
|
|
40211
|
+
"sceneMonitor.resetScene": [{
|
|
40212
|
+
name: "deviceId",
|
|
40213
|
+
form: "single",
|
|
40214
|
+
optional: false
|
|
40215
|
+
}],
|
|
40216
|
+
"sceneMonitor.updateScene": [{
|
|
40217
|
+
name: "deviceId",
|
|
40218
|
+
form: "single",
|
|
40219
|
+
optional: false
|
|
40220
|
+
}],
|
|
40221
|
+
"scriptRunner.run": [{
|
|
40222
|
+
name: "deviceId",
|
|
40223
|
+
form: "single",
|
|
40224
|
+
optional: false
|
|
40225
|
+
}],
|
|
40226
|
+
"scriptRunner.stop": [{
|
|
40227
|
+
name: "deviceId",
|
|
40228
|
+
form: "single",
|
|
40229
|
+
optional: false
|
|
40230
|
+
}],
|
|
40231
|
+
"snapshot.getSnapshot": [{
|
|
40232
|
+
name: "deviceId",
|
|
40233
|
+
form: "single",
|
|
40234
|
+
optional: false
|
|
40235
|
+
}],
|
|
40236
|
+
"snapshot.getSnapshotLinks": [{
|
|
40237
|
+
name: "targets",
|
|
40238
|
+
form: "object-array",
|
|
40239
|
+
optional: false,
|
|
40240
|
+
itemField: "deviceId"
|
|
40241
|
+
}],
|
|
40242
|
+
"snapshot.getSnapshotOverview": [{
|
|
40243
|
+
name: "deviceIds",
|
|
40244
|
+
form: "array",
|
|
40245
|
+
optional: false
|
|
40246
|
+
}],
|
|
40247
|
+
"snapshot.invalidateCache": [{
|
|
40248
|
+
name: "deviceId",
|
|
40249
|
+
form: "single",
|
|
40250
|
+
optional: false
|
|
40251
|
+
}],
|
|
40252
|
+
"streamBroker.acquireEgressTranscode": [{
|
|
40253
|
+
name: "deviceId",
|
|
40254
|
+
form: "single",
|
|
40255
|
+
optional: false
|
|
40256
|
+
}],
|
|
40257
|
+
"streamBroker.assignProfile": [{
|
|
40258
|
+
name: "deviceId",
|
|
40259
|
+
form: "single",
|
|
40260
|
+
optional: false
|
|
40261
|
+
}],
|
|
40262
|
+
"streamBroker.getDeviceAudioMute": [{
|
|
40263
|
+
name: "deviceId",
|
|
40264
|
+
form: "single",
|
|
40265
|
+
optional: false
|
|
40266
|
+
}],
|
|
40267
|
+
"streamBroker.getStreamWithCodec": [{
|
|
40268
|
+
name: "deviceId",
|
|
40269
|
+
form: "single",
|
|
40270
|
+
optional: false
|
|
40271
|
+
}],
|
|
40272
|
+
"streamBroker.produceEventMedia": [{
|
|
40273
|
+
name: "deviceId",
|
|
40274
|
+
form: "single",
|
|
40275
|
+
optional: false
|
|
40276
|
+
}],
|
|
40277
|
+
"streamBroker.publishCameraStream": [{
|
|
40278
|
+
name: "deviceId",
|
|
40279
|
+
form: "single",
|
|
40280
|
+
optional: false
|
|
40281
|
+
}],
|
|
40282
|
+
"streamBroker.renderPreBufferClip": [{
|
|
40283
|
+
name: "deviceId",
|
|
40284
|
+
form: "single",
|
|
40285
|
+
optional: false
|
|
40286
|
+
}],
|
|
40287
|
+
"streamBroker.restartProfile": [{
|
|
40288
|
+
name: "deviceId",
|
|
40289
|
+
form: "single",
|
|
40290
|
+
optional: false
|
|
40291
|
+
}],
|
|
40292
|
+
"streamBroker.retractCameraStream": [{
|
|
40293
|
+
name: "deviceId",
|
|
40294
|
+
form: "single",
|
|
40295
|
+
optional: false
|
|
40296
|
+
}],
|
|
40297
|
+
"streamBroker.setDeviceAudioMute": [{
|
|
40298
|
+
name: "deviceId",
|
|
40299
|
+
form: "single",
|
|
40300
|
+
optional: false
|
|
40301
|
+
}],
|
|
40302
|
+
"streamBroker.unassignProfile": [{
|
|
40303
|
+
name: "deviceId",
|
|
40304
|
+
form: "single",
|
|
40305
|
+
optional: false
|
|
40306
|
+
}],
|
|
40307
|
+
"streamCatalog.getCatalog": [{
|
|
40308
|
+
name: "deviceId",
|
|
40309
|
+
form: "single",
|
|
40310
|
+
optional: false
|
|
40311
|
+
}],
|
|
40312
|
+
"streamParams.getConfigSchema": [{
|
|
40313
|
+
name: "deviceId",
|
|
40314
|
+
form: "single",
|
|
40315
|
+
optional: false
|
|
40316
|
+
}],
|
|
40317
|
+
"streamParams.getOptions": [{
|
|
40318
|
+
name: "deviceId",
|
|
40319
|
+
form: "single",
|
|
40320
|
+
optional: false
|
|
40321
|
+
}],
|
|
40322
|
+
"streamParams.setProfile": [{
|
|
40323
|
+
name: "deviceId",
|
|
40324
|
+
form: "single",
|
|
40325
|
+
optional: false
|
|
40326
|
+
}],
|
|
40327
|
+
"switch.setState": [{
|
|
40328
|
+
name: "deviceId",
|
|
40329
|
+
form: "single",
|
|
40330
|
+
optional: false
|
|
40331
|
+
}],
|
|
40332
|
+
"vacuumControl.locate": [{
|
|
40333
|
+
name: "deviceId",
|
|
40334
|
+
form: "single",
|
|
40335
|
+
optional: false
|
|
40336
|
+
}],
|
|
40337
|
+
"vacuumControl.pause": [{
|
|
40338
|
+
name: "deviceId",
|
|
40339
|
+
form: "single",
|
|
40340
|
+
optional: false
|
|
40341
|
+
}],
|
|
40342
|
+
"vacuumControl.returnToBase": [{
|
|
40343
|
+
name: "deviceId",
|
|
40344
|
+
form: "single",
|
|
40345
|
+
optional: false
|
|
40346
|
+
}],
|
|
40347
|
+
"vacuumControl.setFanSpeed": [{
|
|
40348
|
+
name: "deviceId",
|
|
40349
|
+
form: "single",
|
|
40350
|
+
optional: false
|
|
40351
|
+
}],
|
|
40352
|
+
"vacuumControl.start": [{
|
|
40353
|
+
name: "deviceId",
|
|
40354
|
+
form: "single",
|
|
40355
|
+
optional: false
|
|
40356
|
+
}],
|
|
40357
|
+
"vacuumControl.stop": [{
|
|
40358
|
+
name: "deviceId",
|
|
40359
|
+
form: "single",
|
|
40360
|
+
optional: false
|
|
40361
|
+
}],
|
|
40362
|
+
"valve.close": [{
|
|
40363
|
+
name: "deviceId",
|
|
40364
|
+
form: "single",
|
|
40365
|
+
optional: false
|
|
40366
|
+
}],
|
|
40367
|
+
"valve.open": [{
|
|
40368
|
+
name: "deviceId",
|
|
40369
|
+
form: "single",
|
|
40370
|
+
optional: false
|
|
40371
|
+
}],
|
|
40372
|
+
"valve.setPosition": [{
|
|
40373
|
+
name: "deviceId",
|
|
40374
|
+
form: "single",
|
|
40375
|
+
optional: false
|
|
40376
|
+
}],
|
|
40377
|
+
"valve.stop": [{
|
|
40378
|
+
name: "deviceId",
|
|
40379
|
+
form: "single",
|
|
40380
|
+
optional: false
|
|
40381
|
+
}],
|
|
40382
|
+
"videoclips.getClipPlayback": [{
|
|
40383
|
+
name: "deviceId",
|
|
40384
|
+
form: "single",
|
|
40385
|
+
optional: false
|
|
40386
|
+
}],
|
|
40387
|
+
"videoclips.listClips": [{
|
|
40388
|
+
name: "deviceId",
|
|
40389
|
+
form: "single",
|
|
40390
|
+
optional: false
|
|
40391
|
+
}],
|
|
40392
|
+
"waterHeater.setAway": [{
|
|
40393
|
+
name: "deviceId",
|
|
40394
|
+
form: "single",
|
|
40395
|
+
optional: false
|
|
40396
|
+
}],
|
|
40397
|
+
"waterHeater.setOperationMode": [{
|
|
40398
|
+
name: "deviceId",
|
|
40399
|
+
form: "single",
|
|
40400
|
+
optional: false
|
|
40401
|
+
}],
|
|
40402
|
+
"waterHeater.setTargetTemp": [{
|
|
40403
|
+
name: "deviceId",
|
|
40404
|
+
form: "single",
|
|
40405
|
+
optional: false
|
|
40406
|
+
}],
|
|
40407
|
+
"webrtcSession.addIceCandidate": [{
|
|
40408
|
+
name: "deviceId",
|
|
40409
|
+
form: "single",
|
|
40410
|
+
optional: false
|
|
40411
|
+
}],
|
|
40412
|
+
"webrtcSession.closeSession": [{
|
|
40413
|
+
name: "deviceId",
|
|
40414
|
+
form: "single",
|
|
40415
|
+
optional: false
|
|
40416
|
+
}],
|
|
40417
|
+
"webrtcSession.createSession": [{
|
|
40418
|
+
name: "deviceId",
|
|
40419
|
+
form: "single",
|
|
40420
|
+
optional: false
|
|
40421
|
+
}],
|
|
40422
|
+
"webrtcSession.getIceCandidates": [{
|
|
40423
|
+
name: "deviceId",
|
|
40424
|
+
form: "single",
|
|
40425
|
+
optional: false
|
|
40426
|
+
}],
|
|
40427
|
+
"webrtcSession.getSessionState": [{
|
|
40428
|
+
name: "deviceId",
|
|
40429
|
+
form: "single",
|
|
40430
|
+
optional: false
|
|
40431
|
+
}],
|
|
40432
|
+
"webrtcSession.handleAnswer": [{
|
|
40433
|
+
name: "deviceId",
|
|
40434
|
+
form: "single",
|
|
40435
|
+
optional: false
|
|
40436
|
+
}],
|
|
40437
|
+
"webrtcSession.handleOffer": [{
|
|
40438
|
+
name: "deviceId",
|
|
40439
|
+
form: "single",
|
|
40440
|
+
optional: false
|
|
40441
|
+
}],
|
|
40442
|
+
"webrtcSession.hasAdaptiveBitrate": [{
|
|
40443
|
+
name: "deviceId",
|
|
40444
|
+
form: "single",
|
|
40445
|
+
optional: false
|
|
40446
|
+
}],
|
|
40447
|
+
"webrtcSession.listStreams": [{
|
|
40448
|
+
name: "deviceId",
|
|
40449
|
+
form: "single",
|
|
40450
|
+
optional: false
|
|
40451
|
+
}],
|
|
40452
|
+
"zoneAnalytics.getCameraHistory": [{
|
|
40453
|
+
name: "deviceId",
|
|
40454
|
+
form: "single",
|
|
40455
|
+
optional: false
|
|
40456
|
+
}],
|
|
40457
|
+
"zoneAnalytics.getCurrentSnapshot": [{
|
|
40458
|
+
name: "deviceId",
|
|
40459
|
+
form: "single",
|
|
40460
|
+
optional: false
|
|
40461
|
+
}],
|
|
40462
|
+
"zoneAnalytics.getUnzonedHistory": [{
|
|
40463
|
+
name: "deviceId",
|
|
40464
|
+
form: "single",
|
|
40465
|
+
optional: false
|
|
40466
|
+
}],
|
|
40467
|
+
"zoneAnalytics.getZoneHistory": [{
|
|
40468
|
+
name: "deviceId",
|
|
40469
|
+
form: "single",
|
|
40470
|
+
optional: false
|
|
40471
|
+
}],
|
|
40472
|
+
"zoneRules.listRules": [{
|
|
40473
|
+
name: "deviceId",
|
|
40474
|
+
form: "single",
|
|
40475
|
+
optional: false
|
|
40476
|
+
}],
|
|
40477
|
+
"zoneRules.setRules": [{
|
|
40478
|
+
name: "deviceId",
|
|
40479
|
+
form: "single",
|
|
40480
|
+
optional: false
|
|
40481
|
+
}],
|
|
40482
|
+
"zones.addZone": [{
|
|
40483
|
+
name: "deviceId",
|
|
40484
|
+
form: "single",
|
|
40485
|
+
optional: false
|
|
40486
|
+
}],
|
|
40487
|
+
"zones.listZones": [{
|
|
40488
|
+
name: "deviceId",
|
|
40489
|
+
form: "single",
|
|
40490
|
+
optional: false
|
|
40491
|
+
}],
|
|
40492
|
+
"zones.removeZone": [{
|
|
40493
|
+
name: "deviceId",
|
|
40494
|
+
form: "single",
|
|
40495
|
+
optional: false
|
|
40496
|
+
}],
|
|
40497
|
+
"zones.updateZone": [{
|
|
40498
|
+
name: "deviceId",
|
|
40499
|
+
form: "single",
|
|
40500
|
+
optional: false
|
|
40501
|
+
}]
|
|
40502
|
+
});
|
|
37792
40503
|
Object.freeze({
|
|
37793
40504
|
"broker": "broker",
|
|
37794
40505
|
"device-export": "device-export",
|