@camstack/addon-osd-manager 0.1.8 → 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-MUuX1dCr.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-BwuSfydw.mjs → hostInit-CAIA1dxe.mjs} +3 -3
- package/dist/index.js +2890 -107
- package/dist/index.mjs +2890 -107
- 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-CFRiU5sa.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-CpP37G9Y.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-CyLbgRZJ.mjs +0 -309
- package/dist/PrivacyMaskSettings-B1bSrXkE.mjs +0 -368
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-mBvn5gbF.mjs +0 -26
- package/dist/player-overlays-pmuMEC2F.mjs +0 -163
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
//#region ../types/dist/event-category-
|
|
5
|
+
//#region ../types/dist/event-category-Bxo5yJjt.mjs
|
|
6
6
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
7
7
|
EventCategory["SystemBoot"] = "system.boot";
|
|
8
8
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -209,6 +209,33 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
209
209
|
EventCategory["PipelineCameraAssigned"] = "pipeline.camera-assigned";
|
|
210
210
|
EventCategory["PipelineCameraUnassigned"] = "pipeline.camera-unassigned";
|
|
211
211
|
/**
|
|
212
|
+
* A node the orchestrator would otherwise place cameras on has NO usable
|
|
213
|
+
* inference device: the operator enabled one or more accelerators there and
|
|
214
|
+
* the live probe reports every one of them unavailable. Emitted once per
|
|
215
|
+
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
216
|
+
* from the placement candidate set for as long as it holds.
|
|
217
|
+
*
|
|
218
|
+
* This exists because the state was previously invisible: little-unraid
|
|
219
|
+
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
220
|
+
* and nothing in the system said so.
|
|
221
|
+
*
|
|
222
|
+
* A node with no accelerators configured at all is NOT this — its devices
|
|
223
|
+
* are `disabled`, not `unavailable`, and the runner's default CPU pool
|
|
224
|
+
* serves it exactly as before.
|
|
225
|
+
*/
|
|
226
|
+
EventCategory["PipelineNodeInferenceUnavailable"] = "pipeline.node-inference-unavailable";
|
|
227
|
+
/**
|
|
228
|
+
* A camera has an OPEN detection session and has produced no detection at
|
|
229
|
+
* all for longer than the blind threshold — the camera is being decoded and
|
|
230
|
+
* inferred and is returning nothing. Emitted once per transition into blind,
|
|
231
|
+
* per camera.
|
|
232
|
+
*
|
|
233
|
+
* The failure it reports: a 1h43 detection blackout on the entrance camera
|
|
234
|
+
* that nobody noticed, because "a camera that detects nothing" and "a quiet
|
|
235
|
+
* camera" produce byte-identical silence.
|
|
236
|
+
*/
|
|
237
|
+
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
238
|
+
/**
|
|
212
239
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
213
240
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
214
241
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -3000,6 +3027,9 @@ function handlePipeResult(left, next, ctx) {
|
|
|
3000
3027
|
fallback: left.fallback
|
|
3001
3028
|
}, ctx);
|
|
3002
3029
|
}
|
|
3030
|
+
var $ZodPreprocess = /*@__PURE__*/ $constructor("$ZodPreprocess", (inst, def) => {
|
|
3031
|
+
$ZodPipe.init(inst, def);
|
|
3032
|
+
});
|
|
3003
3033
|
var $ZodReadonly = /*@__PURE__*/ $constructor("$ZodReadonly", (inst, def) => {
|
|
3004
3034
|
$ZodType.init(inst, def);
|
|
3005
3035
|
defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
|
|
@@ -5185,6 +5215,10 @@ function pipe(in_, out) {
|
|
|
5185
5215
|
out
|
|
5186
5216
|
});
|
|
5187
5217
|
}
|
|
5218
|
+
var ZodPreprocess = /*@__PURE__*/ $constructor("ZodPreprocess", (inst, def) => {
|
|
5219
|
+
ZodPipe.init(inst, def);
|
|
5220
|
+
$ZodPreprocess.init(inst, def);
|
|
5221
|
+
});
|
|
5188
5222
|
var ZodReadonly = /*@__PURE__*/ $constructor("ZodReadonly", (inst, def) => {
|
|
5189
5223
|
$ZodReadonly.init(inst, def);
|
|
5190
5224
|
ZodType.init(inst, def);
|
|
@@ -5243,6 +5277,13 @@ function _instanceof(cls, params = {}) {
|
|
|
5243
5277
|
};
|
|
5244
5278
|
return inst;
|
|
5245
5279
|
}
|
|
5280
|
+
function preprocess(fn, schema) {
|
|
5281
|
+
return new ZodPreprocess({
|
|
5282
|
+
type: "pipe",
|
|
5283
|
+
in: transform(fn),
|
|
5284
|
+
out: schema
|
|
5285
|
+
});
|
|
5286
|
+
}
|
|
5246
5287
|
//#endregion
|
|
5247
5288
|
//#region ../../node_modules/zod/v4/classic/compat.js
|
|
5248
5289
|
/** @deprecated Use the raw string literal codes instead, e.g. "invalid_type". */
|
|
@@ -11564,6 +11605,8 @@ var QueryFilterSchema = object({
|
|
|
11564
11605
|
where: record(string(), unknown()).optional(),
|
|
11565
11606
|
whereIn: record(string(), array(unknown())).optional(),
|
|
11566
11607
|
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
11608
|
+
/** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
|
|
11609
|
+
whereNot: record(string(), unknown()).optional(),
|
|
11567
11610
|
orderBy: object({
|
|
11568
11611
|
field: string(),
|
|
11569
11612
|
direction: _enum(["asc", "desc"])
|
|
@@ -11583,7 +11626,8 @@ var QueryFilterSchema = object({
|
|
|
11583
11626
|
var MutationFilterSchema = object({
|
|
11584
11627
|
where: record(string(), unknown()).optional(),
|
|
11585
11628
|
whereIn: record(string(), array(unknown())).optional(),
|
|
11586
|
-
whereBetween: record(string(), tuple([unknown(), unknown()])).optional()
|
|
11629
|
+
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
11630
|
+
whereNot: record(string(), unknown()).optional()
|
|
11587
11631
|
});
|
|
11588
11632
|
/** A single stored record: `{ id, data }`. */
|
|
11589
11633
|
var SettingsRecordSchema = object({
|
|
@@ -13749,6 +13793,17 @@ var LlmImageSchema = object({
|
|
|
13749
13793
|
bytes: _instanceof(Uint8Array),
|
|
13750
13794
|
mimeType: string()
|
|
13751
13795
|
});
|
|
13796
|
+
/**
|
|
13797
|
+
* Retry policy. `enabled: false` is NOT the same as `maxAttempts: 1` in intent —
|
|
13798
|
+
* the flag is what a consumer table flips, the count is what the operator tunes.
|
|
13799
|
+
* A retry doubles the wall time of a call, so the two gates that run inside a
|
|
13800
|
+
* notification's budget keep it off (see `CONSUMER_RETRY_POLICY` in addon-ai).
|
|
13801
|
+
*/
|
|
13802
|
+
var LlmRetryPolicySchema = object({
|
|
13803
|
+
enabled: boolean().default(false),
|
|
13804
|
+
/** Total attempts INCLUDING the first. 1 = no retry. */
|
|
13805
|
+
maxAttempts: number().int().min(1).max(5).default(1)
|
|
13806
|
+
});
|
|
13752
13807
|
var LlmGenerateBaseInputSchema = object({
|
|
13753
13808
|
/** Collection routing (the notification-output posture). */
|
|
13754
13809
|
addonId: string().optional(),
|
|
@@ -13763,7 +13818,28 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
13763
13818
|
jsonSchema: record(string(), unknown()).optional(),
|
|
13764
13819
|
/** Per-call override of the profile default. */
|
|
13765
13820
|
maxTokens: number().int().positive().optional(),
|
|
13766
|
-
temperature: number().optional()
|
|
13821
|
+
temperature: number().optional(),
|
|
13822
|
+
/** Per-call override of the profile default (nucleus sampling). */
|
|
13823
|
+
topP: number().min(0).max(1).optional(),
|
|
13824
|
+
/** Per-call override of the profile default (top-k sampling). */
|
|
13825
|
+
topK: number().int().positive().optional(),
|
|
13826
|
+
/** Per-call override of `profile.timeoutMs` — the total generation bound. */
|
|
13827
|
+
timeoutMs: number().int().positive().optional(),
|
|
13828
|
+
/** Per-call override; beats both the consumer table and the profile. */
|
|
13829
|
+
retry: LlmRetryPolicySchema.optional(),
|
|
13830
|
+
/**
|
|
13831
|
+
* Caller-minted id that makes this generation CANCELLABLE.
|
|
13832
|
+
*
|
|
13833
|
+
* Without it a caller that stops waiting cannot stop the work: the gates race
|
|
13834
|
+
* the call against 8 s and free their own slot when the timer wins, while the
|
|
13835
|
+
* generation upstream keeps running to `profile.timeoutMs` — 60 s by default,
|
|
13836
|
+
* on a single-threaded local model. The per-camera bound then counts WAITS,
|
|
13837
|
+
* not generations, and the real load is unbounded.
|
|
13838
|
+
*
|
|
13839
|
+
* `AbortSignal` cannot cross a process boundary; an id can. Pass one here and
|
|
13840
|
+
* `llm.cancel({ requestId })` tears the socket down.
|
|
13841
|
+
*/
|
|
13842
|
+
requestId: string().optional()
|
|
13767
13843
|
});
|
|
13768
13844
|
/**
|
|
13769
13845
|
* `llm-runtime` — node-side managed llama.cpp executor (spec §4). Registered
|
|
@@ -13776,6 +13852,18 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
13776
13852
|
* Resource ceiling = llama-server flags + idleStopMinutes ONLY (no RSS
|
|
13777
13853
|
* watchdog — operator decision #3).
|
|
13778
13854
|
*/
|
|
13855
|
+
/**
|
|
13856
|
+
* A companion artifact that MUST land beside the main GGUF: the `mmproj`
|
|
13857
|
+
* projector of a vision model, or shards 2..N of a split GGUF. Carried on the
|
|
13858
|
+
* REF rather than looked up at install time, so what the operator approved in
|
|
13859
|
+
* the preview is exactly what the node downloads.
|
|
13860
|
+
*/
|
|
13861
|
+
var ManagedModelExtraFileSchema = object({
|
|
13862
|
+
url: string(),
|
|
13863
|
+
filename: string(),
|
|
13864
|
+
sizeBytes: number(),
|
|
13865
|
+
sha256: string().optional()
|
|
13866
|
+
});
|
|
13779
13867
|
var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
13780
13868
|
object({
|
|
13781
13869
|
kind: literal("catalog"),
|
|
@@ -13784,7 +13872,11 @@ var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
|
13784
13872
|
object({
|
|
13785
13873
|
kind: literal("url"),
|
|
13786
13874
|
url: string(),
|
|
13787
|
-
sha256: string().optional()
|
|
13875
|
+
sha256: string().optional(),
|
|
13876
|
+
/** Picker/status label; the file basename when absent. */
|
|
13877
|
+
label: string().optional(),
|
|
13878
|
+
sizeBytes: number().optional(),
|
|
13879
|
+
extraFiles: array(ManagedModelExtraFileSchema).optional()
|
|
13788
13880
|
}),
|
|
13789
13881
|
object({
|
|
13790
13882
|
kind: literal("path"),
|
|
@@ -13802,13 +13894,82 @@ var ManagedRuntimeConfigSchema = object({
|
|
|
13802
13894
|
gpuLayers: number().int().default(0),
|
|
13803
13895
|
/** Default: cpus-2, clamped ≥1 (resolved node-side). */
|
|
13804
13896
|
threads: number().int().optional(),
|
|
13805
|
-
/** Concurrent slots. */
|
|
13897
|
+
/** Concurrent slots (`--parallel`). */
|
|
13806
13898
|
parallel: number().int().default(1),
|
|
13899
|
+
/** Logical batch size (`-b`). Larger = faster prompt ingest, more RAM. */
|
|
13900
|
+
batchSize: number().int().positive().optional(),
|
|
13901
|
+
/** Physical batch / micro-batch (`-ub`). */
|
|
13902
|
+
ubatchSize: number().int().positive().optional(),
|
|
13903
|
+
/**
|
|
13904
|
+
* `--flash-attn`. Cuts KV-cache memory on the backends that implement it and
|
|
13905
|
+
* is a no-op elsewhere, so it is offered rather than assumed.
|
|
13906
|
+
*/
|
|
13907
|
+
flashAttention: boolean().default(false),
|
|
13908
|
+
/**
|
|
13909
|
+
* `--mlock`. Pins the weights in RAM so the OS cannot page them out mid
|
|
13910
|
+
* inference. Costs the full model size in resident memory — which is exactly
|
|
13911
|
+
* what the RAM budget is counting.
|
|
13912
|
+
*/
|
|
13913
|
+
mlock: boolean().default(false),
|
|
13914
|
+
/**
|
|
13915
|
+
* `--no-mmap`. Reads the whole GGUF up front instead of mapping it. Slower to
|
|
13916
|
+
* start, but avoids the page-fault stalls a network or spinning-disk model
|
|
13917
|
+
* store produces on every first token.
|
|
13918
|
+
*/
|
|
13919
|
+
noMmap: boolean().default(false),
|
|
13920
|
+
/** `--cache-type-k` / `--cache-type-v` — quantising the KV cache is the
|
|
13921
|
+
* cheapest way to fit a longer context in the same RAM. */
|
|
13922
|
+
cacheTypeK: _enum([
|
|
13923
|
+
"f32",
|
|
13924
|
+
"f16",
|
|
13925
|
+
"q8_0",
|
|
13926
|
+
"q5_1",
|
|
13927
|
+
"q5_0",
|
|
13928
|
+
"q4_1",
|
|
13929
|
+
"q4_0"
|
|
13930
|
+
]).optional(),
|
|
13931
|
+
cacheTypeV: _enum([
|
|
13932
|
+
"f32",
|
|
13933
|
+
"f16",
|
|
13934
|
+
"q8_0",
|
|
13935
|
+
"q5_1",
|
|
13936
|
+
"q5_0",
|
|
13937
|
+
"q4_1",
|
|
13938
|
+
"q4_0"
|
|
13939
|
+
]).optional(),
|
|
13940
|
+
/**
|
|
13941
|
+
* Escape hatch for llama-server flags this schema does NOT model — `--jinja`
|
|
13942
|
+
* (which most vision chat templates need and some language-only models
|
|
13943
|
+
* dislike), `--cont-batching`, `--rope-scaling`, …
|
|
13944
|
+
*
|
|
13945
|
+
* It is NOT a second place to set the flags above. A token that collides
|
|
13946
|
+
* with a typed field is REJECTED at start, naming the field that owns it
|
|
13947
|
+
* (`assertNoOwnedFlags`), because two knobs writing the same argv is exactly
|
|
13948
|
+
* the "two switches that disagree" failure this repo has already shipped
|
|
13949
|
+
* twice (D62).
|
|
13950
|
+
*/
|
|
13951
|
+
extraArgs: array(string()).default([]),
|
|
13807
13952
|
/** Else lazy: first generate boots it. */
|
|
13808
13953
|
autoStart: boolean().default(false),
|
|
13809
13954
|
/** 0 = never; frees RAM after quiet periods. */
|
|
13810
13955
|
idleStopMinutes: number().int().default(30)
|
|
13811
13956
|
});
|
|
13957
|
+
/**
|
|
13958
|
+
* Where a multi-GB install currently is. A single 0..1 fraction cannot answer
|
|
13959
|
+
* "is it stuck?" for an install that is three files (shards + mmproj) followed
|
|
13960
|
+
* by a sha256 pass over 22 GB — during which the fraction sat at 1.0 and the
|
|
13961
|
+
* node looked hung. Phase + file + bytes is the smallest shape that does.
|
|
13962
|
+
*/
|
|
13963
|
+
var LlmDownloadProgressSchema = object({
|
|
13964
|
+
phase: _enum(["downloading", "verifying"]),
|
|
13965
|
+
/** The artifact currently moving, e.g. `mmproj-F16.gguf`. */
|
|
13966
|
+
file: string(),
|
|
13967
|
+
fileIndex: number().int(),
|
|
13968
|
+
fileCount: number().int(),
|
|
13969
|
+
/** Across the WHOLE install, not the current file. */
|
|
13970
|
+
downloadedBytes: number(),
|
|
13971
|
+
totalBytes: number().optional()
|
|
13972
|
+
});
|
|
13812
13973
|
var LlmRuntimeStatusSchema = object({
|
|
13813
13974
|
/** Status is ALWAYS node-qualified. */
|
|
13814
13975
|
nodeId: string(),
|
|
@@ -13825,6 +13986,8 @@ var LlmRuntimeStatusSchema = object({
|
|
|
13825
13986
|
modelPath: string().optional(),
|
|
13826
13987
|
modelId: string().optional(),
|
|
13827
13988
|
downloadProgress: number().min(0).max(1).optional(),
|
|
13989
|
+
/** Detail behind `downloadProgress`; present for the same lifetime. */
|
|
13990
|
+
download: LlmDownloadProgressSchema.optional(),
|
|
13828
13991
|
lastError: string().optional(),
|
|
13829
13992
|
crashesInWindow: number(),
|
|
13830
13993
|
/** Child RSS (sampled best-effort). */
|
|
@@ -13835,7 +13998,14 @@ var LlmNodeModelSchema = object({
|
|
|
13835
13998
|
file: string(),
|
|
13836
13999
|
sizeBytes: number(),
|
|
13837
14000
|
catalogId: string().optional(),
|
|
13838
|
-
installedAt: number().optional()
|
|
14001
|
+
installedAt: number().optional(),
|
|
14002
|
+
/**
|
|
14003
|
+
* Absolute path on the node. Present so a file that is on disk but matches
|
|
14004
|
+
* no catalog entry — a custom Hugging Face install, or a GGUF the operator
|
|
14005
|
+
* copied in by hand — is still SELECTABLE, as a `{kind:'path'}` ref. Without
|
|
14006
|
+
* it the picker could list such a file and do nothing with it.
|
|
14007
|
+
*/
|
|
14008
|
+
path: string().optional()
|
|
13839
14009
|
});
|
|
13840
14010
|
var LlmRuntimeDiskUsageSchema = object({
|
|
13841
14011
|
nodeId: string(),
|
|
@@ -13906,10 +14076,47 @@ var LlmProfileSchema = object({
|
|
|
13906
14076
|
baseUrl: string().optional(),
|
|
13907
14077
|
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
13908
14078
|
apiKey: string().optional(),
|
|
14079
|
+
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
14080
|
+
* degraded to text — that shipped once and produced a confident answer to a
|
|
14081
|
+
* question about a picture nobody sent. */
|
|
13909
14082
|
supportsVision: boolean(),
|
|
13910
14083
|
temperature: number().min(0).max(2).optional(),
|
|
14084
|
+
/** Nucleus sampling. Every wire we speak has it. */
|
|
14085
|
+
topP: number().min(0).max(1).optional(),
|
|
14086
|
+
/** Top-k sampling. Carried only by the wires that have it — NEITHER OpenAI
|
|
14087
|
+
* wire does, and the client drops it there (measured: the request body gets
|
|
14088
|
+
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
14089
|
+
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
14090
|
+
topK: number().int().positive().optional(),
|
|
13911
14091
|
maxTokens: number().int().positive().optional(),
|
|
14092
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own);
|
|
14093
|
+
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
14094
|
+
* the model with, so it is the one field that changes a PROCESS. */
|
|
14095
|
+
contextLength: number().int().positive().optional(),
|
|
14096
|
+
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
14097
|
+
* two system prompts fighting is worse than either alone). */
|
|
14098
|
+
systemPrompt: string().optional(),
|
|
14099
|
+
/** Total generation bound — the only one a unary call has. */
|
|
13912
14100
|
timeoutMs: number().int().positive().default(6e4),
|
|
14101
|
+
/** The TCP handshake only — "is the port even open". NOT the wait for
|
|
14102
|
+
* response headers: on the LM Studio / llama-server wire those are written
|
|
14103
|
+
* once the model has finished loading, so they belong to the bound below. */
|
|
14104
|
+
connectTimeoutMs: number().int().positive().default(1e4),
|
|
14105
|
+
/** Accepted, but no output yet — response headers included, because a cold
|
|
14106
|
+
* GPU load is exactly what happens before them. */
|
|
14107
|
+
firstTokenTimeoutMs: number().int().positive().default(12e4),
|
|
14108
|
+
/** Output started then stopped. */
|
|
14109
|
+
idleTimeoutMs: number().int().positive().default(6e4),
|
|
14110
|
+
/** Profile-level default. The per-consumer table and a per-call override
|
|
14111
|
+
* both beat it — see `resolveRetryPolicy`. */
|
|
14112
|
+
retry: LlmRetryPolicySchema.default({
|
|
14113
|
+
enabled: false,
|
|
14114
|
+
maxAttempts: 1
|
|
14115
|
+
}),
|
|
14116
|
+
/** Whether this profile may use tools. The tool-call plumbing rides the
|
|
14117
|
+
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
14118
|
+
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
14119
|
+
toolsEnabled: boolean().default(false),
|
|
13913
14120
|
extraHeaders: record(string(), string()).optional(),
|
|
13914
14121
|
/** kind === 'managed-local' only (spec §4). */
|
|
13915
14122
|
runtime: ManagedRuntimeConfigSchema.optional()
|
|
@@ -13959,6 +14166,36 @@ var ManagedModelCatalogEntrySchema = object({
|
|
|
13959
14166
|
/** Vision models: companion projector file. */
|
|
13960
14167
|
mmprojUrl: string().optional()
|
|
13961
14168
|
});
|
|
14169
|
+
/**
|
|
14170
|
+
* The outcome of turning one operator-typed Hugging Face reference into a
|
|
14171
|
+
* download plan. A RESULT, never a throw: "this repo has 24 quantizations and
|
|
14172
|
+
* I will not pick for you" is a normal answer the UI has to render, not an
|
|
14173
|
+
* exception.
|
|
14174
|
+
*
|
|
14175
|
+
* `candidates` is the whole reason the refusal is usable — every string in it
|
|
14176
|
+
* is a tag that resolves when pasted back as `<org>/<repo>:<TAG>`.
|
|
14177
|
+
*/
|
|
14178
|
+
var HfModelResolutionSchema = discriminatedUnion("ok", [object({
|
|
14179
|
+
ok: literal(true),
|
|
14180
|
+
/** Ready to hand to `installModel` unchanged. */
|
|
14181
|
+
model: ManagedModelRefSchema,
|
|
14182
|
+
label: string(),
|
|
14183
|
+
repo: string(),
|
|
14184
|
+
quantization: string(),
|
|
14185
|
+
purpose: _enum(["text", "vision"]),
|
|
14186
|
+
totalBytes: number(),
|
|
14187
|
+
/** mmproj + shards, for the preview: an operator approving 23 GB should
|
|
14188
|
+
* see that 0.9 GB of it is a projector they did not name. */
|
|
14189
|
+
extraFilenames: array(string())
|
|
14190
|
+
}), object({
|
|
14191
|
+
ok: literal(false),
|
|
14192
|
+
code: string(),
|
|
14193
|
+
message: string(),
|
|
14194
|
+
candidates: array(string()).optional(),
|
|
14195
|
+
/** Set when the refusal was only the ceiling: re-calling with
|
|
14196
|
+
* `maxBytes: requiredBytes` is the operator's explicit override. */
|
|
14197
|
+
requiredBytes: number().optional()
|
|
14198
|
+
})]);
|
|
13962
14199
|
var LlmRuntimeNodeSchema = object({
|
|
13963
14200
|
nodeId: string(),
|
|
13964
14201
|
reachable: boolean(),
|
|
@@ -13982,6 +14219,17 @@ var llmCapability = {
|
|
|
13982
14219
|
methods: {
|
|
13983
14220
|
generate: method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }),
|
|
13984
14221
|
generateVision: method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }),
|
|
14222
|
+
/**
|
|
14223
|
+
* Stop a generation started with a `requestId`.
|
|
14224
|
+
*
|
|
14225
|
+
* Idempotent and always successful: cancelling an id that already finished,
|
|
14226
|
+
* never existed, or was cancelled a moment ago is a no-op. A caller that has
|
|
14227
|
+
* given up must never have to handle an error from giving up.
|
|
14228
|
+
*/
|
|
14229
|
+
cancel: method(object({
|
|
14230
|
+
addonId: string().optional(),
|
|
14231
|
+
requestId: string()
|
|
14232
|
+
}), _void(), { kind: "mutation" }),
|
|
13985
14233
|
listProfileKinds: method(object({}), array(LlmProfileKindDescriptorSchema)),
|
|
13986
14234
|
listProfiles: method(object({}), array(LlmProfileSchema)),
|
|
13987
14235
|
upsertProfile: method(object({ profile: LlmProfileSchema }), LlmProfileSchema, {
|
|
@@ -14015,6 +14263,25 @@ var llmCapability = {
|
|
|
14015
14263
|
listModelCatalog: method(object({}), array(ManagedModelCatalogEntrySchema)),
|
|
14016
14264
|
listRuntimeNodes: method(object({}), array(LlmRuntimeNodeSchema)),
|
|
14017
14265
|
listNodeModels: method(object({ nodeId: string() }), array(LlmNodeModelSchema)),
|
|
14266
|
+
/**
|
|
14267
|
+
* One typed Hugging Face reference → a pinned, verified `ManagedModelRef`.
|
|
14268
|
+
*
|
|
14269
|
+
* Runs on the HUB, not on the target node: resolution needs egress to
|
|
14270
|
+
* huggingface.co, and an agent that cannot reach it still installs fine
|
|
14271
|
+
* through the model-distributor relay. Nothing is downloaded here — this is
|
|
14272
|
+
* a tree read plus a HEAD, so the operator sees the size, the quantization
|
|
14273
|
+
* and the mmproj BEFORE approving a multi-GB pull.
|
|
14274
|
+
*/
|
|
14275
|
+
resolveModelRef: method(object({
|
|
14276
|
+
/** `https://huggingface.co/<org>/<repo>/resolve/main/<f>.gguf`,
|
|
14277
|
+
* `<org>/<repo>/<f>.gguf`, `<org>/<repo>` or `<org>/<repo>:<QUANT>`. */
|
|
14278
|
+
ref: string(),
|
|
14279
|
+
/** Explicit ceiling override, in bytes. Absent = the built-in ceiling. */
|
|
14280
|
+
maxBytes: number().positive().optional()
|
|
14281
|
+
}), HfModelResolutionSchema, {
|
|
14282
|
+
kind: "mutation",
|
|
14283
|
+
auth: "admin"
|
|
14284
|
+
}),
|
|
14018
14285
|
installModel: method(object({
|
|
14019
14286
|
nodeId: string(),
|
|
14020
14287
|
model: ManagedModelRefSchema
|
|
@@ -14722,11 +14989,33 @@ var NotificationFormatSchema = _enum([
|
|
|
14722
14989
|
* Named by INTENT, never by glyph. "check" would tie the vocabulary to one
|
|
14723
14990
|
* renderer's icon set; "acknowledge" survives an adapter that draws it
|
|
14724
14991
|
* differently.
|
|
14992
|
+
*
|
|
14993
|
+
* ── A TOKEN IS NOT A WIRE VALUE ─────────────────────────────────────
|
|
14994
|
+
*
|
|
14995
|
+
* These names are for US. **No adapter may forward one verbatim.** Each maps
|
|
14996
|
+
* the whole set onto its own renderer's vocabulary through a
|
|
14997
|
+
* `Record<NotificationActionIcon, string>` — a Record, never a lookup with a
|
|
14998
|
+
* fallback, so adding a member here fails every adapter's build until someone
|
|
14999
|
+
* decides its glyph, which is the only place that decision can be made
|
|
15000
|
+
* honestly.
|
|
15001
|
+
*
|
|
15002
|
+
* This paragraph is the bug. Zentik declared `actionIcons: true` and passed
|
|
15003
|
+
* `disarm` straight through; iOS feeds that string to
|
|
15004
|
+
* `UNNotificationActionIcon(systemImageName:)`, `disarm` is not an SF Symbol,
|
|
15005
|
+
* and every snooze and alarm button arrived BLANK. A pass-through is not a
|
|
15006
|
+
* mapping, and "the field is documented" is not "the value renders".
|
|
15007
|
+
*
|
|
15008
|
+
* Adding a member is TRAIN-BOUND. The enum lives in the published
|
|
15009
|
+
* `@camstack/server` closure and the cap seam validates against the HUB's copy,
|
|
15010
|
+
* so an addon that emits a token the running hub does not know does not lose an
|
|
15011
|
+
* icon — its whole `send` fails Zod validation and the notification never
|
|
15012
|
+
* arrives. Never emit a new token from an addon before the train carrying it.
|
|
14725
15013
|
*/
|
|
14726
15014
|
var NotificationActionIconSchema = _enum([
|
|
14727
15015
|
"acknowledge",
|
|
14728
15016
|
"dismiss",
|
|
14729
15017
|
"silence",
|
|
15018
|
+
"snooze",
|
|
14730
15019
|
"view",
|
|
14731
15020
|
"play",
|
|
14732
15021
|
"open",
|
|
@@ -14734,9 +15023,13 @@ var NotificationActionIconSchema = _enum([
|
|
|
14734
15023
|
"lock",
|
|
14735
15024
|
"unlock",
|
|
14736
15025
|
"arm",
|
|
15026
|
+
"arm-home",
|
|
15027
|
+
"arm-away",
|
|
15028
|
+
"arm-night",
|
|
14737
15029
|
"disarm",
|
|
14738
15030
|
"light",
|
|
14739
|
-
"alert"
|
|
15031
|
+
"alert",
|
|
15032
|
+
"camera"
|
|
14740
15033
|
]);
|
|
14741
15034
|
/** A single tap-through action button. */
|
|
14742
15035
|
var NotificationActionSchema = object({
|
|
@@ -14950,6 +15243,24 @@ var notificationOutputCapability = {
|
|
|
14950
15243
|
}), _void(), { kind: "mutation" })
|
|
14951
15244
|
}
|
|
14952
15245
|
};
|
|
15246
|
+
new Set([
|
|
15247
|
+
{
|
|
15248
|
+
id: "person",
|
|
15249
|
+
name: "Person"
|
|
15250
|
+
},
|
|
15251
|
+
{
|
|
15252
|
+
id: "vehicle",
|
|
15253
|
+
name: "Vehicle"
|
|
15254
|
+
},
|
|
15255
|
+
{
|
|
15256
|
+
id: "animal",
|
|
15257
|
+
name: "Animal"
|
|
15258
|
+
},
|
|
15259
|
+
{
|
|
15260
|
+
id: "package",
|
|
15261
|
+
name: "Package"
|
|
15262
|
+
}
|
|
15263
|
+
].map((l) => l.id));
|
|
14953
15264
|
var COCO_TO_MACRO = {
|
|
14954
15265
|
mapping: {
|
|
14955
15266
|
person: "person",
|
|
@@ -15780,11 +16091,15 @@ var NcSystemEventKindSchema = _enum([
|
|
|
15780
16091
|
"stream-offline",
|
|
15781
16092
|
"node-online",
|
|
15782
16093
|
"node-offline",
|
|
16094
|
+
"node-inference-unavailable",
|
|
16095
|
+
"detection-blind",
|
|
15783
16096
|
"addon-update-available",
|
|
15784
16097
|
"server-update-available",
|
|
15785
16098
|
"alarm-triggered",
|
|
15786
16099
|
"alarm-armed",
|
|
15787
16100
|
"alarm-disarmed",
|
|
16101
|
+
"alarm-arming",
|
|
16102
|
+
"alarm-arm-refused",
|
|
15788
16103
|
"camera-online",
|
|
15789
16104
|
"camera-offline",
|
|
15790
16105
|
"camera-disabled",
|
|
@@ -15839,7 +16154,16 @@ var NcScheduleSchema = object({
|
|
|
15839
16154
|
});
|
|
15840
16155
|
/** Fuzzy plate matcher — OCR noise makes exact match useless (spec row 12/13). */
|
|
15841
16156
|
var NcPlateMatcherSchema = object({
|
|
15842
|
-
|
|
16157
|
+
/**
|
|
16158
|
+
* Plate texts (or gallery vehicle names) to match. EMPTY = **any plate the
|
|
16159
|
+
* pipeline could read** — the plate half of "no selection = no narrowing",
|
|
16160
|
+
* and the switch that says this rule is about vehicles that were IDENTIFIED
|
|
16161
|
+
* rather than merely seen. A subject carrying no plate still fails.
|
|
16162
|
+
*
|
|
16163
|
+
* The `.min(1)` this used to carry made that state unauthorable; nothing has
|
|
16164
|
+
* ever persisted an empty list, so widening it cannot change an existing rule.
|
|
16165
|
+
*/
|
|
16166
|
+
values: array(string().min(1)),
|
|
15843
16167
|
/** Max Levenshtein distance after normalization (uppercase alphanumeric). */
|
|
15844
16168
|
maxDistance: number().int().min(0).max(3).default(1)
|
|
15845
16169
|
});
|
|
@@ -15873,28 +16197,36 @@ var NcOccupancyConditionSchema = object({
|
|
|
15873
16197
|
/**
|
|
15874
16198
|
* Audio condition (IMMEDIATE trigger) — a rule on SOUND, not on a picture.
|
|
15875
16199
|
*
|
|
15876
|
-
*
|
|
15877
|
-
*
|
|
15878
|
-
*
|
|
15879
|
-
*
|
|
15880
|
-
*
|
|
15881
|
-
*
|
|
15882
|
-
*
|
|
15883
|
-
*
|
|
15884
|
-
*
|
|
15885
|
-
*
|
|
15886
|
-
*
|
|
15887
|
-
*
|
|
15888
|
-
*
|
|
15889
|
-
*
|
|
15890
|
-
*
|
|
15891
|
-
*
|
|
15892
|
-
*
|
|
15893
|
-
*
|
|
15894
|
-
*
|
|
15895
|
-
*
|
|
15896
|
-
*
|
|
15897
|
-
* `
|
|
16200
|
+
* **TWO EXCLUSIVE MODES** (operator decision 2026-08-14, D157). Which one a
|
|
16201
|
+
* rule is in is not a stored field — it is WHICH FILTER the rule carries, so
|
|
16202
|
+
* there is no second switch that can disagree with the first and every rule
|
|
16203
|
+
* authored before the decision migrates for free (`audioModeOf`):
|
|
16204
|
+
*
|
|
16205
|
+
* - **LABEL mode — `labels` present.** The rule fires on the FIRST frame the
|
|
16206
|
+
* classifier labels with one of them. No window, no percentage:
|
|
16207
|
+
* `hitPercent` and `samplingSeconds` are ignored, and the rule's own
|
|
16208
|
+
* `throttle` cooldown is the only brake. The per-label confidence floor is
|
|
16209
|
+
* the analyzer's (`classificationMinScore`, per device) — a label only
|
|
16210
|
+
* reaches this condition if the classifier was already confident enough.
|
|
16211
|
+
* - **LEVEL mode — `dbThreshold` present, no labels.** The sampling window IS
|
|
16212
|
+
* the condition: at least `hitPercent`% of the samples over
|
|
16213
|
+
* `samplingSeconds` must be at or above `dbThreshold` dBFS (see
|
|
16214
|
+
* {@link NC_AUDIO_DBFS_FLOOR}: negative-going, `0` = full scale). The window
|
|
16215
|
+
* must be FULL before it can match — a window open for two of its ten
|
|
16216
|
+
* seconds is 100% of nothing.
|
|
16217
|
+
*
|
|
16218
|
+
* **Why label mode has no window.** It had one, and it never fired: the
|
|
16219
|
+
* analyzer emits ~1 audio frame per second but YAMNet only LABELS one to three
|
|
16220
|
+
* of them per episode, even through continuous crying. The measured maximum
|
|
16221
|
+
* `hitPercent` over the whole live history was 40 — under the shipped default
|
|
16222
|
+
* of 60, so a label rule could not fire at all, ever. A percentage of frames is
|
|
16223
|
+
* the wrong question to ask of a sparse classifier.
|
|
16224
|
+
*
|
|
16225
|
+
* **Fail-closed when NEITHER is given** — every sample would be a trivial hit
|
|
16226
|
+
* and the rule would fire on silence. The schema cannot express "exactly one
|
|
16227
|
+
* of" without becoming a ZodEffects the cap path would have to special-case, so
|
|
16228
|
+
* the exclusivity is enforced where every editor writes (`patchAudio`) and a
|
|
16229
|
+
* legacy rule carrying both resolves to LABEL (the mode that fires).
|
|
15898
16230
|
*
|
|
15899
16231
|
* Labels are the audio macro classes (`AUDIO_MACRO_LABELS` / the NC taxonomy's
|
|
15900
16232
|
* `audio-*` ids). Both spellings are accepted — the matcher normalizes the
|
|
@@ -15902,13 +16234,13 @@ var NcOccupancyConditionSchema = object({
|
|
|
15902
16234
|
* an operator who typed `dog` mean the same thing.
|
|
15903
16235
|
*/
|
|
15904
16236
|
var NcAudioConditionSchema = object({
|
|
15905
|
-
/**
|
|
16237
|
+
/** LABEL MODE: audio macro labels. Present ⇒ fires on the first labelled frame. */
|
|
15906
16238
|
labels: array(string().min(1)).min(1).optional(),
|
|
15907
|
-
/**
|
|
16239
|
+
/** LEVEL MODE: floor in dBFS (negative-going, `0` = full scale). */
|
|
15908
16240
|
dbThreshold: number().min(-96).max(0).optional(),
|
|
15909
|
-
/**
|
|
16241
|
+
/** LEVEL MODE ONLY: percentage of the window's samples that must be hits (1–100). */
|
|
15910
16242
|
hitPercent: number().int().min(1).max(100).default(60),
|
|
15911
|
-
/**
|
|
16243
|
+
/** LEVEL MODE ONLY: length of the sampling window in seconds. */
|
|
15912
16244
|
samplingSeconds: number().int().min(1).max(300).default(10)
|
|
15913
16245
|
});
|
|
15914
16246
|
/**
|
|
@@ -16046,13 +16378,81 @@ var NcRuleActionsSchema = object({
|
|
|
16046
16378
|
*/
|
|
16047
16379
|
buttons: array(NcRuleNotificationButtonSchema).max(8).optional()
|
|
16048
16380
|
});
|
|
16381
|
+
/**
|
|
16382
|
+
* "This rule applies only while `deviceId` is in one of `states`."
|
|
16383
|
+
*
|
|
16384
|
+
* The states are the DEVICE's own vocabulary — `AlarmState` for a panel,
|
|
16385
|
+
* `on`/`off` for a switch — not a normalised set, because normalising would
|
|
16386
|
+
* make the condition lie about devices whose states have no equivalent.
|
|
16387
|
+
*
|
|
16388
|
+
* An unreadable state does NOT match: see the engine's fail-closed gate. A
|
|
16389
|
+
* condition that fired on "I could not read it" would be worse than no gate.
|
|
16390
|
+
*/
|
|
16391
|
+
var NcDeviceStateConditionSchema = object({
|
|
16392
|
+
deviceId: number().int(),
|
|
16393
|
+
/** Any of these matches. */
|
|
16394
|
+
states: array(string().min(1)).min(1)
|
|
16395
|
+
});
|
|
16396
|
+
/**
|
|
16397
|
+
* "This rule applies only while scene `sceneId` is `matched` / `diverged`."
|
|
16398
|
+
*
|
|
16399
|
+
* A GATE, not a trigger. `occupancy` and `audio` each DISCRIMINATE their rule —
|
|
16400
|
+
* carrying one makes the rule fire on that subject and nothing else. Scene is
|
|
16401
|
+
* the other shape entirely, the `deviceState` shape: it narrows a rule that
|
|
16402
|
+
* already has a trigger ("tell me about a person at the front door, but only
|
|
16403
|
+
* while the bin is still out"). That is why it composes with every delivery
|
|
16404
|
+
* instead of owning one, and why no new `NcDelivery` member and no new subject
|
|
16405
|
+
* kind exist for it — see D159.
|
|
16406
|
+
*
|
|
16407
|
+
* ── Identity ───────────────────────────────────────────────────────────────
|
|
16408
|
+
* `sceneId` is `SceneMonitor.id`, a `randomUUID()` minted by `createScene` —
|
|
16409
|
+
* globally unique, so it needs no device to disambiguate it. `deviceId` is
|
|
16410
|
+
* carried as a HINT for the editor and for the log line, never as part of the
|
|
16411
|
+
* lookup key: a rule whose hint drifted must still gate correctly.
|
|
16412
|
+
*
|
|
16413
|
+
* ── Which boolean ──────────────────────────────────────────────────────────
|
|
16414
|
+
* `latched` ABSENT means "whatever the scene itself says" — `SceneMonitor.emit`
|
|
16415
|
+
* already declares which boolean drives notification rules, and a second knob
|
|
16416
|
+
* that could disagree with it is exactly the D62 failure. Set it only to
|
|
16417
|
+
* override one rule against the scene's own default.
|
|
16418
|
+
*
|
|
16419
|
+
* - LIVE reading (`emit`/`latched` resolve to live): passes iff
|
|
16420
|
+
* `verdict === requiredState`. `unknown` — no reference for this light, view
|
|
16421
|
+
* shifted, no snapshot — passes NEITHER. A scene that cannot judge is not
|
|
16422
|
+
* evidence, in either direction.
|
|
16423
|
+
* - LATCHED reading: passes iff `latched === (requiredState === 'diverged')`.
|
|
16424
|
+
* The latch is a durable fact about the past ("it has diverged since I armed
|
|
16425
|
+
* it"), so a camera that has gone dark does not clear it — that is the whole
|
|
16426
|
+
* reason the operator asked for a latch.
|
|
16427
|
+
*
|
|
16428
|
+
* The gate reads an in-memory mirror (`NcSceneStateCache`) refreshed OFF the
|
|
16429
|
+
* event path, never the cap: D49. A mirror that has never loaded, or a scene it
|
|
16430
|
+
* does not carry, reads absent and the rule does NOT fire — fail closed, and
|
|
16431
|
+
* said out loud in the log rather than dropped in silence.
|
|
16432
|
+
*/
|
|
16433
|
+
var NcSceneConditionSchema = object({
|
|
16434
|
+
/** `SceneMonitor.id` — the uuid the cap mints. The whole lookup key. */
|
|
16435
|
+
sceneId: string().min(1),
|
|
16436
|
+
/** The camera the scene lives on. A hint for the editor and the log line. */
|
|
16437
|
+
deviceId: number().int().optional(),
|
|
16438
|
+
/** The state the scene must be in for the rule to fire. */
|
|
16439
|
+
requiredState: _enum(["matched", "diverged"]),
|
|
16440
|
+
/**
|
|
16441
|
+
* Read the LATCH (`true`) or the LIVE verdict (`false`). Absent = follow the
|
|
16442
|
+
* scene's own `emit` field, which is the only place that decision belongs.
|
|
16443
|
+
*/
|
|
16444
|
+
latched: boolean().optional()
|
|
16445
|
+
});
|
|
16049
16446
|
var NcConditionsSchema = object({
|
|
16050
16447
|
/** Gate on ANOTHER device's current state (the alarm armed, a switch on). */
|
|
16051
|
-
deviceState:
|
|
16052
|
-
|
|
16053
|
-
|
|
16054
|
-
|
|
16055
|
-
|
|
16448
|
+
deviceState: NcDeviceStateConditionSchema.optional(),
|
|
16449
|
+
/**
|
|
16450
|
+
* Gate on a SCENE's state — "only while the bin is still out". Composes with
|
|
16451
|
+
* every trigger (detection, occupancy, audio, sensor, package, track-end);
|
|
16452
|
+
* unlike `occupancy`/`audio` it discriminates nothing. See
|
|
16453
|
+
* {@link NcSceneCondition} and D159.
|
|
16454
|
+
*/
|
|
16455
|
+
scene: NcSceneConditionSchema.optional(),
|
|
16056
16456
|
/** Device scope — absent = all devices. */
|
|
16057
16457
|
devices: array(number()).optional(),
|
|
16058
16458
|
/** Detector class names (any overlap with the record's class set). */
|
|
@@ -16078,18 +16478,47 @@ var NcConditionsSchema = object({
|
|
|
16078
16478
|
*/
|
|
16079
16479
|
labelEquals: array(string().min(1)).optional(),
|
|
16080
16480
|
/**
|
|
16081
|
-
*
|
|
16082
|
-
*
|
|
16083
|
-
*
|
|
16481
|
+
* KNOWN FACES — the rule's identity scope, and the switch that says the rule
|
|
16482
|
+
* is about recognised people at all.
|
|
16483
|
+
*
|
|
16484
|
+
* Three states, and the empty one is the point:
|
|
16485
|
+
*
|
|
16486
|
+
* | value | meaning |
|
|
16487
|
+
* | --- | --- |
|
|
16488
|
+
* | absent | the rule does not care who it is; an unrecognised person matches |
|
|
16489
|
+
* | `[]` | **only known faces** — any identity in the gallery, nobody in particular |
|
|
16490
|
+
* | a list | only these identities |
|
|
16491
|
+
*
|
|
16492
|
+
* `[]` is the repo-wide "no selection = no narrowing" reading (an absent
|
|
16493
|
+
* `devices` list is every device), applied one level down: the operator has
|
|
16494
|
+
* turned the face scope ON and narrowed it to nothing, which is every known
|
|
16495
|
+
* face. No second field states the same thing — a switch that can disagree
|
|
16496
|
+
* with the list under it is worse than no switch (D62).
|
|
16497
|
+
*
|
|
16498
|
+
* MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
|
|
16499
|
+
* renameable, and a rule authored on "Gianluca" went silently dark the moment
|
|
16500
|
+
* the operator fixed the spelling. The id reaches the record on
|
|
16501
|
+
* `LabelAttribution.identityId`; the name is what the editor shows and what
|
|
16502
|
+
* `{{label}}` renders.
|
|
16503
|
+
*
|
|
16504
|
+
* Rules written before this carry NAMES, and are resolved to ids lazily at
|
|
16505
|
+
* load (`NcRuleStore.load`) against the live gallery — a name nothing answers
|
|
16506
|
+
* for is left as it stands and reported, never dropped. The engine also
|
|
16507
|
+
* accepts a display-name hit as a compatibility leg, so a rule whose
|
|
16508
|
+
* migration could not resolve keeps matching exactly what it matched before.
|
|
16084
16509
|
*/
|
|
16085
16510
|
identities: array(string().min(1)).optional(),
|
|
16086
|
-
/**
|
|
16511
|
+
/**
|
|
16512
|
+
* KNOWN PLATES / VEHICLES — the plate mirror of {@link identities}, including
|
|
16513
|
+
* the empty-list reading: `values: []` is "any plate the OCR could read",
|
|
16514
|
+
* a non-empty list is those plates (fuzzily). See {@link NcPlateMatcherSchema}.
|
|
16515
|
+
*/
|
|
16087
16516
|
plates: NcPlateMatcherSchema.optional(),
|
|
16088
16517
|
/**
|
|
16089
|
-
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics
|
|
16090
|
-
*
|
|
16091
|
-
* identity
|
|
16092
|
-
*
|
|
16518
|
+
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics, and
|
|
16519
|
+
* the same id members and the same lazy name→id migration. A record with NO
|
|
16520
|
+
* identity passes (nothing to exclude), unlike the include variant which
|
|
16521
|
+
* fails on an unrecognised subject. An EMPTY list excludes nobody.
|
|
16093
16522
|
*/
|
|
16094
16523
|
identitiesExclude: array(string().min(1)).optional(),
|
|
16095
16524
|
/**
|
|
@@ -16481,7 +16910,80 @@ var NcRuleInputSchema = object({
|
|
|
16481
16910
|
* a rule that predates the gate must keep delivering byte-for-byte as it
|
|
16482
16911
|
* did, and absent is the only way to say that without a migration.
|
|
16483
16912
|
*/
|
|
16484
|
-
confirm: NcConfirmSchema.optional()
|
|
16913
|
+
confirm: NcConfirmSchema.optional(),
|
|
16914
|
+
/**
|
|
16915
|
+
* WAIT for face/plate recognition before saying anything.
|
|
16916
|
+
*
|
|
16917
|
+
* A notification's TEXT is frozen at enqueue and its media is re-resolved at
|
|
16918
|
+
* send; the identity is neither. A face is confirmed after `confirmFrames`
|
|
16919
|
+
* agreeing observations — p50 **11.4 s** after the track was first seen,
|
|
16920
|
+
* measured on this hub — and an `immediate` rule enqueues on the first object
|
|
16921
|
+
* event, seconds before that. So "Gianluca è arrivato" is unsayable on the
|
|
16922
|
+
* immediate path, and no amount of media re-resolution fixes a sentence.
|
|
16923
|
+
*
|
|
16924
|
+
* Only two honest answers exist, and this flag picks between them. It has
|
|
16925
|
+
* effect ONLY on a rule that declares a recognition scope
|
|
16926
|
+
* ({@link NcConditions.identities} or {@link NcConditions.plates}) — on any
|
|
16927
|
+
* other rule there is nothing to wait for and the flag is inert.
|
|
16928
|
+
*
|
|
16929
|
+
* | value | what happens |
|
|
16930
|
+
* | --- | --- |
|
|
16931
|
+
* | `true` | the rule stops firing on the object event and fires at TRACK CLOSE instead, once, with the name — later, and complete |
|
|
16932
|
+
* | 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) |
|
|
16933
|
+
*
|
|
16934
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
16935
|
+
* on the addon cap path, and absent has to keep meaning exactly what every
|
|
16936
|
+
* rule authored before this field meant.
|
|
16937
|
+
*
|
|
16938
|
+
* The cost of `true` is stated here because the editor states it too: a rule
|
|
16939
|
+
* that waits also inherits track-close SEMANTICS — its `zones` condition
|
|
16940
|
+
* tests every zone the track visited and a `crossing` condition can no longer
|
|
16941
|
+
* be satisfied, because a closed track carries no crossing.
|
|
16942
|
+
*/
|
|
16943
|
+
waitForEnhancement: boolean().optional(),
|
|
16944
|
+
/**
|
|
16945
|
+
* GROUP a burst of subjects into ONE notification that grows.
|
|
16946
|
+
*
|
|
16947
|
+
* Seconds of quiet after the last matching subject before the burst is
|
|
16948
|
+
* considered over. While it is open, the first subject enqueues immediately —
|
|
16949
|
+
* **exactly as today, with no added latency** — and every real growth (a new
|
|
16950
|
+
* subject, or a name confirmed on one already in it) REPLACES that
|
|
16951
|
+
* notification with an updated one naming everybody. The push carries the
|
|
16952
|
+
* group's own coalescing tag, so the phone replaces rather than stacks.
|
|
16953
|
+
*
|
|
16954
|
+
* `0` / absent = off, and off is today's behaviour byte for byte.
|
|
16955
|
+
*
|
|
16956
|
+
* ### Why an idle cutoff and not a window
|
|
16957
|
+
*
|
|
16958
|
+
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
16959
|
+
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
16960
|
+
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
16961
|
+
* 30 is Frigate's shipped value for the same decision.
|
|
16962
|
+
*
|
|
16963
|
+
* ### What it replaces
|
|
16964
|
+
*
|
|
16965
|
+
* The blind cooldown, which collapses a burst by DISCARDING it. Measured on
|
|
16966
|
+
* device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
|
|
16967
|
+
* notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
|
|
16968
|
+
* track that did fire and 7 carrying a confirmed identity nobody heard about.
|
|
16969
|
+
* A group collapses the same volume by MERGING, so the cooldown becomes a
|
|
16970
|
+
* budget over GROUPS — which is what it always meant — and a growth is never
|
|
16971
|
+
* throttled by the window its own first member spent.
|
|
16972
|
+
*
|
|
16973
|
+
* ### Interaction with {@link waitForEnhancement}
|
|
16974
|
+
*
|
|
16975
|
+
* They compose, and the order matters. `waitForEnhancement` defers the rule to
|
|
16976
|
+
* TRACK CLOSE, so with both set the group is opened by the first member to
|
|
16977
|
+
* CLOSE — already carrying its name — and grows as later members close. That
|
|
16978
|
+
* is later, and complete. With grouping alone the group opens on the first
|
|
16979
|
+
* object event and picks up names as they are confirmed, through the growth
|
|
16980
|
+
* path. Neither combination fires twice for one subject.
|
|
16981
|
+
*
|
|
16982
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
16983
|
+
* on the addon cap path, so absent must keep meaning what it meant before this
|
|
16984
|
+
* field existed.
|
|
16985
|
+
*/
|
|
16986
|
+
groupIdleSec: number().int().min(0).max(600).optional()
|
|
16485
16987
|
});
|
|
16486
16988
|
/**
|
|
16487
16989
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -16588,6 +17090,7 @@ var NcConditionDescriptorSchema = object({
|
|
|
16588
17090
|
"occupancy",
|
|
16589
17091
|
"audio",
|
|
16590
17092
|
"deviceState",
|
|
17093
|
+
"scene",
|
|
16591
17094
|
"systemEvent"
|
|
16592
17095
|
]),
|
|
16593
17096
|
operator: _enum([
|
|
@@ -16668,6 +17171,14 @@ var NC_CONDITION_CATALOG = [
|
|
|
16668
17171
|
value: "node-offline",
|
|
16669
17172
|
label: "Node offline"
|
|
16670
17173
|
},
|
|
17174
|
+
{
|
|
17175
|
+
value: "node-inference-unavailable",
|
|
17176
|
+
label: "Node has no usable inference device"
|
|
17177
|
+
},
|
|
17178
|
+
{
|
|
17179
|
+
value: "detection-blind",
|
|
17180
|
+
label: "Camera detecting nothing"
|
|
17181
|
+
},
|
|
16671
17182
|
{
|
|
16672
17183
|
value: "addon-update-available",
|
|
16673
17184
|
label: "Addon update available"
|
|
@@ -16677,13 +17188,17 @@ var NC_CONDITION_CATALOG = [
|
|
|
16677
17188
|
label: "Server update available"
|
|
16678
17189
|
},
|
|
16679
17190
|
{
|
|
16680
|
-
value: "alarm-
|
|
16681
|
-
label: "Alarm
|
|
17191
|
+
value: "alarm-arming",
|
|
17192
|
+
label: "Alarm arming (exit delay)"
|
|
16682
17193
|
},
|
|
16683
17194
|
{
|
|
16684
17195
|
value: "alarm-armed",
|
|
16685
17196
|
label: "Alarm armed"
|
|
16686
17197
|
},
|
|
17198
|
+
{
|
|
17199
|
+
value: "alarm-triggered",
|
|
17200
|
+
label: "Alarm triggered"
|
|
17201
|
+
},
|
|
16687
17202
|
{
|
|
16688
17203
|
value: "alarm-disarmed",
|
|
16689
17204
|
label: "Alarm disarmed"
|
|
@@ -16821,32 +17336,32 @@ var NC_CONDITION_CATALOG = [
|
|
|
16821
17336
|
{
|
|
16822
17337
|
id: "identities",
|
|
16823
17338
|
group: "label",
|
|
16824
|
-
label: "
|
|
17339
|
+
label: "Known faces",
|
|
16825
17340
|
valueType: "stringList",
|
|
16826
17341
|
operator: "in",
|
|
16827
17342
|
appliesTo: ["immediate", "track-end"],
|
|
16828
17343
|
phase: "P1",
|
|
16829
|
-
description: "
|
|
17344
|
+
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."
|
|
16830
17345
|
},
|
|
16831
17346
|
{
|
|
16832
17347
|
id: "plates",
|
|
16833
17348
|
group: "label",
|
|
16834
|
-
label: "
|
|
17349
|
+
label: "Known plates",
|
|
16835
17350
|
valueType: "plateMatcher",
|
|
16836
17351
|
operator: "fuzzyIn",
|
|
16837
17352
|
appliesTo: ["immediate", "track-end"],
|
|
16838
17353
|
phase: "P1",
|
|
16839
|
-
description: "Levenshtein-
|
|
17354
|
+
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."
|
|
16840
17355
|
},
|
|
16841
17356
|
{
|
|
16842
17357
|
id: "identitiesExclude",
|
|
16843
17358
|
group: "label",
|
|
16844
|
-
label: "Excluded
|
|
17359
|
+
label: "Excluded faces",
|
|
16845
17360
|
valueType: "stringList",
|
|
16846
17361
|
operator: "notIn",
|
|
16847
17362
|
appliesTo: ["immediate", "track-end"],
|
|
16848
17363
|
phase: "P1",
|
|
16849
|
-
description: "Veto by identity
|
|
17364
|
+
description: "Veto by identity (mirror of Known faces, same gallery ids). A subject nobody recognised passes — there is nothing to exclude."
|
|
16850
17365
|
},
|
|
16851
17366
|
{
|
|
16852
17367
|
id: "minLabelConfidence",
|
|
@@ -16930,6 +17445,21 @@ var NC_CONDITION_CATALOG = [
|
|
|
16930
17445
|
phase: "P2",
|
|
16931
17446
|
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."
|
|
16932
17447
|
},
|
|
17448
|
+
{
|
|
17449
|
+
id: "scene",
|
|
17450
|
+
group: "scope",
|
|
17451
|
+
label: "Scene state",
|
|
17452
|
+
valueType: "scene",
|
|
17453
|
+
operator: "in",
|
|
17454
|
+
appliesTo: [
|
|
17455
|
+
"immediate",
|
|
17456
|
+
"track-end",
|
|
17457
|
+
"device-event",
|
|
17458
|
+
"package-event"
|
|
17459
|
+
],
|
|
17460
|
+
phase: "P3",
|
|
17461
|
+
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."
|
|
17462
|
+
},
|
|
16933
17463
|
{
|
|
16934
17464
|
id: "sensorKinds",
|
|
16935
17465
|
group: "device",
|
|
@@ -17495,7 +18025,87 @@ var MethodAccessSchema = _enum([
|
|
|
17495
18025
|
var AllowedProviderSchema = union([literal("*"), array(string())]);
|
|
17496
18026
|
var AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
|
|
17497
18027
|
var CapScopeSchema = _enum(["device", "system"]);
|
|
17498
|
-
|
|
18028
|
+
/**
|
|
18029
|
+
* DeviceSelector (scope model v3 — 2026-08-12).
|
|
18030
|
+
*
|
|
18031
|
+
* A `device` grant no longer carries a frozen list of deviceIds. It carries
|
|
18032
|
+
* a SELECTOR the matcher resolves against the live fleet, so the grant can be
|
|
18033
|
+
* DYNAMIC: a `types:['camera']` selector automatically covers a camera added
|
|
18034
|
+
* AFTER the grant was minted — no re-grant, no re-login.
|
|
18035
|
+
*
|
|
18036
|
+
* - `all` — every device in the deployment. The broad viewer/operator
|
|
18037
|
+
* lever without a `category` grant (a `category` grant also covers device
|
|
18038
|
+
* caps that carry no deviceId; `all` is specifically the device set).
|
|
18039
|
+
* - `ids` — an explicit deviceId list. This is what a v2 `device:[…]`
|
|
18040
|
+
* grant migrates to (see {@link TokenScopeSchema}); STATIC — a new camera
|
|
18041
|
+
* is NOT covered until the grant is edited.
|
|
18042
|
+
* - `types` — every device of a `DeviceType` (e.g. every `camera`).
|
|
18043
|
+
* DYNAMIC. A device that changes type, or a new device of the type,
|
|
18044
|
+
* re-resolves on the next request.
|
|
18045
|
+
* - `locations` — every device whose operator-assigned `location` label is
|
|
18046
|
+
* in the set (e.g. "Garden", "Front door"). DYNAMIC. A device with a
|
|
18047
|
+
* null/unset location matches NO `locations` selector.
|
|
18048
|
+
*/
|
|
18049
|
+
var DeviceSelectorSchema = discriminatedUnion("kind", [
|
|
18050
|
+
object({ kind: literal("all") }),
|
|
18051
|
+
object({
|
|
18052
|
+
kind: literal("ids"),
|
|
18053
|
+
ids: array(number().int()).min(1)
|
|
18054
|
+
}),
|
|
18055
|
+
object({
|
|
18056
|
+
kind: literal("types"),
|
|
18057
|
+
types: array(_enum(DeviceType)).min(1)
|
|
18058
|
+
}),
|
|
18059
|
+
object({
|
|
18060
|
+
kind: literal("locations"),
|
|
18061
|
+
locations: array(string().min(1)).min(1)
|
|
18062
|
+
})
|
|
18063
|
+
]);
|
|
18064
|
+
var DeviceTokenScopeSchema = object({
|
|
18065
|
+
type: literal("device"),
|
|
18066
|
+
/** The device SET this grant covers — resolved against the live fleet. */
|
|
18067
|
+
selector: DeviceSelectorSchema,
|
|
18068
|
+
access: array(MethodAccessSchema).min(1),
|
|
18069
|
+
/**
|
|
18070
|
+
* Whether a grant on a PARENT device transparently covers its accessory
|
|
18071
|
+
* CHILDREN (siren / floodlight / PIR) via the persisted-parentage walk.
|
|
18072
|
+
* Direction is parent → children ONLY.
|
|
18073
|
+
*
|
|
18074
|
+
* Absent → the matcher DERIVES it from the access flavour: `view`
|
|
18075
|
+
* inherits (a camera viewer sees the camera's accessories), `create` /
|
|
18076
|
+
* `delete` do NOT (actuating/removing a child is an explicit act the
|
|
18077
|
+
* operator must grant on the child, not inherit from the parent). Set it
|
|
18078
|
+
* explicitly to override that default per grant.
|
|
18079
|
+
*/
|
|
18080
|
+
includeLinked: boolean().optional()
|
|
18081
|
+
});
|
|
18082
|
+
/**
|
|
18083
|
+
* v2 → v3 lazy migration. A pre-v3 `device` grant carried
|
|
18084
|
+
* `targets: string[]` (stringified deviceIds); it rewrites to the equivalent
|
|
18085
|
+
* `selector: {kind:'ids', ids}`. Applied as a `preprocess` so it runs on
|
|
18086
|
+
* EVERY parse path — stored records AND the JWT-carried scope arrays
|
|
18087
|
+
* normalised at the request boundary ({@link normalizeTokenScopes} in
|
|
18088
|
+
* `device-selector.ts`). Chosen over a one-time DB migration because a
|
|
18089
|
+
* migration cannot reach a JWT already in a client's hands; parse-time
|
|
18090
|
+
* migration covers both without a flag day. No cast — the raw object is read
|
|
18091
|
+
* through `Reflect.get` (its static type is `unknown`).
|
|
18092
|
+
*/
|
|
18093
|
+
function migrateLegacyTokenScope(raw) {
|
|
18094
|
+
if (raw === null || typeof raw !== "object" || Array.isArray(raw)) return raw;
|
|
18095
|
+
if (Reflect.get(raw, "type") !== "device") return raw;
|
|
18096
|
+
if (Reflect.get(raw, "selector") !== void 0) return raw;
|
|
18097
|
+
const targets = Reflect.get(raw, "targets");
|
|
18098
|
+
if (!Array.isArray(targets)) return raw;
|
|
18099
|
+
return {
|
|
18100
|
+
type: "device",
|
|
18101
|
+
selector: {
|
|
18102
|
+
kind: "ids",
|
|
18103
|
+
ids: targets.map((t) => typeof t === "string" ? Number(t) : t).filter((n) => typeof n === "number" && Number.isInteger(n))
|
|
18104
|
+
},
|
|
18105
|
+
access: Reflect.get(raw, "access")
|
|
18106
|
+
};
|
|
18107
|
+
}
|
|
18108
|
+
var TokenScopeSchema = preprocess(migrateLegacyTokenScope, discriminatedUnion("type", [
|
|
17499
18109
|
object({
|
|
17500
18110
|
type: literal("category"),
|
|
17501
18111
|
target: CapScopeSchema,
|
|
@@ -17511,18 +18121,8 @@ var TokenScopeSchema = discriminatedUnion("type", [
|
|
|
17511
18121
|
target: string(),
|
|
17512
18122
|
access: array(MethodAccessSchema).min(1)
|
|
17513
18123
|
}),
|
|
17514
|
-
|
|
17515
|
-
|
|
17516
|
-
/**
|
|
17517
|
-
* One or more deviceIds (serialised as strings for wire-format
|
|
17518
|
-
* consistency with the rest of the union). Matcher accepts if
|
|
17519
|
-
* `input.deviceId` ∈ `targets`. Array shape avoids the row-explosion
|
|
17520
|
-
* of one scope-per-device when granting access to a set of cameras.
|
|
17521
|
-
*/
|
|
17522
|
-
targets: array(string()).min(1),
|
|
17523
|
-
access: array(MethodAccessSchema).min(1)
|
|
17524
|
-
})
|
|
17525
|
-
]);
|
|
18124
|
+
DeviceTokenScopeSchema
|
|
18125
|
+
]));
|
|
17526
18126
|
object({
|
|
17527
18127
|
id: string(),
|
|
17528
18128
|
username: string(),
|
|
@@ -17845,7 +18445,7 @@ var TrackEnvelopeSchema = object({
|
|
|
17845
18445
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
17846
18446
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
17847
18447
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
17848
|
-
* zonesVisited, bestEventId, envelope, hasFace) and returns `positions` /
|
|
18448
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
17849
18449
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
17850
18450
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
17851
18451
|
* (`getObjectEvents` et al.).
|
|
@@ -17981,7 +18581,21 @@ union([literal(1), literal(2)]);
|
|
|
17981
18581
|
var LabelAttributionSchema = object({
|
|
17982
18582
|
stepId: string(),
|
|
17983
18583
|
modelId: string().optional(),
|
|
17984
|
-
decidedAt: number()
|
|
18584
|
+
decidedAt: number(),
|
|
18585
|
+
/**
|
|
18586
|
+
* The GALLERY id behind a recognised tier-2 label — a face-gallery
|
|
18587
|
+
* `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
|
|
18588
|
+
*
|
|
18589
|
+
* The text alone is a DISPLAY NAME, and a display name is renameable: a
|
|
18590
|
+
* notification rule authored on "Gianluca" stopped matching the moment the
|
|
18591
|
+
* operator fixed the spelling in the gallery, and nothing said so. The id is
|
|
18592
|
+
* the thing that does not move, so it is what a rule matches on
|
|
18593
|
+
* (`NcConditions.identities`) and the text is what a human is shown.
|
|
18594
|
+
*
|
|
18595
|
+
* Absent when the label names no gallery row — a plate the OCR read but no
|
|
18596
|
+
* vehicle claims, a sub-class, a species, any tier-1 value.
|
|
18597
|
+
*/
|
|
18598
|
+
identityId: string().optional()
|
|
17985
18599
|
});
|
|
17986
18600
|
/**
|
|
17987
18601
|
* The TIERED label model (roadmap 4g), spread into `TrackSchema` and
|
|
@@ -18118,6 +18732,28 @@ var TrackSchema = object({
|
|
|
18118
18732
|
* `=== true` and render nothing otherwise, never infer "no face".
|
|
18119
18733
|
*/
|
|
18120
18734
|
hasFace: boolean().optional(),
|
|
18735
|
+
/**
|
|
18736
|
+
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
18737
|
+
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
18738
|
+
* so the passage is tracked once and as a VEHICLE.
|
|
18739
|
+
*
|
|
18740
|
+
* It exists because the fold's record was dishonest. D34 and the code both
|
|
18741
|
+
* said "the person is not lost — it is reported so both entities stay on the
|
|
18742
|
+
* record"; in fact the pair went into a per-processor RAM field behind an
|
|
18743
|
+
* accessor nobody called, and every durable surface said `vehicle`, full
|
|
18744
|
+
* stop. This is the composition note that makes the row true.
|
|
18745
|
+
*
|
|
18746
|
+
* A COMPOSITION, never a class and never a label. "This vehicle contains a
|
|
18747
|
+
* person" is not an answer to "what is this" — both label tiers would refuse
|
|
18748
|
+
* a macro token anyway (D89), and correctly. Nothing here changes what the
|
|
18749
|
+
* subject IS: a cyclist stays one vehicle track, occupancy still counts one,
|
|
18750
|
+
* and a `person` rule still does not fire for someone cycling past.
|
|
18751
|
+
*
|
|
18752
|
+
* **Absent ≠ false**, exactly like {@link hasFace}: every row written before
|
|
18753
|
+
* the column, and every hub that predates the field, omits it. Test
|
|
18754
|
+
* `=== true` and render nothing otherwise — never infer "no rider".
|
|
18755
|
+
*/
|
|
18756
|
+
hasRider: boolean().optional(),
|
|
18121
18757
|
...TrackFlagFields,
|
|
18122
18758
|
...TrackRetrainFields
|
|
18123
18759
|
});
|
|
@@ -18467,7 +19103,10 @@ var RecentTracksQueryInput = object({
|
|
|
18467
19103
|
* Encodes the (lastSeen, trackId) sort position — treat as opaque. */
|
|
18468
19104
|
cursor: string().optional(),
|
|
18469
19105
|
/** See {@link TrackProjectionSchema}. Default `full`. */
|
|
18470
|
-
projection: TrackProjectionSchema.optional()
|
|
19106
|
+
projection: TrackProjectionSchema.optional(),
|
|
19107
|
+
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
19108
|
+
* feed lists passages; parking records live on the stationary registry. */
|
|
19109
|
+
includeStationary: boolean().optional()
|
|
18471
19110
|
});
|
|
18472
19111
|
var RecentTracksPageSchema = object({
|
|
18473
19112
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -18699,7 +19338,11 @@ var pipelineAnalyticsCapability = {
|
|
|
18699
19338
|
zone: TrackZoneFilterSchema.optional(),
|
|
18700
19339
|
/** See {@link TrackProjectionSchema}. Default `full` (backward
|
|
18701
19340
|
* compatible — omitting the field keeps today's exact behaviour). */
|
|
18702
|
-
projection: TrackProjectionSchema.optional()
|
|
19341
|
+
projection: TrackProjectionSchema.optional(),
|
|
19342
|
+
/** Include stationary-promoted rows (parked objects handed to the
|
|
19343
|
+
* stationary registry). Default false: the timeline lists passages,
|
|
19344
|
+
* not parking records (operator decision, 2026-08-15). */
|
|
19345
|
+
includeStationary: boolean().optional()
|
|
18703
19346
|
}), array(TrackSchema).readonly()),
|
|
18704
19347
|
/**
|
|
18705
19348
|
* Batched cluster-wide track listing — ONE call for the events page /
|
|
@@ -19190,7 +19833,8 @@ var pipelineAnalyticsCapability = {
|
|
|
19190
19833
|
}),
|
|
19191
19834
|
getEventMedia: method(object({
|
|
19192
19835
|
eventId: string(),
|
|
19193
|
-
kind: MediaFileKindEnum.optional()
|
|
19836
|
+
kind: MediaFileKindEnum.optional(),
|
|
19837
|
+
deviceId: number()
|
|
19194
19838
|
}), array(MediaFileSchema).readonly()),
|
|
19195
19839
|
/** All media rows owned by a track. `kinds` narrows to a kind subset so a
|
|
19196
19840
|
* client can fetch the SMALL display variants on open and pull the
|
|
@@ -19198,7 +19842,8 @@ var pipelineAnalyticsCapability = {
|
|
|
19198
19842
|
* Absent ⇒ every kind (back-compat). */
|
|
19199
19843
|
getTrackMedia: method(object({
|
|
19200
19844
|
trackId: string(),
|
|
19201
|
-
kinds: array(MediaFileKindEnum).optional()
|
|
19845
|
+
kinds: array(MediaFileKindEnum).optional(),
|
|
19846
|
+
deviceId: number()
|
|
19202
19847
|
}), array(MediaFileSchema).readonly()),
|
|
19203
19848
|
/**
|
|
19204
19849
|
* What media a track HAS, without any of it.
|
|
@@ -19215,7 +19860,10 @@ var pipelineAnalyticsCapability = {
|
|
|
19215
19860
|
* tell a full-resolution variant existed — and the affordance that opens it
|
|
19216
19861
|
* would silently disappear.
|
|
19217
19862
|
*/
|
|
19218
|
-
listTrackMedia: method(object({
|
|
19863
|
+
listTrackMedia: method(object({
|
|
19864
|
+
trackId: string(),
|
|
19865
|
+
deviceId: number()
|
|
19866
|
+
}), array(MediaFileInfoSchema).readonly()),
|
|
19219
19867
|
/**
|
|
19220
19868
|
* Search object events by text query using CLIP cosine similarity.
|
|
19221
19869
|
* Encodes `text` via the `embedding-encoder` cap, queries the
|
|
@@ -20098,6 +20746,17 @@ var maxSessionHoldMsField = {
|
|
|
20098
20746
|
default: 12e4,
|
|
20099
20747
|
step: 5e3
|
|
20100
20748
|
};
|
|
20749
|
+
/**
|
|
20750
|
+
* Quiet period that closes an `audioMode: 'on-motion'` audio window. Floor of
|
|
20751
|
+
* 5s so a rearm can never degenerate into per-event stream churn; default 90s
|
|
20752
|
+
* comfortably outlives the gap between two PIR wakes on a battery camera.
|
|
20753
|
+
*/
|
|
20754
|
+
var audioMotionWindowMsField = {
|
|
20755
|
+
min: 5e3,
|
|
20756
|
+
max: 6e5,
|
|
20757
|
+
default: 9e4,
|
|
20758
|
+
step: 5e3
|
|
20759
|
+
};
|
|
20101
20760
|
var motionFpsField = {
|
|
20102
20761
|
min: 1,
|
|
20103
20762
|
max: 30,
|
|
@@ -20110,10 +20769,26 @@ var detectionFpsField = {
|
|
|
20110
20769
|
default: 10,
|
|
20111
20770
|
step: 1
|
|
20112
20771
|
};
|
|
20772
|
+
/**
|
|
20773
|
+
* The occupancy re-check interval. DEFAULT 300 s (2026-08-13 — was 30 s).
|
|
20774
|
+
*
|
|
20775
|
+
* The recheck is now on by default (a parked car is invisible to occupancy
|
|
20776
|
+
* rules until the stationary registry has been rebuilt by motion, which after a
|
|
20777
|
+
* restart may be never on a quiet camera). Each cycle re-subscribes a detection
|
|
20778
|
+
* session — an RTSP re-dial — so the switch is only affordable at a WIDE
|
|
20779
|
+
* interval: 300 s is ~12 re-dials an hour per camera, against 120 at the old
|
|
20780
|
+
* 30 s. A parked car is therefore counted within 5 minutes of a restart.
|
|
20781
|
+
*
|
|
20782
|
+
* Why not wider: `max` is 300 and raising it is TRAIN-BOUND, not addon-bound —
|
|
20783
|
+
* the host validates `attachCamera` against ITS copy of this schema, so a
|
|
20784
|
+
* runner asked for 600 would be rejected by the hub until a `@camstack/server`
|
|
20785
|
+
* carrying the wider bound is installed everywhere. 300 is the widest value
|
|
20786
|
+
* that ships with an addon deploy.
|
|
20787
|
+
*/
|
|
20113
20788
|
var occupancyRecheckSecField = {
|
|
20114
20789
|
min: 0,
|
|
20115
20790
|
max: 300,
|
|
20116
|
-
default:
|
|
20791
|
+
default: 300,
|
|
20117
20792
|
step: 5
|
|
20118
20793
|
};
|
|
20119
20794
|
var occupancyRecheckFramesField = {
|
|
@@ -20258,6 +20933,27 @@ var RunnerCameraConfigSchema = object({
|
|
|
20258
20933
|
* resolved `CameraDetectionConfig`.
|
|
20259
20934
|
*/
|
|
20260
20935
|
maxSessionHoldMs: number().min(maxSessionHoldMsField.min).max(maxSessionHoldMsField.max).optional(),
|
|
20936
|
+
/**
|
|
20937
|
+
* Orchestrator-side quiet period (ms) that closes an `audioMode:
|
|
20938
|
+
* 'on-motion'` audio window, measured from the LAST motion event.
|
|
20939
|
+
*
|
|
20940
|
+
* This exists because the falling edge cannot be relied on. Camera-native
|
|
20941
|
+
* providers emit motion as a RISING EDGE ONLY (Reolink's Baichuan push and
|
|
20942
|
+
* its email-push SMTP path both emit `detected: true` and never the
|
|
20943
|
+
* counterpart); only the frame-diff analyzer emits falls. So on an
|
|
20944
|
+
* onboard-only camera a window that closed only on `detected: false` never
|
|
20945
|
+
* closed at all, and `on-motion` silently behaved as `always-on` — on a
|
|
20946
|
+
* battery camera, the one failure mode the mode exists to prevent.
|
|
20947
|
+
*
|
|
20948
|
+
* Every motion event rearms this timer WITHOUT restarting the stream, so a
|
|
20949
|
+
* burst of re-fires costs nothing. A falling edge, when one does arrive,
|
|
20950
|
+
* still closes earlier via `motionCooldownMs` — whichever comes first wins.
|
|
20951
|
+
*
|
|
20952
|
+
* Not consumed by the runner: carried here so it shares the per-camera
|
|
20953
|
+
* device-settings surface with `motionCooldownMs`, exactly like
|
|
20954
|
+
* `maxSessionHoldMs`.
|
|
20955
|
+
*/
|
|
20956
|
+
audioMotionWindowMs: number().min(audioMotionWindowMsField.min).max(audioMotionWindowMsField.max).optional(),
|
|
20261
20957
|
motionFps: number().min(motionFpsField.min).max(motionFpsField.max).default(motionFpsField.default),
|
|
20262
20958
|
detectionFps: number().min(detectionFpsField.min).max(detectionFpsField.max).default(detectionFpsField.default),
|
|
20263
20959
|
motionStreamId: string(),
|
|
@@ -20311,15 +21007,21 @@ var RunnerCameraConfigSchema = object({
|
|
|
20311
21007
|
*/
|
|
20312
21008
|
onboardMotionDrivesAnalyzer: boolean().default(true),
|
|
20313
21009
|
/**
|
|
20314
|
-
* Master toggle for the occupancy re-check. When `false`
|
|
20315
|
-
*
|
|
20316
|
-
* this is off by default because the recheck re-subscribes a detection session
|
|
20317
|
-
* every N seconds while `watching`, a major source of pull-decoder re-dial
|
|
20318
|
-
* churn (each cycle creates+tears a session → RTSP re-dial → latency). The
|
|
21010
|
+
* Master toggle for the occupancy re-check. When `false` the runner never arms
|
|
21011
|
+
* the periodic recheck timer, regardless of `occupancyRecheckSec`; the
|
|
20319
21012
|
* `occupancyRecheckSec` / `occupancyRecheckFrames` sliders only take effect
|
|
20320
21013
|
* (and only render) when this is enabled.
|
|
20321
|
-
|
|
20322
|
-
|
|
21014
|
+
*
|
|
21015
|
+
* DEFAULT `true` since 2026-08-13 (was `false`). It was off because the
|
|
21016
|
+
* recheck re-subscribes a detection session every N seconds while `watching`
|
|
21017
|
+
* — each cycle creates+tears a session ⇒ an RTSP re-dial ⇒ latency, a major
|
|
21018
|
+
* pull-decoder churn source. What that bought was a blind spot: a STATIONARY
|
|
21019
|
+
* object is counted only while the stationary registry holds it, and the
|
|
21020
|
+
* registry rebuilds from motion, so after a restart a parked car was invisible
|
|
21021
|
+
* to every occupancy rule until something moved in front of it. The churn is
|
|
21022
|
+
* now paid on the interval instead — see `occupancyRecheckSecField`.
|
|
21023
|
+
*/
|
|
21024
|
+
occupancyRecheckEnabled: boolean().default(true),
|
|
20323
21025
|
occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
|
|
20324
21026
|
occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
|
|
20325
21027
|
/**
|
|
@@ -20347,7 +21049,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
20347
21049
|
*/
|
|
20348
21050
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
20349
21051
|
});
|
|
20350
|
-
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;
|
|
21052
|
+
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;
|
|
20351
21053
|
/**
|
|
20352
21054
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
20353
21055
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
|
@@ -21941,7 +22643,16 @@ targets: array(object({
|
|
|
21941
22643
|
/** A sleeping battery camera: the frame is deliberately stale and will
|
|
21942
22644
|
* NOT refresh in the background. A surface should say so rather than
|
|
21943
22645
|
* present it as current. */
|
|
21944
|
-
sleeping: boolean()
|
|
22646
|
+
sleeping: boolean(),
|
|
22647
|
+
/** Current device state rendered over the cached frame. State images
|
|
22648
|
+
* remain authoritative even when their photographic background is
|
|
22649
|
+
* old; null means the link must carry a current camera frame. */
|
|
22650
|
+
stateReason: _enum([
|
|
22651
|
+
"disabled",
|
|
22652
|
+
"sleeping",
|
|
22653
|
+
"unreachable",
|
|
22654
|
+
"waking"
|
|
22655
|
+
]).nullable()
|
|
21945
22656
|
})))
|
|
21946
22657
|
},
|
|
21947
22658
|
status: {
|
|
@@ -24160,6 +24871,25 @@ var BatteryStatusSchema = object({
|
|
|
24160
24871
|
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
24161
24872
|
lastUpdated: number(),
|
|
24162
24873
|
/**
|
|
24874
|
+
* Ms epoch of the last time the device PROVED it was reachable — a
|
|
24875
|
+
* completed firmware round-trip, an observed wake, or an inbound push
|
|
24876
|
+
* (firmware event, email). `0`/absent = never since this slice was born.
|
|
24877
|
+
*
|
|
24878
|
+
* This is the ONLY input that separates "asleep" from "gone", and it is
|
|
24879
|
+
* fed exclusively by PASSIVE signals: nothing may write it by reaching
|
|
24880
|
+
* for the radio, because a poll that confirms reachability is the same
|
|
24881
|
+
* poll that drains the battery. See {@link deriveBatteryPresence} — the
|
|
24882
|
+
* single derivation every consumer must use; no surface computes its own.
|
|
24883
|
+
*
|
|
24884
|
+
* It is deliberately NOT a clock in the
|
|
24885
|
+
* `scripts/check-runtime-state-durability.ts` sense: it is the
|
|
24886
|
+
* observation itself, and it is the only thing a 30-hour silence is
|
|
24887
|
+
* visible in. Writers quantise it (see `CONTACT_WRITE_QUANTUM_MS` in the
|
|
24888
|
+
* Reolink provider) so a value that means "recently" cannot cost a
|
|
24889
|
+
* SQLite commit per round-trip.
|
|
24890
|
+
*/
|
|
24891
|
+
lastContactAt: number().optional(),
|
|
24892
|
+
/**
|
|
24163
24893
|
* True when the source is a BINARY low-battery indicator (HA
|
|
24164
24894
|
* `binary_sensor` device_class=battery / `LOW_BAT`) that has no real
|
|
24165
24895
|
* charge level — `percentage` is then a coarse stand-in (100 = normal,
|
|
@@ -26624,7 +27354,41 @@ var intercomCapability = {
|
|
|
26624
27354
|
status: {
|
|
26625
27355
|
schema: IntercomStatusSchema,
|
|
26626
27356
|
kind: "command-driven"
|
|
26627
|
-
}
|
|
27357
|
+
},
|
|
27358
|
+
/**
|
|
27359
|
+
* Runtime-state slice — mirrored by the kernel.
|
|
27360
|
+
*
|
|
27361
|
+
* The cap declared `status` and nothing else, so the only two sources an
|
|
27362
|
+
* exporter has for a value — the `device.state-changed` slice event and the
|
|
27363
|
+
* `deviceState.getAllSnapshots` snapshot, both built from runtime state —
|
|
27364
|
+
* carried nothing for `intercom`. A talk-back entity in Home Assistant would
|
|
27365
|
+
* have been published and never received a value, which is the defect the
|
|
27366
|
+
* export's two classification tables exist to prevent (177 of them, once), so
|
|
27367
|
+
* `intercom` was excluded rather than exported.
|
|
27368
|
+
*
|
|
27369
|
+
* The shape is the status shape: there is exactly one truth about talk-back
|
|
27370
|
+
* and duplicating it into a second schema is how two halves of one capability
|
|
27371
|
+
* come to disagree. Providers write it through
|
|
27372
|
+
* `this.runtimeState.setCapState('intercom', …)` at the four points that open
|
|
27373
|
+
* and close a session, and seed it at registration so the slice exists before
|
|
27374
|
+
* the first session rather than after it.
|
|
27375
|
+
*
|
|
27376
|
+
* **Bound, named rather than hidden:** `talking` mirrors the provider's own
|
|
27377
|
+
* session handle, so a session torn down by a transport death that never
|
|
27378
|
+
* reaches `stopSession` / `endTalkSession` leaves it latched until the next
|
|
27379
|
+
* session or the next restart. That is why the slice is `session` and not
|
|
27380
|
+
* `restored` — a restart must never restore "talking".
|
|
27381
|
+
*/
|
|
27382
|
+
runtimeState: IntercomStatusSchema,
|
|
27383
|
+
/**
|
|
27384
|
+
* Runtime-state durability: **session** — `talking` describes a live audio
|
|
27385
|
+
* session, which by definition does not survive the process that held it.
|
|
27386
|
+
* Restoring it would publish a camera as talking to nobody.
|
|
27387
|
+
*
|
|
27388
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
27389
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
27390
|
+
*/
|
|
27391
|
+
durability: "session"
|
|
26628
27392
|
};
|
|
26629
27393
|
/**
|
|
26630
27394
|
* Robotic lawn-mower cap. Models HA `lawn_mower.*` entities — anything
|
|
@@ -29720,7 +30484,7 @@ var recordingCapability = {
|
|
|
29720
30484
|
toMs: number()
|
|
29721
30485
|
}), RecordingAvailabilitySchema, {
|
|
29722
30486
|
kind: "query",
|
|
29723
|
-
auth: "
|
|
30487
|
+
auth: "protected"
|
|
29724
30488
|
}),
|
|
29725
30489
|
/** Which calendar days in [fromMs,toMs) have ≥1 recorded segment, bucketed by
|
|
29726
30490
|
* the client's local day (`tzOffsetMinutes` = minutes to add to UTC). Drives
|
|
@@ -29732,7 +30496,7 @@ var recordingCapability = {
|
|
|
29732
30496
|
tzOffsetMinutes: number()
|
|
29733
30497
|
}), RecordingDaysSchema, {
|
|
29734
30498
|
kind: "query",
|
|
29735
|
-
auth: "
|
|
30499
|
+
auth: "protected"
|
|
29736
30500
|
}),
|
|
29737
30501
|
getPlaybackManifest: method(object({
|
|
29738
30502
|
deviceId: number(),
|
|
@@ -29740,7 +30504,7 @@ var recordingCapability = {
|
|
|
29740
30504
|
toMs: number()
|
|
29741
30505
|
}), RecordingManifestSchema, {
|
|
29742
30506
|
kind: "query",
|
|
29743
|
-
auth: "
|
|
30507
|
+
auth: "protected"
|
|
29744
30508
|
}),
|
|
29745
30509
|
getStorageUsage: method(object({}), RecordingStorageUsageSchema, {
|
|
29746
30510
|
kind: "query",
|
|
@@ -30148,14 +30912,77 @@ var recordingExportCapability = {
|
|
|
30148
30912
|
* thing except the comparator: `similarity` (CLIP cosine at the same ROI coords
|
|
30149
30913
|
* vs condition-tagged references) and `llm` (vision-LLM judgment over the crop).
|
|
30150
30914
|
*
|
|
30151
|
-
*
|
|
30152
|
-
*
|
|
30153
|
-
*
|
|
30154
|
-
*
|
|
30155
|
-
|
|
30156
|
-
|
|
30157
|
-
*
|
|
30915
|
+
* **No `deviceConfig`, deliberately.** This shipped as the D14 widget archetype,
|
|
30916
|
+
* which put a "Scenes" tab on one camera's detail page. That is the wrong shape
|
|
30917
|
+
* for the thing: a scene is a standing question about the property ("is the bin
|
|
30918
|
+
* still out"), and the operator's question is "which of my scenes have tripped",
|
|
30919
|
+
* across every camera at once — not "what does camera 617 think". Buried one
|
|
30920
|
+
* camera deep it also could not be found. The surface is now a top-level admin
|
|
30921
|
+
* page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
|
|
30922
|
+
* picks the camera inside the create flow, the same shape Events and Faces have.
|
|
30923
|
+
*
|
|
30924
|
+
* The consequence to keep in mind: `host/scene-monitor-editor` is gone from
|
|
30925
|
+
* `HOST_WIDGETS` too. `scripts/check-host-widget-resolves.ts` asserts BOTH
|
|
30926
|
+
* directions, so a registration nobody declares fails exactly as loudly as a
|
|
30927
|
+
* declaration nobody registers. The editor is imported directly by the page.
|
|
30928
|
+
*
|
|
30929
|
+
* `status.kind:'push'` — the engine pushes on every hysteresis flip /
|
|
30930
|
+
* availability change; consumers never poll.
|
|
30931
|
+
*/
|
|
30932
|
+
/** Extensible condition tag. Seeded 'day' | 'ir' (the two variants the operator
|
|
30933
|
+
* captures) plus 'night' | 'dawn' | 'dusk' from the resolver's sun-times band.
|
|
30934
|
+
* Open by design so more can be added without a wire break.
|
|
30935
|
+
*
|
|
30936
|
+
* Matching does NOT fall back across conditions: cross-condition cosines are
|
|
30937
|
+
* not comparable, so "I have never seen this scene in this light" is reported
|
|
30938
|
+
* as `unknown`, never guessed. A day reference scored against an IR frame
|
|
30939
|
+
* collapses the cosine and would latch a false alarm every single night. */
|
|
30158
30940
|
var SceneConditionSchema = string();
|
|
30941
|
+
/**
|
|
30942
|
+
* What a scene does when the CURRENT light has no reference of its own.
|
|
30943
|
+
*
|
|
30944
|
+
* The lighting variants are not equally likely to exist. Almost every operator
|
|
30945
|
+
* captures daylight and then never stands outside at 22:00 to capture IR, and a
|
|
30946
|
+
* scene that is only ever going to be asked about a daytime question ("is the
|
|
30947
|
+
* bin still on the kerb at 08:00") does not need a night reference at all. The
|
|
30948
|
+
* night half must therefore be OPTIONAL, and optional means the scene keeps
|
|
30949
|
+
* working without it rather than degrading into a permanent complaint.
|
|
30950
|
+
*
|
|
30951
|
+
* - `skip` (default) — the check in that light is not made. Not a verdict, not
|
|
30952
|
+
* an alarm, not even an `unknown`: the live state simply stays whatever the
|
|
30953
|
+
* last covered light left it at, the latch is untouched, and the hysteresis
|
|
30954
|
+
* run is neither spent nor cleared. The scene resumes by itself at first
|
|
30955
|
+
* light. This is the only behaviour under which "I never captured IR" is a
|
|
30956
|
+
* configuration choice instead of a nightly fault.
|
|
30957
|
+
* - `judge-anyway` — score against the OTHER conditions' references. Available
|
|
30958
|
+
* for cameras whose IR frame is close enough to daylight (a floodlit
|
|
30959
|
+
* driveway, an always-white-light doorbell), and wrong for everything else:
|
|
30960
|
+
* cross-condition cosines are not comparable, so a day reference against a
|
|
30961
|
+
* true IR frame collapses and the scene reports a theft at 21:40.
|
|
30962
|
+
*
|
|
30963
|
+
* Never applies when the scene has NO comparable reference at all — that is
|
|
30964
|
+
* "not armed yet", it is reported as `no-reference-for-condition`, and silence
|
|
30965
|
+
* there would hide a scene the operator never finished setting up.
|
|
30966
|
+
*/
|
|
30967
|
+
var SceneUncoveredPolicySchema = _enum(["skip", "judge-anyway"]);
|
|
30968
|
+
/** `matched` = the baseline is what we see; `diverged` = it demonstrably is not;
|
|
30969
|
+
* `unknown` = we cannot judge (no reference for this condition, encoder model
|
|
30970
|
+
* changed, view shifted, no snapshot). `unknown` is a real value, not a null,
|
|
30971
|
+
* and never counts toward hysteresis in either direction. */
|
|
30972
|
+
var SceneVerdictSchema = _enum([
|
|
30973
|
+
"matched",
|
|
30974
|
+
"diverged",
|
|
30975
|
+
"unknown"
|
|
30976
|
+
]);
|
|
30977
|
+
/** Why a scene cannot judge. Named, because this feature's failure mode is
|
|
30978
|
+
* silence that reads as "nothing has happened". */
|
|
30979
|
+
var SceneUnavailableSchema = _enum([
|
|
30980
|
+
"no-reference-for-condition",
|
|
30981
|
+
"view-shifted",
|
|
30982
|
+
"no-vision-profile",
|
|
30983
|
+
"encoder-model-changed",
|
|
30984
|
+
"no-snapshot"
|
|
30985
|
+
]);
|
|
30159
30986
|
/** One captured reference — condition-tagged, model-version-gated. `embedding`
|
|
30160
30987
|
* is `number[]` (Float32Array does NOT survive MsgPack/UDS). */
|
|
30161
30988
|
var SceneReferenceSchema = object({
|
|
@@ -30163,7 +30990,14 @@ var SceneReferenceSchema = object({
|
|
|
30163
30990
|
modelId: string(),
|
|
30164
30991
|
condition: SceneConditionSchema,
|
|
30165
30992
|
capturedAt: number(),
|
|
30166
|
-
thumbnailMediaId: string().optional()
|
|
30993
|
+
thumbnailMediaId: string().optional(),
|
|
30994
|
+
/** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
|
|
30995
|
+
* anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
|
|
30996
|
+
* normalized rect frame a different piece of world, and the scene would
|
|
30997
|
+
* diverge forever with a perfectly plausible cosine. Checked LAZILY, only
|
|
30998
|
+
* when hysteresis is about to flip — one extra encode per candidate
|
|
30999
|
+
* transition, not per poll. */
|
|
31000
|
+
anchorEmbedding: array(number()).optional()
|
|
30167
31001
|
});
|
|
30168
31002
|
var SceneMonitorStateSchema = object({
|
|
30169
31003
|
id: string(),
|
|
@@ -30185,6 +31019,28 @@ var SceneCheckSchema = discriminatedUnion("mode", [object({
|
|
|
30185
31019
|
profileId: string().optional(),
|
|
30186
31020
|
hysteresisCount: number().int().positive()
|
|
30187
31021
|
})]);
|
|
31022
|
+
var SCENE_DEFAULT_ANCHOR_THRESHOLD = .85;
|
|
31023
|
+
/** Night is OPTIONAL. A scene with only a daylight reference sits the IR hours
|
|
31024
|
+
* out in silence rather than reporting a fault every night. */
|
|
31025
|
+
var SCENE_DEFAULT_UNCOVERED_POLICY = "skip";
|
|
31026
|
+
/**
|
|
31027
|
+
* Vision-model adjudication of a candidate flip. Field names deliberately
|
|
31028
|
+
* mirror `NcConfirmSchema` so an operator meets one vocabulary, not two.
|
|
31029
|
+
*
|
|
31030
|
+
* `onTimeout` defaults to **'hold'**, the OPPOSITE of `NcConfirmGate`'s
|
|
31031
|
+
* fail-open: a notification suppressed is the worse error there, but a vision
|
|
31032
|
+
* model that timed out has not told us the bin is gone, and a latch is a
|
|
31033
|
+
* stateful claim that costs the operator a trip to reset.
|
|
31034
|
+
*/
|
|
31035
|
+
var SceneConfirmSchema = object({
|
|
31036
|
+
enabled: boolean().default(false),
|
|
31037
|
+
prompt: string().min(1).max(1e3),
|
|
31038
|
+
profileId: string().optional(),
|
|
31039
|
+
timeoutMs: number().int().min(1e3).max(2e4).default(8e3),
|
|
31040
|
+
maxImagePx: number().int().min(64).max(2048).default(448),
|
|
31041
|
+
/** What a timeout / unavailable model means for the PENDING flip. */
|
|
31042
|
+
onTimeout: _enum(["flip", "hold"]).default("hold")
|
|
31043
|
+
});
|
|
30188
31044
|
var SceneMonitorSchema = object({
|
|
30189
31045
|
id: string(),
|
|
30190
31046
|
label: string(),
|
|
@@ -30203,7 +31059,56 @@ var SceneMonitorSchema = object({
|
|
|
30203
31059
|
lastConfidence: number().nullable(),
|
|
30204
31060
|
currentCondition: SceneConditionSchema.nullable(),
|
|
30205
31061
|
availability: _enum(["ok", "unavailable"]),
|
|
30206
|
-
unavailableReason: string().nullable()
|
|
31062
|
+
unavailableReason: string().nullable(),
|
|
31063
|
+
/** Which state is "the initial screen". `null` until the first capture. */
|
|
31064
|
+
baselineStateId: string().nullable(),
|
|
31065
|
+
/** Which boolean drives notification rules and any export. */
|
|
31066
|
+
emit: _enum(["latched", "live"]).default("latched"),
|
|
31067
|
+
/** Live: does the region match the baseline RIGHT NOW. */
|
|
31068
|
+
verdict: SceneVerdictSchema,
|
|
31069
|
+
/** Has it been `diverged` at least once since `armedAt` — the operator's boolean. */
|
|
31070
|
+
latched: boolean(),
|
|
31071
|
+
/** Last reset (or creation). */
|
|
31072
|
+
armedAt: number(),
|
|
31073
|
+
divergedAt: number().nullable(),
|
|
31074
|
+
restoredAt: number().nullable(),
|
|
31075
|
+
/** A check is only COUNTED when the device has been quiet this long. Motion
|
|
31076
|
+
* during the window DISCARDS the observation — a car pulling up in front of
|
|
31077
|
+
* the bin must not be able to spend hysteresis credit. */
|
|
31078
|
+
quietSeconds: number().int().min(0).max(3600).default(60),
|
|
31079
|
+
/** An observation only advances the pending count when it is at least this
|
|
31080
|
+
* far from the previously counted one, so N agreeing checks span real time
|
|
31081
|
+
* rather than N adjacent polls inside one occlusion. */
|
|
31082
|
+
minObservationSpacingSec: number().int().min(0).max(3600).default(120),
|
|
31083
|
+
/** Vision-model adjudication of a candidate flip. Similarity primary only. */
|
|
31084
|
+
confirm: SceneConfirmSchema.optional(),
|
|
31085
|
+
/** Whole-frame anchor cosine below which a flip is REFUSED as `view-shifted`. */
|
|
31086
|
+
anchorThreshold: number().min(0).max(1).default(SCENE_DEFAULT_ANCHOR_THRESHOLD),
|
|
31087
|
+
/** Clear the latch on its own when the scene matches again? Default false —
|
|
31088
|
+
* `restoredAt` and the `scene-restored` edge are recorded regardless, so an
|
|
31089
|
+
* automation can react to the bin coming back without the operator's own
|
|
31090
|
+
* alarm silently clearing itself. */
|
|
31091
|
+
autoRestore: boolean().default(false),
|
|
31092
|
+
/** What to do when the current light has no reference of its own. See
|
|
31093
|
+
* {@link SceneUncoveredPolicySchema} — the default makes night OPTIONAL. */
|
|
31094
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.default(SCENE_DEFAULT_UNCOVERED_POLICY),
|
|
31095
|
+
/**
|
|
31096
|
+
* The light whose checks are currently being SAT OUT under
|
|
31097
|
+
* `onUncoveredCondition: 'skip'` — `null` when the scene is checking normally.
|
|
31098
|
+
*
|
|
31099
|
+
* Engine-reported and advisory only: it moves no verdict, no latch and no
|
|
31100
|
+
* hysteresis. It exists so the card can say *"night (IR) — checks paused,
|
|
31101
|
+
* nothing captured in this light"* in the same calm voice as the coverage
|
|
31102
|
+
* line, because the alternative is a scene that silently stops answering
|
|
31103
|
+
* after sunset with nothing anywhere saying why. A skipped check must never
|
|
31104
|
+
* read as a broken one.
|
|
31105
|
+
*/
|
|
31106
|
+
suspendedCondition: SceneConditionSchema.nullable().default(null),
|
|
31107
|
+
/** Named cause when `verdict === 'unknown'`. */
|
|
31108
|
+
unavailable: SceneUnavailableSchema.nullable(),
|
|
31109
|
+
/** Conditions that have at least one comparable reference — the coverage line
|
|
31110
|
+
* ("day ✓ · ir ✓ · dusk ✗") that turns a silent fallback into a visible fact. */
|
|
31111
|
+
coveredConditions: array(SceneConditionSchema)
|
|
30207
31112
|
});
|
|
30208
31113
|
var SceneMonitorStatusSchema = object({
|
|
30209
31114
|
monitors: array(SceneMonitorSchema),
|
|
@@ -30216,12 +31121,6 @@ var sceneMonitorCapability = {
|
|
|
30216
31121
|
kind: "wrapper",
|
|
30217
31122
|
defaultActive: true,
|
|
30218
31123
|
deviceTypes: [DeviceType.Camera],
|
|
30219
|
-
deviceConfig: { ui: {
|
|
30220
|
-
kind: "widget",
|
|
30221
|
-
widgetId: "host/scene-monitor-editor",
|
|
30222
|
-
tab: "scenes",
|
|
30223
|
-
label: "Scenes"
|
|
30224
|
-
} },
|
|
30225
31124
|
methods: {
|
|
30226
31125
|
listScenes: method(object({ deviceId: number() }), SceneMonitorStatusSchema),
|
|
30227
31126
|
createScene: method(object({
|
|
@@ -30252,7 +31151,15 @@ var sceneMonitorCapability = {
|
|
|
30252
31151
|
"both"
|
|
30253
31152
|
]).optional(),
|
|
30254
31153
|
checkIntervalSec: number().optional(),
|
|
30255
|
-
check: SceneCheckSchema.optional()
|
|
31154
|
+
check: SceneCheckSchema.optional(),
|
|
31155
|
+
emit: _enum(["latched", "live"]).optional(),
|
|
31156
|
+
quietSeconds: number().int().min(0).max(3600).optional(),
|
|
31157
|
+
minObservationSpacingSec: number().int().min(0).max(3600).optional(),
|
|
31158
|
+
anchorThreshold: number().min(0).max(1).optional(),
|
|
31159
|
+
autoRestore: boolean().optional(),
|
|
31160
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.optional(),
|
|
31161
|
+
/** `null` clears the vision-model adjudicator. */
|
|
31162
|
+
confirm: SceneConfirmSchema.nullable().optional()
|
|
30256
31163
|
})
|
|
30257
31164
|
}), _void(), {
|
|
30258
31165
|
kind: "mutation",
|
|
@@ -30293,6 +31200,26 @@ var sceneMonitorCapability = {
|
|
|
30293
31200
|
}), _void(), {
|
|
30294
31201
|
kind: "mutation",
|
|
30295
31202
|
auth: "admin"
|
|
31203
|
+
}),
|
|
31204
|
+
/**
|
|
31205
|
+
* Clear the latch, re-arm, and — by default — RE-CAPTURE the baseline for
|
|
31206
|
+
* the CURRENT condition. The bin never goes back in exactly the same spot;
|
|
31207
|
+
* "reset" in the operator's head means *this is the new normal*, and
|
|
31208
|
+
* re-capture is what makes the feature self-healing against slow drift
|
|
31209
|
+
* instead of failing silently weeks later.
|
|
31210
|
+
*
|
|
31211
|
+
* Reachable from three surfaces on this one mutation: the scene card, a
|
|
31212
|
+
* notification button (an `onTrigger` sequence with a `kind:'cap'` step —
|
|
31213
|
+
* no new Notification-Center code at all), and tRPC for scripts.
|
|
31214
|
+
*/
|
|
31215
|
+
resetScene: method(object({
|
|
31216
|
+
deviceId: number(),
|
|
31217
|
+
monitorId: string(),
|
|
31218
|
+
/** Defaults to TRUE at the provider seam — see `SCENE_RESET_RECAPTURES`. */
|
|
31219
|
+
recapture: boolean().optional()
|
|
31220
|
+
}), _void(), {
|
|
31221
|
+
kind: "mutation",
|
|
31222
|
+
auth: "admin"
|
|
30296
31223
|
})
|
|
30297
31224
|
},
|
|
30298
31225
|
status: {
|
|
@@ -30535,13 +31462,63 @@ var CamStreamDescriptorSchema = object({
|
|
|
30535
31462
|
* set of stream descriptors it can offer for the device, synchronously, so the
|
|
30536
31463
|
* broker can reconcile its registry against the authoritative provider state.
|
|
30537
31464
|
*/
|
|
31465
|
+
/**
|
|
31466
|
+
* The catalog as a DURABLE fact rather than a live answer.
|
|
31467
|
+
*
|
|
31468
|
+
* A battery camera's descriptors are profile-stable — they change when the
|
|
31469
|
+
* operator rewrites an encoder profile, not minute to minute — but building
|
|
31470
|
+
* them costs a Baichuan login, which on a sleeping Argus IS a wake. So the
|
|
31471
|
+
* provider is allowed to build them exactly once per profile and must serve
|
|
31472
|
+
* every later pull from a cache.
|
|
31473
|
+
*
|
|
31474
|
+
* Holding that cache only in RAM is what turned a restart into an outage. The
|
|
31475
|
+
* runner comes back with the camera asleep, `buildStreamCatalogUncached`
|
|
31476
|
+
* correctly refuses to wake it, the pull answers `[]`, the broker has no
|
|
31477
|
+
* cam-stream entry to build a broker from, and `webrtcSession.handleOffer`
|
|
31478
|
+
* fails with a flat "No broker for stream" — for as long as the camera sleeps,
|
|
31479
|
+
* which on a battery cam is most of the day. The camera was fine. The stream
|
|
31480
|
+
* was unreachable because the process had forgotten what the camera offers.
|
|
31481
|
+
*
|
|
31482
|
+
* Declaring it here puts it in `device-runtime-state`, the kernel's canonical
|
|
31483
|
+
* declared collection, with the same `restored` durability `battery` uses for
|
|
31484
|
+
* the same reason: the last known value is the only value there is while the
|
|
31485
|
+
* device is asleep. The broker's brokers are therefore always DEFINABLE — it
|
|
31486
|
+
* is the DIAL that wakes a camera, never the catalog (D173).
|
|
31487
|
+
*/
|
|
31488
|
+
var StreamCatalogStateSchema = object({
|
|
31489
|
+
/** The descriptors as last built from a real camera response. Never a guess:
|
|
31490
|
+
* a failed or refused build writes NOTHING, so a restored catalog is always
|
|
31491
|
+
* one the camera itself once produced. */
|
|
31492
|
+
descriptors: array(CamStreamDescriptorSchema),
|
|
31493
|
+
/** Ms epoch of the build that produced {@link descriptors}. Lets the wake
|
|
31494
|
+
* path decide whether the camera's own awake window is worth spending on a
|
|
31495
|
+
* re-read. */
|
|
31496
|
+
lastFetchedAt: number()
|
|
31497
|
+
});
|
|
30538
31498
|
var streamCatalogCapability = {
|
|
30539
31499
|
name: "stream-catalog",
|
|
30540
31500
|
scope: "device",
|
|
30541
31501
|
deviceNative: true,
|
|
30542
31502
|
mode: "singleton",
|
|
30543
31503
|
deviceTypes: [DeviceType.Camera],
|
|
30544
|
-
methods: { getCatalog: method(object({ deviceId: number().int().nonnegative() }), array(CamStreamDescriptorSchema).readonly()) }
|
|
31504
|
+
methods: { getCatalog: method(object({ deviceId: number().int().nonnegative() }), array(CamStreamDescriptorSchema).readonly()) },
|
|
31505
|
+
runtimeState: StreamCatalogStateSchema,
|
|
31506
|
+
/**
|
|
31507
|
+
* Runtime-state durability: **restored** — see the schema doc. A cold
|
|
31508
|
+
* catalog on a sleeping battery camera is not a slow first frame, it is a
|
|
31509
|
+
* camera that cannot be watched at all until it happens to wake.
|
|
31510
|
+
*
|
|
31511
|
+
* Churn is nil by construction: the slice is written only by a SUCCESSFUL
|
|
31512
|
+
* build, and a build only runs when there is no cached copy (or the copy is
|
|
31513
|
+
* a day old and the camera is awake anyway).
|
|
31514
|
+
*
|
|
31515
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
31516
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
31517
|
+
*/
|
|
31518
|
+
durability: "restored",
|
|
31519
|
+
/** Clock field: written, but excluded from the compare that decides whether
|
|
31520
|
+
* persisting is worth a SQLite commit — the descriptors are the value. */
|
|
31521
|
+
volatileStateFields: ["lastFetchedAt"]
|
|
30545
31522
|
};
|
|
30546
31523
|
/** One of the camera's stream profiles. */
|
|
30547
31524
|
var StreamProfileSchema = _enum([
|
|
@@ -30796,6 +31773,52 @@ var NetworkAddressSchema = object({
|
|
|
30796
31773
|
family: string(),
|
|
30797
31774
|
internal: boolean()
|
|
30798
31775
|
});
|
|
31776
|
+
/**
|
|
31777
|
+
* Provenance of the site coordinates, and the whole reason this is not just two
|
|
31778
|
+
* numbers.
|
|
31779
|
+
*
|
|
31780
|
+
* - `operator-set` — a human typed it, or accepted a detection. Authoritative;
|
|
31781
|
+
* nothing overwrites it.
|
|
31782
|
+
* - `derived-from-ip` — the hub geolocated its own public IP once, because a
|
|
31783
|
+
* default that is right to a few kilometres beats the coarse UTC clock split
|
|
31784
|
+
* the sun-times consumers otherwise fall back to.
|
|
31785
|
+
*
|
|
31786
|
+
* The UI shows which one it is. An operator who cannot tell a guess from their
|
|
31787
|
+
* own input will eventually trust the guess.
|
|
31788
|
+
*/
|
|
31789
|
+
var SiteLocationSourceSchema = _enum(["operator-set", "derived-from-ip"]);
|
|
31790
|
+
/**
|
|
31791
|
+
* The read shape: the location plus the honest state of the one-shot derivation.
|
|
31792
|
+
*
|
|
31793
|
+
* `derivationAttemptedAt` is what makes the "one call, ever" contract
|
|
31794
|
+
* inspectable. When it is set and `location` is null, the geo-IP lookup ran and
|
|
31795
|
+
* failed; the hub will NOT try again on its own — the fallback is declared
|
|
31796
|
+
* (consumers degrade to their own last resort) and the operator either types the
|
|
31797
|
+
* coordinates or presses detect.
|
|
31798
|
+
*/
|
|
31799
|
+
var SiteLocationStatusSchema = object({
|
|
31800
|
+
location: object({
|
|
31801
|
+
/** WGS84 decimal degrees. */
|
|
31802
|
+
latitude: number().min(-90).max(90),
|
|
31803
|
+
longitude: number().min(-180).max(180),
|
|
31804
|
+
source: SiteLocationSourceSchema,
|
|
31805
|
+
/** Epoch ms the value was last written. */
|
|
31806
|
+
updatedAt: number(),
|
|
31807
|
+
/**
|
|
31808
|
+
* Human-readable place the geo-IP service reported ("Napoli, IT"). Display
|
|
31809
|
+
* only — never parsed, never matched on. Absent for an operator-typed value.
|
|
31810
|
+
*/
|
|
31811
|
+
label: string().optional()
|
|
31812
|
+
}).nullable(),
|
|
31813
|
+
derivationAttemptedAt: number().nullable(),
|
|
31814
|
+
/** Why the last derivation failed, for the UI to show instead of a shrug. */
|
|
31815
|
+
derivationError: string().nullable()
|
|
31816
|
+
});
|
|
31817
|
+
/** `null` clears the location and re-arms nothing — the derivation stays spent. */
|
|
31818
|
+
var SetSiteLocationInputSchema = object({
|
|
31819
|
+
latitude: number().min(-90).max(90),
|
|
31820
|
+
longitude: number().min(-180).max(180)
|
|
31821
|
+
}).nullable();
|
|
30799
31822
|
var systemCapability = {
|
|
30800
31823
|
name: "system",
|
|
30801
31824
|
scope: "system",
|
|
@@ -30813,6 +31836,32 @@ var systemCapability = {
|
|
|
30813
31836
|
forceRetentionCleanup: method(_void(), _void(), {
|
|
30814
31837
|
kind: "mutation",
|
|
30815
31838
|
auth: "admin"
|
|
31839
|
+
}),
|
|
31840
|
+
/**
|
|
31841
|
+
* The site coordinates, deriving a default from the hub's public IP on the
|
|
31842
|
+
* FIRST read that finds nothing stored.
|
|
31843
|
+
*
|
|
31844
|
+
* The derivation is one-shot and bounded: one outbound request, a few
|
|
31845
|
+
* seconds, its outcome persisted either way. A hub with no internet pays it
|
|
31846
|
+
* once and never again, and neither boot nor any consumer is blocked on it —
|
|
31847
|
+
* the caller gets `location: null` and degrades exactly as it did before this
|
|
31848
|
+
* method existed.
|
|
31849
|
+
*/
|
|
31850
|
+
getSiteLocation: method(_void(), SiteLocationStatusSchema),
|
|
31851
|
+
/** Operator input. Always lands as `source: 'operator-set'`. */
|
|
31852
|
+
setSiteLocation: method(SetSiteLocationInputSchema, SiteLocationStatusSchema, {
|
|
31853
|
+
kind: "mutation",
|
|
31854
|
+
auth: "admin"
|
|
31855
|
+
}),
|
|
31856
|
+
/**
|
|
31857
|
+
* Re-run the geo-IP derivation now. The ONLY way a spent or failed
|
|
31858
|
+
* derivation is retried — there is no timer, and no read path retries.
|
|
31859
|
+
* Overwrites an existing `derived-from-ip` value; refuses to clobber an
|
|
31860
|
+
* `operator-set` one.
|
|
31861
|
+
*/
|
|
31862
|
+
detectSiteLocation: method(_void(), SiteLocationStatusSchema, {
|
|
31863
|
+
kind: "mutation",
|
|
31864
|
+
auth: "admin"
|
|
30816
31865
|
})
|
|
30817
31866
|
},
|
|
30818
31867
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
@@ -34180,6 +35229,12 @@ Object.freeze({
|
|
|
34180
35229
|
addonId: null,
|
|
34181
35230
|
access: "create"
|
|
34182
35231
|
},
|
|
35232
|
+
"llm.cancel": {
|
|
35233
|
+
capName: "llm",
|
|
35234
|
+
capScope: "system",
|
|
35235
|
+
addonId: null,
|
|
35236
|
+
access: "create"
|
|
35237
|
+
},
|
|
34183
35238
|
"llm.deleteModel": {
|
|
34184
35239
|
capName: "llm",
|
|
34185
35240
|
capScope: "system",
|
|
@@ -34264,6 +35319,12 @@ Object.freeze({
|
|
|
34264
35319
|
addonId: null,
|
|
34265
35320
|
access: "view"
|
|
34266
35321
|
},
|
|
35322
|
+
"llm.resolveModelRef": {
|
|
35323
|
+
capName: "llm",
|
|
35324
|
+
capScope: "system",
|
|
35325
|
+
addonId: null,
|
|
35326
|
+
access: "create"
|
|
35327
|
+
},
|
|
34267
35328
|
"llm.setDefault": {
|
|
34268
35329
|
capName: "llm",
|
|
34269
35330
|
capScope: "system",
|
|
@@ -36430,6 +37491,12 @@ Object.freeze({
|
|
|
36430
37491
|
addonId: null,
|
|
36431
37492
|
access: "create"
|
|
36432
37493
|
},
|
|
37494
|
+
"sceneMonitor.resetScene": {
|
|
37495
|
+
capName: "scene-monitor",
|
|
37496
|
+
capScope: "device",
|
|
37497
|
+
addonId: null,
|
|
37498
|
+
access: "delete"
|
|
37499
|
+
},
|
|
36433
37500
|
"sceneMonitor.updateScene": {
|
|
36434
37501
|
capName: "scene-monitor",
|
|
36435
37502
|
capScope: "device",
|
|
@@ -37108,6 +38175,12 @@ Object.freeze({
|
|
|
37108
38175
|
addonId: null,
|
|
37109
38176
|
access: "create"
|
|
37110
38177
|
},
|
|
38178
|
+
"system.detectSiteLocation": {
|
|
38179
|
+
capName: "system",
|
|
38180
|
+
capScope: "system",
|
|
38181
|
+
addonId: null,
|
|
38182
|
+
access: "create"
|
|
38183
|
+
},
|
|
37111
38184
|
"system.featureFlags": {
|
|
37112
38185
|
capName: "system",
|
|
37113
38186
|
capScope: "system",
|
|
@@ -37126,6 +38199,12 @@ Object.freeze({
|
|
|
37126
38199
|
addonId: null,
|
|
37127
38200
|
access: "view"
|
|
37128
38201
|
},
|
|
38202
|
+
"system.getSiteLocation": {
|
|
38203
|
+
capName: "system",
|
|
38204
|
+
capScope: "system",
|
|
38205
|
+
addonId: null,
|
|
38206
|
+
access: "view"
|
|
38207
|
+
},
|
|
37129
38208
|
"system.health": {
|
|
37130
38209
|
capName: "system",
|
|
37131
38210
|
capScope: "system",
|
|
@@ -37150,6 +38229,12 @@ Object.freeze({
|
|
|
37150
38229
|
addonId: null,
|
|
37151
38230
|
access: "create"
|
|
37152
38231
|
},
|
|
38232
|
+
"system.setSiteLocation": {
|
|
38233
|
+
capName: "system",
|
|
38234
|
+
capScope: "system",
|
|
38235
|
+
addonId: null,
|
|
38236
|
+
access: "create"
|
|
38237
|
+
},
|
|
37153
38238
|
"terminalSession.adoptLegacyMonitor": {
|
|
37154
38239
|
capName: "terminal-session",
|
|
37155
38240
|
capScope: "system",
|
|
@@ -37721,6 +38806,1704 @@ Object.freeze({
|
|
|
37721
38806
|
access: "create"
|
|
37722
38807
|
}
|
|
37723
38808
|
});
|
|
38809
|
+
Object.freeze({
|
|
38810
|
+
"accessories.setChildHidden": [{
|
|
38811
|
+
name: "childDeviceId",
|
|
38812
|
+
form: "single",
|
|
38813
|
+
optional: false
|
|
38814
|
+
}, {
|
|
38815
|
+
name: "deviceId",
|
|
38816
|
+
form: "single",
|
|
38817
|
+
optional: false
|
|
38818
|
+
}],
|
|
38819
|
+
"addonSettings.getDeviceSettings": [{
|
|
38820
|
+
name: "deviceId",
|
|
38821
|
+
form: "single",
|
|
38822
|
+
optional: false
|
|
38823
|
+
}],
|
|
38824
|
+
"addonSettings.updateDeviceSettings": [{
|
|
38825
|
+
name: "deviceId",
|
|
38826
|
+
form: "single",
|
|
38827
|
+
optional: false
|
|
38828
|
+
}],
|
|
38829
|
+
"alarmPanel.arm": [{
|
|
38830
|
+
name: "deviceId",
|
|
38831
|
+
form: "single",
|
|
38832
|
+
optional: false
|
|
38833
|
+
}],
|
|
38834
|
+
"alarmPanel.disarm": [{
|
|
38835
|
+
name: "deviceId",
|
|
38836
|
+
form: "single",
|
|
38837
|
+
optional: false
|
|
38838
|
+
}],
|
|
38839
|
+
"alarmPanel.trigger": [{
|
|
38840
|
+
name: "deviceId",
|
|
38841
|
+
form: "single",
|
|
38842
|
+
optional: false
|
|
38843
|
+
}],
|
|
38844
|
+
"audioAnalysis.resolveDeviceSettings": [{
|
|
38845
|
+
name: "deviceId",
|
|
38846
|
+
form: "single",
|
|
38847
|
+
optional: false
|
|
38848
|
+
}],
|
|
38849
|
+
"audioAnalyzer.classify": [{
|
|
38850
|
+
name: "deviceId",
|
|
38851
|
+
form: "single",
|
|
38852
|
+
optional: true
|
|
38853
|
+
}],
|
|
38854
|
+
"audioMetrics.getCurrentSnapshot": [{
|
|
38855
|
+
name: "deviceId",
|
|
38856
|
+
form: "single",
|
|
38857
|
+
optional: false
|
|
38858
|
+
}],
|
|
38859
|
+
"audioMetrics.getHistory": [{
|
|
38860
|
+
name: "deviceId",
|
|
38861
|
+
form: "single",
|
|
38862
|
+
optional: false
|
|
38863
|
+
}],
|
|
38864
|
+
"automationControl.disable": [{
|
|
38865
|
+
name: "deviceId",
|
|
38866
|
+
form: "single",
|
|
38867
|
+
optional: false
|
|
38868
|
+
}],
|
|
38869
|
+
"automationControl.enable": [{
|
|
38870
|
+
name: "deviceId",
|
|
38871
|
+
form: "single",
|
|
38872
|
+
optional: false
|
|
38873
|
+
}],
|
|
38874
|
+
"automationControl.trigger": [{
|
|
38875
|
+
name: "deviceId",
|
|
38876
|
+
form: "single",
|
|
38877
|
+
optional: false
|
|
38878
|
+
}],
|
|
38879
|
+
"battery.wakeForStream": [{
|
|
38880
|
+
name: "deviceId",
|
|
38881
|
+
form: "single",
|
|
38882
|
+
optional: false
|
|
38883
|
+
}],
|
|
38884
|
+
"brightness.setBrightness": [{
|
|
38885
|
+
name: "deviceId",
|
|
38886
|
+
form: "single",
|
|
38887
|
+
optional: false
|
|
38888
|
+
}],
|
|
38889
|
+
"button.press": [{
|
|
38890
|
+
name: "deviceId",
|
|
38891
|
+
form: "single",
|
|
38892
|
+
optional: false
|
|
38893
|
+
}],
|
|
38894
|
+
"cameraCredentials.getCredentials": [{
|
|
38895
|
+
name: "deviceId",
|
|
38896
|
+
form: "single",
|
|
38897
|
+
optional: false
|
|
38898
|
+
}],
|
|
38899
|
+
"cameraStreams.getBrokerStreams": [{
|
|
38900
|
+
name: "deviceId",
|
|
38901
|
+
form: "single",
|
|
38902
|
+
optional: false
|
|
38903
|
+
}],
|
|
38904
|
+
"cameraStreams.getCameraStreams": [{
|
|
38905
|
+
name: "deviceId",
|
|
38906
|
+
form: "single",
|
|
38907
|
+
optional: false
|
|
38908
|
+
}],
|
|
38909
|
+
"cameraStreams.getProfileRtspEntries": [{
|
|
38910
|
+
name: "deviceId",
|
|
38911
|
+
form: "single",
|
|
38912
|
+
optional: false
|
|
38913
|
+
}],
|
|
38914
|
+
"cameraStreams.getRtspEntries": [{
|
|
38915
|
+
name: "deviceId",
|
|
38916
|
+
form: "single",
|
|
38917
|
+
optional: false
|
|
38918
|
+
}],
|
|
38919
|
+
"cameraStreams.pickStream": [{
|
|
38920
|
+
name: "deviceId",
|
|
38921
|
+
form: "single",
|
|
38922
|
+
optional: false
|
|
38923
|
+
}],
|
|
38924
|
+
"climateControl.setFanMode": [{
|
|
38925
|
+
name: "deviceId",
|
|
38926
|
+
form: "single",
|
|
38927
|
+
optional: false
|
|
38928
|
+
}],
|
|
38929
|
+
"climateControl.setMode": [{
|
|
38930
|
+
name: "deviceId",
|
|
38931
|
+
form: "single",
|
|
38932
|
+
optional: false
|
|
38933
|
+
}],
|
|
38934
|
+
"climateControl.setPreset": [{
|
|
38935
|
+
name: "deviceId",
|
|
38936
|
+
form: "single",
|
|
38937
|
+
optional: false
|
|
38938
|
+
}],
|
|
38939
|
+
"climateControl.setSwingHorizontal": [{
|
|
38940
|
+
name: "deviceId",
|
|
38941
|
+
form: "single",
|
|
38942
|
+
optional: false
|
|
38943
|
+
}],
|
|
38944
|
+
"climateControl.setSwingVertical": [{
|
|
38945
|
+
name: "deviceId",
|
|
38946
|
+
form: "single",
|
|
38947
|
+
optional: false
|
|
38948
|
+
}],
|
|
38949
|
+
"climateControl.setTarget": [{
|
|
38950
|
+
name: "deviceId",
|
|
38951
|
+
form: "single",
|
|
38952
|
+
optional: false
|
|
38953
|
+
}],
|
|
38954
|
+
"climateControl.setTargetHumidity": [{
|
|
38955
|
+
name: "deviceId",
|
|
38956
|
+
form: "single",
|
|
38957
|
+
optional: false
|
|
38958
|
+
}],
|
|
38959
|
+
"climateControl.setTargetRange": [{
|
|
38960
|
+
name: "deviceId",
|
|
38961
|
+
form: "single",
|
|
38962
|
+
optional: false
|
|
38963
|
+
}],
|
|
38964
|
+
"color.setColor": [{
|
|
38965
|
+
name: "deviceId",
|
|
38966
|
+
form: "single",
|
|
38967
|
+
optional: false
|
|
38968
|
+
}],
|
|
38969
|
+
"consumables.reset": [{
|
|
38970
|
+
name: "deviceId",
|
|
38971
|
+
form: "single",
|
|
38972
|
+
optional: false
|
|
38973
|
+
}],
|
|
38974
|
+
"control.setValue": [{
|
|
38975
|
+
name: "deviceId",
|
|
38976
|
+
form: "single",
|
|
38977
|
+
optional: false
|
|
38978
|
+
}],
|
|
38979
|
+
"cover.close": [{
|
|
38980
|
+
name: "deviceId",
|
|
38981
|
+
form: "single",
|
|
38982
|
+
optional: false
|
|
38983
|
+
}],
|
|
38984
|
+
"cover.open": [{
|
|
38985
|
+
name: "deviceId",
|
|
38986
|
+
form: "single",
|
|
38987
|
+
optional: false
|
|
38988
|
+
}],
|
|
38989
|
+
"cover.setPosition": [{
|
|
38990
|
+
name: "deviceId",
|
|
38991
|
+
form: "single",
|
|
38992
|
+
optional: false
|
|
38993
|
+
}],
|
|
38994
|
+
"cover.setTiltPosition": [{
|
|
38995
|
+
name: "deviceId",
|
|
38996
|
+
form: "single",
|
|
38997
|
+
optional: false
|
|
38998
|
+
}],
|
|
38999
|
+
"cover.stop": [{
|
|
39000
|
+
name: "deviceId",
|
|
39001
|
+
form: "single",
|
|
39002
|
+
optional: false
|
|
39003
|
+
}],
|
|
39004
|
+
"dayNight.getOptions": [{
|
|
39005
|
+
name: "deviceId",
|
|
39006
|
+
form: "single",
|
|
39007
|
+
optional: false
|
|
39008
|
+
}],
|
|
39009
|
+
"dayNight.setSettings": [{
|
|
39010
|
+
name: "deviceId",
|
|
39011
|
+
form: "single",
|
|
39012
|
+
optional: false
|
|
39013
|
+
}],
|
|
39014
|
+
"decoder.createSession": [{
|
|
39015
|
+
name: "deviceId",
|
|
39016
|
+
form: "single",
|
|
39017
|
+
optional: true
|
|
39018
|
+
}],
|
|
39019
|
+
"deviceAdoption.release": [{
|
|
39020
|
+
name: "camDeviceId",
|
|
39021
|
+
form: "single",
|
|
39022
|
+
optional: false
|
|
39023
|
+
}],
|
|
39024
|
+
"deviceAdoption.resync": [{
|
|
39025
|
+
name: "camDeviceId",
|
|
39026
|
+
form: "single",
|
|
39027
|
+
optional: false
|
|
39028
|
+
}],
|
|
39029
|
+
"deviceDiscovery.adoptDevice": [{
|
|
39030
|
+
name: "deviceId",
|
|
39031
|
+
form: "single",
|
|
39032
|
+
optional: false
|
|
39033
|
+
}],
|
|
39034
|
+
"deviceDiscovery.listDiscovered": [{
|
|
39035
|
+
name: "deviceId",
|
|
39036
|
+
form: "single",
|
|
39037
|
+
optional: false
|
|
39038
|
+
}],
|
|
39039
|
+
"deviceDiscovery.refreshDiscovery": [{
|
|
39040
|
+
name: "deviceId",
|
|
39041
|
+
form: "single",
|
|
39042
|
+
optional: false
|
|
39043
|
+
}],
|
|
39044
|
+
"deviceDiscovery.releaseDevice": [{
|
|
39045
|
+
name: "childDeviceId",
|
|
39046
|
+
form: "single",
|
|
39047
|
+
optional: false
|
|
39048
|
+
}, {
|
|
39049
|
+
name: "deviceId",
|
|
39050
|
+
form: "single",
|
|
39051
|
+
optional: false
|
|
39052
|
+
}],
|
|
39053
|
+
"deviceManager.adoptionRelease": [{
|
|
39054
|
+
name: "camDeviceId",
|
|
39055
|
+
form: "single",
|
|
39056
|
+
optional: false
|
|
39057
|
+
}],
|
|
39058
|
+
"deviceManager.adoptionResync": [{
|
|
39059
|
+
name: "camDeviceId",
|
|
39060
|
+
form: "single",
|
|
39061
|
+
optional: false
|
|
39062
|
+
}],
|
|
39063
|
+
"deviceManager.applyInitialMeta": [{
|
|
39064
|
+
name: "deviceId",
|
|
39065
|
+
form: "single",
|
|
39066
|
+
optional: false
|
|
39067
|
+
}, {
|
|
39068
|
+
name: "linkDeviceId",
|
|
39069
|
+
form: "single",
|
|
39070
|
+
optional: true
|
|
39071
|
+
}],
|
|
39072
|
+
"deviceManager.disable": [{
|
|
39073
|
+
name: "deviceId",
|
|
39074
|
+
form: "single",
|
|
39075
|
+
optional: false
|
|
39076
|
+
}],
|
|
39077
|
+
"deviceManager.enable": [{
|
|
39078
|
+
name: "deviceId",
|
|
39079
|
+
form: "single",
|
|
39080
|
+
optional: false
|
|
39081
|
+
}],
|
|
39082
|
+
"deviceManager.getBindings": [{
|
|
39083
|
+
name: "deviceId",
|
|
39084
|
+
form: "single",
|
|
39085
|
+
optional: false
|
|
39086
|
+
}],
|
|
39087
|
+
"deviceManager.getChildren": [{
|
|
39088
|
+
name: "parentDeviceId",
|
|
39089
|
+
form: "single",
|
|
39090
|
+
optional: false
|
|
39091
|
+
}],
|
|
39092
|
+
"deviceManager.getConfigSchema": [{
|
|
39093
|
+
name: "deviceId",
|
|
39094
|
+
form: "single",
|
|
39095
|
+
optional: false
|
|
39096
|
+
}],
|
|
39097
|
+
"deviceManager.getDevice": [{
|
|
39098
|
+
name: "deviceId",
|
|
39099
|
+
form: "single",
|
|
39100
|
+
optional: false
|
|
39101
|
+
}],
|
|
39102
|
+
"deviceManager.getDeviceAggregate": [{
|
|
39103
|
+
name: "deviceId",
|
|
39104
|
+
form: "single",
|
|
39105
|
+
optional: false
|
|
39106
|
+
}],
|
|
39107
|
+
"deviceManager.getDeviceLiveInfoAggregate": [{
|
|
39108
|
+
name: "deviceId",
|
|
39109
|
+
form: "single",
|
|
39110
|
+
optional: false
|
|
39111
|
+
}],
|
|
39112
|
+
"deviceManager.getDeviceSettingsAggregate": [{
|
|
39113
|
+
name: "deviceId",
|
|
39114
|
+
form: "single",
|
|
39115
|
+
optional: false
|
|
39116
|
+
}],
|
|
39117
|
+
"deviceManager.getDeviceStatusAggregate": [{
|
|
39118
|
+
name: "deviceId",
|
|
39119
|
+
form: "single",
|
|
39120
|
+
optional: false
|
|
39121
|
+
}],
|
|
39122
|
+
"deviceManager.getDeviceStatusAggregateBatch": [{
|
|
39123
|
+
name: "deviceIds",
|
|
39124
|
+
form: "array",
|
|
39125
|
+
optional: false
|
|
39126
|
+
}],
|
|
39127
|
+
"deviceManager.getLinkedDevices": [{
|
|
39128
|
+
name: "deviceId",
|
|
39129
|
+
form: "single",
|
|
39130
|
+
optional: false
|
|
39131
|
+
}],
|
|
39132
|
+
"deviceManager.getSettingsSchema": [{
|
|
39133
|
+
name: "deviceId",
|
|
39134
|
+
form: "single",
|
|
39135
|
+
optional: false
|
|
39136
|
+
}],
|
|
39137
|
+
"deviceManager.getStreamProfileMap": [{
|
|
39138
|
+
name: "deviceId",
|
|
39139
|
+
form: "single",
|
|
39140
|
+
optional: false
|
|
39141
|
+
}],
|
|
39142
|
+
"deviceManager.getStreamSources": [{
|
|
39143
|
+
name: "deviceId",
|
|
39144
|
+
form: "single",
|
|
39145
|
+
optional: false
|
|
39146
|
+
}],
|
|
39147
|
+
"deviceManager.getWireableFields": [{
|
|
39148
|
+
name: "deviceId",
|
|
39149
|
+
form: "single",
|
|
39150
|
+
optional: false
|
|
39151
|
+
}],
|
|
39152
|
+
"deviceManager.loadConfig": [{
|
|
39153
|
+
name: "deviceId",
|
|
39154
|
+
form: "single",
|
|
39155
|
+
optional: false
|
|
39156
|
+
}],
|
|
39157
|
+
"deviceManager.loadMeta": [{
|
|
39158
|
+
name: "deviceId",
|
|
39159
|
+
form: "single",
|
|
39160
|
+
optional: false
|
|
39161
|
+
}],
|
|
39162
|
+
"deviceManager.loadRuntimeState": [{
|
|
39163
|
+
name: "deviceId",
|
|
39164
|
+
form: "single",
|
|
39165
|
+
optional: false
|
|
39166
|
+
}],
|
|
39167
|
+
"deviceManager.persistConfig": [{
|
|
39168
|
+
name: "deviceId",
|
|
39169
|
+
form: "single",
|
|
39170
|
+
optional: false
|
|
39171
|
+
}],
|
|
39172
|
+
"deviceManager.probeStreams": [{
|
|
39173
|
+
name: "deviceId",
|
|
39174
|
+
form: "single",
|
|
39175
|
+
optional: false
|
|
39176
|
+
}],
|
|
39177
|
+
"deviceManager.registerDevice": [{
|
|
39178
|
+
name: "parentDeviceId",
|
|
39179
|
+
form: "single",
|
|
39180
|
+
optional: true
|
|
39181
|
+
}],
|
|
39182
|
+
"deviceManager.remove": [{
|
|
39183
|
+
name: "deviceId",
|
|
39184
|
+
form: "single",
|
|
39185
|
+
optional: false
|
|
39186
|
+
}],
|
|
39187
|
+
"deviceManager.removeDevice": [{
|
|
39188
|
+
name: "deviceId",
|
|
39189
|
+
form: "single",
|
|
39190
|
+
optional: false
|
|
39191
|
+
}],
|
|
39192
|
+
"deviceManager.runDeviceAction": [{
|
|
39193
|
+
name: "deviceId",
|
|
39194
|
+
form: "single",
|
|
39195
|
+
optional: false
|
|
39196
|
+
}],
|
|
39197
|
+
"deviceManager.setChildLayout": [{
|
|
39198
|
+
name: "deviceId",
|
|
39199
|
+
form: "single",
|
|
39200
|
+
optional: false
|
|
39201
|
+
}],
|
|
39202
|
+
"deviceManager.setDisabled": [{
|
|
39203
|
+
name: "deviceId",
|
|
39204
|
+
form: "single",
|
|
39205
|
+
optional: false
|
|
39206
|
+
}],
|
|
39207
|
+
"deviceManager.setDisplay": [{
|
|
39208
|
+
name: "deviceId",
|
|
39209
|
+
form: "single",
|
|
39210
|
+
optional: false
|
|
39211
|
+
}],
|
|
39212
|
+
"deviceManager.setIntegrationId": [{
|
|
39213
|
+
name: "deviceId",
|
|
39214
|
+
form: "single",
|
|
39215
|
+
optional: false
|
|
39216
|
+
}],
|
|
39217
|
+
"deviceManager.setLinkDeviceId": [{
|
|
39218
|
+
name: "deviceId",
|
|
39219
|
+
form: "single",
|
|
39220
|
+
optional: false
|
|
39221
|
+
}, {
|
|
39222
|
+
name: "linkDeviceId",
|
|
39223
|
+
form: "single",
|
|
39224
|
+
optional: true
|
|
39225
|
+
}],
|
|
39226
|
+
"deviceManager.setLocation": [{
|
|
39227
|
+
name: "deviceId",
|
|
39228
|
+
form: "single",
|
|
39229
|
+
optional: false
|
|
39230
|
+
}],
|
|
39231
|
+
"deviceManager.setMetadata": [{
|
|
39232
|
+
name: "deviceId",
|
|
39233
|
+
form: "single",
|
|
39234
|
+
optional: false
|
|
39235
|
+
}],
|
|
39236
|
+
"deviceManager.setName": [{
|
|
39237
|
+
name: "deviceId",
|
|
39238
|
+
form: "single",
|
|
39239
|
+
optional: false
|
|
39240
|
+
}],
|
|
39241
|
+
"deviceManager.setPrimaryChildEntityId": [{
|
|
39242
|
+
name: "deviceId",
|
|
39243
|
+
form: "single",
|
|
39244
|
+
optional: false
|
|
39245
|
+
}],
|
|
39246
|
+
"deviceManager.setRole": [{
|
|
39247
|
+
name: "deviceId",
|
|
39248
|
+
form: "single",
|
|
39249
|
+
optional: false
|
|
39250
|
+
}],
|
|
39251
|
+
"deviceManager.setStreamProfileMap": [{
|
|
39252
|
+
name: "deviceId",
|
|
39253
|
+
form: "single",
|
|
39254
|
+
optional: false
|
|
39255
|
+
}],
|
|
39256
|
+
"deviceManager.setType": [{
|
|
39257
|
+
name: "deviceId",
|
|
39258
|
+
form: "single",
|
|
39259
|
+
optional: false
|
|
39260
|
+
}],
|
|
39261
|
+
"deviceManager.setWrapperActive": [{
|
|
39262
|
+
name: "deviceId",
|
|
39263
|
+
form: "single",
|
|
39264
|
+
optional: false
|
|
39265
|
+
}],
|
|
39266
|
+
"deviceManager.testField": [{
|
|
39267
|
+
name: "deviceId",
|
|
39268
|
+
form: "single",
|
|
39269
|
+
optional: false
|
|
39270
|
+
}],
|
|
39271
|
+
"deviceManager.updateConfig": [{
|
|
39272
|
+
name: "deviceId",
|
|
39273
|
+
form: "single",
|
|
39274
|
+
optional: false
|
|
39275
|
+
}],
|
|
39276
|
+
"deviceManager.updateDeviceField": [{
|
|
39277
|
+
name: "deviceId",
|
|
39278
|
+
form: "single",
|
|
39279
|
+
optional: false
|
|
39280
|
+
}],
|
|
39281
|
+
"deviceManager.updateDeviceFieldsBatch": [{
|
|
39282
|
+
name: "deviceId",
|
|
39283
|
+
form: "single",
|
|
39284
|
+
optional: false
|
|
39285
|
+
}],
|
|
39286
|
+
"deviceOps.getConfigEntries": [{
|
|
39287
|
+
name: "deviceId",
|
|
39288
|
+
form: "single",
|
|
39289
|
+
optional: false
|
|
39290
|
+
}],
|
|
39291
|
+
"deviceOps.getRawState": [{
|
|
39292
|
+
name: "deviceId",
|
|
39293
|
+
form: "single",
|
|
39294
|
+
optional: false
|
|
39295
|
+
}],
|
|
39296
|
+
"deviceOps.getSettingsSchema": [{
|
|
39297
|
+
name: "deviceId",
|
|
39298
|
+
form: "single",
|
|
39299
|
+
optional: false
|
|
39300
|
+
}],
|
|
39301
|
+
"deviceOps.getStreamSources": [{
|
|
39302
|
+
name: "deviceId",
|
|
39303
|
+
form: "single",
|
|
39304
|
+
optional: false
|
|
39305
|
+
}],
|
|
39306
|
+
"deviceOps.removeDevice": [{
|
|
39307
|
+
name: "deviceId",
|
|
39308
|
+
form: "single",
|
|
39309
|
+
optional: false
|
|
39310
|
+
}],
|
|
39311
|
+
"deviceOps.runAction": [{
|
|
39312
|
+
name: "deviceId",
|
|
39313
|
+
form: "single",
|
|
39314
|
+
optional: false
|
|
39315
|
+
}],
|
|
39316
|
+
"deviceOps.setConfig": [{
|
|
39317
|
+
name: "deviceId",
|
|
39318
|
+
form: "single",
|
|
39319
|
+
optional: false
|
|
39320
|
+
}],
|
|
39321
|
+
"deviceState.getCapSlice": [{
|
|
39322
|
+
name: "deviceId",
|
|
39323
|
+
form: "single",
|
|
39324
|
+
optional: false
|
|
39325
|
+
}],
|
|
39326
|
+
"deviceState.getSnapshot": [{
|
|
39327
|
+
name: "deviceId",
|
|
39328
|
+
form: "single",
|
|
39329
|
+
optional: false
|
|
39330
|
+
}],
|
|
39331
|
+
"deviceState.setCapSlice": [{
|
|
39332
|
+
name: "deviceId",
|
|
39333
|
+
form: "single",
|
|
39334
|
+
optional: false
|
|
39335
|
+
}],
|
|
39336
|
+
"events.getEventClipUrl": [{
|
|
39337
|
+
name: "deviceId",
|
|
39338
|
+
form: "single",
|
|
39339
|
+
optional: false
|
|
39340
|
+
}],
|
|
39341
|
+
"events.getEvents": [{
|
|
39342
|
+
name: "deviceId",
|
|
39343
|
+
form: "single",
|
|
39344
|
+
optional: false
|
|
39345
|
+
}],
|
|
39346
|
+
"events.getEventThumbnail": [{
|
|
39347
|
+
name: "deviceId",
|
|
39348
|
+
form: "single",
|
|
39349
|
+
optional: false
|
|
39350
|
+
}],
|
|
39351
|
+
"faceGallery.getFaceByTrack": [{
|
|
39352
|
+
name: "deviceId",
|
|
39353
|
+
form: "single",
|
|
39354
|
+
optional: false
|
|
39355
|
+
}],
|
|
39356
|
+
"faceGallery.listRecentFaces": [{
|
|
39357
|
+
name: "deviceId",
|
|
39358
|
+
form: "single",
|
|
39359
|
+
optional: true
|
|
39360
|
+
}],
|
|
39361
|
+
"fanControl.setDirection": [{
|
|
39362
|
+
name: "deviceId",
|
|
39363
|
+
form: "single",
|
|
39364
|
+
optional: false
|
|
39365
|
+
}],
|
|
39366
|
+
"fanControl.setOscillating": [{
|
|
39367
|
+
name: "deviceId",
|
|
39368
|
+
form: "single",
|
|
39369
|
+
optional: false
|
|
39370
|
+
}],
|
|
39371
|
+
"fanControl.setPercentage": [{
|
|
39372
|
+
name: "deviceId",
|
|
39373
|
+
form: "single",
|
|
39374
|
+
optional: false
|
|
39375
|
+
}],
|
|
39376
|
+
"fanControl.setPreset": [{
|
|
39377
|
+
name: "deviceId",
|
|
39378
|
+
form: "single",
|
|
39379
|
+
optional: false
|
|
39380
|
+
}],
|
|
39381
|
+
"humidifier.setMode": [{
|
|
39382
|
+
name: "deviceId",
|
|
39383
|
+
form: "single",
|
|
39384
|
+
optional: false
|
|
39385
|
+
}],
|
|
39386
|
+
"humidifier.setOn": [{
|
|
39387
|
+
name: "deviceId",
|
|
39388
|
+
form: "single",
|
|
39389
|
+
optional: false
|
|
39390
|
+
}],
|
|
39391
|
+
"humidifier.setTargetHumidity": [{
|
|
39392
|
+
name: "deviceId",
|
|
39393
|
+
form: "single",
|
|
39394
|
+
optional: false
|
|
39395
|
+
}],
|
|
39396
|
+
"imageSettings.getOptions": [{
|
|
39397
|
+
name: "deviceId",
|
|
39398
|
+
form: "single",
|
|
39399
|
+
optional: false
|
|
39400
|
+
}],
|
|
39401
|
+
"imageSettings.setSettings": [{
|
|
39402
|
+
name: "deviceId",
|
|
39403
|
+
form: "single",
|
|
39404
|
+
optional: false
|
|
39405
|
+
}],
|
|
39406
|
+
"intercom.endTalkSession": [{
|
|
39407
|
+
name: "deviceId",
|
|
39408
|
+
form: "single",
|
|
39409
|
+
optional: false
|
|
39410
|
+
}],
|
|
39411
|
+
"intercom.handleAnswer": [{
|
|
39412
|
+
name: "deviceId",
|
|
39413
|
+
form: "single",
|
|
39414
|
+
optional: false
|
|
39415
|
+
}],
|
|
39416
|
+
"intercom.pushTalkAudio": [{
|
|
39417
|
+
name: "deviceId",
|
|
39418
|
+
form: "single",
|
|
39419
|
+
optional: false
|
|
39420
|
+
}],
|
|
39421
|
+
"intercom.startSession": [{
|
|
39422
|
+
name: "deviceId",
|
|
39423
|
+
form: "single",
|
|
39424
|
+
optional: false
|
|
39425
|
+
}],
|
|
39426
|
+
"intercom.startTalkSession": [{
|
|
39427
|
+
name: "deviceId",
|
|
39428
|
+
form: "single",
|
|
39429
|
+
optional: false
|
|
39430
|
+
}],
|
|
39431
|
+
"intercom.stopSession": [{
|
|
39432
|
+
name: "deviceId",
|
|
39433
|
+
form: "single",
|
|
39434
|
+
optional: false
|
|
39435
|
+
}],
|
|
39436
|
+
"lawnMowerControl.dock": [{
|
|
39437
|
+
name: "deviceId",
|
|
39438
|
+
form: "single",
|
|
39439
|
+
optional: false
|
|
39440
|
+
}],
|
|
39441
|
+
"lawnMowerControl.pause": [{
|
|
39442
|
+
name: "deviceId",
|
|
39443
|
+
form: "single",
|
|
39444
|
+
optional: false
|
|
39445
|
+
}],
|
|
39446
|
+
"lawnMowerControl.startMowing": [{
|
|
39447
|
+
name: "deviceId",
|
|
39448
|
+
form: "single",
|
|
39449
|
+
optional: false
|
|
39450
|
+
}],
|
|
39451
|
+
"lockControl.lock": [{
|
|
39452
|
+
name: "deviceId",
|
|
39453
|
+
form: "single",
|
|
39454
|
+
optional: false
|
|
39455
|
+
}],
|
|
39456
|
+
"lockControl.open": [{
|
|
39457
|
+
name: "deviceId",
|
|
39458
|
+
form: "single",
|
|
39459
|
+
optional: false
|
|
39460
|
+
}],
|
|
39461
|
+
"lockControl.unlock": [{
|
|
39462
|
+
name: "deviceId",
|
|
39463
|
+
form: "single",
|
|
39464
|
+
optional: false
|
|
39465
|
+
}],
|
|
39466
|
+
"mediaPlayer.next": [{
|
|
39467
|
+
name: "deviceId",
|
|
39468
|
+
form: "single",
|
|
39469
|
+
optional: false
|
|
39470
|
+
}],
|
|
39471
|
+
"mediaPlayer.pause": [{
|
|
39472
|
+
name: "deviceId",
|
|
39473
|
+
form: "single",
|
|
39474
|
+
optional: false
|
|
39475
|
+
}],
|
|
39476
|
+
"mediaPlayer.play": [{
|
|
39477
|
+
name: "deviceId",
|
|
39478
|
+
form: "single",
|
|
39479
|
+
optional: false
|
|
39480
|
+
}],
|
|
39481
|
+
"mediaPlayer.playMedia": [{
|
|
39482
|
+
name: "deviceId",
|
|
39483
|
+
form: "single",
|
|
39484
|
+
optional: false
|
|
39485
|
+
}],
|
|
39486
|
+
"mediaPlayer.previous": [{
|
|
39487
|
+
name: "deviceId",
|
|
39488
|
+
form: "single",
|
|
39489
|
+
optional: false
|
|
39490
|
+
}],
|
|
39491
|
+
"mediaPlayer.seek": [{
|
|
39492
|
+
name: "deviceId",
|
|
39493
|
+
form: "single",
|
|
39494
|
+
optional: false
|
|
39495
|
+
}],
|
|
39496
|
+
"mediaPlayer.selectSource": [{
|
|
39497
|
+
name: "deviceId",
|
|
39498
|
+
form: "single",
|
|
39499
|
+
optional: false
|
|
39500
|
+
}],
|
|
39501
|
+
"mediaPlayer.setMute": [{
|
|
39502
|
+
name: "deviceId",
|
|
39503
|
+
form: "single",
|
|
39504
|
+
optional: false
|
|
39505
|
+
}],
|
|
39506
|
+
"mediaPlayer.setRepeat": [{
|
|
39507
|
+
name: "deviceId",
|
|
39508
|
+
form: "single",
|
|
39509
|
+
optional: false
|
|
39510
|
+
}],
|
|
39511
|
+
"mediaPlayer.setShuffle": [{
|
|
39512
|
+
name: "deviceId",
|
|
39513
|
+
form: "single",
|
|
39514
|
+
optional: false
|
|
39515
|
+
}],
|
|
39516
|
+
"mediaPlayer.setVolume": [{
|
|
39517
|
+
name: "deviceId",
|
|
39518
|
+
form: "single",
|
|
39519
|
+
optional: false
|
|
39520
|
+
}],
|
|
39521
|
+
"mediaPlayer.stop": [{
|
|
39522
|
+
name: "deviceId",
|
|
39523
|
+
form: "single",
|
|
39524
|
+
optional: false
|
|
39525
|
+
}],
|
|
39526
|
+
"motion.isDetected": [{
|
|
39527
|
+
name: "deviceId",
|
|
39528
|
+
form: "single",
|
|
39529
|
+
optional: false
|
|
39530
|
+
}],
|
|
39531
|
+
"motionDetection.analyze": [{
|
|
39532
|
+
name: "deviceId",
|
|
39533
|
+
form: "single",
|
|
39534
|
+
optional: false
|
|
39535
|
+
}],
|
|
39536
|
+
"motionDetection.removeCamera": [{
|
|
39537
|
+
name: "deviceId",
|
|
39538
|
+
form: "single",
|
|
39539
|
+
optional: false
|
|
39540
|
+
}],
|
|
39541
|
+
"motionTrigger.setMotionTrigger": [{
|
|
39542
|
+
name: "deviceId",
|
|
39543
|
+
form: "single",
|
|
39544
|
+
optional: false
|
|
39545
|
+
}],
|
|
39546
|
+
"motionZones.getOptions": [{
|
|
39547
|
+
name: "deviceId",
|
|
39548
|
+
form: "single",
|
|
39549
|
+
optional: false
|
|
39550
|
+
}],
|
|
39551
|
+
"motionZones.setZone": [{
|
|
39552
|
+
name: "deviceId",
|
|
39553
|
+
form: "single",
|
|
39554
|
+
optional: false
|
|
39555
|
+
}],
|
|
39556
|
+
"nativeObjectDetection.setEnabled": [{
|
|
39557
|
+
name: "deviceId",
|
|
39558
|
+
form: "single",
|
|
39559
|
+
optional: false
|
|
39560
|
+
}],
|
|
39561
|
+
"networkQuality.getDeviceStats": [{
|
|
39562
|
+
name: "deviceId",
|
|
39563
|
+
form: "single",
|
|
39564
|
+
optional: false
|
|
39565
|
+
}],
|
|
39566
|
+
"networkQuality.reportClientStats": [{
|
|
39567
|
+
name: "deviceId",
|
|
39568
|
+
form: "single",
|
|
39569
|
+
optional: false
|
|
39570
|
+
}],
|
|
39571
|
+
"notificationRules.setDeviceMuted": [{
|
|
39572
|
+
name: "deviceId",
|
|
39573
|
+
form: "single",
|
|
39574
|
+
optional: false
|
|
39575
|
+
}],
|
|
39576
|
+
"notifier.cancel": [{
|
|
39577
|
+
name: "deviceId",
|
|
39578
|
+
form: "single",
|
|
39579
|
+
optional: false
|
|
39580
|
+
}],
|
|
39581
|
+
"notifier.send": [{
|
|
39582
|
+
name: "deviceId",
|
|
39583
|
+
form: "single",
|
|
39584
|
+
optional: false
|
|
39585
|
+
}],
|
|
39586
|
+
"osd.setOverlay": [{
|
|
39587
|
+
name: "deviceId",
|
|
39588
|
+
form: "single",
|
|
39589
|
+
optional: false
|
|
39590
|
+
}],
|
|
39591
|
+
"osdManager.clearSlotBinding": [{
|
|
39592
|
+
name: "deviceId",
|
|
39593
|
+
form: "single",
|
|
39594
|
+
optional: false
|
|
39595
|
+
}],
|
|
39596
|
+
"osdManager.copyDeviceConfiguration": [{
|
|
39597
|
+
name: "sourceDeviceId",
|
|
39598
|
+
form: "single",
|
|
39599
|
+
optional: false
|
|
39600
|
+
}, {
|
|
39601
|
+
name: "targetDeviceId",
|
|
39602
|
+
form: "single",
|
|
39603
|
+
optional: false
|
|
39604
|
+
}],
|
|
39605
|
+
"osdManager.getDeviceOsd": [{
|
|
39606
|
+
name: "deviceId",
|
|
39607
|
+
form: "single",
|
|
39608
|
+
optional: false
|
|
39609
|
+
}],
|
|
39610
|
+
"osdManager.getSourceCatalog": [{
|
|
39611
|
+
name: "deviceId",
|
|
39612
|
+
form: "single",
|
|
39613
|
+
optional: false
|
|
39614
|
+
}],
|
|
39615
|
+
"osdManager.previewSlot": [{
|
|
39616
|
+
name: "deviceId",
|
|
39617
|
+
form: "single",
|
|
39618
|
+
optional: false
|
|
39619
|
+
}],
|
|
39620
|
+
"osdManager.renderDevice": [{
|
|
39621
|
+
name: "deviceId",
|
|
39622
|
+
form: "single",
|
|
39623
|
+
optional: false
|
|
39624
|
+
}],
|
|
39625
|
+
"osdManager.setSlotBinding": [{
|
|
39626
|
+
name: "deviceId",
|
|
39627
|
+
form: "single",
|
|
39628
|
+
optional: false
|
|
39629
|
+
}],
|
|
39630
|
+
"petFeeder.callPet": [{
|
|
39631
|
+
name: "deviceId",
|
|
39632
|
+
form: "single",
|
|
39633
|
+
optional: false
|
|
39634
|
+
}],
|
|
39635
|
+
"petFeeder.cancelFeed": [{
|
|
39636
|
+
name: "deviceId",
|
|
39637
|
+
form: "single",
|
|
39638
|
+
optional: false
|
|
39639
|
+
}],
|
|
39640
|
+
"petFeeder.feed": [{
|
|
39641
|
+
name: "deviceId",
|
|
39642
|
+
form: "single",
|
|
39643
|
+
optional: false
|
|
39644
|
+
}],
|
|
39645
|
+
"petFeeder.markFoodReplenished": [{
|
|
39646
|
+
name: "deviceId",
|
|
39647
|
+
form: "single",
|
|
39648
|
+
optional: false
|
|
39649
|
+
}],
|
|
39650
|
+
"petFeeder.playSound": [{
|
|
39651
|
+
name: "deviceId",
|
|
39652
|
+
form: "single",
|
|
39653
|
+
optional: false
|
|
39654
|
+
}],
|
|
39655
|
+
"petFeeder.resetDesiccant": [{
|
|
39656
|
+
name: "deviceId",
|
|
39657
|
+
form: "single",
|
|
39658
|
+
optional: false
|
|
39659
|
+
}],
|
|
39660
|
+
"petFeeder.setChildLock": [{
|
|
39661
|
+
name: "deviceId",
|
|
39662
|
+
form: "single",
|
|
39663
|
+
optional: false
|
|
39664
|
+
}],
|
|
39665
|
+
"petFeeder.setFeedSound": [{
|
|
39666
|
+
name: "deviceId",
|
|
39667
|
+
form: "single",
|
|
39668
|
+
optional: false
|
|
39669
|
+
}],
|
|
39670
|
+
"petFeeder.setIndicatorLight": [{
|
|
39671
|
+
name: "deviceId",
|
|
39672
|
+
form: "single",
|
|
39673
|
+
optional: false
|
|
39674
|
+
}],
|
|
39675
|
+
"petFeeder.setVolume": [{
|
|
39676
|
+
name: "deviceId",
|
|
39677
|
+
form: "single",
|
|
39678
|
+
optional: false
|
|
39679
|
+
}],
|
|
39680
|
+
"pipelineAnalytics.clearTracks": [{
|
|
39681
|
+
name: "deviceId",
|
|
39682
|
+
form: "single",
|
|
39683
|
+
optional: false
|
|
39684
|
+
}],
|
|
39685
|
+
"pipelineAnalytics.completeRetrainTrack": [{
|
|
39686
|
+
name: "deviceId",
|
|
39687
|
+
form: "single",
|
|
39688
|
+
optional: false
|
|
39689
|
+
}],
|
|
39690
|
+
"pipelineAnalytics.deleteDeviceEvents": [{
|
|
39691
|
+
name: "deviceId",
|
|
39692
|
+
form: "single",
|
|
39693
|
+
optional: false
|
|
39694
|
+
}],
|
|
39695
|
+
"pipelineAnalytics.deleteTracks": [{
|
|
39696
|
+
name: "deviceId",
|
|
39697
|
+
form: "single",
|
|
39698
|
+
optional: false
|
|
39699
|
+
}],
|
|
39700
|
+
"pipelineAnalytics.deselectRetrainFrame": [{
|
|
39701
|
+
name: "deviceId",
|
|
39702
|
+
form: "single",
|
|
39703
|
+
optional: false
|
|
39704
|
+
}],
|
|
39705
|
+
"pipelineAnalytics.getActiveTracks": [{
|
|
39706
|
+
name: "deviceId",
|
|
39707
|
+
form: "single",
|
|
39708
|
+
optional: false
|
|
39709
|
+
}],
|
|
39710
|
+
"pipelineAnalytics.getAudioEvents": [{
|
|
39711
|
+
name: "deviceId",
|
|
39712
|
+
form: "single",
|
|
39713
|
+
optional: false
|
|
39714
|
+
}],
|
|
39715
|
+
"pipelineAnalytics.getEventDensity": [{
|
|
39716
|
+
name: "deviceId",
|
|
39717
|
+
form: "single",
|
|
39718
|
+
optional: false
|
|
39719
|
+
}],
|
|
39720
|
+
"pipelineAnalytics.getEventMedia": [{
|
|
39721
|
+
name: "deviceId",
|
|
39722
|
+
form: "single",
|
|
39723
|
+
optional: false
|
|
39724
|
+
}],
|
|
39725
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
39726
|
+
name: "deviceId",
|
|
39727
|
+
form: "single",
|
|
39728
|
+
optional: false
|
|
39729
|
+
}],
|
|
39730
|
+
"pipelineAnalytics.getMotionEvents": [{
|
|
39731
|
+
name: "deviceId",
|
|
39732
|
+
form: "single",
|
|
39733
|
+
optional: false
|
|
39734
|
+
}],
|
|
39735
|
+
"pipelineAnalytics.getObjectEvents": [{
|
|
39736
|
+
name: "deviceId",
|
|
39737
|
+
form: "single",
|
|
39738
|
+
optional: false
|
|
39739
|
+
}],
|
|
39740
|
+
"pipelineAnalytics.getRetrainExportUrl": [{
|
|
39741
|
+
name: "deviceIds",
|
|
39742
|
+
form: "array",
|
|
39743
|
+
optional: true
|
|
39744
|
+
}],
|
|
39745
|
+
"pipelineAnalytics.getSensorEvents": [{
|
|
39746
|
+
name: "deviceId",
|
|
39747
|
+
form: "single",
|
|
39748
|
+
optional: false
|
|
39749
|
+
}],
|
|
39750
|
+
"pipelineAnalytics.getTrack": [{
|
|
39751
|
+
name: "deviceId",
|
|
39752
|
+
form: "single",
|
|
39753
|
+
optional: false
|
|
39754
|
+
}],
|
|
39755
|
+
"pipelineAnalytics.getTrackMedia": [{
|
|
39756
|
+
name: "deviceId",
|
|
39757
|
+
form: "single",
|
|
39758
|
+
optional: false
|
|
39759
|
+
}],
|
|
39760
|
+
"pipelineAnalytics.getTrainingExportSummary": [{
|
|
39761
|
+
name: "deviceIds",
|
|
39762
|
+
form: "array",
|
|
39763
|
+
optional: true
|
|
39764
|
+
}],
|
|
39765
|
+
"pipelineAnalytics.getTrainingExportUrl": [{
|
|
39766
|
+
name: "deviceIds",
|
|
39767
|
+
form: "array",
|
|
39768
|
+
optional: true
|
|
39769
|
+
}],
|
|
39770
|
+
"pipelineAnalytics.listEventKinds": [{
|
|
39771
|
+
name: "deviceId",
|
|
39772
|
+
form: "single",
|
|
39773
|
+
optional: false
|
|
39774
|
+
}],
|
|
39775
|
+
"pipelineAnalytics.listEventKindsBatch": [{
|
|
39776
|
+
name: "deviceIds",
|
|
39777
|
+
form: "array",
|
|
39778
|
+
optional: false
|
|
39779
|
+
}],
|
|
39780
|
+
"pipelineAnalytics.listOpsLog": [{
|
|
39781
|
+
name: "deviceId",
|
|
39782
|
+
form: "single",
|
|
39783
|
+
optional: true
|
|
39784
|
+
}],
|
|
39785
|
+
"pipelineAnalytics.listRecentTracks": [{
|
|
39786
|
+
name: "deviceIds",
|
|
39787
|
+
form: "array",
|
|
39788
|
+
optional: false
|
|
39789
|
+
}],
|
|
39790
|
+
"pipelineAnalytics.listRetrainStaging": [{
|
|
39791
|
+
name: "deviceIds",
|
|
39792
|
+
form: "array",
|
|
39793
|
+
optional: true
|
|
39794
|
+
}],
|
|
39795
|
+
"pipelineAnalytics.listTrackMedia": [{
|
|
39796
|
+
name: "deviceId",
|
|
39797
|
+
form: "single",
|
|
39798
|
+
optional: false
|
|
39799
|
+
}],
|
|
39800
|
+
"pipelineAnalytics.listTracks": [{
|
|
39801
|
+
name: "deviceId",
|
|
39802
|
+
form: "single",
|
|
39803
|
+
optional: false
|
|
39804
|
+
}],
|
|
39805
|
+
"pipelineAnalytics.proposeRetrainAnnotations": [{
|
|
39806
|
+
name: "deviceId",
|
|
39807
|
+
form: "single",
|
|
39808
|
+
optional: false
|
|
39809
|
+
}],
|
|
39810
|
+
"pipelineAnalytics.pruneEventsBefore": [{
|
|
39811
|
+
name: "deviceId",
|
|
39812
|
+
form: "single",
|
|
39813
|
+
optional: false
|
|
39814
|
+
}],
|
|
39815
|
+
"pipelineAnalytics.pruneTracksBefore": [{
|
|
39816
|
+
name: "deviceId",
|
|
39817
|
+
form: "single",
|
|
39818
|
+
optional: false
|
|
39819
|
+
}],
|
|
39820
|
+
"pipelineAnalytics.rebuildObjectEmbeddings": [{
|
|
39821
|
+
name: "deviceId",
|
|
39822
|
+
form: "single",
|
|
39823
|
+
optional: true
|
|
39824
|
+
}],
|
|
39825
|
+
"pipelineAnalytics.restageRetrainTrack": [{
|
|
39826
|
+
name: "deviceId",
|
|
39827
|
+
form: "single",
|
|
39828
|
+
optional: false
|
|
39829
|
+
}],
|
|
39830
|
+
"pipelineAnalytics.saveRetrainAnnotations": [{
|
|
39831
|
+
name: "deviceId",
|
|
39832
|
+
form: "single",
|
|
39833
|
+
optional: false
|
|
39834
|
+
}],
|
|
39835
|
+
"pipelineAnalytics.searchObjectEvents": [{
|
|
39836
|
+
name: "deviceId",
|
|
39837
|
+
form: "single",
|
|
39838
|
+
optional: true
|
|
39839
|
+
}],
|
|
39840
|
+
"pipelineAnalytics.selectRetrainFrames": [{
|
|
39841
|
+
name: "deviceId",
|
|
39842
|
+
form: "single",
|
|
39843
|
+
optional: false
|
|
39844
|
+
}],
|
|
39845
|
+
"pipelineAnalytics.setTrackFlags": [{
|
|
39846
|
+
name: "deviceId",
|
|
39847
|
+
form: "single",
|
|
39848
|
+
optional: false
|
|
39849
|
+
}],
|
|
39850
|
+
"pipelineAnalytics.wipeAllAnalytics": [{
|
|
39851
|
+
name: "deviceId",
|
|
39852
|
+
form: "single",
|
|
39853
|
+
optional: false
|
|
39854
|
+
}],
|
|
39855
|
+
"pipelineExecutor.runPipeline": [{
|
|
39856
|
+
name: "deviceId",
|
|
39857
|
+
form: "single",
|
|
39858
|
+
optional: true
|
|
39859
|
+
}],
|
|
39860
|
+
"pipelineExecutor.runPipelineBatch": [{
|
|
39861
|
+
name: "deviceId",
|
|
39862
|
+
form: "single",
|
|
39863
|
+
optional: true
|
|
39864
|
+
}],
|
|
39865
|
+
"pipelineOrchestrator.assignAudio": [{
|
|
39866
|
+
name: "deviceId",
|
|
39867
|
+
form: "single",
|
|
39868
|
+
optional: false
|
|
39869
|
+
}],
|
|
39870
|
+
"pipelineOrchestrator.assignPipeline": [{
|
|
39871
|
+
name: "deviceId",
|
|
39872
|
+
form: "single",
|
|
39873
|
+
optional: false
|
|
39874
|
+
}],
|
|
39875
|
+
"pipelineOrchestrator.getAudioAssignment": [{
|
|
39876
|
+
name: "deviceId",
|
|
39877
|
+
form: "single",
|
|
39878
|
+
optional: false
|
|
39879
|
+
}],
|
|
39880
|
+
"pipelineOrchestrator.getCameraMetrics": [{
|
|
39881
|
+
name: "deviceId",
|
|
39882
|
+
form: "single",
|
|
39883
|
+
optional: false
|
|
39884
|
+
}],
|
|
39885
|
+
"pipelineOrchestrator.getCameraSettings": [{
|
|
39886
|
+
name: "deviceId",
|
|
39887
|
+
form: "single",
|
|
39888
|
+
optional: false
|
|
39889
|
+
}],
|
|
39890
|
+
"pipelineOrchestrator.getCameraStatus": [{
|
|
39891
|
+
name: "deviceId",
|
|
39892
|
+
form: "single",
|
|
39893
|
+
optional: false
|
|
39894
|
+
}],
|
|
39895
|
+
"pipelineOrchestrator.getCameraStatuses": [{
|
|
39896
|
+
name: "deviceIds",
|
|
39897
|
+
form: "array",
|
|
39898
|
+
optional: true
|
|
39899
|
+
}],
|
|
39900
|
+
"pipelineOrchestrator.getCameraStepOverrides": [{
|
|
39901
|
+
name: "deviceId",
|
|
39902
|
+
form: "single",
|
|
39903
|
+
optional: false
|
|
39904
|
+
}],
|
|
39905
|
+
"pipelineOrchestrator.getCameraSwitches": [{
|
|
39906
|
+
name: "deviceId",
|
|
39907
|
+
form: "single",
|
|
39908
|
+
optional: false
|
|
39909
|
+
}],
|
|
39910
|
+
"pipelineOrchestrator.getPipelineAssignment": [{
|
|
39911
|
+
name: "deviceId",
|
|
39912
|
+
form: "single",
|
|
39913
|
+
optional: false
|
|
39914
|
+
}],
|
|
39915
|
+
"pipelineOrchestrator.getPipelineDevicePin": [{
|
|
39916
|
+
name: "deviceId",
|
|
39917
|
+
form: "single",
|
|
39918
|
+
optional: false
|
|
39919
|
+
}],
|
|
39920
|
+
"pipelineOrchestrator.resolvePipeline": [{
|
|
39921
|
+
name: "deviceId",
|
|
39922
|
+
form: "single",
|
|
39923
|
+
optional: false
|
|
39924
|
+
}],
|
|
39925
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": [{
|
|
39926
|
+
name: "deviceId",
|
|
39927
|
+
form: "single",
|
|
39928
|
+
optional: false
|
|
39929
|
+
}],
|
|
39930
|
+
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
39931
|
+
name: "deviceId",
|
|
39932
|
+
form: "single",
|
|
39933
|
+
optional: false
|
|
39934
|
+
}],
|
|
39935
|
+
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
39936
|
+
name: "deviceId",
|
|
39937
|
+
form: "single",
|
|
39938
|
+
optional: false
|
|
39939
|
+
}],
|
|
39940
|
+
"pipelineOrchestrator.setCameraSwitch": [{
|
|
39941
|
+
name: "deviceId",
|
|
39942
|
+
form: "single",
|
|
39943
|
+
optional: false
|
|
39944
|
+
}],
|
|
39945
|
+
"pipelineOrchestrator.setPipelineDevicePin": [{
|
|
39946
|
+
name: "deviceId",
|
|
39947
|
+
form: "single",
|
|
39948
|
+
optional: false
|
|
39949
|
+
}],
|
|
39950
|
+
"pipelineOrchestrator.unassignAudio": [{
|
|
39951
|
+
name: "deviceId",
|
|
39952
|
+
form: "single",
|
|
39953
|
+
optional: false
|
|
39954
|
+
}],
|
|
39955
|
+
"pipelineOrchestrator.unassignPipeline": [{
|
|
39956
|
+
name: "deviceId",
|
|
39957
|
+
form: "single",
|
|
39958
|
+
optional: false
|
|
39959
|
+
}],
|
|
39960
|
+
"pipelineRunner.attachCamera": [{
|
|
39961
|
+
name: "deviceId",
|
|
39962
|
+
form: "single",
|
|
39963
|
+
optional: false
|
|
39964
|
+
}],
|
|
39965
|
+
"pipelineRunner.detachCamera": [{
|
|
39966
|
+
name: "deviceId",
|
|
39967
|
+
form: "single",
|
|
39968
|
+
optional: false
|
|
39969
|
+
}],
|
|
39970
|
+
"pipelineRunner.getCameraMetrics": [{
|
|
39971
|
+
name: "deviceId",
|
|
39972
|
+
form: "single",
|
|
39973
|
+
optional: false
|
|
39974
|
+
}],
|
|
39975
|
+
"pipelineRunner.reportMotion": [{
|
|
39976
|
+
name: "deviceId",
|
|
39977
|
+
form: "single",
|
|
39978
|
+
optional: false
|
|
39979
|
+
}],
|
|
39980
|
+
"pipelineRunner.runDetailSubtree": [{
|
|
39981
|
+
name: "deviceId",
|
|
39982
|
+
form: "single",
|
|
39983
|
+
optional: false
|
|
39984
|
+
}],
|
|
39985
|
+
"pipelineRunner.runStatelessStep": [{
|
|
39986
|
+
name: "sourceDeviceId",
|
|
39987
|
+
form: "single",
|
|
39988
|
+
optional: false
|
|
39989
|
+
}],
|
|
39990
|
+
"plateGallery.getPlateByTrack": [{
|
|
39991
|
+
name: "deviceId",
|
|
39992
|
+
form: "single",
|
|
39993
|
+
optional: false
|
|
39994
|
+
}],
|
|
39995
|
+
"plateGallery.listPlates": [{
|
|
39996
|
+
name: "deviceId",
|
|
39997
|
+
form: "single",
|
|
39998
|
+
optional: true
|
|
39999
|
+
}],
|
|
40000
|
+
"privacyMask.getOptions": [{
|
|
40001
|
+
name: "deviceId",
|
|
40002
|
+
form: "single",
|
|
40003
|
+
optional: false
|
|
40004
|
+
}],
|
|
40005
|
+
"privacyMask.setAudioEnabled": [{
|
|
40006
|
+
name: "deviceId",
|
|
40007
|
+
form: "single",
|
|
40008
|
+
optional: false
|
|
40009
|
+
}],
|
|
40010
|
+
"privacyMask.setMask": [{
|
|
40011
|
+
name: "deviceId",
|
|
40012
|
+
form: "single",
|
|
40013
|
+
optional: false
|
|
40014
|
+
}],
|
|
40015
|
+
"ptz.continuousMove": [{
|
|
40016
|
+
name: "deviceId",
|
|
40017
|
+
form: "single",
|
|
40018
|
+
optional: false
|
|
40019
|
+
}],
|
|
40020
|
+
"ptz.deletePreset": [{
|
|
40021
|
+
name: "deviceId",
|
|
40022
|
+
form: "single",
|
|
40023
|
+
optional: false
|
|
40024
|
+
}],
|
|
40025
|
+
"ptz.getOptions": [{
|
|
40026
|
+
name: "deviceId",
|
|
40027
|
+
form: "single",
|
|
40028
|
+
optional: false
|
|
40029
|
+
}],
|
|
40030
|
+
"ptz.getPosition": [{
|
|
40031
|
+
name: "deviceId",
|
|
40032
|
+
form: "single",
|
|
40033
|
+
optional: false
|
|
40034
|
+
}],
|
|
40035
|
+
"ptz.getPresets": [{
|
|
40036
|
+
name: "deviceId",
|
|
40037
|
+
form: "single",
|
|
40038
|
+
optional: false
|
|
40039
|
+
}],
|
|
40040
|
+
"ptz.goHome": [{
|
|
40041
|
+
name: "deviceId",
|
|
40042
|
+
form: "single",
|
|
40043
|
+
optional: false
|
|
40044
|
+
}],
|
|
40045
|
+
"ptz.goToPreset": [{
|
|
40046
|
+
name: "deviceId",
|
|
40047
|
+
form: "single",
|
|
40048
|
+
optional: false
|
|
40049
|
+
}],
|
|
40050
|
+
"ptz.move": [{
|
|
40051
|
+
name: "deviceId",
|
|
40052
|
+
form: "single",
|
|
40053
|
+
optional: false
|
|
40054
|
+
}],
|
|
40055
|
+
"ptz.savePreset": [{
|
|
40056
|
+
name: "deviceId",
|
|
40057
|
+
form: "single",
|
|
40058
|
+
optional: false
|
|
40059
|
+
}],
|
|
40060
|
+
"ptz.setAutofocus": [{
|
|
40061
|
+
name: "deviceId",
|
|
40062
|
+
form: "single",
|
|
40063
|
+
optional: false
|
|
40064
|
+
}],
|
|
40065
|
+
"ptz.stop": [{
|
|
40066
|
+
name: "deviceId",
|
|
40067
|
+
form: "single",
|
|
40068
|
+
optional: false
|
|
40069
|
+
}],
|
|
40070
|
+
"ptzAutotrack.getSettings": [{
|
|
40071
|
+
name: "deviceId",
|
|
40072
|
+
form: "single",
|
|
40073
|
+
optional: false
|
|
40074
|
+
}],
|
|
40075
|
+
"ptzAutotrack.getStatus": [{
|
|
40076
|
+
name: "deviceId",
|
|
40077
|
+
form: "single",
|
|
40078
|
+
optional: false
|
|
40079
|
+
}],
|
|
40080
|
+
"ptzAutotrack.setEnabled": [{
|
|
40081
|
+
name: "deviceId",
|
|
40082
|
+
form: "single",
|
|
40083
|
+
optional: false
|
|
40084
|
+
}],
|
|
40085
|
+
"ptzAutotrack.setSettings": [{
|
|
40086
|
+
name: "deviceId",
|
|
40087
|
+
form: "single",
|
|
40088
|
+
optional: false
|
|
40089
|
+
}],
|
|
40090
|
+
"reboot.reboot": [{
|
|
40091
|
+
name: "deviceId",
|
|
40092
|
+
form: "single",
|
|
40093
|
+
optional: false
|
|
40094
|
+
}],
|
|
40095
|
+
"recording.deleteFootprint": [{
|
|
40096
|
+
name: "deviceId",
|
|
40097
|
+
form: "single",
|
|
40098
|
+
optional: false
|
|
40099
|
+
}],
|
|
40100
|
+
"recording.getAvailability": [{
|
|
40101
|
+
name: "deviceId",
|
|
40102
|
+
form: "single",
|
|
40103
|
+
optional: false
|
|
40104
|
+
}],
|
|
40105
|
+
"recording.getDaysWithRecordings": [{
|
|
40106
|
+
name: "deviceId",
|
|
40107
|
+
form: "single",
|
|
40108
|
+
optional: false
|
|
40109
|
+
}],
|
|
40110
|
+
"recording.getDeviceConfig": [{
|
|
40111
|
+
name: "deviceId",
|
|
40112
|
+
form: "single",
|
|
40113
|
+
optional: false
|
|
40114
|
+
}],
|
|
40115
|
+
"recording.getPlaybackManifest": [{
|
|
40116
|
+
name: "deviceId",
|
|
40117
|
+
form: "single",
|
|
40118
|
+
optional: false
|
|
40119
|
+
}],
|
|
40120
|
+
"recording.listOpsLog": [{
|
|
40121
|
+
name: "deviceId",
|
|
40122
|
+
form: "single",
|
|
40123
|
+
optional: true
|
|
40124
|
+
}],
|
|
40125
|
+
"recording.locateSegment": [{
|
|
40126
|
+
name: "deviceId",
|
|
40127
|
+
form: "single",
|
|
40128
|
+
optional: false
|
|
40129
|
+
}],
|
|
40130
|
+
"recording.pruneFootage": [{
|
|
40131
|
+
name: "deviceId",
|
|
40132
|
+
form: "single",
|
|
40133
|
+
optional: false
|
|
40134
|
+
}],
|
|
40135
|
+
"recording.readGopBytes": [{
|
|
40136
|
+
name: "deviceId",
|
|
40137
|
+
form: "single",
|
|
40138
|
+
optional: false
|
|
40139
|
+
}],
|
|
40140
|
+
"recording.readSegmentBytes": [{
|
|
40141
|
+
name: "deviceId",
|
|
40142
|
+
form: "single",
|
|
40143
|
+
optional: false
|
|
40144
|
+
}],
|
|
40145
|
+
"recording.relocateFootage": [{
|
|
40146
|
+
name: "deviceId",
|
|
40147
|
+
form: "single",
|
|
40148
|
+
optional: true
|
|
40149
|
+
}],
|
|
40150
|
+
"recording.renderClip": [{
|
|
40151
|
+
name: "deviceId",
|
|
40152
|
+
form: "single",
|
|
40153
|
+
optional: false
|
|
40154
|
+
}],
|
|
40155
|
+
"recording.renderGif": [{
|
|
40156
|
+
name: "deviceId",
|
|
40157
|
+
form: "single",
|
|
40158
|
+
optional: false
|
|
40159
|
+
}],
|
|
40160
|
+
"recording.rescanStorage": [{
|
|
40161
|
+
name: "deviceId",
|
|
40162
|
+
form: "single",
|
|
40163
|
+
optional: false
|
|
40164
|
+
}],
|
|
40165
|
+
"recording.setDeviceConfig": [{
|
|
40166
|
+
name: "deviceId",
|
|
40167
|
+
form: "single",
|
|
40168
|
+
optional: false
|
|
40169
|
+
}],
|
|
40170
|
+
"recording.startStorageMigrationMove": [{
|
|
40171
|
+
name: "deviceId",
|
|
40172
|
+
form: "single",
|
|
40173
|
+
optional: true
|
|
40174
|
+
}],
|
|
40175
|
+
"recordingExport.createExport": [{
|
|
40176
|
+
name: "deviceId",
|
|
40177
|
+
form: "single",
|
|
40178
|
+
optional: false
|
|
40179
|
+
}],
|
|
40180
|
+
"recordingExport.listExports": [{
|
|
40181
|
+
name: "deviceId",
|
|
40182
|
+
form: "single",
|
|
40183
|
+
optional: true
|
|
40184
|
+
}],
|
|
40185
|
+
"sceneMonitor.captureReference": [{
|
|
40186
|
+
name: "deviceId",
|
|
40187
|
+
form: "single",
|
|
40188
|
+
optional: false
|
|
40189
|
+
}],
|
|
40190
|
+
"sceneMonitor.createScene": [{
|
|
40191
|
+
name: "deviceId",
|
|
40192
|
+
form: "single",
|
|
40193
|
+
optional: false
|
|
40194
|
+
}],
|
|
40195
|
+
"sceneMonitor.deleteReference": [{
|
|
40196
|
+
name: "deviceId",
|
|
40197
|
+
form: "single",
|
|
40198
|
+
optional: false
|
|
40199
|
+
}],
|
|
40200
|
+
"sceneMonitor.deleteScene": [{
|
|
40201
|
+
name: "deviceId",
|
|
40202
|
+
form: "single",
|
|
40203
|
+
optional: false
|
|
40204
|
+
}],
|
|
40205
|
+
"sceneMonitor.listScenes": [{
|
|
40206
|
+
name: "deviceId",
|
|
40207
|
+
form: "single",
|
|
40208
|
+
optional: false
|
|
40209
|
+
}],
|
|
40210
|
+
"sceneMonitor.recheckNow": [{
|
|
40211
|
+
name: "deviceId",
|
|
40212
|
+
form: "single",
|
|
40213
|
+
optional: false
|
|
40214
|
+
}],
|
|
40215
|
+
"sceneMonitor.resetScene": [{
|
|
40216
|
+
name: "deviceId",
|
|
40217
|
+
form: "single",
|
|
40218
|
+
optional: false
|
|
40219
|
+
}],
|
|
40220
|
+
"sceneMonitor.updateScene": [{
|
|
40221
|
+
name: "deviceId",
|
|
40222
|
+
form: "single",
|
|
40223
|
+
optional: false
|
|
40224
|
+
}],
|
|
40225
|
+
"scriptRunner.run": [{
|
|
40226
|
+
name: "deviceId",
|
|
40227
|
+
form: "single",
|
|
40228
|
+
optional: false
|
|
40229
|
+
}],
|
|
40230
|
+
"scriptRunner.stop": [{
|
|
40231
|
+
name: "deviceId",
|
|
40232
|
+
form: "single",
|
|
40233
|
+
optional: false
|
|
40234
|
+
}],
|
|
40235
|
+
"snapshot.getSnapshot": [{
|
|
40236
|
+
name: "deviceId",
|
|
40237
|
+
form: "single",
|
|
40238
|
+
optional: false
|
|
40239
|
+
}],
|
|
40240
|
+
"snapshot.getSnapshotLinks": [{
|
|
40241
|
+
name: "targets",
|
|
40242
|
+
form: "object-array",
|
|
40243
|
+
optional: false,
|
|
40244
|
+
itemField: "deviceId"
|
|
40245
|
+
}],
|
|
40246
|
+
"snapshot.getSnapshotOverview": [{
|
|
40247
|
+
name: "deviceIds",
|
|
40248
|
+
form: "array",
|
|
40249
|
+
optional: false
|
|
40250
|
+
}],
|
|
40251
|
+
"snapshot.invalidateCache": [{
|
|
40252
|
+
name: "deviceId",
|
|
40253
|
+
form: "single",
|
|
40254
|
+
optional: false
|
|
40255
|
+
}],
|
|
40256
|
+
"streamBroker.acquireEgressTranscode": [{
|
|
40257
|
+
name: "deviceId",
|
|
40258
|
+
form: "single",
|
|
40259
|
+
optional: false
|
|
40260
|
+
}],
|
|
40261
|
+
"streamBroker.assignProfile": [{
|
|
40262
|
+
name: "deviceId",
|
|
40263
|
+
form: "single",
|
|
40264
|
+
optional: false
|
|
40265
|
+
}],
|
|
40266
|
+
"streamBroker.getDeviceAudioMute": [{
|
|
40267
|
+
name: "deviceId",
|
|
40268
|
+
form: "single",
|
|
40269
|
+
optional: false
|
|
40270
|
+
}],
|
|
40271
|
+
"streamBroker.getStreamWithCodec": [{
|
|
40272
|
+
name: "deviceId",
|
|
40273
|
+
form: "single",
|
|
40274
|
+
optional: false
|
|
40275
|
+
}],
|
|
40276
|
+
"streamBroker.produceEventMedia": [{
|
|
40277
|
+
name: "deviceId",
|
|
40278
|
+
form: "single",
|
|
40279
|
+
optional: false
|
|
40280
|
+
}],
|
|
40281
|
+
"streamBroker.publishCameraStream": [{
|
|
40282
|
+
name: "deviceId",
|
|
40283
|
+
form: "single",
|
|
40284
|
+
optional: false
|
|
40285
|
+
}],
|
|
40286
|
+
"streamBroker.renderPreBufferClip": [{
|
|
40287
|
+
name: "deviceId",
|
|
40288
|
+
form: "single",
|
|
40289
|
+
optional: false
|
|
40290
|
+
}],
|
|
40291
|
+
"streamBroker.restartProfile": [{
|
|
40292
|
+
name: "deviceId",
|
|
40293
|
+
form: "single",
|
|
40294
|
+
optional: false
|
|
40295
|
+
}],
|
|
40296
|
+
"streamBroker.retractCameraStream": [{
|
|
40297
|
+
name: "deviceId",
|
|
40298
|
+
form: "single",
|
|
40299
|
+
optional: false
|
|
40300
|
+
}],
|
|
40301
|
+
"streamBroker.setDeviceAudioMute": [{
|
|
40302
|
+
name: "deviceId",
|
|
40303
|
+
form: "single",
|
|
40304
|
+
optional: false
|
|
40305
|
+
}],
|
|
40306
|
+
"streamBroker.unassignProfile": [{
|
|
40307
|
+
name: "deviceId",
|
|
40308
|
+
form: "single",
|
|
40309
|
+
optional: false
|
|
40310
|
+
}],
|
|
40311
|
+
"streamCatalog.getCatalog": [{
|
|
40312
|
+
name: "deviceId",
|
|
40313
|
+
form: "single",
|
|
40314
|
+
optional: false
|
|
40315
|
+
}],
|
|
40316
|
+
"streamParams.getConfigSchema": [{
|
|
40317
|
+
name: "deviceId",
|
|
40318
|
+
form: "single",
|
|
40319
|
+
optional: false
|
|
40320
|
+
}],
|
|
40321
|
+
"streamParams.getOptions": [{
|
|
40322
|
+
name: "deviceId",
|
|
40323
|
+
form: "single",
|
|
40324
|
+
optional: false
|
|
40325
|
+
}],
|
|
40326
|
+
"streamParams.setProfile": [{
|
|
40327
|
+
name: "deviceId",
|
|
40328
|
+
form: "single",
|
|
40329
|
+
optional: false
|
|
40330
|
+
}],
|
|
40331
|
+
"switch.setState": [{
|
|
40332
|
+
name: "deviceId",
|
|
40333
|
+
form: "single",
|
|
40334
|
+
optional: false
|
|
40335
|
+
}],
|
|
40336
|
+
"vacuumControl.locate": [{
|
|
40337
|
+
name: "deviceId",
|
|
40338
|
+
form: "single",
|
|
40339
|
+
optional: false
|
|
40340
|
+
}],
|
|
40341
|
+
"vacuumControl.pause": [{
|
|
40342
|
+
name: "deviceId",
|
|
40343
|
+
form: "single",
|
|
40344
|
+
optional: false
|
|
40345
|
+
}],
|
|
40346
|
+
"vacuumControl.returnToBase": [{
|
|
40347
|
+
name: "deviceId",
|
|
40348
|
+
form: "single",
|
|
40349
|
+
optional: false
|
|
40350
|
+
}],
|
|
40351
|
+
"vacuumControl.setFanSpeed": [{
|
|
40352
|
+
name: "deviceId",
|
|
40353
|
+
form: "single",
|
|
40354
|
+
optional: false
|
|
40355
|
+
}],
|
|
40356
|
+
"vacuumControl.start": [{
|
|
40357
|
+
name: "deviceId",
|
|
40358
|
+
form: "single",
|
|
40359
|
+
optional: false
|
|
40360
|
+
}],
|
|
40361
|
+
"vacuumControl.stop": [{
|
|
40362
|
+
name: "deviceId",
|
|
40363
|
+
form: "single",
|
|
40364
|
+
optional: false
|
|
40365
|
+
}],
|
|
40366
|
+
"valve.close": [{
|
|
40367
|
+
name: "deviceId",
|
|
40368
|
+
form: "single",
|
|
40369
|
+
optional: false
|
|
40370
|
+
}],
|
|
40371
|
+
"valve.open": [{
|
|
40372
|
+
name: "deviceId",
|
|
40373
|
+
form: "single",
|
|
40374
|
+
optional: false
|
|
40375
|
+
}],
|
|
40376
|
+
"valve.setPosition": [{
|
|
40377
|
+
name: "deviceId",
|
|
40378
|
+
form: "single",
|
|
40379
|
+
optional: false
|
|
40380
|
+
}],
|
|
40381
|
+
"valve.stop": [{
|
|
40382
|
+
name: "deviceId",
|
|
40383
|
+
form: "single",
|
|
40384
|
+
optional: false
|
|
40385
|
+
}],
|
|
40386
|
+
"videoclips.getClipPlayback": [{
|
|
40387
|
+
name: "deviceId",
|
|
40388
|
+
form: "single",
|
|
40389
|
+
optional: false
|
|
40390
|
+
}],
|
|
40391
|
+
"videoclips.listClips": [{
|
|
40392
|
+
name: "deviceId",
|
|
40393
|
+
form: "single",
|
|
40394
|
+
optional: false
|
|
40395
|
+
}],
|
|
40396
|
+
"waterHeater.setAway": [{
|
|
40397
|
+
name: "deviceId",
|
|
40398
|
+
form: "single",
|
|
40399
|
+
optional: false
|
|
40400
|
+
}],
|
|
40401
|
+
"waterHeater.setOperationMode": [{
|
|
40402
|
+
name: "deviceId",
|
|
40403
|
+
form: "single",
|
|
40404
|
+
optional: false
|
|
40405
|
+
}],
|
|
40406
|
+
"waterHeater.setTargetTemp": [{
|
|
40407
|
+
name: "deviceId",
|
|
40408
|
+
form: "single",
|
|
40409
|
+
optional: false
|
|
40410
|
+
}],
|
|
40411
|
+
"webrtcSession.addIceCandidate": [{
|
|
40412
|
+
name: "deviceId",
|
|
40413
|
+
form: "single",
|
|
40414
|
+
optional: false
|
|
40415
|
+
}],
|
|
40416
|
+
"webrtcSession.closeSession": [{
|
|
40417
|
+
name: "deviceId",
|
|
40418
|
+
form: "single",
|
|
40419
|
+
optional: false
|
|
40420
|
+
}],
|
|
40421
|
+
"webrtcSession.createSession": [{
|
|
40422
|
+
name: "deviceId",
|
|
40423
|
+
form: "single",
|
|
40424
|
+
optional: false
|
|
40425
|
+
}],
|
|
40426
|
+
"webrtcSession.getIceCandidates": [{
|
|
40427
|
+
name: "deviceId",
|
|
40428
|
+
form: "single",
|
|
40429
|
+
optional: false
|
|
40430
|
+
}],
|
|
40431
|
+
"webrtcSession.getSessionState": [{
|
|
40432
|
+
name: "deviceId",
|
|
40433
|
+
form: "single",
|
|
40434
|
+
optional: false
|
|
40435
|
+
}],
|
|
40436
|
+
"webrtcSession.handleAnswer": [{
|
|
40437
|
+
name: "deviceId",
|
|
40438
|
+
form: "single",
|
|
40439
|
+
optional: false
|
|
40440
|
+
}],
|
|
40441
|
+
"webrtcSession.handleOffer": [{
|
|
40442
|
+
name: "deviceId",
|
|
40443
|
+
form: "single",
|
|
40444
|
+
optional: false
|
|
40445
|
+
}],
|
|
40446
|
+
"webrtcSession.hasAdaptiveBitrate": [{
|
|
40447
|
+
name: "deviceId",
|
|
40448
|
+
form: "single",
|
|
40449
|
+
optional: false
|
|
40450
|
+
}],
|
|
40451
|
+
"webrtcSession.listStreams": [{
|
|
40452
|
+
name: "deviceId",
|
|
40453
|
+
form: "single",
|
|
40454
|
+
optional: false
|
|
40455
|
+
}],
|
|
40456
|
+
"zoneAnalytics.getCameraHistory": [{
|
|
40457
|
+
name: "deviceId",
|
|
40458
|
+
form: "single",
|
|
40459
|
+
optional: false
|
|
40460
|
+
}],
|
|
40461
|
+
"zoneAnalytics.getCurrentSnapshot": [{
|
|
40462
|
+
name: "deviceId",
|
|
40463
|
+
form: "single",
|
|
40464
|
+
optional: false
|
|
40465
|
+
}],
|
|
40466
|
+
"zoneAnalytics.getUnzonedHistory": [{
|
|
40467
|
+
name: "deviceId",
|
|
40468
|
+
form: "single",
|
|
40469
|
+
optional: false
|
|
40470
|
+
}],
|
|
40471
|
+
"zoneAnalytics.getZoneHistory": [{
|
|
40472
|
+
name: "deviceId",
|
|
40473
|
+
form: "single",
|
|
40474
|
+
optional: false
|
|
40475
|
+
}],
|
|
40476
|
+
"zoneRules.listRules": [{
|
|
40477
|
+
name: "deviceId",
|
|
40478
|
+
form: "single",
|
|
40479
|
+
optional: false
|
|
40480
|
+
}],
|
|
40481
|
+
"zoneRules.setRules": [{
|
|
40482
|
+
name: "deviceId",
|
|
40483
|
+
form: "single",
|
|
40484
|
+
optional: false
|
|
40485
|
+
}],
|
|
40486
|
+
"zones.addZone": [{
|
|
40487
|
+
name: "deviceId",
|
|
40488
|
+
form: "single",
|
|
40489
|
+
optional: false
|
|
40490
|
+
}],
|
|
40491
|
+
"zones.listZones": [{
|
|
40492
|
+
name: "deviceId",
|
|
40493
|
+
form: "single",
|
|
40494
|
+
optional: false
|
|
40495
|
+
}],
|
|
40496
|
+
"zones.removeZone": [{
|
|
40497
|
+
name: "deviceId",
|
|
40498
|
+
form: "single",
|
|
40499
|
+
optional: false
|
|
40500
|
+
}],
|
|
40501
|
+
"zones.updateZone": [{
|
|
40502
|
+
name: "deviceId",
|
|
40503
|
+
form: "single",
|
|
40504
|
+
optional: false
|
|
40505
|
+
}]
|
|
40506
|
+
});
|
|
37724
40507
|
Object.freeze({
|
|
37725
40508
|
"broker": "broker",
|
|
37726
40509
|
"device-export": "device-export",
|