@camstack/addon-terminal 0.1.19 → 0.1.21
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/addon.js +2918 -147
- package/dist/addon.mjs +2918 -147
- package/package.json +1 -1
package/dist/addon.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import { createServer } from "node:http";
|
|
|
8
8
|
//#region \0rolldown/runtime.js
|
|
9
9
|
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
10
10
|
//#endregion
|
|
11
|
-
//#region ../types/dist/event-category-
|
|
11
|
+
//#region ../types/dist/event-category-Bxo5yJjt.mjs
|
|
12
12
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
13
13
|
EventCategory["SystemBoot"] = "system.boot";
|
|
14
14
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -215,6 +215,33 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
215
215
|
EventCategory["PipelineCameraAssigned"] = "pipeline.camera-assigned";
|
|
216
216
|
EventCategory["PipelineCameraUnassigned"] = "pipeline.camera-unassigned";
|
|
217
217
|
/**
|
|
218
|
+
* A node the orchestrator would otherwise place cameras on has NO usable
|
|
219
|
+
* inference device: the operator enabled one or more accelerators there and
|
|
220
|
+
* the live probe reports every one of them unavailable. Emitted once per
|
|
221
|
+
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
222
|
+
* from the placement candidate set for as long as it holds.
|
|
223
|
+
*
|
|
224
|
+
* This exists because the state was previously invisible: little-unraid
|
|
225
|
+
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
226
|
+
* and nothing in the system said so.
|
|
227
|
+
*
|
|
228
|
+
* A node with no accelerators configured at all is NOT this — its devices
|
|
229
|
+
* are `disabled`, not `unavailable`, and the runner's default CPU pool
|
|
230
|
+
* serves it exactly as before.
|
|
231
|
+
*/
|
|
232
|
+
EventCategory["PipelineNodeInferenceUnavailable"] = "pipeline.node-inference-unavailable";
|
|
233
|
+
/**
|
|
234
|
+
* A camera has an OPEN detection session and has produced no detection at
|
|
235
|
+
* all for longer than the blind threshold — the camera is being decoded and
|
|
236
|
+
* inferred and is returning nothing. Emitted once per transition into blind,
|
|
237
|
+
* per camera.
|
|
238
|
+
*
|
|
239
|
+
* The failure it reports: a 1h43 detection blackout on the entrance camera
|
|
240
|
+
* that nobody noticed, because "a camera that detects nothing" and "a quiet
|
|
241
|
+
* camera" produce byte-identical silence.
|
|
242
|
+
*/
|
|
243
|
+
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
244
|
+
/**
|
|
218
245
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
219
246
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
220
247
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -3006,6 +3033,9 @@ function handlePipeResult(left, next, ctx) {
|
|
|
3006
3033
|
fallback: left.fallback
|
|
3007
3034
|
}, ctx);
|
|
3008
3035
|
}
|
|
3036
|
+
var $ZodPreprocess = /*@__PURE__*/ $constructor("$ZodPreprocess", (inst, def) => {
|
|
3037
|
+
$ZodPipe.init(inst, def);
|
|
3038
|
+
});
|
|
3009
3039
|
var $ZodReadonly = /*@__PURE__*/ $constructor("$ZodReadonly", (inst, def) => {
|
|
3010
3040
|
$ZodType.init(inst, def);
|
|
3011
3041
|
defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
|
|
@@ -5191,6 +5221,10 @@ function pipe(in_, out) {
|
|
|
5191
5221
|
out
|
|
5192
5222
|
});
|
|
5193
5223
|
}
|
|
5224
|
+
var ZodPreprocess = /*@__PURE__*/ $constructor("ZodPreprocess", (inst, def) => {
|
|
5225
|
+
ZodPipe.init(inst, def);
|
|
5226
|
+
$ZodPreprocess.init(inst, def);
|
|
5227
|
+
});
|
|
5194
5228
|
var ZodReadonly = /*@__PURE__*/ $constructor("ZodReadonly", (inst, def) => {
|
|
5195
5229
|
$ZodReadonly.init(inst, def);
|
|
5196
5230
|
ZodType.init(inst, def);
|
|
@@ -5249,6 +5283,13 @@ function _instanceof(cls, params = {}) {
|
|
|
5249
5283
|
};
|
|
5250
5284
|
return inst;
|
|
5251
5285
|
}
|
|
5286
|
+
function preprocess(fn, schema) {
|
|
5287
|
+
return new ZodPreprocess({
|
|
5288
|
+
type: "pipe",
|
|
5289
|
+
in: transform(fn),
|
|
5290
|
+
out: schema
|
|
5291
|
+
});
|
|
5292
|
+
}
|
|
5252
5293
|
//#endregion
|
|
5253
5294
|
//#region ../../node_modules/zod/v4/classic/compat.js
|
|
5254
5295
|
/** @deprecated Use the raw string literal codes instead, e.g. "invalid_type". */
|
|
@@ -10952,6 +10993,8 @@ var QueryFilterSchema = object({
|
|
|
10952
10993
|
where: record(string(), unknown()).optional(),
|
|
10953
10994
|
whereIn: record(string(), array(unknown())).optional(),
|
|
10954
10995
|
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
10996
|
+
/** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
|
|
10997
|
+
whereNot: record(string(), unknown()).optional(),
|
|
10955
10998
|
orderBy: object({
|
|
10956
10999
|
field: string(),
|
|
10957
11000
|
direction: _enum(["asc", "desc"])
|
|
@@ -10971,7 +11014,8 @@ var QueryFilterSchema = object({
|
|
|
10971
11014
|
var MutationFilterSchema = object({
|
|
10972
11015
|
where: record(string(), unknown()).optional(),
|
|
10973
11016
|
whereIn: record(string(), array(unknown())).optional(),
|
|
10974
|
-
whereBetween: record(string(), tuple([unknown(), unknown()])).optional()
|
|
11017
|
+
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
11018
|
+
whereNot: record(string(), unknown()).optional()
|
|
10975
11019
|
});
|
|
10976
11020
|
/** A single stored record: `{ id, data }`. */
|
|
10977
11021
|
var SettingsRecordSchema = object({
|
|
@@ -12435,6 +12479,17 @@ var LlmImageSchema = object({
|
|
|
12435
12479
|
bytes: _instanceof(Uint8Array),
|
|
12436
12480
|
mimeType: string()
|
|
12437
12481
|
});
|
|
12482
|
+
/**
|
|
12483
|
+
* Retry policy. `enabled: false` is NOT the same as `maxAttempts: 1` in intent —
|
|
12484
|
+
* the flag is what a consumer table flips, the count is what the operator tunes.
|
|
12485
|
+
* A retry doubles the wall time of a call, so the two gates that run inside a
|
|
12486
|
+
* notification's budget keep it off (see `CONSUMER_RETRY_POLICY` in addon-ai).
|
|
12487
|
+
*/
|
|
12488
|
+
var LlmRetryPolicySchema = object({
|
|
12489
|
+
enabled: boolean().default(false),
|
|
12490
|
+
/** Total attempts INCLUDING the first. 1 = no retry. */
|
|
12491
|
+
maxAttempts: number().int().min(1).max(5).default(1)
|
|
12492
|
+
});
|
|
12438
12493
|
var LlmGenerateBaseInputSchema = object({
|
|
12439
12494
|
/** Collection routing (the notification-output posture). */
|
|
12440
12495
|
addonId: string().optional(),
|
|
@@ -12449,7 +12504,28 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12449
12504
|
jsonSchema: record(string(), unknown()).optional(),
|
|
12450
12505
|
/** Per-call override of the profile default. */
|
|
12451
12506
|
maxTokens: number().int().positive().optional(),
|
|
12452
|
-
temperature: number().optional()
|
|
12507
|
+
temperature: number().optional(),
|
|
12508
|
+
/** Per-call override of the profile default (nucleus sampling). */
|
|
12509
|
+
topP: number().min(0).max(1).optional(),
|
|
12510
|
+
/** Per-call override of the profile default (top-k sampling). */
|
|
12511
|
+
topK: number().int().positive().optional(),
|
|
12512
|
+
/** Per-call override of `profile.timeoutMs` — the total generation bound. */
|
|
12513
|
+
timeoutMs: number().int().positive().optional(),
|
|
12514
|
+
/** Per-call override; beats both the consumer table and the profile. */
|
|
12515
|
+
retry: LlmRetryPolicySchema.optional(),
|
|
12516
|
+
/**
|
|
12517
|
+
* Caller-minted id that makes this generation CANCELLABLE.
|
|
12518
|
+
*
|
|
12519
|
+
* Without it a caller that stops waiting cannot stop the work: the gates race
|
|
12520
|
+
* the call against 8 s and free their own slot when the timer wins, while the
|
|
12521
|
+
* generation upstream keeps running to `profile.timeoutMs` — 60 s by default,
|
|
12522
|
+
* on a single-threaded local model. The per-camera bound then counts WAITS,
|
|
12523
|
+
* not generations, and the real load is unbounded.
|
|
12524
|
+
*
|
|
12525
|
+
* `AbortSignal` cannot cross a process boundary; an id can. Pass one here and
|
|
12526
|
+
* `llm.cancel({ requestId })` tears the socket down.
|
|
12527
|
+
*/
|
|
12528
|
+
requestId: string().optional()
|
|
12453
12529
|
});
|
|
12454
12530
|
/**
|
|
12455
12531
|
* `llm-runtime` — node-side managed llama.cpp executor (spec §4). Registered
|
|
@@ -12462,6 +12538,18 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12462
12538
|
* Resource ceiling = llama-server flags + idleStopMinutes ONLY (no RSS
|
|
12463
12539
|
* watchdog — operator decision #3).
|
|
12464
12540
|
*/
|
|
12541
|
+
/**
|
|
12542
|
+
* A companion artifact that MUST land beside the main GGUF: the `mmproj`
|
|
12543
|
+
* projector of a vision model, or shards 2..N of a split GGUF. Carried on the
|
|
12544
|
+
* REF rather than looked up at install time, so what the operator approved in
|
|
12545
|
+
* the preview is exactly what the node downloads.
|
|
12546
|
+
*/
|
|
12547
|
+
var ManagedModelExtraFileSchema = object({
|
|
12548
|
+
url: string(),
|
|
12549
|
+
filename: string(),
|
|
12550
|
+
sizeBytes: number(),
|
|
12551
|
+
sha256: string().optional()
|
|
12552
|
+
});
|
|
12465
12553
|
var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
12466
12554
|
object({
|
|
12467
12555
|
kind: literal("catalog"),
|
|
@@ -12470,7 +12558,11 @@ var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
|
12470
12558
|
object({
|
|
12471
12559
|
kind: literal("url"),
|
|
12472
12560
|
url: string(),
|
|
12473
|
-
sha256: string().optional()
|
|
12561
|
+
sha256: string().optional(),
|
|
12562
|
+
/** Picker/status label; the file basename when absent. */
|
|
12563
|
+
label: string().optional(),
|
|
12564
|
+
sizeBytes: number().optional(),
|
|
12565
|
+
extraFiles: array(ManagedModelExtraFileSchema).optional()
|
|
12474
12566
|
}),
|
|
12475
12567
|
object({
|
|
12476
12568
|
kind: literal("path"),
|
|
@@ -12488,13 +12580,82 @@ var ManagedRuntimeConfigSchema = object({
|
|
|
12488
12580
|
gpuLayers: number().int().default(0),
|
|
12489
12581
|
/** Default: cpus-2, clamped ≥1 (resolved node-side). */
|
|
12490
12582
|
threads: number().int().optional(),
|
|
12491
|
-
/** Concurrent slots. */
|
|
12583
|
+
/** Concurrent slots (`--parallel`). */
|
|
12492
12584
|
parallel: number().int().default(1),
|
|
12585
|
+
/** Logical batch size (`-b`). Larger = faster prompt ingest, more RAM. */
|
|
12586
|
+
batchSize: number().int().positive().optional(),
|
|
12587
|
+
/** Physical batch / micro-batch (`-ub`). */
|
|
12588
|
+
ubatchSize: number().int().positive().optional(),
|
|
12589
|
+
/**
|
|
12590
|
+
* `--flash-attn`. Cuts KV-cache memory on the backends that implement it and
|
|
12591
|
+
* is a no-op elsewhere, so it is offered rather than assumed.
|
|
12592
|
+
*/
|
|
12593
|
+
flashAttention: boolean().default(false),
|
|
12594
|
+
/**
|
|
12595
|
+
* `--mlock`. Pins the weights in RAM so the OS cannot page them out mid
|
|
12596
|
+
* inference. Costs the full model size in resident memory — which is exactly
|
|
12597
|
+
* what the RAM budget is counting.
|
|
12598
|
+
*/
|
|
12599
|
+
mlock: boolean().default(false),
|
|
12600
|
+
/**
|
|
12601
|
+
* `--no-mmap`. Reads the whole GGUF up front instead of mapping it. Slower to
|
|
12602
|
+
* start, but avoids the page-fault stalls a network or spinning-disk model
|
|
12603
|
+
* store produces on every first token.
|
|
12604
|
+
*/
|
|
12605
|
+
noMmap: boolean().default(false),
|
|
12606
|
+
/** `--cache-type-k` / `--cache-type-v` — quantising the KV cache is the
|
|
12607
|
+
* cheapest way to fit a longer context in the same RAM. */
|
|
12608
|
+
cacheTypeK: _enum([
|
|
12609
|
+
"f32",
|
|
12610
|
+
"f16",
|
|
12611
|
+
"q8_0",
|
|
12612
|
+
"q5_1",
|
|
12613
|
+
"q5_0",
|
|
12614
|
+
"q4_1",
|
|
12615
|
+
"q4_0"
|
|
12616
|
+
]).optional(),
|
|
12617
|
+
cacheTypeV: _enum([
|
|
12618
|
+
"f32",
|
|
12619
|
+
"f16",
|
|
12620
|
+
"q8_0",
|
|
12621
|
+
"q5_1",
|
|
12622
|
+
"q5_0",
|
|
12623
|
+
"q4_1",
|
|
12624
|
+
"q4_0"
|
|
12625
|
+
]).optional(),
|
|
12626
|
+
/**
|
|
12627
|
+
* Escape hatch for llama-server flags this schema does NOT model — `--jinja`
|
|
12628
|
+
* (which most vision chat templates need and some language-only models
|
|
12629
|
+
* dislike), `--cont-batching`, `--rope-scaling`, …
|
|
12630
|
+
*
|
|
12631
|
+
* It is NOT a second place to set the flags above. A token that collides
|
|
12632
|
+
* with a typed field is REJECTED at start, naming the field that owns it
|
|
12633
|
+
* (`assertNoOwnedFlags`), because two knobs writing the same argv is exactly
|
|
12634
|
+
* the "two switches that disagree" failure this repo has already shipped
|
|
12635
|
+
* twice (D62).
|
|
12636
|
+
*/
|
|
12637
|
+
extraArgs: array(string()).default([]),
|
|
12493
12638
|
/** Else lazy: first generate boots it. */
|
|
12494
12639
|
autoStart: boolean().default(false),
|
|
12495
12640
|
/** 0 = never; frees RAM after quiet periods. */
|
|
12496
12641
|
idleStopMinutes: number().int().default(30)
|
|
12497
12642
|
});
|
|
12643
|
+
/**
|
|
12644
|
+
* Where a multi-GB install currently is. A single 0..1 fraction cannot answer
|
|
12645
|
+
* "is it stuck?" for an install that is three files (shards + mmproj) followed
|
|
12646
|
+
* by a sha256 pass over 22 GB — during which the fraction sat at 1.0 and the
|
|
12647
|
+
* node looked hung. Phase + file + bytes is the smallest shape that does.
|
|
12648
|
+
*/
|
|
12649
|
+
var LlmDownloadProgressSchema = object({
|
|
12650
|
+
phase: _enum(["downloading", "verifying"]),
|
|
12651
|
+
/** The artifact currently moving, e.g. `mmproj-F16.gguf`. */
|
|
12652
|
+
file: string(),
|
|
12653
|
+
fileIndex: number().int(),
|
|
12654
|
+
fileCount: number().int(),
|
|
12655
|
+
/** Across the WHOLE install, not the current file. */
|
|
12656
|
+
downloadedBytes: number(),
|
|
12657
|
+
totalBytes: number().optional()
|
|
12658
|
+
});
|
|
12498
12659
|
var LlmRuntimeStatusSchema = object({
|
|
12499
12660
|
/** Status is ALWAYS node-qualified. */
|
|
12500
12661
|
nodeId: string(),
|
|
@@ -12511,6 +12672,8 @@ var LlmRuntimeStatusSchema = object({
|
|
|
12511
12672
|
modelPath: string().optional(),
|
|
12512
12673
|
modelId: string().optional(),
|
|
12513
12674
|
downloadProgress: number().min(0).max(1).optional(),
|
|
12675
|
+
/** Detail behind `downloadProgress`; present for the same lifetime. */
|
|
12676
|
+
download: LlmDownloadProgressSchema.optional(),
|
|
12514
12677
|
lastError: string().optional(),
|
|
12515
12678
|
crashesInWindow: number(),
|
|
12516
12679
|
/** Child RSS (sampled best-effort). */
|
|
@@ -12521,7 +12684,14 @@ var LlmNodeModelSchema = object({
|
|
|
12521
12684
|
file: string(),
|
|
12522
12685
|
sizeBytes: number(),
|
|
12523
12686
|
catalogId: string().optional(),
|
|
12524
|
-
installedAt: number().optional()
|
|
12687
|
+
installedAt: number().optional(),
|
|
12688
|
+
/**
|
|
12689
|
+
* Absolute path on the node. Present so a file that is on disk but matches
|
|
12690
|
+
* no catalog entry — a custom Hugging Face install, or a GGUF the operator
|
|
12691
|
+
* copied in by hand — is still SELECTABLE, as a `{kind:'path'}` ref. Without
|
|
12692
|
+
* it the picker could list such a file and do nothing with it.
|
|
12693
|
+
*/
|
|
12694
|
+
path: string().optional()
|
|
12525
12695
|
});
|
|
12526
12696
|
var LlmRuntimeDiskUsageSchema = object({
|
|
12527
12697
|
nodeId: string(),
|
|
@@ -12577,10 +12747,47 @@ var LlmProfileSchema = object({
|
|
|
12577
12747
|
baseUrl: string().optional(),
|
|
12578
12748
|
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
12579
12749
|
apiKey: string().optional(),
|
|
12750
|
+
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
12751
|
+
* degraded to text — that shipped once and produced a confident answer to a
|
|
12752
|
+
* question about a picture nobody sent. */
|
|
12580
12753
|
supportsVision: boolean(),
|
|
12581
12754
|
temperature: number().min(0).max(2).optional(),
|
|
12755
|
+
/** Nucleus sampling. Every wire we speak has it. */
|
|
12756
|
+
topP: number().min(0).max(1).optional(),
|
|
12757
|
+
/** Top-k sampling. Carried only by the wires that have it — NEITHER OpenAI
|
|
12758
|
+
* wire does, and the client drops it there (measured: the request body gets
|
|
12759
|
+
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
12760
|
+
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
12761
|
+
topK: number().int().positive().optional(),
|
|
12582
12762
|
maxTokens: number().int().positive().optional(),
|
|
12763
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own);
|
|
12764
|
+
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
12765
|
+
* the model with, so it is the one field that changes a PROCESS. */
|
|
12766
|
+
contextLength: number().int().positive().optional(),
|
|
12767
|
+
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
12768
|
+
* two system prompts fighting is worse than either alone). */
|
|
12769
|
+
systemPrompt: string().optional(),
|
|
12770
|
+
/** Total generation bound — the only one a unary call has. */
|
|
12583
12771
|
timeoutMs: number().int().positive().default(6e4),
|
|
12772
|
+
/** The TCP handshake only — "is the port even open". NOT the wait for
|
|
12773
|
+
* response headers: on the LM Studio / llama-server wire those are written
|
|
12774
|
+
* once the model has finished loading, so they belong to the bound below. */
|
|
12775
|
+
connectTimeoutMs: number().int().positive().default(1e4),
|
|
12776
|
+
/** Accepted, but no output yet — response headers included, because a cold
|
|
12777
|
+
* GPU load is exactly what happens before them. */
|
|
12778
|
+
firstTokenTimeoutMs: number().int().positive().default(12e4),
|
|
12779
|
+
/** Output started then stopped. */
|
|
12780
|
+
idleTimeoutMs: number().int().positive().default(6e4),
|
|
12781
|
+
/** Profile-level default. The per-consumer table and a per-call override
|
|
12782
|
+
* both beat it — see `resolveRetryPolicy`. */
|
|
12783
|
+
retry: LlmRetryPolicySchema.default({
|
|
12784
|
+
enabled: false,
|
|
12785
|
+
maxAttempts: 1
|
|
12786
|
+
}),
|
|
12787
|
+
/** Whether this profile may use tools. The tool-call plumbing rides the
|
|
12788
|
+
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
12789
|
+
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
12790
|
+
toolsEnabled: boolean().default(false),
|
|
12584
12791
|
extraHeaders: record(string(), string()).optional(),
|
|
12585
12792
|
/** kind === 'managed-local' only (spec §4). */
|
|
12586
12793
|
runtime: ManagedRuntimeConfigSchema.optional()
|
|
@@ -12630,6 +12837,36 @@ var ManagedModelCatalogEntrySchema = object({
|
|
|
12630
12837
|
/** Vision models: companion projector file. */
|
|
12631
12838
|
mmprojUrl: string().optional()
|
|
12632
12839
|
});
|
|
12840
|
+
/**
|
|
12841
|
+
* The outcome of turning one operator-typed Hugging Face reference into a
|
|
12842
|
+
* download plan. A RESULT, never a throw: "this repo has 24 quantizations and
|
|
12843
|
+
* I will not pick for you" is a normal answer the UI has to render, not an
|
|
12844
|
+
* exception.
|
|
12845
|
+
*
|
|
12846
|
+
* `candidates` is the whole reason the refusal is usable — every string in it
|
|
12847
|
+
* is a tag that resolves when pasted back as `<org>/<repo>:<TAG>`.
|
|
12848
|
+
*/
|
|
12849
|
+
var HfModelResolutionSchema = discriminatedUnion("ok", [object({
|
|
12850
|
+
ok: literal(true),
|
|
12851
|
+
/** Ready to hand to `installModel` unchanged. */
|
|
12852
|
+
model: ManagedModelRefSchema,
|
|
12853
|
+
label: string(),
|
|
12854
|
+
repo: string(),
|
|
12855
|
+
quantization: string(),
|
|
12856
|
+
purpose: _enum(["text", "vision"]),
|
|
12857
|
+
totalBytes: number(),
|
|
12858
|
+
/** mmproj + shards, for the preview: an operator approving 23 GB should
|
|
12859
|
+
* see that 0.9 GB of it is a projector they did not name. */
|
|
12860
|
+
extraFilenames: array(string())
|
|
12861
|
+
}), object({
|
|
12862
|
+
ok: literal(false),
|
|
12863
|
+
code: string(),
|
|
12864
|
+
message: string(),
|
|
12865
|
+
candidates: array(string()).optional(),
|
|
12866
|
+
/** Set when the refusal was only the ceiling: re-calling with
|
|
12867
|
+
* `maxBytes: requiredBytes` is the operator's explicit override. */
|
|
12868
|
+
requiredBytes: number().optional()
|
|
12869
|
+
})]);
|
|
12633
12870
|
var LlmRuntimeNodeSchema = object({
|
|
12634
12871
|
nodeId: string(),
|
|
12635
12872
|
reachable: boolean(),
|
|
@@ -12642,7 +12879,10 @@ var ProfileRefInputSchema = object({
|
|
|
12642
12879
|
addonId: string(),
|
|
12643
12880
|
profileId: string()
|
|
12644
12881
|
});
|
|
12645
|
-
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12882
|
+
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12883
|
+
addonId: string().optional(),
|
|
12884
|
+
requestId: string()
|
|
12885
|
+
}), _void(), { kind: "mutation" }), method(object({}), array(LlmProfileKindDescriptorSchema)), method(object({}), array(LlmProfileSchema)), method(object({ profile: LlmProfileSchema }), LlmProfileSchema, {
|
|
12646
12886
|
kind: "mutation",
|
|
12647
12887
|
auth: "admin"
|
|
12648
12888
|
}), method(ProfileRefInputSchema, _void(), {
|
|
@@ -12663,6 +12903,15 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }
|
|
|
12663
12903
|
consumer: string().optional(),
|
|
12664
12904
|
profileId: string().optional()
|
|
12665
12905
|
}), array(LlmUsageRollupSchema)), method(object({}), array(ManagedModelCatalogEntrySchema)), method(object({}), array(LlmRuntimeNodeSchema)), method(object({ nodeId: string() }), array(LlmNodeModelSchema)), method(object({
|
|
12906
|
+
/** `https://huggingface.co/<org>/<repo>/resolve/main/<f>.gguf`,
|
|
12907
|
+
* `<org>/<repo>/<f>.gguf`, `<org>/<repo>` or `<org>/<repo>:<QUANT>`. */
|
|
12908
|
+
ref: string(),
|
|
12909
|
+
/** Explicit ceiling override, in bytes. Absent = the built-in ceiling. */
|
|
12910
|
+
maxBytes: number().positive().optional()
|
|
12911
|
+
}), HfModelResolutionSchema, {
|
|
12912
|
+
kind: "mutation",
|
|
12913
|
+
auth: "admin"
|
|
12914
|
+
}), method(object({
|
|
12666
12915
|
nodeId: string(),
|
|
12667
12916
|
model: ManagedModelRefSchema
|
|
12668
12917
|
}), _void(), {
|
|
@@ -13222,11 +13471,33 @@ var NotificationFormatSchema = _enum([
|
|
|
13222
13471
|
* Named by INTENT, never by glyph. "check" would tie the vocabulary to one
|
|
13223
13472
|
* renderer's icon set; "acknowledge" survives an adapter that draws it
|
|
13224
13473
|
* differently.
|
|
13474
|
+
*
|
|
13475
|
+
* ── A TOKEN IS NOT A WIRE VALUE ─────────────────────────────────────
|
|
13476
|
+
*
|
|
13477
|
+
* These names are for US. **No adapter may forward one verbatim.** Each maps
|
|
13478
|
+
* the whole set onto its own renderer's vocabulary through a
|
|
13479
|
+
* `Record<NotificationActionIcon, string>` — a Record, never a lookup with a
|
|
13480
|
+
* fallback, so adding a member here fails every adapter's build until someone
|
|
13481
|
+
* decides its glyph, which is the only place that decision can be made
|
|
13482
|
+
* honestly.
|
|
13483
|
+
*
|
|
13484
|
+
* This paragraph is the bug. Zentik declared `actionIcons: true` and passed
|
|
13485
|
+
* `disarm` straight through; iOS feeds that string to
|
|
13486
|
+
* `UNNotificationActionIcon(systemImageName:)`, `disarm` is not an SF Symbol,
|
|
13487
|
+
* and every snooze and alarm button arrived BLANK. A pass-through is not a
|
|
13488
|
+
* mapping, and "the field is documented" is not "the value renders".
|
|
13489
|
+
*
|
|
13490
|
+
* Adding a member is TRAIN-BOUND. The enum lives in the published
|
|
13491
|
+
* `@camstack/server` closure and the cap seam validates against the HUB's copy,
|
|
13492
|
+
* so an addon that emits a token the running hub does not know does not lose an
|
|
13493
|
+
* icon — its whole `send` fails Zod validation and the notification never
|
|
13494
|
+
* arrives. Never emit a new token from an addon before the train carrying it.
|
|
13225
13495
|
*/
|
|
13226
13496
|
var NotificationActionIconSchema = _enum([
|
|
13227
13497
|
"acknowledge",
|
|
13228
13498
|
"dismiss",
|
|
13229
13499
|
"silence",
|
|
13500
|
+
"snooze",
|
|
13230
13501
|
"view",
|
|
13231
13502
|
"play",
|
|
13232
13503
|
"open",
|
|
@@ -13234,9 +13505,13 @@ var NotificationActionIconSchema = _enum([
|
|
|
13234
13505
|
"lock",
|
|
13235
13506
|
"unlock",
|
|
13236
13507
|
"arm",
|
|
13508
|
+
"arm-home",
|
|
13509
|
+
"arm-away",
|
|
13510
|
+
"arm-night",
|
|
13237
13511
|
"disarm",
|
|
13238
13512
|
"light",
|
|
13239
|
-
"alert"
|
|
13513
|
+
"alert",
|
|
13514
|
+
"camera"
|
|
13240
13515
|
]);
|
|
13241
13516
|
/** A single tap-through action button. */
|
|
13242
13517
|
var NotificationActionSchema = object({
|
|
@@ -13436,6 +13711,24 @@ method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSche
|
|
|
13436
13711
|
targetId: string(),
|
|
13437
13712
|
enabled: boolean()
|
|
13438
13713
|
}), _void(), { kind: "mutation" });
|
|
13714
|
+
new Set([
|
|
13715
|
+
{
|
|
13716
|
+
id: "person",
|
|
13717
|
+
name: "Person"
|
|
13718
|
+
},
|
|
13719
|
+
{
|
|
13720
|
+
id: "vehicle",
|
|
13721
|
+
name: "Vehicle"
|
|
13722
|
+
},
|
|
13723
|
+
{
|
|
13724
|
+
id: "animal",
|
|
13725
|
+
name: "Animal"
|
|
13726
|
+
},
|
|
13727
|
+
{
|
|
13728
|
+
id: "package",
|
|
13729
|
+
name: "Package"
|
|
13730
|
+
}
|
|
13731
|
+
].map((l) => l.id));
|
|
13439
13732
|
var COCO_TO_MACRO = {
|
|
13440
13733
|
mapping: {
|
|
13441
13734
|
person: "person",
|
|
@@ -14266,11 +14559,15 @@ var NcSystemEventKindSchema = _enum([
|
|
|
14266
14559
|
"stream-offline",
|
|
14267
14560
|
"node-online",
|
|
14268
14561
|
"node-offline",
|
|
14562
|
+
"node-inference-unavailable",
|
|
14563
|
+
"detection-blind",
|
|
14269
14564
|
"addon-update-available",
|
|
14270
14565
|
"server-update-available",
|
|
14271
14566
|
"alarm-triggered",
|
|
14272
14567
|
"alarm-armed",
|
|
14273
14568
|
"alarm-disarmed",
|
|
14569
|
+
"alarm-arming",
|
|
14570
|
+
"alarm-arm-refused",
|
|
14274
14571
|
"camera-online",
|
|
14275
14572
|
"camera-offline",
|
|
14276
14573
|
"camera-disabled",
|
|
@@ -14325,7 +14622,16 @@ var NcScheduleSchema = object({
|
|
|
14325
14622
|
});
|
|
14326
14623
|
/** Fuzzy plate matcher — OCR noise makes exact match useless (spec row 12/13). */
|
|
14327
14624
|
var NcPlateMatcherSchema = object({
|
|
14328
|
-
|
|
14625
|
+
/**
|
|
14626
|
+
* Plate texts (or gallery vehicle names) to match. EMPTY = **any plate the
|
|
14627
|
+
* pipeline could read** — the plate half of "no selection = no narrowing",
|
|
14628
|
+
* and the switch that says this rule is about vehicles that were IDENTIFIED
|
|
14629
|
+
* rather than merely seen. A subject carrying no plate still fails.
|
|
14630
|
+
*
|
|
14631
|
+
* The `.min(1)` this used to carry made that state unauthorable; nothing has
|
|
14632
|
+
* ever persisted an empty list, so widening it cannot change an existing rule.
|
|
14633
|
+
*/
|
|
14634
|
+
values: array(string().min(1)),
|
|
14329
14635
|
/** Max Levenshtein distance after normalization (uppercase alphanumeric). */
|
|
14330
14636
|
maxDistance: number().int().min(0).max(3).default(1)
|
|
14331
14637
|
});
|
|
@@ -14359,28 +14665,36 @@ var NcOccupancyConditionSchema = object({
|
|
|
14359
14665
|
/**
|
|
14360
14666
|
* Audio condition (IMMEDIATE trigger) — a rule on SOUND, not on a picture.
|
|
14361
14667
|
*
|
|
14362
|
-
*
|
|
14363
|
-
*
|
|
14364
|
-
*
|
|
14365
|
-
*
|
|
14366
|
-
*
|
|
14367
|
-
*
|
|
14368
|
-
*
|
|
14369
|
-
*
|
|
14370
|
-
*
|
|
14371
|
-
*
|
|
14372
|
-
*
|
|
14373
|
-
*
|
|
14374
|
-
*
|
|
14375
|
-
*
|
|
14376
|
-
*
|
|
14377
|
-
*
|
|
14378
|
-
*
|
|
14379
|
-
*
|
|
14380
|
-
*
|
|
14381
|
-
*
|
|
14382
|
-
*
|
|
14383
|
-
* `
|
|
14668
|
+
* **TWO EXCLUSIVE MODES** (operator decision 2026-08-14, D157). Which one a
|
|
14669
|
+
* rule is in is not a stored field — it is WHICH FILTER the rule carries, so
|
|
14670
|
+
* there is no second switch that can disagree with the first and every rule
|
|
14671
|
+
* authored before the decision migrates for free (`audioModeOf`):
|
|
14672
|
+
*
|
|
14673
|
+
* - **LABEL mode — `labels` present.** The rule fires on the FIRST frame the
|
|
14674
|
+
* classifier labels with one of them. No window, no percentage:
|
|
14675
|
+
* `hitPercent` and `samplingSeconds` are ignored, and the rule's own
|
|
14676
|
+
* `throttle` cooldown is the only brake. The per-label confidence floor is
|
|
14677
|
+
* the analyzer's (`classificationMinScore`, per device) — a label only
|
|
14678
|
+
* reaches this condition if the classifier was already confident enough.
|
|
14679
|
+
* - **LEVEL mode — `dbThreshold` present, no labels.** The sampling window IS
|
|
14680
|
+
* the condition: at least `hitPercent`% of the samples over
|
|
14681
|
+
* `samplingSeconds` must be at or above `dbThreshold` dBFS (see
|
|
14682
|
+
* {@link NC_AUDIO_DBFS_FLOOR}: negative-going, `0` = full scale). The window
|
|
14683
|
+
* must be FULL before it can match — a window open for two of its ten
|
|
14684
|
+
* seconds is 100% of nothing.
|
|
14685
|
+
*
|
|
14686
|
+
* **Why label mode has no window.** It had one, and it never fired: the
|
|
14687
|
+
* analyzer emits ~1 audio frame per second but YAMNet only LABELS one to three
|
|
14688
|
+
* of them per episode, even through continuous crying. The measured maximum
|
|
14689
|
+
* `hitPercent` over the whole live history was 40 — under the shipped default
|
|
14690
|
+
* of 60, so a label rule could not fire at all, ever. A percentage of frames is
|
|
14691
|
+
* the wrong question to ask of a sparse classifier.
|
|
14692
|
+
*
|
|
14693
|
+
* **Fail-closed when NEITHER is given** — every sample would be a trivial hit
|
|
14694
|
+
* and the rule would fire on silence. The schema cannot express "exactly one
|
|
14695
|
+
* of" without becoming a ZodEffects the cap path would have to special-case, so
|
|
14696
|
+
* the exclusivity is enforced where every editor writes (`patchAudio`) and a
|
|
14697
|
+
* legacy rule carrying both resolves to LABEL (the mode that fires).
|
|
14384
14698
|
*
|
|
14385
14699
|
* Labels are the audio macro classes (`AUDIO_MACRO_LABELS` / the NC taxonomy's
|
|
14386
14700
|
* `audio-*` ids). Both spellings are accepted — the matcher normalizes the
|
|
@@ -14388,13 +14702,13 @@ var NcOccupancyConditionSchema = object({
|
|
|
14388
14702
|
* an operator who typed `dog` mean the same thing.
|
|
14389
14703
|
*/
|
|
14390
14704
|
var NcAudioConditionSchema = object({
|
|
14391
|
-
/**
|
|
14705
|
+
/** LABEL MODE: audio macro labels. Present ⇒ fires on the first labelled frame. */
|
|
14392
14706
|
labels: array(string().min(1)).min(1).optional(),
|
|
14393
|
-
/**
|
|
14707
|
+
/** LEVEL MODE: floor in dBFS (negative-going, `0` = full scale). */
|
|
14394
14708
|
dbThreshold: number().min(-96).max(0).optional(),
|
|
14395
|
-
/**
|
|
14709
|
+
/** LEVEL MODE ONLY: percentage of the window's samples that must be hits (1–100). */
|
|
14396
14710
|
hitPercent: number().int().min(1).max(100).default(60),
|
|
14397
|
-
/**
|
|
14711
|
+
/** LEVEL MODE ONLY: length of the sampling window in seconds. */
|
|
14398
14712
|
samplingSeconds: number().int().min(1).max(300).default(10)
|
|
14399
14713
|
});
|
|
14400
14714
|
/**
|
|
@@ -14532,13 +14846,81 @@ var NcRuleActionsSchema = object({
|
|
|
14532
14846
|
*/
|
|
14533
14847
|
buttons: array(NcRuleNotificationButtonSchema).max(8).optional()
|
|
14534
14848
|
});
|
|
14849
|
+
/**
|
|
14850
|
+
* "This rule applies only while `deviceId` is in one of `states`."
|
|
14851
|
+
*
|
|
14852
|
+
* The states are the DEVICE's own vocabulary — `AlarmState` for a panel,
|
|
14853
|
+
* `on`/`off` for a switch — not a normalised set, because normalising would
|
|
14854
|
+
* make the condition lie about devices whose states have no equivalent.
|
|
14855
|
+
*
|
|
14856
|
+
* An unreadable state does NOT match: see the engine's fail-closed gate. A
|
|
14857
|
+
* condition that fired on "I could not read it" would be worse than no gate.
|
|
14858
|
+
*/
|
|
14859
|
+
var NcDeviceStateConditionSchema = object({
|
|
14860
|
+
deviceId: number().int(),
|
|
14861
|
+
/** Any of these matches. */
|
|
14862
|
+
states: array(string().min(1)).min(1)
|
|
14863
|
+
});
|
|
14864
|
+
/**
|
|
14865
|
+
* "This rule applies only while scene `sceneId` is `matched` / `diverged`."
|
|
14866
|
+
*
|
|
14867
|
+
* A GATE, not a trigger. `occupancy` and `audio` each DISCRIMINATE their rule —
|
|
14868
|
+
* carrying one makes the rule fire on that subject and nothing else. Scene is
|
|
14869
|
+
* the other shape entirely, the `deviceState` shape: it narrows a rule that
|
|
14870
|
+
* already has a trigger ("tell me about a person at the front door, but only
|
|
14871
|
+
* while the bin is still out"). That is why it composes with every delivery
|
|
14872
|
+
* instead of owning one, and why no new `NcDelivery` member and no new subject
|
|
14873
|
+
* kind exist for it — see D159.
|
|
14874
|
+
*
|
|
14875
|
+
* ── Identity ───────────────────────────────────────────────────────────────
|
|
14876
|
+
* `sceneId` is `SceneMonitor.id`, a `randomUUID()` minted by `createScene` —
|
|
14877
|
+
* globally unique, so it needs no device to disambiguate it. `deviceId` is
|
|
14878
|
+
* carried as a HINT for the editor and for the log line, never as part of the
|
|
14879
|
+
* lookup key: a rule whose hint drifted must still gate correctly.
|
|
14880
|
+
*
|
|
14881
|
+
* ── Which boolean ──────────────────────────────────────────────────────────
|
|
14882
|
+
* `latched` ABSENT means "whatever the scene itself says" — `SceneMonitor.emit`
|
|
14883
|
+
* already declares which boolean drives notification rules, and a second knob
|
|
14884
|
+
* that could disagree with it is exactly the D62 failure. Set it only to
|
|
14885
|
+
* override one rule against the scene's own default.
|
|
14886
|
+
*
|
|
14887
|
+
* - LIVE reading (`emit`/`latched` resolve to live): passes iff
|
|
14888
|
+
* `verdict === requiredState`. `unknown` — no reference for this light, view
|
|
14889
|
+
* shifted, no snapshot — passes NEITHER. A scene that cannot judge is not
|
|
14890
|
+
* evidence, in either direction.
|
|
14891
|
+
* - LATCHED reading: passes iff `latched === (requiredState === 'diverged')`.
|
|
14892
|
+
* The latch is a durable fact about the past ("it has diverged since I armed
|
|
14893
|
+
* it"), so a camera that has gone dark does not clear it — that is the whole
|
|
14894
|
+
* reason the operator asked for a latch.
|
|
14895
|
+
*
|
|
14896
|
+
* The gate reads an in-memory mirror (`NcSceneStateCache`) refreshed OFF the
|
|
14897
|
+
* event path, never the cap: D49. A mirror that has never loaded, or a scene it
|
|
14898
|
+
* does not carry, reads absent and the rule does NOT fire — fail closed, and
|
|
14899
|
+
* said out loud in the log rather than dropped in silence.
|
|
14900
|
+
*/
|
|
14901
|
+
var NcSceneConditionSchema = object({
|
|
14902
|
+
/** `SceneMonitor.id` — the uuid the cap mints. The whole lookup key. */
|
|
14903
|
+
sceneId: string().min(1),
|
|
14904
|
+
/** The camera the scene lives on. A hint for the editor and the log line. */
|
|
14905
|
+
deviceId: number().int().optional(),
|
|
14906
|
+
/** The state the scene must be in for the rule to fire. */
|
|
14907
|
+
requiredState: _enum(["matched", "diverged"]),
|
|
14908
|
+
/**
|
|
14909
|
+
* Read the LATCH (`true`) or the LIVE verdict (`false`). Absent = follow the
|
|
14910
|
+
* scene's own `emit` field, which is the only place that decision belongs.
|
|
14911
|
+
*/
|
|
14912
|
+
latched: boolean().optional()
|
|
14913
|
+
});
|
|
14535
14914
|
var NcConditionsSchema = object({
|
|
14536
14915
|
/** Gate on ANOTHER device's current state (the alarm armed, a switch on). */
|
|
14537
|
-
deviceState:
|
|
14538
|
-
|
|
14539
|
-
|
|
14540
|
-
|
|
14541
|
-
|
|
14916
|
+
deviceState: NcDeviceStateConditionSchema.optional(),
|
|
14917
|
+
/**
|
|
14918
|
+
* Gate on a SCENE's state — "only while the bin is still out". Composes with
|
|
14919
|
+
* every trigger (detection, occupancy, audio, sensor, package, track-end);
|
|
14920
|
+
* unlike `occupancy`/`audio` it discriminates nothing. See
|
|
14921
|
+
* {@link NcSceneCondition} and D159.
|
|
14922
|
+
*/
|
|
14923
|
+
scene: NcSceneConditionSchema.optional(),
|
|
14542
14924
|
/** Device scope — absent = all devices. */
|
|
14543
14925
|
devices: array(number()).optional(),
|
|
14544
14926
|
/** Detector class names (any overlap with the record's class set). */
|
|
@@ -14564,18 +14946,47 @@ var NcConditionsSchema = object({
|
|
|
14564
14946
|
*/
|
|
14565
14947
|
labelEquals: array(string().min(1)).optional(),
|
|
14566
14948
|
/**
|
|
14567
|
-
*
|
|
14568
|
-
*
|
|
14569
|
-
*
|
|
14949
|
+
* KNOWN FACES — the rule's identity scope, and the switch that says the rule
|
|
14950
|
+
* is about recognised people at all.
|
|
14951
|
+
*
|
|
14952
|
+
* Three states, and the empty one is the point:
|
|
14953
|
+
*
|
|
14954
|
+
* | value | meaning |
|
|
14955
|
+
* | --- | --- |
|
|
14956
|
+
* | absent | the rule does not care who it is; an unrecognised person matches |
|
|
14957
|
+
* | `[]` | **only known faces** — any identity in the gallery, nobody in particular |
|
|
14958
|
+
* | a list | only these identities |
|
|
14959
|
+
*
|
|
14960
|
+
* `[]` is the repo-wide "no selection = no narrowing" reading (an absent
|
|
14961
|
+
* `devices` list is every device), applied one level down: the operator has
|
|
14962
|
+
* turned the face scope ON and narrowed it to nothing, which is every known
|
|
14963
|
+
* face. No second field states the same thing — a switch that can disagree
|
|
14964
|
+
* with the list under it is worse than no switch (D62).
|
|
14965
|
+
*
|
|
14966
|
+
* MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
|
|
14967
|
+
* renameable, and a rule authored on "Gianluca" went silently dark the moment
|
|
14968
|
+
* the operator fixed the spelling. The id reaches the record on
|
|
14969
|
+
* `LabelAttribution.identityId`; the name is what the editor shows and what
|
|
14970
|
+
* `{{label}}` renders.
|
|
14971
|
+
*
|
|
14972
|
+
* Rules written before this carry NAMES, and are resolved to ids lazily at
|
|
14973
|
+
* load (`NcRuleStore.load`) against the live gallery — a name nothing answers
|
|
14974
|
+
* for is left as it stands and reported, never dropped. The engine also
|
|
14975
|
+
* accepts a display-name hit as a compatibility leg, so a rule whose
|
|
14976
|
+
* migration could not resolve keeps matching exactly what it matched before.
|
|
14570
14977
|
*/
|
|
14571
14978
|
identities: array(string().min(1)).optional(),
|
|
14572
|
-
/**
|
|
14979
|
+
/**
|
|
14980
|
+
* KNOWN PLATES / VEHICLES — the plate mirror of {@link identities}, including
|
|
14981
|
+
* the empty-list reading: `values: []` is "any plate the OCR could read",
|
|
14982
|
+
* a non-empty list is those plates (fuzzily). See {@link NcPlateMatcherSchema}.
|
|
14983
|
+
*/
|
|
14573
14984
|
plates: NcPlateMatcherSchema.optional(),
|
|
14574
14985
|
/**
|
|
14575
|
-
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics
|
|
14576
|
-
*
|
|
14577
|
-
* identity
|
|
14578
|
-
*
|
|
14986
|
+
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics, and
|
|
14987
|
+
* the same id members and the same lazy name→id migration. A record with NO
|
|
14988
|
+
* identity passes (nothing to exclude), unlike the include variant which
|
|
14989
|
+
* fails on an unrecognised subject. An EMPTY list excludes nobody.
|
|
14579
14990
|
*/
|
|
14580
14991
|
identitiesExclude: array(string().min(1)).optional(),
|
|
14581
14992
|
/**
|
|
@@ -14967,7 +15378,80 @@ var NcRuleInputSchema = object({
|
|
|
14967
15378
|
* a rule that predates the gate must keep delivering byte-for-byte as it
|
|
14968
15379
|
* did, and absent is the only way to say that without a migration.
|
|
14969
15380
|
*/
|
|
14970
|
-
confirm: NcConfirmSchema.optional()
|
|
15381
|
+
confirm: NcConfirmSchema.optional(),
|
|
15382
|
+
/**
|
|
15383
|
+
* WAIT for face/plate recognition before saying anything.
|
|
15384
|
+
*
|
|
15385
|
+
* A notification's TEXT is frozen at enqueue and its media is re-resolved at
|
|
15386
|
+
* send; the identity is neither. A face is confirmed after `confirmFrames`
|
|
15387
|
+
* agreeing observations — p50 **11.4 s** after the track was first seen,
|
|
15388
|
+
* measured on this hub — and an `immediate` rule enqueues on the first object
|
|
15389
|
+
* event, seconds before that. So "Gianluca è arrivato" is unsayable on the
|
|
15390
|
+
* immediate path, and no amount of media re-resolution fixes a sentence.
|
|
15391
|
+
*
|
|
15392
|
+
* Only two honest answers exist, and this flag picks between them. It has
|
|
15393
|
+
* effect ONLY on a rule that declares a recognition scope
|
|
15394
|
+
* ({@link NcConditions.identities} or {@link NcConditions.plates}) — on any
|
|
15395
|
+
* other rule there is nothing to wait for and the flag is inert.
|
|
15396
|
+
*
|
|
15397
|
+
* | value | what happens |
|
|
15398
|
+
* | --- | --- |
|
|
15399
|
+
* | `true` | the rule stops firing on the object event and fires at TRACK CLOSE instead, once, with the name — later, and complete |
|
|
15400
|
+
* | 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) |
|
|
15401
|
+
*
|
|
15402
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15403
|
+
* on the addon cap path, and absent has to keep meaning exactly what every
|
|
15404
|
+
* rule authored before this field meant.
|
|
15405
|
+
*
|
|
15406
|
+
* The cost of `true` is stated here because the editor states it too: a rule
|
|
15407
|
+
* that waits also inherits track-close SEMANTICS — its `zones` condition
|
|
15408
|
+
* tests every zone the track visited and a `crossing` condition can no longer
|
|
15409
|
+
* be satisfied, because a closed track carries no crossing.
|
|
15410
|
+
*/
|
|
15411
|
+
waitForEnhancement: boolean().optional(),
|
|
15412
|
+
/**
|
|
15413
|
+
* GROUP a burst of subjects into ONE notification that grows.
|
|
15414
|
+
*
|
|
15415
|
+
* Seconds of quiet after the last matching subject before the burst is
|
|
15416
|
+
* considered over. While it is open, the first subject enqueues immediately —
|
|
15417
|
+
* **exactly as today, with no added latency** — and every real growth (a new
|
|
15418
|
+
* subject, or a name confirmed on one already in it) REPLACES that
|
|
15419
|
+
* notification with an updated one naming everybody. The push carries the
|
|
15420
|
+
* group's own coalescing tag, so the phone replaces rather than stacks.
|
|
15421
|
+
*
|
|
15422
|
+
* `0` / absent = off, and off is today's behaviour byte for byte.
|
|
15423
|
+
*
|
|
15424
|
+
* ### Why an idle cutoff and not a window
|
|
15425
|
+
*
|
|
15426
|
+
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
15427
|
+
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
15428
|
+
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
15429
|
+
* 30 is Frigate's shipped value for the same decision.
|
|
15430
|
+
*
|
|
15431
|
+
* ### What it replaces
|
|
15432
|
+
*
|
|
15433
|
+
* The blind cooldown, which collapses a burst by DISCARDING it. Measured on
|
|
15434
|
+
* device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
|
|
15435
|
+
* notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
|
|
15436
|
+
* track that did fire and 7 carrying a confirmed identity nobody heard about.
|
|
15437
|
+
* A group collapses the same volume by MERGING, so the cooldown becomes a
|
|
15438
|
+
* budget over GROUPS — which is what it always meant — and a growth is never
|
|
15439
|
+
* throttled by the window its own first member spent.
|
|
15440
|
+
*
|
|
15441
|
+
* ### Interaction with {@link waitForEnhancement}
|
|
15442
|
+
*
|
|
15443
|
+
* They compose, and the order matters. `waitForEnhancement` defers the rule to
|
|
15444
|
+
* TRACK CLOSE, so with both set the group is opened by the first member to
|
|
15445
|
+
* CLOSE — already carrying its name — and grows as later members close. That
|
|
15446
|
+
* is later, and complete. With grouping alone the group opens on the first
|
|
15447
|
+
* object event and picks up names as they are confirmed, through the growth
|
|
15448
|
+
* path. Neither combination fires twice for one subject.
|
|
15449
|
+
*
|
|
15450
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15451
|
+
* on the addon cap path, so absent must keep meaning what it meant before this
|
|
15452
|
+
* field existed.
|
|
15453
|
+
*/
|
|
15454
|
+
groupIdleSec: number().int().min(0).max(600).optional()
|
|
14971
15455
|
});
|
|
14972
15456
|
/**
|
|
14973
15457
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -15074,6 +15558,7 @@ var NcConditionDescriptorSchema = object({
|
|
|
15074
15558
|
"occupancy",
|
|
15075
15559
|
"audio",
|
|
15076
15560
|
"deviceState",
|
|
15561
|
+
"scene",
|
|
15077
15562
|
"systemEvent"
|
|
15078
15563
|
]),
|
|
15079
15564
|
operator: _enum([
|
|
@@ -15479,7 +15964,87 @@ var MethodAccessSchema = _enum([
|
|
|
15479
15964
|
var AllowedProviderSchema = union([literal("*"), array(string())]);
|
|
15480
15965
|
var AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
|
|
15481
15966
|
var CapScopeSchema = _enum(["device", "system"]);
|
|
15482
|
-
|
|
15967
|
+
/**
|
|
15968
|
+
* DeviceSelector (scope model v3 — 2026-08-12).
|
|
15969
|
+
*
|
|
15970
|
+
* A `device` grant no longer carries a frozen list of deviceIds. It carries
|
|
15971
|
+
* a SELECTOR the matcher resolves against the live fleet, so the grant can be
|
|
15972
|
+
* DYNAMIC: a `types:['camera']` selector automatically covers a camera added
|
|
15973
|
+
* AFTER the grant was minted — no re-grant, no re-login.
|
|
15974
|
+
*
|
|
15975
|
+
* - `all` — every device in the deployment. The broad viewer/operator
|
|
15976
|
+
* lever without a `category` grant (a `category` grant also covers device
|
|
15977
|
+
* caps that carry no deviceId; `all` is specifically the device set).
|
|
15978
|
+
* - `ids` — an explicit deviceId list. This is what a v2 `device:[…]`
|
|
15979
|
+
* grant migrates to (see {@link TokenScopeSchema}); STATIC — a new camera
|
|
15980
|
+
* is NOT covered until the grant is edited.
|
|
15981
|
+
* - `types` — every device of a `DeviceType` (e.g. every `camera`).
|
|
15982
|
+
* DYNAMIC. A device that changes type, or a new device of the type,
|
|
15983
|
+
* re-resolves on the next request.
|
|
15984
|
+
* - `locations` — every device whose operator-assigned `location` label is
|
|
15985
|
+
* in the set (e.g. "Garden", "Front door"). DYNAMIC. A device with a
|
|
15986
|
+
* null/unset location matches NO `locations` selector.
|
|
15987
|
+
*/
|
|
15988
|
+
var DeviceSelectorSchema = discriminatedUnion("kind", [
|
|
15989
|
+
object({ kind: literal("all") }),
|
|
15990
|
+
object({
|
|
15991
|
+
kind: literal("ids"),
|
|
15992
|
+
ids: array(number().int()).min(1)
|
|
15993
|
+
}),
|
|
15994
|
+
object({
|
|
15995
|
+
kind: literal("types"),
|
|
15996
|
+
types: array(_enum(DeviceType)).min(1)
|
|
15997
|
+
}),
|
|
15998
|
+
object({
|
|
15999
|
+
kind: literal("locations"),
|
|
16000
|
+
locations: array(string().min(1)).min(1)
|
|
16001
|
+
})
|
|
16002
|
+
]);
|
|
16003
|
+
var DeviceTokenScopeSchema = object({
|
|
16004
|
+
type: literal("device"),
|
|
16005
|
+
/** The device SET this grant covers — resolved against the live fleet. */
|
|
16006
|
+
selector: DeviceSelectorSchema,
|
|
16007
|
+
access: array(MethodAccessSchema).min(1),
|
|
16008
|
+
/**
|
|
16009
|
+
* Whether a grant on a PARENT device transparently covers its accessory
|
|
16010
|
+
* CHILDREN (siren / floodlight / PIR) via the persisted-parentage walk.
|
|
16011
|
+
* Direction is parent → children ONLY.
|
|
16012
|
+
*
|
|
16013
|
+
* Absent → the matcher DERIVES it from the access flavour: `view`
|
|
16014
|
+
* inherits (a camera viewer sees the camera's accessories), `create` /
|
|
16015
|
+
* `delete` do NOT (actuating/removing a child is an explicit act the
|
|
16016
|
+
* operator must grant on the child, not inherit from the parent). Set it
|
|
16017
|
+
* explicitly to override that default per grant.
|
|
16018
|
+
*/
|
|
16019
|
+
includeLinked: boolean().optional()
|
|
16020
|
+
});
|
|
16021
|
+
/**
|
|
16022
|
+
* v2 → v3 lazy migration. A pre-v3 `device` grant carried
|
|
16023
|
+
* `targets: string[]` (stringified deviceIds); it rewrites to the equivalent
|
|
16024
|
+
* `selector: {kind:'ids', ids}`. Applied as a `preprocess` so it runs on
|
|
16025
|
+
* EVERY parse path — stored records AND the JWT-carried scope arrays
|
|
16026
|
+
* normalised at the request boundary ({@link normalizeTokenScopes} in
|
|
16027
|
+
* `device-selector.ts`). Chosen over a one-time DB migration because a
|
|
16028
|
+
* migration cannot reach a JWT already in a client's hands; parse-time
|
|
16029
|
+
* migration covers both without a flag day. No cast — the raw object is read
|
|
16030
|
+
* through `Reflect.get` (its static type is `unknown`).
|
|
16031
|
+
*/
|
|
16032
|
+
function migrateLegacyTokenScope(raw) {
|
|
16033
|
+
if (raw === null || typeof raw !== "object" || Array.isArray(raw)) return raw;
|
|
16034
|
+
if (Reflect.get(raw, "type") !== "device") return raw;
|
|
16035
|
+
if (Reflect.get(raw, "selector") !== void 0) return raw;
|
|
16036
|
+
const targets = Reflect.get(raw, "targets");
|
|
16037
|
+
if (!Array.isArray(targets)) return raw;
|
|
16038
|
+
return {
|
|
16039
|
+
type: "device",
|
|
16040
|
+
selector: {
|
|
16041
|
+
kind: "ids",
|
|
16042
|
+
ids: targets.map((t) => typeof t === "string" ? Number(t) : t).filter((n) => typeof n === "number" && Number.isInteger(n))
|
|
16043
|
+
},
|
|
16044
|
+
access: Reflect.get(raw, "access")
|
|
16045
|
+
};
|
|
16046
|
+
}
|
|
16047
|
+
var TokenScopeSchema = preprocess(migrateLegacyTokenScope, discriminatedUnion("type", [
|
|
15483
16048
|
object({
|
|
15484
16049
|
type: literal("category"),
|
|
15485
16050
|
target: CapScopeSchema,
|
|
@@ -15495,18 +16060,8 @@ var TokenScopeSchema = discriminatedUnion("type", [
|
|
|
15495
16060
|
target: string(),
|
|
15496
16061
|
access: array(MethodAccessSchema).min(1)
|
|
15497
16062
|
}),
|
|
15498
|
-
|
|
15499
|
-
|
|
15500
|
-
/**
|
|
15501
|
-
* One or more deviceIds (serialised as strings for wire-format
|
|
15502
|
-
* consistency with the rest of the union). Matcher accepts if
|
|
15503
|
-
* `input.deviceId` ∈ `targets`. Array shape avoids the row-explosion
|
|
15504
|
-
* of one scope-per-device when granting access to a set of cameras.
|
|
15505
|
-
*/
|
|
15506
|
-
targets: array(string()).min(1),
|
|
15507
|
-
access: array(MethodAccessSchema).min(1)
|
|
15508
|
-
})
|
|
15509
|
-
]);
|
|
16063
|
+
DeviceTokenScopeSchema
|
|
16064
|
+
]));
|
|
15510
16065
|
object({
|
|
15511
16066
|
id: string(),
|
|
15512
16067
|
username: string(),
|
|
@@ -15823,7 +16378,7 @@ var TrackEnvelopeSchema = object({
|
|
|
15823
16378
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
15824
16379
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
15825
16380
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
15826
|
-
* zonesVisited, bestEventId, envelope, hasFace) and returns `positions` /
|
|
16381
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
15827
16382
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
15828
16383
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
15829
16384
|
* (`getObjectEvents` et al.).
|
|
@@ -15959,7 +16514,21 @@ union([literal(1), literal(2)]);
|
|
|
15959
16514
|
var LabelAttributionSchema = object({
|
|
15960
16515
|
stepId: string(),
|
|
15961
16516
|
modelId: string().optional(),
|
|
15962
|
-
decidedAt: number()
|
|
16517
|
+
decidedAt: number(),
|
|
16518
|
+
/**
|
|
16519
|
+
* The GALLERY id behind a recognised tier-2 label — a face-gallery
|
|
16520
|
+
* `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
|
|
16521
|
+
*
|
|
16522
|
+
* The text alone is a DISPLAY NAME, and a display name is renameable: a
|
|
16523
|
+
* notification rule authored on "Gianluca" stopped matching the moment the
|
|
16524
|
+
* operator fixed the spelling in the gallery, and nothing said so. The id is
|
|
16525
|
+
* the thing that does not move, so it is what a rule matches on
|
|
16526
|
+
* (`NcConditions.identities`) and the text is what a human is shown.
|
|
16527
|
+
*
|
|
16528
|
+
* Absent when the label names no gallery row — a plate the OCR read but no
|
|
16529
|
+
* vehicle claims, a sub-class, a species, any tier-1 value.
|
|
16530
|
+
*/
|
|
16531
|
+
identityId: string().optional()
|
|
15963
16532
|
});
|
|
15964
16533
|
/**
|
|
15965
16534
|
* The TIERED label model (roadmap 4g), spread into `TrackSchema` and
|
|
@@ -16096,6 +16665,28 @@ var TrackSchema = object({
|
|
|
16096
16665
|
* `=== true` and render nothing otherwise, never infer "no face".
|
|
16097
16666
|
*/
|
|
16098
16667
|
hasFace: boolean().optional(),
|
|
16668
|
+
/**
|
|
16669
|
+
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
16670
|
+
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
16671
|
+
* so the passage is tracked once and as a VEHICLE.
|
|
16672
|
+
*
|
|
16673
|
+
* It exists because the fold's record was dishonest. D34 and the code both
|
|
16674
|
+
* said "the person is not lost — it is reported so both entities stay on the
|
|
16675
|
+
* record"; in fact the pair went into a per-processor RAM field behind an
|
|
16676
|
+
* accessor nobody called, and every durable surface said `vehicle`, full
|
|
16677
|
+
* stop. This is the composition note that makes the row true.
|
|
16678
|
+
*
|
|
16679
|
+
* A COMPOSITION, never a class and never a label. "This vehicle contains a
|
|
16680
|
+
* person" is not an answer to "what is this" — both label tiers would refuse
|
|
16681
|
+
* a macro token anyway (D89), and correctly. Nothing here changes what the
|
|
16682
|
+
* subject IS: a cyclist stays one vehicle track, occupancy still counts one,
|
|
16683
|
+
* and a `person` rule still does not fire for someone cycling past.
|
|
16684
|
+
*
|
|
16685
|
+
* **Absent ≠ false**, exactly like {@link hasFace}: every row written before
|
|
16686
|
+
* the column, and every hub that predates the field, omits it. Test
|
|
16687
|
+
* `=== true` and render nothing otherwise — never infer "no rider".
|
|
16688
|
+
*/
|
|
16689
|
+
hasRider: boolean().optional(),
|
|
16099
16690
|
...TrackFlagFields,
|
|
16100
16691
|
...TrackRetrainFields
|
|
16101
16692
|
});
|
|
@@ -16445,7 +17036,10 @@ var RecentTracksQueryInput = object({
|
|
|
16445
17036
|
* Encodes the (lastSeen, trackId) sort position — treat as opaque. */
|
|
16446
17037
|
cursor: string().optional(),
|
|
16447
17038
|
/** See {@link TrackProjectionSchema}. Default `full`. */
|
|
16448
|
-
projection: TrackProjectionSchema.optional()
|
|
17039
|
+
projection: TrackProjectionSchema.optional(),
|
|
17040
|
+
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
17041
|
+
* feed lists passages; parking records live on the stationary registry. */
|
|
17042
|
+
includeStationary: boolean().optional()
|
|
16449
17043
|
});
|
|
16450
17044
|
var RecentTracksPageSchema = object({
|
|
16451
17045
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -16663,7 +17257,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16663
17257
|
zone: TrackZoneFilterSchema.optional(),
|
|
16664
17258
|
/** See {@link TrackProjectionSchema}. Default `full` (backward
|
|
16665
17259
|
* compatible — omitting the field keeps today's exact behaviour). */
|
|
16666
|
-
projection: TrackProjectionSchema.optional()
|
|
17260
|
+
projection: TrackProjectionSchema.optional(),
|
|
17261
|
+
/** Include stationary-promoted rows (parked objects handed to the
|
|
17262
|
+
* stationary registry). Default false: the timeline lists passages,
|
|
17263
|
+
* not parking records (operator decision, 2026-08-15). */
|
|
17264
|
+
includeStationary: boolean().optional()
|
|
16667
17265
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
16668
17266
|
kind: "mutation",
|
|
16669
17267
|
auth: "admin"
|
|
@@ -16827,11 +17425,16 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16827
17425
|
auth: "admin"
|
|
16828
17426
|
}), method(object({
|
|
16829
17427
|
eventId: string(),
|
|
16830
|
-
kind: MediaFileKindEnum.optional()
|
|
17428
|
+
kind: MediaFileKindEnum.optional(),
|
|
17429
|
+
deviceId: number()
|
|
16831
17430
|
}), array(MediaFileSchema).readonly()), method(object({
|
|
16832
17431
|
trackId: string(),
|
|
16833
|
-
kinds: array(MediaFileKindEnum).optional()
|
|
16834
|
-
|
|
17432
|
+
kinds: array(MediaFileKindEnum).optional(),
|
|
17433
|
+
deviceId: number()
|
|
17434
|
+
}), array(MediaFileSchema).readonly()), method(object({
|
|
17435
|
+
trackId: string(),
|
|
17436
|
+
deviceId: number()
|
|
17437
|
+
}), array(MediaFileInfoSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), method(object({}), WipeObjectEmbeddingsResultSchema, {
|
|
16835
17438
|
kind: "mutation",
|
|
16836
17439
|
auth: "admin"
|
|
16837
17440
|
}), method(RebuildObjectEmbeddingsInput, RebuildObjectEmbeddingsResultSchema, {
|
|
@@ -17531,6 +18134,17 @@ var maxSessionHoldMsField = {
|
|
|
17531
18134
|
default: 12e4,
|
|
17532
18135
|
step: 5e3
|
|
17533
18136
|
};
|
|
18137
|
+
/**
|
|
18138
|
+
* Quiet period that closes an `audioMode: 'on-motion'` audio window. Floor of
|
|
18139
|
+
* 5s so a rearm can never degenerate into per-event stream churn; default 90s
|
|
18140
|
+
* comfortably outlives the gap between two PIR wakes on a battery camera.
|
|
18141
|
+
*/
|
|
18142
|
+
var audioMotionWindowMsField = {
|
|
18143
|
+
min: 5e3,
|
|
18144
|
+
max: 6e5,
|
|
18145
|
+
default: 9e4,
|
|
18146
|
+
step: 5e3
|
|
18147
|
+
};
|
|
17534
18148
|
var motionFpsField = {
|
|
17535
18149
|
min: 1,
|
|
17536
18150
|
max: 30,
|
|
@@ -17543,10 +18157,26 @@ var detectionFpsField = {
|
|
|
17543
18157
|
default: 10,
|
|
17544
18158
|
step: 1
|
|
17545
18159
|
};
|
|
18160
|
+
/**
|
|
18161
|
+
* The occupancy re-check interval. DEFAULT 300 s (2026-08-13 — was 30 s).
|
|
18162
|
+
*
|
|
18163
|
+
* The recheck is now on by default (a parked car is invisible to occupancy
|
|
18164
|
+
* rules until the stationary registry has been rebuilt by motion, which after a
|
|
18165
|
+
* restart may be never on a quiet camera). Each cycle re-subscribes a detection
|
|
18166
|
+
* session — an RTSP re-dial — so the switch is only affordable at a WIDE
|
|
18167
|
+
* interval: 300 s is ~12 re-dials an hour per camera, against 120 at the old
|
|
18168
|
+
* 30 s. A parked car is therefore counted within 5 minutes of a restart.
|
|
18169
|
+
*
|
|
18170
|
+
* Why not wider: `max` is 300 and raising it is TRAIN-BOUND, not addon-bound —
|
|
18171
|
+
* the host validates `attachCamera` against ITS copy of this schema, so a
|
|
18172
|
+
* runner asked for 600 would be rejected by the hub until a `@camstack/server`
|
|
18173
|
+
* carrying the wider bound is installed everywhere. 300 is the widest value
|
|
18174
|
+
* that ships with an addon deploy.
|
|
18175
|
+
*/
|
|
17546
18176
|
var occupancyRecheckSecField = {
|
|
17547
18177
|
min: 0,
|
|
17548
18178
|
max: 300,
|
|
17549
|
-
default:
|
|
18179
|
+
default: 300,
|
|
17550
18180
|
step: 5
|
|
17551
18181
|
};
|
|
17552
18182
|
var occupancyRecheckFramesField = {
|
|
@@ -17691,6 +18321,27 @@ var RunnerCameraConfigSchema = object({
|
|
|
17691
18321
|
* resolved `CameraDetectionConfig`.
|
|
17692
18322
|
*/
|
|
17693
18323
|
maxSessionHoldMs: number().min(maxSessionHoldMsField.min).max(maxSessionHoldMsField.max).optional(),
|
|
18324
|
+
/**
|
|
18325
|
+
* Orchestrator-side quiet period (ms) that closes an `audioMode:
|
|
18326
|
+
* 'on-motion'` audio window, measured from the LAST motion event.
|
|
18327
|
+
*
|
|
18328
|
+
* This exists because the falling edge cannot be relied on. Camera-native
|
|
18329
|
+
* providers emit motion as a RISING EDGE ONLY (Reolink's Baichuan push and
|
|
18330
|
+
* its email-push SMTP path both emit `detected: true` and never the
|
|
18331
|
+
* counterpart); only the frame-diff analyzer emits falls. So on an
|
|
18332
|
+
* onboard-only camera a window that closed only on `detected: false` never
|
|
18333
|
+
* closed at all, and `on-motion` silently behaved as `always-on` — on a
|
|
18334
|
+
* battery camera, the one failure mode the mode exists to prevent.
|
|
18335
|
+
*
|
|
18336
|
+
* Every motion event rearms this timer WITHOUT restarting the stream, so a
|
|
18337
|
+
* burst of re-fires costs nothing. A falling edge, when one does arrive,
|
|
18338
|
+
* still closes earlier via `motionCooldownMs` — whichever comes first wins.
|
|
18339
|
+
*
|
|
18340
|
+
* Not consumed by the runner: carried here so it shares the per-camera
|
|
18341
|
+
* device-settings surface with `motionCooldownMs`, exactly like
|
|
18342
|
+
* `maxSessionHoldMs`.
|
|
18343
|
+
*/
|
|
18344
|
+
audioMotionWindowMs: number().min(audioMotionWindowMsField.min).max(audioMotionWindowMsField.max).optional(),
|
|
17694
18345
|
motionFps: number().min(motionFpsField.min).max(motionFpsField.max).default(motionFpsField.default),
|
|
17695
18346
|
detectionFps: number().min(detectionFpsField.min).max(detectionFpsField.max).default(detectionFpsField.default),
|
|
17696
18347
|
motionStreamId: string(),
|
|
@@ -17744,15 +18395,21 @@ var RunnerCameraConfigSchema = object({
|
|
|
17744
18395
|
*/
|
|
17745
18396
|
onboardMotionDrivesAnalyzer: boolean().default(true),
|
|
17746
18397
|
/**
|
|
17747
|
-
* Master toggle for the occupancy re-check. When `false`
|
|
17748
|
-
*
|
|
17749
|
-
* this is off by default because the recheck re-subscribes a detection session
|
|
17750
|
-
* every N seconds while `watching`, a major source of pull-decoder re-dial
|
|
17751
|
-
* churn (each cycle creates+tears a session → RTSP re-dial → latency). The
|
|
18398
|
+
* Master toggle for the occupancy re-check. When `false` the runner never arms
|
|
18399
|
+
* the periodic recheck timer, regardless of `occupancyRecheckSec`; the
|
|
17752
18400
|
* `occupancyRecheckSec` / `occupancyRecheckFrames` sliders only take effect
|
|
17753
18401
|
* (and only render) when this is enabled.
|
|
17754
|
-
|
|
17755
|
-
|
|
18402
|
+
*
|
|
18403
|
+
* DEFAULT `true` since 2026-08-13 (was `false`). It was off because the
|
|
18404
|
+
* recheck re-subscribes a detection session every N seconds while `watching`
|
|
18405
|
+
* — each cycle creates+tears a session ⇒ an RTSP re-dial ⇒ latency, a major
|
|
18406
|
+
* pull-decoder churn source. What that bought was a blind spot: a STATIONARY
|
|
18407
|
+
* object is counted only while the stationary registry holds it, and the
|
|
18408
|
+
* registry rebuilds from motion, so after a restart a parked car was invisible
|
|
18409
|
+
* to every occupancy rule until something moved in front of it. The churn is
|
|
18410
|
+
* now paid on the interval instead — see `occupancyRecheckSecField`.
|
|
18411
|
+
*/
|
|
18412
|
+
occupancyRecheckEnabled: boolean().default(true),
|
|
17756
18413
|
occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
|
|
17757
18414
|
occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
|
|
17758
18415
|
/**
|
|
@@ -17780,7 +18437,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
17780
18437
|
*/
|
|
17781
18438
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
17782
18439
|
});
|
|
17783
|
-
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;
|
|
18440
|
+
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;
|
|
17784
18441
|
/**
|
|
17785
18442
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
17786
18443
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
|
@@ -18885,7 +19542,16 @@ targets: array(object({
|
|
|
18885
19542
|
/** A sleeping battery camera: the frame is deliberately stale and will
|
|
18886
19543
|
* NOT refresh in the background. A surface should say so rather than
|
|
18887
19544
|
* present it as current. */
|
|
18888
|
-
sleeping: boolean()
|
|
19545
|
+
sleeping: boolean(),
|
|
19546
|
+
/** Current device state rendered over the cached frame. State images
|
|
19547
|
+
* remain authoritative even when their photographic background is
|
|
19548
|
+
* old; null means the link must carry a current camera frame. */
|
|
19549
|
+
stateReason: _enum([
|
|
19550
|
+
"disabled",
|
|
19551
|
+
"sleeping",
|
|
19552
|
+
"unreachable",
|
|
19553
|
+
"waking"
|
|
19554
|
+
]).nullable()
|
|
18889
19555
|
})))
|
|
18890
19556
|
},
|
|
18891
19557
|
status: {
|
|
@@ -20588,6 +21254,25 @@ var BatteryStatusSchema = object({
|
|
|
20588
21254
|
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
20589
21255
|
lastUpdated: number(),
|
|
20590
21256
|
/**
|
|
21257
|
+
* Ms epoch of the last time the device PROVED it was reachable — a
|
|
21258
|
+
* completed firmware round-trip, an observed wake, or an inbound push
|
|
21259
|
+
* (firmware event, email). `0`/absent = never since this slice was born.
|
|
21260
|
+
*
|
|
21261
|
+
* This is the ONLY input that separates "asleep" from "gone", and it is
|
|
21262
|
+
* fed exclusively by PASSIVE signals: nothing may write it by reaching
|
|
21263
|
+
* for the radio, because a poll that confirms reachability is the same
|
|
21264
|
+
* poll that drains the battery. See {@link deriveBatteryPresence} — the
|
|
21265
|
+
* single derivation every consumer must use; no surface computes its own.
|
|
21266
|
+
*
|
|
21267
|
+
* It is deliberately NOT a clock in the
|
|
21268
|
+
* `scripts/check-runtime-state-durability.ts` sense: it is the
|
|
21269
|
+
* observation itself, and it is the only thing a 30-hour silence is
|
|
21270
|
+
* visible in. Writers quantise it (see `CONTACT_WRITE_QUANTUM_MS` in the
|
|
21271
|
+
* Reolink provider) so a value that means "recently" cannot cost a
|
|
21272
|
+
* SQLite commit per round-trip.
|
|
21273
|
+
*/
|
|
21274
|
+
lastContactAt: number().optional(),
|
|
21275
|
+
/**
|
|
20591
21276
|
* True when the source is a BINARY low-battery indicator (HA
|
|
20592
21277
|
* `binary_sensor` device_class=battery / `LOW_BAT`) that has no real
|
|
20593
21278
|
* charge level — `percentage` is then a coarse stand-in (100 = normal,
|
|
@@ -22852,54 +23537,139 @@ var TalkAudioCodecSchema = _enum([
|
|
|
22852
23537
|
"g711ulaw",
|
|
22853
23538
|
"g711alaw"
|
|
22854
23539
|
]);
|
|
22855
|
-
|
|
22856
|
-
|
|
22857
|
-
|
|
22858
|
-
|
|
22859
|
-
|
|
22860
|
-
|
|
22861
|
-
|
|
22862
|
-
|
|
22863
|
-
|
|
22864
|
-
|
|
22865
|
-
|
|
22866
|
-
|
|
22867
|
-
|
|
22868
|
-
}),
|
|
22869
|
-
|
|
22870
|
-
|
|
22871
|
-
}),
|
|
22872
|
-
|
|
22873
|
-
|
|
22874
|
-
}),
|
|
22875
|
-
|
|
22876
|
-
|
|
22877
|
-
|
|
22878
|
-
|
|
22879
|
-
|
|
22880
|
-
|
|
22881
|
-
|
|
22882
|
-
|
|
22883
|
-
|
|
22884
|
-
|
|
22885
|
-
|
|
22886
|
-
|
|
22887
|
-
|
|
22888
|
-
|
|
22889
|
-
|
|
22890
|
-
|
|
22891
|
-
|
|
22892
|
-
|
|
22893
|
-
|
|
22894
|
-
|
|
22895
|
-
|
|
22896
|
-
|
|
22897
|
-
|
|
22898
|
-
|
|
22899
|
-
|
|
22900
|
-
|
|
22901
|
-
|
|
22902
|
-
|
|
23540
|
+
var intercomCapability = {
|
|
23541
|
+
name: "intercom",
|
|
23542
|
+
scope: "device",
|
|
23543
|
+
deviceNative: true,
|
|
23544
|
+
mode: "singleton",
|
|
23545
|
+
deviceTypes: [DeviceType.Camera],
|
|
23546
|
+
methods: {
|
|
23547
|
+
/**
|
|
23548
|
+
* Open a server-side WebRTC audio-only session. Returns an SDP
|
|
23549
|
+
* offer with a single sendonly audio m-line the client answers
|
|
23550
|
+
* (client → server direction). The server wakes battery cams
|
|
23551
|
+
* transparently before opening the upstream talk channel.
|
|
23552
|
+
*/
|
|
23553
|
+
startSession: method(object({ deviceId: number() }), object({
|
|
23554
|
+
sessionId: string(),
|
|
23555
|
+
sdpOffer: string()
|
|
23556
|
+
}), {
|
|
23557
|
+
kind: "mutation",
|
|
23558
|
+
auth: "admin"
|
|
23559
|
+
}),
|
|
23560
|
+
handleAnswer: method(object({
|
|
23561
|
+
deviceId: number(),
|
|
23562
|
+
sessionId: string(),
|
|
23563
|
+
sdpAnswer: string()
|
|
23564
|
+
}), _void(), {
|
|
23565
|
+
kind: "mutation",
|
|
23566
|
+
auth: "admin"
|
|
23567
|
+
}),
|
|
23568
|
+
/** Close explicitly. Server also auto-closes on 30s idle. */
|
|
23569
|
+
stopSession: method(object({
|
|
23570
|
+
deviceId: number(),
|
|
23571
|
+
sessionId: string()
|
|
23572
|
+
}), _void(), {
|
|
23573
|
+
kind: "mutation",
|
|
23574
|
+
auth: "admin"
|
|
23575
|
+
}),
|
|
23576
|
+
/**
|
|
23577
|
+
* Open a raw-PCM talk session (no WebRTC SDP plumbing). Used by
|
|
23578
|
+
* non-WebRTC consumers (HomeKit export, Alexa raw audio, test
|
|
23579
|
+
* harnesses) that already have decoded PCM frames and just need a
|
|
23580
|
+
* direct path onto the camera's talk channel. Mutually exclusive
|
|
23581
|
+
* with `startSession` (an active WebRTC session must be stopped
|
|
23582
|
+
* before a raw-PCM session can be opened on the same device, and
|
|
23583
|
+
* vice versa).
|
|
23584
|
+
*/
|
|
23585
|
+
startTalkSession: method(object({ deviceId: number() }), object({ sessionId: string() }), {
|
|
23586
|
+
kind: "mutation",
|
|
23587
|
+
auth: "admin"
|
|
23588
|
+
}),
|
|
23589
|
+
/**
|
|
23590
|
+
* Push one chunk of talk-back audio onto the active talk session.
|
|
23591
|
+
* The cap is codec-agnostic: the caller declares (or omits) the
|
|
23592
|
+
* wire format via `codec`; the provider decides between passthrough
|
|
23593
|
+
* (when the wire codec matches the camera's native talk channel),
|
|
23594
|
+
* transcoding via the `audio-codec` cap, or rejecting the call.
|
|
23595
|
+
*
|
|
23596
|
+
* Callers do NOT need to know the camera's wire format or sample
|
|
23597
|
+
* rate — that information lives entirely inside the provider.
|
|
23598
|
+
*
|
|
23599
|
+
* Sequence numbers MUST be monotonic per talk session; older frames
|
|
23600
|
+
* arriving after newer ones are dropped to avoid smearing the
|
|
23601
|
+
* downstream encoder state (G.711 is stateless but IMA ADPCM's
|
|
23602
|
+
* predictor would corrupt with re-ordering).
|
|
23603
|
+
*/
|
|
23604
|
+
pushTalkAudio: method(object({
|
|
23605
|
+
deviceId: number(),
|
|
23606
|
+
/** Audio bytes for ONE frame, base64-encoded so the payload
|
|
23607
|
+
* survives tRPC JSON serialization. */
|
|
23608
|
+
audioBase64: string(),
|
|
23609
|
+
/** Wire codec of the payload. Omit to let the provider default
|
|
23610
|
+
* to its native expected format (s16le @ provider-native rate,
|
|
23611
|
+
* mono). See {@link TalkAudioCodecSchema} for the supported set. */
|
|
23612
|
+
codec: TalkAudioCodecSchema.optional(),
|
|
23613
|
+
/** Sample rate (Hz). REQUIRED for `s16le`; advisory for
|
|
23614
|
+
* `opus` (encoder clock); ignored for `g711*` (implied 8000). */
|
|
23615
|
+
sampleRate: number().int().positive().optional(),
|
|
23616
|
+
/** Channel count. Default 1. */
|
|
23617
|
+
channels: number().int().positive().optional(),
|
|
23618
|
+
/** Sequence number for ordering / dropping out-of-order frames. */
|
|
23619
|
+
sequenceNumber: number().int()
|
|
23620
|
+
}), object({ accepted: boolean() }), {
|
|
23621
|
+
kind: "mutation",
|
|
23622
|
+
auth: "admin"
|
|
23623
|
+
}),
|
|
23624
|
+
/** Close the raw-PCM talk session. Idempotent. */
|
|
23625
|
+
endTalkSession: method(object({ deviceId: number() }), _void(), {
|
|
23626
|
+
kind: "mutation",
|
|
23627
|
+
auth: "admin"
|
|
23628
|
+
})
|
|
23629
|
+
},
|
|
23630
|
+
events: { onStatusChanged: { data: object({
|
|
23631
|
+
deviceId: number(),
|
|
23632
|
+
status: IntercomStatusSchema
|
|
23633
|
+
}) } },
|
|
23634
|
+
status: {
|
|
23635
|
+
schema: IntercomStatusSchema,
|
|
23636
|
+
kind: "command-driven"
|
|
23637
|
+
},
|
|
23638
|
+
/**
|
|
23639
|
+
* Runtime-state slice — mirrored by the kernel.
|
|
23640
|
+
*
|
|
23641
|
+
* The cap declared `status` and nothing else, so the only two sources an
|
|
23642
|
+
* exporter has for a value — the `device.state-changed` slice event and the
|
|
23643
|
+
* `deviceState.getAllSnapshots` snapshot, both built from runtime state —
|
|
23644
|
+
* carried nothing for `intercom`. A talk-back entity in Home Assistant would
|
|
23645
|
+
* have been published and never received a value, which is the defect the
|
|
23646
|
+
* export's two classification tables exist to prevent (177 of them, once), so
|
|
23647
|
+
* `intercom` was excluded rather than exported.
|
|
23648
|
+
*
|
|
23649
|
+
* The shape is the status shape: there is exactly one truth about talk-back
|
|
23650
|
+
* and duplicating it into a second schema is how two halves of one capability
|
|
23651
|
+
* come to disagree. Providers write it through
|
|
23652
|
+
* `this.runtimeState.setCapState('intercom', …)` at the four points that open
|
|
23653
|
+
* and close a session, and seed it at registration so the slice exists before
|
|
23654
|
+
* the first session rather than after it.
|
|
23655
|
+
*
|
|
23656
|
+
* **Bound, named rather than hidden:** `talking` mirrors the provider's own
|
|
23657
|
+
* session handle, so a session torn down by a transport death that never
|
|
23658
|
+
* reaches `stopSession` / `endTalkSession` leaves it latched until the next
|
|
23659
|
+
* session or the next restart. That is why the slice is `session` and not
|
|
23660
|
+
* `restored` — a restart must never restore "talking".
|
|
23661
|
+
*/
|
|
23662
|
+
runtimeState: IntercomStatusSchema,
|
|
23663
|
+
/**
|
|
23664
|
+
* Runtime-state durability: **session** — `talking` describes a live audio
|
|
23665
|
+
* session, which by definition does not survive the process that held it.
|
|
23666
|
+
* Restoring it would publish a camera as talking to nobody.
|
|
23667
|
+
*
|
|
23668
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
23669
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
23670
|
+
*/
|
|
23671
|
+
durability: "session"
|
|
23672
|
+
};
|
|
22903
23673
|
/**
|
|
22904
23674
|
* Robotic lawn-mower cap. Models HA `lawn_mower.*` entities — anything
|
|
22905
23675
|
* with a mowing lifecycle plus a dock action.
|
|
@@ -25596,7 +26366,7 @@ method(object({
|
|
|
25596
26366
|
toMs: number()
|
|
25597
26367
|
}), RecordingAvailabilitySchema, {
|
|
25598
26368
|
kind: "query",
|
|
25599
|
-
auth: "
|
|
26369
|
+
auth: "protected"
|
|
25600
26370
|
}), method(object({
|
|
25601
26371
|
deviceId: number(),
|
|
25602
26372
|
fromMs: number(),
|
|
@@ -25604,14 +26374,14 @@ method(object({
|
|
|
25604
26374
|
tzOffsetMinutes: number()
|
|
25605
26375
|
}), RecordingDaysSchema, {
|
|
25606
26376
|
kind: "query",
|
|
25607
|
-
auth: "
|
|
26377
|
+
auth: "protected"
|
|
25608
26378
|
}), method(object({
|
|
25609
26379
|
deviceId: number(),
|
|
25610
26380
|
fromMs: number(),
|
|
25611
26381
|
toMs: number()
|
|
25612
26382
|
}), RecordingManifestSchema, {
|
|
25613
26383
|
kind: "query",
|
|
25614
|
-
auth: "
|
|
26384
|
+
auth: "protected"
|
|
25615
26385
|
}), method(object({}), RecordingStorageUsageSchema, {
|
|
25616
26386
|
kind: "query",
|
|
25617
26387
|
auth: "admin"
|
|
@@ -25901,14 +26671,77 @@ method(object({
|
|
|
25901
26671
|
* thing except the comparator: `similarity` (CLIP cosine at the same ROI coords
|
|
25902
26672
|
* vs condition-tagged references) and `llm` (vision-LLM judgment over the crop).
|
|
25903
26673
|
*
|
|
25904
|
-
*
|
|
25905
|
-
*
|
|
25906
|
-
*
|
|
25907
|
-
*
|
|
25908
|
-
|
|
25909
|
-
|
|
25910
|
-
*
|
|
26674
|
+
* **No `deviceConfig`, deliberately.** This shipped as the D14 widget archetype,
|
|
26675
|
+
* which put a "Scenes" tab on one camera's detail page. That is the wrong shape
|
|
26676
|
+
* for the thing: a scene is a standing question about the property ("is the bin
|
|
26677
|
+
* still out"), and the operator's question is "which of my scenes have tripped",
|
|
26678
|
+
* across every camera at once — not "what does camera 617 think". Buried one
|
|
26679
|
+
* camera deep it also could not be found. The surface is now a top-level admin
|
|
26680
|
+
* page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
|
|
26681
|
+
* picks the camera inside the create flow, the same shape Events and Faces have.
|
|
26682
|
+
*
|
|
26683
|
+
* The consequence to keep in mind: `host/scene-monitor-editor` is gone from
|
|
26684
|
+
* `HOST_WIDGETS` too. `scripts/check-host-widget-resolves.ts` asserts BOTH
|
|
26685
|
+
* directions, so a registration nobody declares fails exactly as loudly as a
|
|
26686
|
+
* declaration nobody registers. The editor is imported directly by the page.
|
|
26687
|
+
*
|
|
26688
|
+
* `status.kind:'push'` — the engine pushes on every hysteresis flip /
|
|
26689
|
+
* availability change; consumers never poll.
|
|
26690
|
+
*/
|
|
26691
|
+
/** Extensible condition tag. Seeded 'day' | 'ir' (the two variants the operator
|
|
26692
|
+
* captures) plus 'night' | 'dawn' | 'dusk' from the resolver's sun-times band.
|
|
26693
|
+
* Open by design so more can be added without a wire break.
|
|
26694
|
+
*
|
|
26695
|
+
* Matching does NOT fall back across conditions: cross-condition cosines are
|
|
26696
|
+
* not comparable, so "I have never seen this scene in this light" is reported
|
|
26697
|
+
* as `unknown`, never guessed. A day reference scored against an IR frame
|
|
26698
|
+
* collapses the cosine and would latch a false alarm every single night. */
|
|
25911
26699
|
var SceneConditionSchema = string();
|
|
26700
|
+
/**
|
|
26701
|
+
* What a scene does when the CURRENT light has no reference of its own.
|
|
26702
|
+
*
|
|
26703
|
+
* The lighting variants are not equally likely to exist. Almost every operator
|
|
26704
|
+
* captures daylight and then never stands outside at 22:00 to capture IR, and a
|
|
26705
|
+
* scene that is only ever going to be asked about a daytime question ("is the
|
|
26706
|
+
* bin still on the kerb at 08:00") does not need a night reference at all. The
|
|
26707
|
+
* night half must therefore be OPTIONAL, and optional means the scene keeps
|
|
26708
|
+
* working without it rather than degrading into a permanent complaint.
|
|
26709
|
+
*
|
|
26710
|
+
* - `skip` (default) — the check in that light is not made. Not a verdict, not
|
|
26711
|
+
* an alarm, not even an `unknown`: the live state simply stays whatever the
|
|
26712
|
+
* last covered light left it at, the latch is untouched, and the hysteresis
|
|
26713
|
+
* run is neither spent nor cleared. The scene resumes by itself at first
|
|
26714
|
+
* light. This is the only behaviour under which "I never captured IR" is a
|
|
26715
|
+
* configuration choice instead of a nightly fault.
|
|
26716
|
+
* - `judge-anyway` — score against the OTHER conditions' references. Available
|
|
26717
|
+
* for cameras whose IR frame is close enough to daylight (a floodlit
|
|
26718
|
+
* driveway, an always-white-light doorbell), and wrong for everything else:
|
|
26719
|
+
* cross-condition cosines are not comparable, so a day reference against a
|
|
26720
|
+
* true IR frame collapses and the scene reports a theft at 21:40.
|
|
26721
|
+
*
|
|
26722
|
+
* Never applies when the scene has NO comparable reference at all — that is
|
|
26723
|
+
* "not armed yet", it is reported as `no-reference-for-condition`, and silence
|
|
26724
|
+
* there would hide a scene the operator never finished setting up.
|
|
26725
|
+
*/
|
|
26726
|
+
var SceneUncoveredPolicySchema = _enum(["skip", "judge-anyway"]);
|
|
26727
|
+
/** `matched` = the baseline is what we see; `diverged` = it demonstrably is not;
|
|
26728
|
+
* `unknown` = we cannot judge (no reference for this condition, encoder model
|
|
26729
|
+
* changed, view shifted, no snapshot). `unknown` is a real value, not a null,
|
|
26730
|
+
* and never counts toward hysteresis in either direction. */
|
|
26731
|
+
var SceneVerdictSchema = _enum([
|
|
26732
|
+
"matched",
|
|
26733
|
+
"diverged",
|
|
26734
|
+
"unknown"
|
|
26735
|
+
]);
|
|
26736
|
+
/** Why a scene cannot judge. Named, because this feature's failure mode is
|
|
26737
|
+
* silence that reads as "nothing has happened". */
|
|
26738
|
+
var SceneUnavailableSchema = _enum([
|
|
26739
|
+
"no-reference-for-condition",
|
|
26740
|
+
"view-shifted",
|
|
26741
|
+
"no-vision-profile",
|
|
26742
|
+
"encoder-model-changed",
|
|
26743
|
+
"no-snapshot"
|
|
26744
|
+
]);
|
|
25912
26745
|
/** One captured reference — condition-tagged, model-version-gated. `embedding`
|
|
25913
26746
|
* is `number[]` (Float32Array does NOT survive MsgPack/UDS). */
|
|
25914
26747
|
var SceneReferenceSchema = object({
|
|
@@ -25916,7 +26749,14 @@ var SceneReferenceSchema = object({
|
|
|
25916
26749
|
modelId: string(),
|
|
25917
26750
|
condition: SceneConditionSchema,
|
|
25918
26751
|
capturedAt: number(),
|
|
25919
|
-
thumbnailMediaId: string().optional()
|
|
26752
|
+
thumbnailMediaId: string().optional(),
|
|
26753
|
+
/** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
|
|
26754
|
+
* anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
|
|
26755
|
+
* normalized rect frame a different piece of world, and the scene would
|
|
26756
|
+
* diverge forever with a perfectly plausible cosine. Checked LAZILY, only
|
|
26757
|
+
* when hysteresis is about to flip — one extra encode per candidate
|
|
26758
|
+
* transition, not per poll. */
|
|
26759
|
+
anchorEmbedding: array(number()).optional()
|
|
25920
26760
|
});
|
|
25921
26761
|
var SceneMonitorStateSchema = object({
|
|
25922
26762
|
id: string(),
|
|
@@ -25938,6 +26778,28 @@ var SceneCheckSchema = discriminatedUnion("mode", [object({
|
|
|
25938
26778
|
profileId: string().optional(),
|
|
25939
26779
|
hysteresisCount: number().int().positive()
|
|
25940
26780
|
})]);
|
|
26781
|
+
var SCENE_DEFAULT_ANCHOR_THRESHOLD = .85;
|
|
26782
|
+
/** Night is OPTIONAL. A scene with only a daylight reference sits the IR hours
|
|
26783
|
+
* out in silence rather than reporting a fault every night. */
|
|
26784
|
+
var SCENE_DEFAULT_UNCOVERED_POLICY = "skip";
|
|
26785
|
+
/**
|
|
26786
|
+
* Vision-model adjudication of a candidate flip. Field names deliberately
|
|
26787
|
+
* mirror `NcConfirmSchema` so an operator meets one vocabulary, not two.
|
|
26788
|
+
*
|
|
26789
|
+
* `onTimeout` defaults to **'hold'**, the OPPOSITE of `NcConfirmGate`'s
|
|
26790
|
+
* fail-open: a notification suppressed is the worse error there, but a vision
|
|
26791
|
+
* model that timed out has not told us the bin is gone, and a latch is a
|
|
26792
|
+
* stateful claim that costs the operator a trip to reset.
|
|
26793
|
+
*/
|
|
26794
|
+
var SceneConfirmSchema = object({
|
|
26795
|
+
enabled: boolean().default(false),
|
|
26796
|
+
prompt: string().min(1).max(1e3),
|
|
26797
|
+
profileId: string().optional(),
|
|
26798
|
+
timeoutMs: number().int().min(1e3).max(2e4).default(8e3),
|
|
26799
|
+
maxImagePx: number().int().min(64).max(2048).default(448),
|
|
26800
|
+
/** What a timeout / unavailable model means for the PENDING flip. */
|
|
26801
|
+
onTimeout: _enum(["flip", "hold"]).default("hold")
|
|
26802
|
+
});
|
|
25941
26803
|
var SceneMonitorSchema = object({
|
|
25942
26804
|
id: string(),
|
|
25943
26805
|
label: string(),
|
|
@@ -25956,7 +26818,56 @@ var SceneMonitorSchema = object({
|
|
|
25956
26818
|
lastConfidence: number().nullable(),
|
|
25957
26819
|
currentCondition: SceneConditionSchema.nullable(),
|
|
25958
26820
|
availability: _enum(["ok", "unavailable"]),
|
|
25959
|
-
unavailableReason: string().nullable()
|
|
26821
|
+
unavailableReason: string().nullable(),
|
|
26822
|
+
/** Which state is "the initial screen". `null` until the first capture. */
|
|
26823
|
+
baselineStateId: string().nullable(),
|
|
26824
|
+
/** Which boolean drives notification rules and any export. */
|
|
26825
|
+
emit: _enum(["latched", "live"]).default("latched"),
|
|
26826
|
+
/** Live: does the region match the baseline RIGHT NOW. */
|
|
26827
|
+
verdict: SceneVerdictSchema,
|
|
26828
|
+
/** Has it been `diverged` at least once since `armedAt` — the operator's boolean. */
|
|
26829
|
+
latched: boolean(),
|
|
26830
|
+
/** Last reset (or creation). */
|
|
26831
|
+
armedAt: number(),
|
|
26832
|
+
divergedAt: number().nullable(),
|
|
26833
|
+
restoredAt: number().nullable(),
|
|
26834
|
+
/** A check is only COUNTED when the device has been quiet this long. Motion
|
|
26835
|
+
* during the window DISCARDS the observation — a car pulling up in front of
|
|
26836
|
+
* the bin must not be able to spend hysteresis credit. */
|
|
26837
|
+
quietSeconds: number().int().min(0).max(3600).default(60),
|
|
26838
|
+
/** An observation only advances the pending count when it is at least this
|
|
26839
|
+
* far from the previously counted one, so N agreeing checks span real time
|
|
26840
|
+
* rather than N adjacent polls inside one occlusion. */
|
|
26841
|
+
minObservationSpacingSec: number().int().min(0).max(3600).default(120),
|
|
26842
|
+
/** Vision-model adjudication of a candidate flip. Similarity primary only. */
|
|
26843
|
+
confirm: SceneConfirmSchema.optional(),
|
|
26844
|
+
/** Whole-frame anchor cosine below which a flip is REFUSED as `view-shifted`. */
|
|
26845
|
+
anchorThreshold: number().min(0).max(1).default(SCENE_DEFAULT_ANCHOR_THRESHOLD),
|
|
26846
|
+
/** Clear the latch on its own when the scene matches again? Default false —
|
|
26847
|
+
* `restoredAt` and the `scene-restored` edge are recorded regardless, so an
|
|
26848
|
+
* automation can react to the bin coming back without the operator's own
|
|
26849
|
+
* alarm silently clearing itself. */
|
|
26850
|
+
autoRestore: boolean().default(false),
|
|
26851
|
+
/** What to do when the current light has no reference of its own. See
|
|
26852
|
+
* {@link SceneUncoveredPolicySchema} — the default makes night OPTIONAL. */
|
|
26853
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.default(SCENE_DEFAULT_UNCOVERED_POLICY),
|
|
26854
|
+
/**
|
|
26855
|
+
* The light whose checks are currently being SAT OUT under
|
|
26856
|
+
* `onUncoveredCondition: 'skip'` — `null` when the scene is checking normally.
|
|
26857
|
+
*
|
|
26858
|
+
* Engine-reported and advisory only: it moves no verdict, no latch and no
|
|
26859
|
+
* hysteresis. It exists so the card can say *"night (IR) — checks paused,
|
|
26860
|
+
* nothing captured in this light"* in the same calm voice as the coverage
|
|
26861
|
+
* line, because the alternative is a scene that silently stops answering
|
|
26862
|
+
* after sunset with nothing anywhere saying why. A skipped check must never
|
|
26863
|
+
* read as a broken one.
|
|
26864
|
+
*/
|
|
26865
|
+
suspendedCondition: SceneConditionSchema.nullable().default(null),
|
|
26866
|
+
/** Named cause when `verdict === 'unknown'`. */
|
|
26867
|
+
unavailable: SceneUnavailableSchema.nullable(),
|
|
26868
|
+
/** Conditions that have at least one comparable reference — the coverage line
|
|
26869
|
+
* ("day ✓ · ir ✓ · dusk ✗") that turns a silent fallback into a visible fact. */
|
|
26870
|
+
coveredConditions: array(SceneConditionSchema)
|
|
25960
26871
|
});
|
|
25961
26872
|
var SceneMonitorStatusSchema = object({
|
|
25962
26873
|
monitors: array(SceneMonitorSchema),
|
|
@@ -25969,12 +26880,6 @@ var sceneMonitorCapability = {
|
|
|
25969
26880
|
kind: "wrapper",
|
|
25970
26881
|
defaultActive: true,
|
|
25971
26882
|
deviceTypes: [DeviceType.Camera],
|
|
25972
|
-
deviceConfig: { ui: {
|
|
25973
|
-
kind: "widget",
|
|
25974
|
-
widgetId: "host/scene-monitor-editor",
|
|
25975
|
-
tab: "scenes",
|
|
25976
|
-
label: "Scenes"
|
|
25977
|
-
} },
|
|
25978
26883
|
methods: {
|
|
25979
26884
|
listScenes: method(object({ deviceId: number() }), SceneMonitorStatusSchema),
|
|
25980
26885
|
createScene: method(object({
|
|
@@ -26005,7 +26910,15 @@ var sceneMonitorCapability = {
|
|
|
26005
26910
|
"both"
|
|
26006
26911
|
]).optional(),
|
|
26007
26912
|
checkIntervalSec: number().optional(),
|
|
26008
|
-
check: SceneCheckSchema.optional()
|
|
26913
|
+
check: SceneCheckSchema.optional(),
|
|
26914
|
+
emit: _enum(["latched", "live"]).optional(),
|
|
26915
|
+
quietSeconds: number().int().min(0).max(3600).optional(),
|
|
26916
|
+
minObservationSpacingSec: number().int().min(0).max(3600).optional(),
|
|
26917
|
+
anchorThreshold: number().min(0).max(1).optional(),
|
|
26918
|
+
autoRestore: boolean().optional(),
|
|
26919
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.optional(),
|
|
26920
|
+
/** `null` clears the vision-model adjudicator. */
|
|
26921
|
+
confirm: SceneConfirmSchema.nullable().optional()
|
|
26009
26922
|
})
|
|
26010
26923
|
}), _void(), {
|
|
26011
26924
|
kind: "mutation",
|
|
@@ -26046,6 +26959,26 @@ var sceneMonitorCapability = {
|
|
|
26046
26959
|
}), _void(), {
|
|
26047
26960
|
kind: "mutation",
|
|
26048
26961
|
auth: "admin"
|
|
26962
|
+
}),
|
|
26963
|
+
/**
|
|
26964
|
+
* Clear the latch, re-arm, and — by default — RE-CAPTURE the baseline for
|
|
26965
|
+
* the CURRENT condition. The bin never goes back in exactly the same spot;
|
|
26966
|
+
* "reset" in the operator's head means *this is the new normal*, and
|
|
26967
|
+
* re-capture is what makes the feature self-healing against slow drift
|
|
26968
|
+
* instead of failing silently weeks later.
|
|
26969
|
+
*
|
|
26970
|
+
* Reachable from three surfaces on this one mutation: the scene card, a
|
|
26971
|
+
* notification button (an `onTrigger` sequence with a `kind:'cap'` step —
|
|
26972
|
+
* no new Notification-Center code at all), and tRPC for scripts.
|
|
26973
|
+
*/
|
|
26974
|
+
resetScene: method(object({
|
|
26975
|
+
deviceId: number(),
|
|
26976
|
+
monitorId: string(),
|
|
26977
|
+
/** Defaults to TRUE at the provider seam — see `SCENE_RESET_RECAPTURES`. */
|
|
26978
|
+
recapture: boolean().optional()
|
|
26979
|
+
}), _void(), {
|
|
26980
|
+
kind: "mutation",
|
|
26981
|
+
auth: "admin"
|
|
26049
26982
|
})
|
|
26050
26983
|
},
|
|
26051
26984
|
status: {
|
|
@@ -26288,13 +27221,63 @@ var CamStreamDescriptorSchema = object({
|
|
|
26288
27221
|
* set of stream descriptors it can offer for the device, synchronously, so the
|
|
26289
27222
|
* broker can reconcile its registry against the authoritative provider state.
|
|
26290
27223
|
*/
|
|
27224
|
+
/**
|
|
27225
|
+
* The catalog as a DURABLE fact rather than a live answer.
|
|
27226
|
+
*
|
|
27227
|
+
* A battery camera's descriptors are profile-stable — they change when the
|
|
27228
|
+
* operator rewrites an encoder profile, not minute to minute — but building
|
|
27229
|
+
* them costs a Baichuan login, which on a sleeping Argus IS a wake. So the
|
|
27230
|
+
* provider is allowed to build them exactly once per profile and must serve
|
|
27231
|
+
* every later pull from a cache.
|
|
27232
|
+
*
|
|
27233
|
+
* Holding that cache only in RAM is what turned a restart into an outage. The
|
|
27234
|
+
* runner comes back with the camera asleep, `buildStreamCatalogUncached`
|
|
27235
|
+
* correctly refuses to wake it, the pull answers `[]`, the broker has no
|
|
27236
|
+
* cam-stream entry to build a broker from, and `webrtcSession.handleOffer`
|
|
27237
|
+
* fails with a flat "No broker for stream" — for as long as the camera sleeps,
|
|
27238
|
+
* which on a battery cam is most of the day. The camera was fine. The stream
|
|
27239
|
+
* was unreachable because the process had forgotten what the camera offers.
|
|
27240
|
+
*
|
|
27241
|
+
* Declaring it here puts it in `device-runtime-state`, the kernel's canonical
|
|
27242
|
+
* declared collection, with the same `restored` durability `battery` uses for
|
|
27243
|
+
* the same reason: the last known value is the only value there is while the
|
|
27244
|
+
* device is asleep. The broker's brokers are therefore always DEFINABLE — it
|
|
27245
|
+
* is the DIAL that wakes a camera, never the catalog (D173).
|
|
27246
|
+
*/
|
|
27247
|
+
var StreamCatalogStateSchema = object({
|
|
27248
|
+
/** The descriptors as last built from a real camera response. Never a guess:
|
|
27249
|
+
* a failed or refused build writes NOTHING, so a restored catalog is always
|
|
27250
|
+
* one the camera itself once produced. */
|
|
27251
|
+
descriptors: array(CamStreamDescriptorSchema),
|
|
27252
|
+
/** Ms epoch of the build that produced {@link descriptors}. Lets the wake
|
|
27253
|
+
* path decide whether the camera's own awake window is worth spending on a
|
|
27254
|
+
* re-read. */
|
|
27255
|
+
lastFetchedAt: number()
|
|
27256
|
+
});
|
|
26291
27257
|
var streamCatalogCapability = {
|
|
26292
27258
|
name: "stream-catalog",
|
|
26293
27259
|
scope: "device",
|
|
26294
27260
|
deviceNative: true,
|
|
26295
27261
|
mode: "singleton",
|
|
26296
27262
|
deviceTypes: [DeviceType.Camera],
|
|
26297
|
-
methods: { getCatalog: method(object({ deviceId: number().int().nonnegative() }), array(CamStreamDescriptorSchema).readonly()) }
|
|
27263
|
+
methods: { getCatalog: method(object({ deviceId: number().int().nonnegative() }), array(CamStreamDescriptorSchema).readonly()) },
|
|
27264
|
+
runtimeState: StreamCatalogStateSchema,
|
|
27265
|
+
/**
|
|
27266
|
+
* Runtime-state durability: **restored** — see the schema doc. A cold
|
|
27267
|
+
* catalog on a sleeping battery camera is not a slow first frame, it is a
|
|
27268
|
+
* camera that cannot be watched at all until it happens to wake.
|
|
27269
|
+
*
|
|
27270
|
+
* Churn is nil by construction: the slice is written only by a SUCCESSFUL
|
|
27271
|
+
* build, and a build only runs when there is no cached copy (or the copy is
|
|
27272
|
+
* a day old and the camera is awake anyway).
|
|
27273
|
+
*
|
|
27274
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
27275
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
27276
|
+
*/
|
|
27277
|
+
durability: "restored",
|
|
27278
|
+
/** Clock field: written, but excluded from the compare that decides whether
|
|
27279
|
+
* persisting is worth a SQLite commit — the descriptors are the value. */
|
|
27280
|
+
volatileStateFields: ["lastFetchedAt"]
|
|
26298
27281
|
};
|
|
26299
27282
|
/** One of the camera's stream profiles. */
|
|
26300
27283
|
var StreamProfileSchema = _enum([
|
|
@@ -26549,12 +27532,64 @@ var NetworkAddressSchema = object({
|
|
|
26549
27532
|
family: string(),
|
|
26550
27533
|
internal: boolean()
|
|
26551
27534
|
});
|
|
27535
|
+
/**
|
|
27536
|
+
* Provenance of the site coordinates, and the whole reason this is not just two
|
|
27537
|
+
* numbers.
|
|
27538
|
+
*
|
|
27539
|
+
* - `operator-set` — a human typed it, or accepted a detection. Authoritative;
|
|
27540
|
+
* nothing overwrites it.
|
|
27541
|
+
* - `derived-from-ip` — the hub geolocated its own public IP once, because a
|
|
27542
|
+
* default that is right to a few kilometres beats the coarse UTC clock split
|
|
27543
|
+
* the sun-times consumers otherwise fall back to.
|
|
27544
|
+
*
|
|
27545
|
+
* The UI shows which one it is. An operator who cannot tell a guess from their
|
|
27546
|
+
* own input will eventually trust the guess.
|
|
27547
|
+
*/
|
|
27548
|
+
var SiteLocationSourceSchema = _enum(["operator-set", "derived-from-ip"]);
|
|
27549
|
+
/**
|
|
27550
|
+
* The read shape: the location plus the honest state of the one-shot derivation.
|
|
27551
|
+
*
|
|
27552
|
+
* `derivationAttemptedAt` is what makes the "one call, ever" contract
|
|
27553
|
+
* inspectable. When it is set and `location` is null, the geo-IP lookup ran and
|
|
27554
|
+
* failed; the hub will NOT try again on its own — the fallback is declared
|
|
27555
|
+
* (consumers degrade to their own last resort) and the operator either types the
|
|
27556
|
+
* coordinates or presses detect.
|
|
27557
|
+
*/
|
|
27558
|
+
var SiteLocationStatusSchema = object({
|
|
27559
|
+
location: object({
|
|
27560
|
+
/** WGS84 decimal degrees. */
|
|
27561
|
+
latitude: number().min(-90).max(90),
|
|
27562
|
+
longitude: number().min(-180).max(180),
|
|
27563
|
+
source: SiteLocationSourceSchema,
|
|
27564
|
+
/** Epoch ms the value was last written. */
|
|
27565
|
+
updatedAt: number(),
|
|
27566
|
+
/**
|
|
27567
|
+
* Human-readable place the geo-IP service reported ("Napoli, IT"). Display
|
|
27568
|
+
* only — never parsed, never matched on. Absent for an operator-typed value.
|
|
27569
|
+
*/
|
|
27570
|
+
label: string().optional()
|
|
27571
|
+
}).nullable(),
|
|
27572
|
+
derivationAttemptedAt: number().nullable(),
|
|
27573
|
+
/** Why the last derivation failed, for the UI to show instead of a shrug. */
|
|
27574
|
+
derivationError: string().nullable()
|
|
27575
|
+
});
|
|
27576
|
+
/** `null` clears the location and re-arms nothing — the derivation stays spent. */
|
|
27577
|
+
var SetSiteLocationInputSchema = object({
|
|
27578
|
+
latitude: number().min(-90).max(90),
|
|
27579
|
+
longitude: number().min(-180).max(180)
|
|
27580
|
+
}).nullable();
|
|
26552
27581
|
method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), method(_void(), FeatureManifestSchema), method(_void(), array(NetworkAddressSchema).readonly()), method(_void(), unknown().nullable(), { auth: "admin" }), method(record(string(), unknown()), _null(), {
|
|
26553
27582
|
kind: "mutation",
|
|
26554
27583
|
auth: "admin"
|
|
26555
27584
|
}), method(_void(), _void(), {
|
|
26556
27585
|
kind: "mutation",
|
|
26557
27586
|
auth: "admin"
|
|
27587
|
+
}), method(_void(), SiteLocationStatusSchema), method(SetSiteLocationInputSchema, SiteLocationStatusSchema, {
|
|
27588
|
+
kind: "mutation",
|
|
27589
|
+
auth: "admin"
|
|
27590
|
+
}), method(_void(), SiteLocationStatusSchema, {
|
|
27591
|
+
kind: "mutation",
|
|
27592
|
+
auth: "admin"
|
|
26558
27593
|
});
|
|
26559
27594
|
/**
|
|
26560
27595
|
* Tamper / case-open detection sensor. Drives Home Assistant
|
|
@@ -27874,6 +28909,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
27874
28909
|
humiditySensor: humiditySensorCapability,
|
|
27875
28910
|
image: imageCapability,
|
|
27876
28911
|
imageSettings: imageSettingsCapability,
|
|
28912
|
+
intercom: intercomCapability,
|
|
27877
28913
|
lawnMowerControl: lawnMowerControlCapability,
|
|
27878
28914
|
lockControl: lockControlCapability,
|
|
27879
28915
|
mediaPlayer: mediaPlayerCapability,
|
|
@@ -27892,6 +28928,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
27892
28928
|
sceneMonitor: sceneMonitorCapability,
|
|
27893
28929
|
scriptRunner: scriptRunnerCapability,
|
|
27894
28930
|
smoke: smokeCapability,
|
|
28931
|
+
streamCatalog: streamCatalogCapability,
|
|
27895
28932
|
streamParams: streamParamsCapability,
|
|
27896
28933
|
switch: switchCapability,
|
|
27897
28934
|
tamper: tamperCapability,
|
|
@@ -30688,6 +31725,12 @@ Object.freeze({
|
|
|
30688
31725
|
addonId: null,
|
|
30689
31726
|
access: "create"
|
|
30690
31727
|
},
|
|
31728
|
+
"llm.cancel": {
|
|
31729
|
+
capName: "llm",
|
|
31730
|
+
capScope: "system",
|
|
31731
|
+
addonId: null,
|
|
31732
|
+
access: "create"
|
|
31733
|
+
},
|
|
30691
31734
|
"llm.deleteModel": {
|
|
30692
31735
|
capName: "llm",
|
|
30693
31736
|
capScope: "system",
|
|
@@ -30772,6 +31815,12 @@ Object.freeze({
|
|
|
30772
31815
|
addonId: null,
|
|
30773
31816
|
access: "view"
|
|
30774
31817
|
},
|
|
31818
|
+
"llm.resolveModelRef": {
|
|
31819
|
+
capName: "llm",
|
|
31820
|
+
capScope: "system",
|
|
31821
|
+
addonId: null,
|
|
31822
|
+
access: "create"
|
|
31823
|
+
},
|
|
30775
31824
|
"llm.setDefault": {
|
|
30776
31825
|
capName: "llm",
|
|
30777
31826
|
capScope: "system",
|
|
@@ -32938,6 +33987,12 @@ Object.freeze({
|
|
|
32938
33987
|
addonId: null,
|
|
32939
33988
|
access: "create"
|
|
32940
33989
|
},
|
|
33990
|
+
"sceneMonitor.resetScene": {
|
|
33991
|
+
capName: "scene-monitor",
|
|
33992
|
+
capScope: "device",
|
|
33993
|
+
addonId: null,
|
|
33994
|
+
access: "delete"
|
|
33995
|
+
},
|
|
32941
33996
|
"sceneMonitor.updateScene": {
|
|
32942
33997
|
capName: "scene-monitor",
|
|
32943
33998
|
capScope: "device",
|
|
@@ -33616,6 +34671,12 @@ Object.freeze({
|
|
|
33616
34671
|
addonId: null,
|
|
33617
34672
|
access: "create"
|
|
33618
34673
|
},
|
|
34674
|
+
"system.detectSiteLocation": {
|
|
34675
|
+
capName: "system",
|
|
34676
|
+
capScope: "system",
|
|
34677
|
+
addonId: null,
|
|
34678
|
+
access: "create"
|
|
34679
|
+
},
|
|
33619
34680
|
"system.featureFlags": {
|
|
33620
34681
|
capName: "system",
|
|
33621
34682
|
capScope: "system",
|
|
@@ -33634,6 +34695,12 @@ Object.freeze({
|
|
|
33634
34695
|
addonId: null,
|
|
33635
34696
|
access: "view"
|
|
33636
34697
|
},
|
|
34698
|
+
"system.getSiteLocation": {
|
|
34699
|
+
capName: "system",
|
|
34700
|
+
capScope: "system",
|
|
34701
|
+
addonId: null,
|
|
34702
|
+
access: "view"
|
|
34703
|
+
},
|
|
33637
34704
|
"system.health": {
|
|
33638
34705
|
capName: "system",
|
|
33639
34706
|
capScope: "system",
|
|
@@ -33658,6 +34725,12 @@ Object.freeze({
|
|
|
33658
34725
|
addonId: null,
|
|
33659
34726
|
access: "create"
|
|
33660
34727
|
},
|
|
34728
|
+
"system.setSiteLocation": {
|
|
34729
|
+
capName: "system",
|
|
34730
|
+
capScope: "system",
|
|
34731
|
+
addonId: null,
|
|
34732
|
+
access: "create"
|
|
34733
|
+
},
|
|
33661
34734
|
"terminalSession.adoptLegacyMonitor": {
|
|
33662
34735
|
capName: "terminal-session",
|
|
33663
34736
|
capScope: "system",
|
|
@@ -34229,6 +35302,1704 @@ Object.freeze({
|
|
|
34229
35302
|
access: "create"
|
|
34230
35303
|
}
|
|
34231
35304
|
});
|
|
35305
|
+
Object.freeze({
|
|
35306
|
+
"accessories.setChildHidden": [{
|
|
35307
|
+
name: "childDeviceId",
|
|
35308
|
+
form: "single",
|
|
35309
|
+
optional: false
|
|
35310
|
+
}, {
|
|
35311
|
+
name: "deviceId",
|
|
35312
|
+
form: "single",
|
|
35313
|
+
optional: false
|
|
35314
|
+
}],
|
|
35315
|
+
"addonSettings.getDeviceSettings": [{
|
|
35316
|
+
name: "deviceId",
|
|
35317
|
+
form: "single",
|
|
35318
|
+
optional: false
|
|
35319
|
+
}],
|
|
35320
|
+
"addonSettings.updateDeviceSettings": [{
|
|
35321
|
+
name: "deviceId",
|
|
35322
|
+
form: "single",
|
|
35323
|
+
optional: false
|
|
35324
|
+
}],
|
|
35325
|
+
"alarmPanel.arm": [{
|
|
35326
|
+
name: "deviceId",
|
|
35327
|
+
form: "single",
|
|
35328
|
+
optional: false
|
|
35329
|
+
}],
|
|
35330
|
+
"alarmPanel.disarm": [{
|
|
35331
|
+
name: "deviceId",
|
|
35332
|
+
form: "single",
|
|
35333
|
+
optional: false
|
|
35334
|
+
}],
|
|
35335
|
+
"alarmPanel.trigger": [{
|
|
35336
|
+
name: "deviceId",
|
|
35337
|
+
form: "single",
|
|
35338
|
+
optional: false
|
|
35339
|
+
}],
|
|
35340
|
+
"audioAnalysis.resolveDeviceSettings": [{
|
|
35341
|
+
name: "deviceId",
|
|
35342
|
+
form: "single",
|
|
35343
|
+
optional: false
|
|
35344
|
+
}],
|
|
35345
|
+
"audioAnalyzer.classify": [{
|
|
35346
|
+
name: "deviceId",
|
|
35347
|
+
form: "single",
|
|
35348
|
+
optional: true
|
|
35349
|
+
}],
|
|
35350
|
+
"audioMetrics.getCurrentSnapshot": [{
|
|
35351
|
+
name: "deviceId",
|
|
35352
|
+
form: "single",
|
|
35353
|
+
optional: false
|
|
35354
|
+
}],
|
|
35355
|
+
"audioMetrics.getHistory": [{
|
|
35356
|
+
name: "deviceId",
|
|
35357
|
+
form: "single",
|
|
35358
|
+
optional: false
|
|
35359
|
+
}],
|
|
35360
|
+
"automationControl.disable": [{
|
|
35361
|
+
name: "deviceId",
|
|
35362
|
+
form: "single",
|
|
35363
|
+
optional: false
|
|
35364
|
+
}],
|
|
35365
|
+
"automationControl.enable": [{
|
|
35366
|
+
name: "deviceId",
|
|
35367
|
+
form: "single",
|
|
35368
|
+
optional: false
|
|
35369
|
+
}],
|
|
35370
|
+
"automationControl.trigger": [{
|
|
35371
|
+
name: "deviceId",
|
|
35372
|
+
form: "single",
|
|
35373
|
+
optional: false
|
|
35374
|
+
}],
|
|
35375
|
+
"battery.wakeForStream": [{
|
|
35376
|
+
name: "deviceId",
|
|
35377
|
+
form: "single",
|
|
35378
|
+
optional: false
|
|
35379
|
+
}],
|
|
35380
|
+
"brightness.setBrightness": [{
|
|
35381
|
+
name: "deviceId",
|
|
35382
|
+
form: "single",
|
|
35383
|
+
optional: false
|
|
35384
|
+
}],
|
|
35385
|
+
"button.press": [{
|
|
35386
|
+
name: "deviceId",
|
|
35387
|
+
form: "single",
|
|
35388
|
+
optional: false
|
|
35389
|
+
}],
|
|
35390
|
+
"cameraCredentials.getCredentials": [{
|
|
35391
|
+
name: "deviceId",
|
|
35392
|
+
form: "single",
|
|
35393
|
+
optional: false
|
|
35394
|
+
}],
|
|
35395
|
+
"cameraStreams.getBrokerStreams": [{
|
|
35396
|
+
name: "deviceId",
|
|
35397
|
+
form: "single",
|
|
35398
|
+
optional: false
|
|
35399
|
+
}],
|
|
35400
|
+
"cameraStreams.getCameraStreams": [{
|
|
35401
|
+
name: "deviceId",
|
|
35402
|
+
form: "single",
|
|
35403
|
+
optional: false
|
|
35404
|
+
}],
|
|
35405
|
+
"cameraStreams.getProfileRtspEntries": [{
|
|
35406
|
+
name: "deviceId",
|
|
35407
|
+
form: "single",
|
|
35408
|
+
optional: false
|
|
35409
|
+
}],
|
|
35410
|
+
"cameraStreams.getRtspEntries": [{
|
|
35411
|
+
name: "deviceId",
|
|
35412
|
+
form: "single",
|
|
35413
|
+
optional: false
|
|
35414
|
+
}],
|
|
35415
|
+
"cameraStreams.pickStream": [{
|
|
35416
|
+
name: "deviceId",
|
|
35417
|
+
form: "single",
|
|
35418
|
+
optional: false
|
|
35419
|
+
}],
|
|
35420
|
+
"climateControl.setFanMode": [{
|
|
35421
|
+
name: "deviceId",
|
|
35422
|
+
form: "single",
|
|
35423
|
+
optional: false
|
|
35424
|
+
}],
|
|
35425
|
+
"climateControl.setMode": [{
|
|
35426
|
+
name: "deviceId",
|
|
35427
|
+
form: "single",
|
|
35428
|
+
optional: false
|
|
35429
|
+
}],
|
|
35430
|
+
"climateControl.setPreset": [{
|
|
35431
|
+
name: "deviceId",
|
|
35432
|
+
form: "single",
|
|
35433
|
+
optional: false
|
|
35434
|
+
}],
|
|
35435
|
+
"climateControl.setSwingHorizontal": [{
|
|
35436
|
+
name: "deviceId",
|
|
35437
|
+
form: "single",
|
|
35438
|
+
optional: false
|
|
35439
|
+
}],
|
|
35440
|
+
"climateControl.setSwingVertical": [{
|
|
35441
|
+
name: "deviceId",
|
|
35442
|
+
form: "single",
|
|
35443
|
+
optional: false
|
|
35444
|
+
}],
|
|
35445
|
+
"climateControl.setTarget": [{
|
|
35446
|
+
name: "deviceId",
|
|
35447
|
+
form: "single",
|
|
35448
|
+
optional: false
|
|
35449
|
+
}],
|
|
35450
|
+
"climateControl.setTargetHumidity": [{
|
|
35451
|
+
name: "deviceId",
|
|
35452
|
+
form: "single",
|
|
35453
|
+
optional: false
|
|
35454
|
+
}],
|
|
35455
|
+
"climateControl.setTargetRange": [{
|
|
35456
|
+
name: "deviceId",
|
|
35457
|
+
form: "single",
|
|
35458
|
+
optional: false
|
|
35459
|
+
}],
|
|
35460
|
+
"color.setColor": [{
|
|
35461
|
+
name: "deviceId",
|
|
35462
|
+
form: "single",
|
|
35463
|
+
optional: false
|
|
35464
|
+
}],
|
|
35465
|
+
"consumables.reset": [{
|
|
35466
|
+
name: "deviceId",
|
|
35467
|
+
form: "single",
|
|
35468
|
+
optional: false
|
|
35469
|
+
}],
|
|
35470
|
+
"control.setValue": [{
|
|
35471
|
+
name: "deviceId",
|
|
35472
|
+
form: "single",
|
|
35473
|
+
optional: false
|
|
35474
|
+
}],
|
|
35475
|
+
"cover.close": [{
|
|
35476
|
+
name: "deviceId",
|
|
35477
|
+
form: "single",
|
|
35478
|
+
optional: false
|
|
35479
|
+
}],
|
|
35480
|
+
"cover.open": [{
|
|
35481
|
+
name: "deviceId",
|
|
35482
|
+
form: "single",
|
|
35483
|
+
optional: false
|
|
35484
|
+
}],
|
|
35485
|
+
"cover.setPosition": [{
|
|
35486
|
+
name: "deviceId",
|
|
35487
|
+
form: "single",
|
|
35488
|
+
optional: false
|
|
35489
|
+
}],
|
|
35490
|
+
"cover.setTiltPosition": [{
|
|
35491
|
+
name: "deviceId",
|
|
35492
|
+
form: "single",
|
|
35493
|
+
optional: false
|
|
35494
|
+
}],
|
|
35495
|
+
"cover.stop": [{
|
|
35496
|
+
name: "deviceId",
|
|
35497
|
+
form: "single",
|
|
35498
|
+
optional: false
|
|
35499
|
+
}],
|
|
35500
|
+
"dayNight.getOptions": [{
|
|
35501
|
+
name: "deviceId",
|
|
35502
|
+
form: "single",
|
|
35503
|
+
optional: false
|
|
35504
|
+
}],
|
|
35505
|
+
"dayNight.setSettings": [{
|
|
35506
|
+
name: "deviceId",
|
|
35507
|
+
form: "single",
|
|
35508
|
+
optional: false
|
|
35509
|
+
}],
|
|
35510
|
+
"decoder.createSession": [{
|
|
35511
|
+
name: "deviceId",
|
|
35512
|
+
form: "single",
|
|
35513
|
+
optional: true
|
|
35514
|
+
}],
|
|
35515
|
+
"deviceAdoption.release": [{
|
|
35516
|
+
name: "camDeviceId",
|
|
35517
|
+
form: "single",
|
|
35518
|
+
optional: false
|
|
35519
|
+
}],
|
|
35520
|
+
"deviceAdoption.resync": [{
|
|
35521
|
+
name: "camDeviceId",
|
|
35522
|
+
form: "single",
|
|
35523
|
+
optional: false
|
|
35524
|
+
}],
|
|
35525
|
+
"deviceDiscovery.adoptDevice": [{
|
|
35526
|
+
name: "deviceId",
|
|
35527
|
+
form: "single",
|
|
35528
|
+
optional: false
|
|
35529
|
+
}],
|
|
35530
|
+
"deviceDiscovery.listDiscovered": [{
|
|
35531
|
+
name: "deviceId",
|
|
35532
|
+
form: "single",
|
|
35533
|
+
optional: false
|
|
35534
|
+
}],
|
|
35535
|
+
"deviceDiscovery.refreshDiscovery": [{
|
|
35536
|
+
name: "deviceId",
|
|
35537
|
+
form: "single",
|
|
35538
|
+
optional: false
|
|
35539
|
+
}],
|
|
35540
|
+
"deviceDiscovery.releaseDevice": [{
|
|
35541
|
+
name: "childDeviceId",
|
|
35542
|
+
form: "single",
|
|
35543
|
+
optional: false
|
|
35544
|
+
}, {
|
|
35545
|
+
name: "deviceId",
|
|
35546
|
+
form: "single",
|
|
35547
|
+
optional: false
|
|
35548
|
+
}],
|
|
35549
|
+
"deviceManager.adoptionRelease": [{
|
|
35550
|
+
name: "camDeviceId",
|
|
35551
|
+
form: "single",
|
|
35552
|
+
optional: false
|
|
35553
|
+
}],
|
|
35554
|
+
"deviceManager.adoptionResync": [{
|
|
35555
|
+
name: "camDeviceId",
|
|
35556
|
+
form: "single",
|
|
35557
|
+
optional: false
|
|
35558
|
+
}],
|
|
35559
|
+
"deviceManager.applyInitialMeta": [{
|
|
35560
|
+
name: "deviceId",
|
|
35561
|
+
form: "single",
|
|
35562
|
+
optional: false
|
|
35563
|
+
}, {
|
|
35564
|
+
name: "linkDeviceId",
|
|
35565
|
+
form: "single",
|
|
35566
|
+
optional: true
|
|
35567
|
+
}],
|
|
35568
|
+
"deviceManager.disable": [{
|
|
35569
|
+
name: "deviceId",
|
|
35570
|
+
form: "single",
|
|
35571
|
+
optional: false
|
|
35572
|
+
}],
|
|
35573
|
+
"deviceManager.enable": [{
|
|
35574
|
+
name: "deviceId",
|
|
35575
|
+
form: "single",
|
|
35576
|
+
optional: false
|
|
35577
|
+
}],
|
|
35578
|
+
"deviceManager.getBindings": [{
|
|
35579
|
+
name: "deviceId",
|
|
35580
|
+
form: "single",
|
|
35581
|
+
optional: false
|
|
35582
|
+
}],
|
|
35583
|
+
"deviceManager.getChildren": [{
|
|
35584
|
+
name: "parentDeviceId",
|
|
35585
|
+
form: "single",
|
|
35586
|
+
optional: false
|
|
35587
|
+
}],
|
|
35588
|
+
"deviceManager.getConfigSchema": [{
|
|
35589
|
+
name: "deviceId",
|
|
35590
|
+
form: "single",
|
|
35591
|
+
optional: false
|
|
35592
|
+
}],
|
|
35593
|
+
"deviceManager.getDevice": [{
|
|
35594
|
+
name: "deviceId",
|
|
35595
|
+
form: "single",
|
|
35596
|
+
optional: false
|
|
35597
|
+
}],
|
|
35598
|
+
"deviceManager.getDeviceAggregate": [{
|
|
35599
|
+
name: "deviceId",
|
|
35600
|
+
form: "single",
|
|
35601
|
+
optional: false
|
|
35602
|
+
}],
|
|
35603
|
+
"deviceManager.getDeviceLiveInfoAggregate": [{
|
|
35604
|
+
name: "deviceId",
|
|
35605
|
+
form: "single",
|
|
35606
|
+
optional: false
|
|
35607
|
+
}],
|
|
35608
|
+
"deviceManager.getDeviceSettingsAggregate": [{
|
|
35609
|
+
name: "deviceId",
|
|
35610
|
+
form: "single",
|
|
35611
|
+
optional: false
|
|
35612
|
+
}],
|
|
35613
|
+
"deviceManager.getDeviceStatusAggregate": [{
|
|
35614
|
+
name: "deviceId",
|
|
35615
|
+
form: "single",
|
|
35616
|
+
optional: false
|
|
35617
|
+
}],
|
|
35618
|
+
"deviceManager.getDeviceStatusAggregateBatch": [{
|
|
35619
|
+
name: "deviceIds",
|
|
35620
|
+
form: "array",
|
|
35621
|
+
optional: false
|
|
35622
|
+
}],
|
|
35623
|
+
"deviceManager.getLinkedDevices": [{
|
|
35624
|
+
name: "deviceId",
|
|
35625
|
+
form: "single",
|
|
35626
|
+
optional: false
|
|
35627
|
+
}],
|
|
35628
|
+
"deviceManager.getSettingsSchema": [{
|
|
35629
|
+
name: "deviceId",
|
|
35630
|
+
form: "single",
|
|
35631
|
+
optional: false
|
|
35632
|
+
}],
|
|
35633
|
+
"deviceManager.getStreamProfileMap": [{
|
|
35634
|
+
name: "deviceId",
|
|
35635
|
+
form: "single",
|
|
35636
|
+
optional: false
|
|
35637
|
+
}],
|
|
35638
|
+
"deviceManager.getStreamSources": [{
|
|
35639
|
+
name: "deviceId",
|
|
35640
|
+
form: "single",
|
|
35641
|
+
optional: false
|
|
35642
|
+
}],
|
|
35643
|
+
"deviceManager.getWireableFields": [{
|
|
35644
|
+
name: "deviceId",
|
|
35645
|
+
form: "single",
|
|
35646
|
+
optional: false
|
|
35647
|
+
}],
|
|
35648
|
+
"deviceManager.loadConfig": [{
|
|
35649
|
+
name: "deviceId",
|
|
35650
|
+
form: "single",
|
|
35651
|
+
optional: false
|
|
35652
|
+
}],
|
|
35653
|
+
"deviceManager.loadMeta": [{
|
|
35654
|
+
name: "deviceId",
|
|
35655
|
+
form: "single",
|
|
35656
|
+
optional: false
|
|
35657
|
+
}],
|
|
35658
|
+
"deviceManager.loadRuntimeState": [{
|
|
35659
|
+
name: "deviceId",
|
|
35660
|
+
form: "single",
|
|
35661
|
+
optional: false
|
|
35662
|
+
}],
|
|
35663
|
+
"deviceManager.persistConfig": [{
|
|
35664
|
+
name: "deviceId",
|
|
35665
|
+
form: "single",
|
|
35666
|
+
optional: false
|
|
35667
|
+
}],
|
|
35668
|
+
"deviceManager.probeStreams": [{
|
|
35669
|
+
name: "deviceId",
|
|
35670
|
+
form: "single",
|
|
35671
|
+
optional: false
|
|
35672
|
+
}],
|
|
35673
|
+
"deviceManager.registerDevice": [{
|
|
35674
|
+
name: "parentDeviceId",
|
|
35675
|
+
form: "single",
|
|
35676
|
+
optional: true
|
|
35677
|
+
}],
|
|
35678
|
+
"deviceManager.remove": [{
|
|
35679
|
+
name: "deviceId",
|
|
35680
|
+
form: "single",
|
|
35681
|
+
optional: false
|
|
35682
|
+
}],
|
|
35683
|
+
"deviceManager.removeDevice": [{
|
|
35684
|
+
name: "deviceId",
|
|
35685
|
+
form: "single",
|
|
35686
|
+
optional: false
|
|
35687
|
+
}],
|
|
35688
|
+
"deviceManager.runDeviceAction": [{
|
|
35689
|
+
name: "deviceId",
|
|
35690
|
+
form: "single",
|
|
35691
|
+
optional: false
|
|
35692
|
+
}],
|
|
35693
|
+
"deviceManager.setChildLayout": [{
|
|
35694
|
+
name: "deviceId",
|
|
35695
|
+
form: "single",
|
|
35696
|
+
optional: false
|
|
35697
|
+
}],
|
|
35698
|
+
"deviceManager.setDisabled": [{
|
|
35699
|
+
name: "deviceId",
|
|
35700
|
+
form: "single",
|
|
35701
|
+
optional: false
|
|
35702
|
+
}],
|
|
35703
|
+
"deviceManager.setDisplay": [{
|
|
35704
|
+
name: "deviceId",
|
|
35705
|
+
form: "single",
|
|
35706
|
+
optional: false
|
|
35707
|
+
}],
|
|
35708
|
+
"deviceManager.setIntegrationId": [{
|
|
35709
|
+
name: "deviceId",
|
|
35710
|
+
form: "single",
|
|
35711
|
+
optional: false
|
|
35712
|
+
}],
|
|
35713
|
+
"deviceManager.setLinkDeviceId": [{
|
|
35714
|
+
name: "deviceId",
|
|
35715
|
+
form: "single",
|
|
35716
|
+
optional: false
|
|
35717
|
+
}, {
|
|
35718
|
+
name: "linkDeviceId",
|
|
35719
|
+
form: "single",
|
|
35720
|
+
optional: true
|
|
35721
|
+
}],
|
|
35722
|
+
"deviceManager.setLocation": [{
|
|
35723
|
+
name: "deviceId",
|
|
35724
|
+
form: "single",
|
|
35725
|
+
optional: false
|
|
35726
|
+
}],
|
|
35727
|
+
"deviceManager.setMetadata": [{
|
|
35728
|
+
name: "deviceId",
|
|
35729
|
+
form: "single",
|
|
35730
|
+
optional: false
|
|
35731
|
+
}],
|
|
35732
|
+
"deviceManager.setName": [{
|
|
35733
|
+
name: "deviceId",
|
|
35734
|
+
form: "single",
|
|
35735
|
+
optional: false
|
|
35736
|
+
}],
|
|
35737
|
+
"deviceManager.setPrimaryChildEntityId": [{
|
|
35738
|
+
name: "deviceId",
|
|
35739
|
+
form: "single",
|
|
35740
|
+
optional: false
|
|
35741
|
+
}],
|
|
35742
|
+
"deviceManager.setRole": [{
|
|
35743
|
+
name: "deviceId",
|
|
35744
|
+
form: "single",
|
|
35745
|
+
optional: false
|
|
35746
|
+
}],
|
|
35747
|
+
"deviceManager.setStreamProfileMap": [{
|
|
35748
|
+
name: "deviceId",
|
|
35749
|
+
form: "single",
|
|
35750
|
+
optional: false
|
|
35751
|
+
}],
|
|
35752
|
+
"deviceManager.setType": [{
|
|
35753
|
+
name: "deviceId",
|
|
35754
|
+
form: "single",
|
|
35755
|
+
optional: false
|
|
35756
|
+
}],
|
|
35757
|
+
"deviceManager.setWrapperActive": [{
|
|
35758
|
+
name: "deviceId",
|
|
35759
|
+
form: "single",
|
|
35760
|
+
optional: false
|
|
35761
|
+
}],
|
|
35762
|
+
"deviceManager.testField": [{
|
|
35763
|
+
name: "deviceId",
|
|
35764
|
+
form: "single",
|
|
35765
|
+
optional: false
|
|
35766
|
+
}],
|
|
35767
|
+
"deviceManager.updateConfig": [{
|
|
35768
|
+
name: "deviceId",
|
|
35769
|
+
form: "single",
|
|
35770
|
+
optional: false
|
|
35771
|
+
}],
|
|
35772
|
+
"deviceManager.updateDeviceField": [{
|
|
35773
|
+
name: "deviceId",
|
|
35774
|
+
form: "single",
|
|
35775
|
+
optional: false
|
|
35776
|
+
}],
|
|
35777
|
+
"deviceManager.updateDeviceFieldsBatch": [{
|
|
35778
|
+
name: "deviceId",
|
|
35779
|
+
form: "single",
|
|
35780
|
+
optional: false
|
|
35781
|
+
}],
|
|
35782
|
+
"deviceOps.getConfigEntries": [{
|
|
35783
|
+
name: "deviceId",
|
|
35784
|
+
form: "single",
|
|
35785
|
+
optional: false
|
|
35786
|
+
}],
|
|
35787
|
+
"deviceOps.getRawState": [{
|
|
35788
|
+
name: "deviceId",
|
|
35789
|
+
form: "single",
|
|
35790
|
+
optional: false
|
|
35791
|
+
}],
|
|
35792
|
+
"deviceOps.getSettingsSchema": [{
|
|
35793
|
+
name: "deviceId",
|
|
35794
|
+
form: "single",
|
|
35795
|
+
optional: false
|
|
35796
|
+
}],
|
|
35797
|
+
"deviceOps.getStreamSources": [{
|
|
35798
|
+
name: "deviceId",
|
|
35799
|
+
form: "single",
|
|
35800
|
+
optional: false
|
|
35801
|
+
}],
|
|
35802
|
+
"deviceOps.removeDevice": [{
|
|
35803
|
+
name: "deviceId",
|
|
35804
|
+
form: "single",
|
|
35805
|
+
optional: false
|
|
35806
|
+
}],
|
|
35807
|
+
"deviceOps.runAction": [{
|
|
35808
|
+
name: "deviceId",
|
|
35809
|
+
form: "single",
|
|
35810
|
+
optional: false
|
|
35811
|
+
}],
|
|
35812
|
+
"deviceOps.setConfig": [{
|
|
35813
|
+
name: "deviceId",
|
|
35814
|
+
form: "single",
|
|
35815
|
+
optional: false
|
|
35816
|
+
}],
|
|
35817
|
+
"deviceState.getCapSlice": [{
|
|
35818
|
+
name: "deviceId",
|
|
35819
|
+
form: "single",
|
|
35820
|
+
optional: false
|
|
35821
|
+
}],
|
|
35822
|
+
"deviceState.getSnapshot": [{
|
|
35823
|
+
name: "deviceId",
|
|
35824
|
+
form: "single",
|
|
35825
|
+
optional: false
|
|
35826
|
+
}],
|
|
35827
|
+
"deviceState.setCapSlice": [{
|
|
35828
|
+
name: "deviceId",
|
|
35829
|
+
form: "single",
|
|
35830
|
+
optional: false
|
|
35831
|
+
}],
|
|
35832
|
+
"events.getEventClipUrl": [{
|
|
35833
|
+
name: "deviceId",
|
|
35834
|
+
form: "single",
|
|
35835
|
+
optional: false
|
|
35836
|
+
}],
|
|
35837
|
+
"events.getEvents": [{
|
|
35838
|
+
name: "deviceId",
|
|
35839
|
+
form: "single",
|
|
35840
|
+
optional: false
|
|
35841
|
+
}],
|
|
35842
|
+
"events.getEventThumbnail": [{
|
|
35843
|
+
name: "deviceId",
|
|
35844
|
+
form: "single",
|
|
35845
|
+
optional: false
|
|
35846
|
+
}],
|
|
35847
|
+
"faceGallery.getFaceByTrack": [{
|
|
35848
|
+
name: "deviceId",
|
|
35849
|
+
form: "single",
|
|
35850
|
+
optional: false
|
|
35851
|
+
}],
|
|
35852
|
+
"faceGallery.listRecentFaces": [{
|
|
35853
|
+
name: "deviceId",
|
|
35854
|
+
form: "single",
|
|
35855
|
+
optional: true
|
|
35856
|
+
}],
|
|
35857
|
+
"fanControl.setDirection": [{
|
|
35858
|
+
name: "deviceId",
|
|
35859
|
+
form: "single",
|
|
35860
|
+
optional: false
|
|
35861
|
+
}],
|
|
35862
|
+
"fanControl.setOscillating": [{
|
|
35863
|
+
name: "deviceId",
|
|
35864
|
+
form: "single",
|
|
35865
|
+
optional: false
|
|
35866
|
+
}],
|
|
35867
|
+
"fanControl.setPercentage": [{
|
|
35868
|
+
name: "deviceId",
|
|
35869
|
+
form: "single",
|
|
35870
|
+
optional: false
|
|
35871
|
+
}],
|
|
35872
|
+
"fanControl.setPreset": [{
|
|
35873
|
+
name: "deviceId",
|
|
35874
|
+
form: "single",
|
|
35875
|
+
optional: false
|
|
35876
|
+
}],
|
|
35877
|
+
"humidifier.setMode": [{
|
|
35878
|
+
name: "deviceId",
|
|
35879
|
+
form: "single",
|
|
35880
|
+
optional: false
|
|
35881
|
+
}],
|
|
35882
|
+
"humidifier.setOn": [{
|
|
35883
|
+
name: "deviceId",
|
|
35884
|
+
form: "single",
|
|
35885
|
+
optional: false
|
|
35886
|
+
}],
|
|
35887
|
+
"humidifier.setTargetHumidity": [{
|
|
35888
|
+
name: "deviceId",
|
|
35889
|
+
form: "single",
|
|
35890
|
+
optional: false
|
|
35891
|
+
}],
|
|
35892
|
+
"imageSettings.getOptions": [{
|
|
35893
|
+
name: "deviceId",
|
|
35894
|
+
form: "single",
|
|
35895
|
+
optional: false
|
|
35896
|
+
}],
|
|
35897
|
+
"imageSettings.setSettings": [{
|
|
35898
|
+
name: "deviceId",
|
|
35899
|
+
form: "single",
|
|
35900
|
+
optional: false
|
|
35901
|
+
}],
|
|
35902
|
+
"intercom.endTalkSession": [{
|
|
35903
|
+
name: "deviceId",
|
|
35904
|
+
form: "single",
|
|
35905
|
+
optional: false
|
|
35906
|
+
}],
|
|
35907
|
+
"intercom.handleAnswer": [{
|
|
35908
|
+
name: "deviceId",
|
|
35909
|
+
form: "single",
|
|
35910
|
+
optional: false
|
|
35911
|
+
}],
|
|
35912
|
+
"intercom.pushTalkAudio": [{
|
|
35913
|
+
name: "deviceId",
|
|
35914
|
+
form: "single",
|
|
35915
|
+
optional: false
|
|
35916
|
+
}],
|
|
35917
|
+
"intercom.startSession": [{
|
|
35918
|
+
name: "deviceId",
|
|
35919
|
+
form: "single",
|
|
35920
|
+
optional: false
|
|
35921
|
+
}],
|
|
35922
|
+
"intercom.startTalkSession": [{
|
|
35923
|
+
name: "deviceId",
|
|
35924
|
+
form: "single",
|
|
35925
|
+
optional: false
|
|
35926
|
+
}],
|
|
35927
|
+
"intercom.stopSession": [{
|
|
35928
|
+
name: "deviceId",
|
|
35929
|
+
form: "single",
|
|
35930
|
+
optional: false
|
|
35931
|
+
}],
|
|
35932
|
+
"lawnMowerControl.dock": [{
|
|
35933
|
+
name: "deviceId",
|
|
35934
|
+
form: "single",
|
|
35935
|
+
optional: false
|
|
35936
|
+
}],
|
|
35937
|
+
"lawnMowerControl.pause": [{
|
|
35938
|
+
name: "deviceId",
|
|
35939
|
+
form: "single",
|
|
35940
|
+
optional: false
|
|
35941
|
+
}],
|
|
35942
|
+
"lawnMowerControl.startMowing": [{
|
|
35943
|
+
name: "deviceId",
|
|
35944
|
+
form: "single",
|
|
35945
|
+
optional: false
|
|
35946
|
+
}],
|
|
35947
|
+
"lockControl.lock": [{
|
|
35948
|
+
name: "deviceId",
|
|
35949
|
+
form: "single",
|
|
35950
|
+
optional: false
|
|
35951
|
+
}],
|
|
35952
|
+
"lockControl.open": [{
|
|
35953
|
+
name: "deviceId",
|
|
35954
|
+
form: "single",
|
|
35955
|
+
optional: false
|
|
35956
|
+
}],
|
|
35957
|
+
"lockControl.unlock": [{
|
|
35958
|
+
name: "deviceId",
|
|
35959
|
+
form: "single",
|
|
35960
|
+
optional: false
|
|
35961
|
+
}],
|
|
35962
|
+
"mediaPlayer.next": [{
|
|
35963
|
+
name: "deviceId",
|
|
35964
|
+
form: "single",
|
|
35965
|
+
optional: false
|
|
35966
|
+
}],
|
|
35967
|
+
"mediaPlayer.pause": [{
|
|
35968
|
+
name: "deviceId",
|
|
35969
|
+
form: "single",
|
|
35970
|
+
optional: false
|
|
35971
|
+
}],
|
|
35972
|
+
"mediaPlayer.play": [{
|
|
35973
|
+
name: "deviceId",
|
|
35974
|
+
form: "single",
|
|
35975
|
+
optional: false
|
|
35976
|
+
}],
|
|
35977
|
+
"mediaPlayer.playMedia": [{
|
|
35978
|
+
name: "deviceId",
|
|
35979
|
+
form: "single",
|
|
35980
|
+
optional: false
|
|
35981
|
+
}],
|
|
35982
|
+
"mediaPlayer.previous": [{
|
|
35983
|
+
name: "deviceId",
|
|
35984
|
+
form: "single",
|
|
35985
|
+
optional: false
|
|
35986
|
+
}],
|
|
35987
|
+
"mediaPlayer.seek": [{
|
|
35988
|
+
name: "deviceId",
|
|
35989
|
+
form: "single",
|
|
35990
|
+
optional: false
|
|
35991
|
+
}],
|
|
35992
|
+
"mediaPlayer.selectSource": [{
|
|
35993
|
+
name: "deviceId",
|
|
35994
|
+
form: "single",
|
|
35995
|
+
optional: false
|
|
35996
|
+
}],
|
|
35997
|
+
"mediaPlayer.setMute": [{
|
|
35998
|
+
name: "deviceId",
|
|
35999
|
+
form: "single",
|
|
36000
|
+
optional: false
|
|
36001
|
+
}],
|
|
36002
|
+
"mediaPlayer.setRepeat": [{
|
|
36003
|
+
name: "deviceId",
|
|
36004
|
+
form: "single",
|
|
36005
|
+
optional: false
|
|
36006
|
+
}],
|
|
36007
|
+
"mediaPlayer.setShuffle": [{
|
|
36008
|
+
name: "deviceId",
|
|
36009
|
+
form: "single",
|
|
36010
|
+
optional: false
|
|
36011
|
+
}],
|
|
36012
|
+
"mediaPlayer.setVolume": [{
|
|
36013
|
+
name: "deviceId",
|
|
36014
|
+
form: "single",
|
|
36015
|
+
optional: false
|
|
36016
|
+
}],
|
|
36017
|
+
"mediaPlayer.stop": [{
|
|
36018
|
+
name: "deviceId",
|
|
36019
|
+
form: "single",
|
|
36020
|
+
optional: false
|
|
36021
|
+
}],
|
|
36022
|
+
"motion.isDetected": [{
|
|
36023
|
+
name: "deviceId",
|
|
36024
|
+
form: "single",
|
|
36025
|
+
optional: false
|
|
36026
|
+
}],
|
|
36027
|
+
"motionDetection.analyze": [{
|
|
36028
|
+
name: "deviceId",
|
|
36029
|
+
form: "single",
|
|
36030
|
+
optional: false
|
|
36031
|
+
}],
|
|
36032
|
+
"motionDetection.removeCamera": [{
|
|
36033
|
+
name: "deviceId",
|
|
36034
|
+
form: "single",
|
|
36035
|
+
optional: false
|
|
36036
|
+
}],
|
|
36037
|
+
"motionTrigger.setMotionTrigger": [{
|
|
36038
|
+
name: "deviceId",
|
|
36039
|
+
form: "single",
|
|
36040
|
+
optional: false
|
|
36041
|
+
}],
|
|
36042
|
+
"motionZones.getOptions": [{
|
|
36043
|
+
name: "deviceId",
|
|
36044
|
+
form: "single",
|
|
36045
|
+
optional: false
|
|
36046
|
+
}],
|
|
36047
|
+
"motionZones.setZone": [{
|
|
36048
|
+
name: "deviceId",
|
|
36049
|
+
form: "single",
|
|
36050
|
+
optional: false
|
|
36051
|
+
}],
|
|
36052
|
+
"nativeObjectDetection.setEnabled": [{
|
|
36053
|
+
name: "deviceId",
|
|
36054
|
+
form: "single",
|
|
36055
|
+
optional: false
|
|
36056
|
+
}],
|
|
36057
|
+
"networkQuality.getDeviceStats": [{
|
|
36058
|
+
name: "deviceId",
|
|
36059
|
+
form: "single",
|
|
36060
|
+
optional: false
|
|
36061
|
+
}],
|
|
36062
|
+
"networkQuality.reportClientStats": [{
|
|
36063
|
+
name: "deviceId",
|
|
36064
|
+
form: "single",
|
|
36065
|
+
optional: false
|
|
36066
|
+
}],
|
|
36067
|
+
"notificationRules.setDeviceMuted": [{
|
|
36068
|
+
name: "deviceId",
|
|
36069
|
+
form: "single",
|
|
36070
|
+
optional: false
|
|
36071
|
+
}],
|
|
36072
|
+
"notifier.cancel": [{
|
|
36073
|
+
name: "deviceId",
|
|
36074
|
+
form: "single",
|
|
36075
|
+
optional: false
|
|
36076
|
+
}],
|
|
36077
|
+
"notifier.send": [{
|
|
36078
|
+
name: "deviceId",
|
|
36079
|
+
form: "single",
|
|
36080
|
+
optional: false
|
|
36081
|
+
}],
|
|
36082
|
+
"osd.setOverlay": [{
|
|
36083
|
+
name: "deviceId",
|
|
36084
|
+
form: "single",
|
|
36085
|
+
optional: false
|
|
36086
|
+
}],
|
|
36087
|
+
"osdManager.clearSlotBinding": [{
|
|
36088
|
+
name: "deviceId",
|
|
36089
|
+
form: "single",
|
|
36090
|
+
optional: false
|
|
36091
|
+
}],
|
|
36092
|
+
"osdManager.copyDeviceConfiguration": [{
|
|
36093
|
+
name: "sourceDeviceId",
|
|
36094
|
+
form: "single",
|
|
36095
|
+
optional: false
|
|
36096
|
+
}, {
|
|
36097
|
+
name: "targetDeviceId",
|
|
36098
|
+
form: "single",
|
|
36099
|
+
optional: false
|
|
36100
|
+
}],
|
|
36101
|
+
"osdManager.getDeviceOsd": [{
|
|
36102
|
+
name: "deviceId",
|
|
36103
|
+
form: "single",
|
|
36104
|
+
optional: false
|
|
36105
|
+
}],
|
|
36106
|
+
"osdManager.getSourceCatalog": [{
|
|
36107
|
+
name: "deviceId",
|
|
36108
|
+
form: "single",
|
|
36109
|
+
optional: false
|
|
36110
|
+
}],
|
|
36111
|
+
"osdManager.previewSlot": [{
|
|
36112
|
+
name: "deviceId",
|
|
36113
|
+
form: "single",
|
|
36114
|
+
optional: false
|
|
36115
|
+
}],
|
|
36116
|
+
"osdManager.renderDevice": [{
|
|
36117
|
+
name: "deviceId",
|
|
36118
|
+
form: "single",
|
|
36119
|
+
optional: false
|
|
36120
|
+
}],
|
|
36121
|
+
"osdManager.setSlotBinding": [{
|
|
36122
|
+
name: "deviceId",
|
|
36123
|
+
form: "single",
|
|
36124
|
+
optional: false
|
|
36125
|
+
}],
|
|
36126
|
+
"petFeeder.callPet": [{
|
|
36127
|
+
name: "deviceId",
|
|
36128
|
+
form: "single",
|
|
36129
|
+
optional: false
|
|
36130
|
+
}],
|
|
36131
|
+
"petFeeder.cancelFeed": [{
|
|
36132
|
+
name: "deviceId",
|
|
36133
|
+
form: "single",
|
|
36134
|
+
optional: false
|
|
36135
|
+
}],
|
|
36136
|
+
"petFeeder.feed": [{
|
|
36137
|
+
name: "deviceId",
|
|
36138
|
+
form: "single",
|
|
36139
|
+
optional: false
|
|
36140
|
+
}],
|
|
36141
|
+
"petFeeder.markFoodReplenished": [{
|
|
36142
|
+
name: "deviceId",
|
|
36143
|
+
form: "single",
|
|
36144
|
+
optional: false
|
|
36145
|
+
}],
|
|
36146
|
+
"petFeeder.playSound": [{
|
|
36147
|
+
name: "deviceId",
|
|
36148
|
+
form: "single",
|
|
36149
|
+
optional: false
|
|
36150
|
+
}],
|
|
36151
|
+
"petFeeder.resetDesiccant": [{
|
|
36152
|
+
name: "deviceId",
|
|
36153
|
+
form: "single",
|
|
36154
|
+
optional: false
|
|
36155
|
+
}],
|
|
36156
|
+
"petFeeder.setChildLock": [{
|
|
36157
|
+
name: "deviceId",
|
|
36158
|
+
form: "single",
|
|
36159
|
+
optional: false
|
|
36160
|
+
}],
|
|
36161
|
+
"petFeeder.setFeedSound": [{
|
|
36162
|
+
name: "deviceId",
|
|
36163
|
+
form: "single",
|
|
36164
|
+
optional: false
|
|
36165
|
+
}],
|
|
36166
|
+
"petFeeder.setIndicatorLight": [{
|
|
36167
|
+
name: "deviceId",
|
|
36168
|
+
form: "single",
|
|
36169
|
+
optional: false
|
|
36170
|
+
}],
|
|
36171
|
+
"petFeeder.setVolume": [{
|
|
36172
|
+
name: "deviceId",
|
|
36173
|
+
form: "single",
|
|
36174
|
+
optional: false
|
|
36175
|
+
}],
|
|
36176
|
+
"pipelineAnalytics.clearTracks": [{
|
|
36177
|
+
name: "deviceId",
|
|
36178
|
+
form: "single",
|
|
36179
|
+
optional: false
|
|
36180
|
+
}],
|
|
36181
|
+
"pipelineAnalytics.completeRetrainTrack": [{
|
|
36182
|
+
name: "deviceId",
|
|
36183
|
+
form: "single",
|
|
36184
|
+
optional: false
|
|
36185
|
+
}],
|
|
36186
|
+
"pipelineAnalytics.deleteDeviceEvents": [{
|
|
36187
|
+
name: "deviceId",
|
|
36188
|
+
form: "single",
|
|
36189
|
+
optional: false
|
|
36190
|
+
}],
|
|
36191
|
+
"pipelineAnalytics.deleteTracks": [{
|
|
36192
|
+
name: "deviceId",
|
|
36193
|
+
form: "single",
|
|
36194
|
+
optional: false
|
|
36195
|
+
}],
|
|
36196
|
+
"pipelineAnalytics.deselectRetrainFrame": [{
|
|
36197
|
+
name: "deviceId",
|
|
36198
|
+
form: "single",
|
|
36199
|
+
optional: false
|
|
36200
|
+
}],
|
|
36201
|
+
"pipelineAnalytics.getActiveTracks": [{
|
|
36202
|
+
name: "deviceId",
|
|
36203
|
+
form: "single",
|
|
36204
|
+
optional: false
|
|
36205
|
+
}],
|
|
36206
|
+
"pipelineAnalytics.getAudioEvents": [{
|
|
36207
|
+
name: "deviceId",
|
|
36208
|
+
form: "single",
|
|
36209
|
+
optional: false
|
|
36210
|
+
}],
|
|
36211
|
+
"pipelineAnalytics.getEventDensity": [{
|
|
36212
|
+
name: "deviceId",
|
|
36213
|
+
form: "single",
|
|
36214
|
+
optional: false
|
|
36215
|
+
}],
|
|
36216
|
+
"pipelineAnalytics.getEventMedia": [{
|
|
36217
|
+
name: "deviceId",
|
|
36218
|
+
form: "single",
|
|
36219
|
+
optional: false
|
|
36220
|
+
}],
|
|
36221
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
36222
|
+
name: "deviceId",
|
|
36223
|
+
form: "single",
|
|
36224
|
+
optional: false
|
|
36225
|
+
}],
|
|
36226
|
+
"pipelineAnalytics.getMotionEvents": [{
|
|
36227
|
+
name: "deviceId",
|
|
36228
|
+
form: "single",
|
|
36229
|
+
optional: false
|
|
36230
|
+
}],
|
|
36231
|
+
"pipelineAnalytics.getObjectEvents": [{
|
|
36232
|
+
name: "deviceId",
|
|
36233
|
+
form: "single",
|
|
36234
|
+
optional: false
|
|
36235
|
+
}],
|
|
36236
|
+
"pipelineAnalytics.getRetrainExportUrl": [{
|
|
36237
|
+
name: "deviceIds",
|
|
36238
|
+
form: "array",
|
|
36239
|
+
optional: true
|
|
36240
|
+
}],
|
|
36241
|
+
"pipelineAnalytics.getSensorEvents": [{
|
|
36242
|
+
name: "deviceId",
|
|
36243
|
+
form: "single",
|
|
36244
|
+
optional: false
|
|
36245
|
+
}],
|
|
36246
|
+
"pipelineAnalytics.getTrack": [{
|
|
36247
|
+
name: "deviceId",
|
|
36248
|
+
form: "single",
|
|
36249
|
+
optional: false
|
|
36250
|
+
}],
|
|
36251
|
+
"pipelineAnalytics.getTrackMedia": [{
|
|
36252
|
+
name: "deviceId",
|
|
36253
|
+
form: "single",
|
|
36254
|
+
optional: false
|
|
36255
|
+
}],
|
|
36256
|
+
"pipelineAnalytics.getTrainingExportSummary": [{
|
|
36257
|
+
name: "deviceIds",
|
|
36258
|
+
form: "array",
|
|
36259
|
+
optional: true
|
|
36260
|
+
}],
|
|
36261
|
+
"pipelineAnalytics.getTrainingExportUrl": [{
|
|
36262
|
+
name: "deviceIds",
|
|
36263
|
+
form: "array",
|
|
36264
|
+
optional: true
|
|
36265
|
+
}],
|
|
36266
|
+
"pipelineAnalytics.listEventKinds": [{
|
|
36267
|
+
name: "deviceId",
|
|
36268
|
+
form: "single",
|
|
36269
|
+
optional: false
|
|
36270
|
+
}],
|
|
36271
|
+
"pipelineAnalytics.listEventKindsBatch": [{
|
|
36272
|
+
name: "deviceIds",
|
|
36273
|
+
form: "array",
|
|
36274
|
+
optional: false
|
|
36275
|
+
}],
|
|
36276
|
+
"pipelineAnalytics.listOpsLog": [{
|
|
36277
|
+
name: "deviceId",
|
|
36278
|
+
form: "single",
|
|
36279
|
+
optional: true
|
|
36280
|
+
}],
|
|
36281
|
+
"pipelineAnalytics.listRecentTracks": [{
|
|
36282
|
+
name: "deviceIds",
|
|
36283
|
+
form: "array",
|
|
36284
|
+
optional: false
|
|
36285
|
+
}],
|
|
36286
|
+
"pipelineAnalytics.listRetrainStaging": [{
|
|
36287
|
+
name: "deviceIds",
|
|
36288
|
+
form: "array",
|
|
36289
|
+
optional: true
|
|
36290
|
+
}],
|
|
36291
|
+
"pipelineAnalytics.listTrackMedia": [{
|
|
36292
|
+
name: "deviceId",
|
|
36293
|
+
form: "single",
|
|
36294
|
+
optional: false
|
|
36295
|
+
}],
|
|
36296
|
+
"pipelineAnalytics.listTracks": [{
|
|
36297
|
+
name: "deviceId",
|
|
36298
|
+
form: "single",
|
|
36299
|
+
optional: false
|
|
36300
|
+
}],
|
|
36301
|
+
"pipelineAnalytics.proposeRetrainAnnotations": [{
|
|
36302
|
+
name: "deviceId",
|
|
36303
|
+
form: "single",
|
|
36304
|
+
optional: false
|
|
36305
|
+
}],
|
|
36306
|
+
"pipelineAnalytics.pruneEventsBefore": [{
|
|
36307
|
+
name: "deviceId",
|
|
36308
|
+
form: "single",
|
|
36309
|
+
optional: false
|
|
36310
|
+
}],
|
|
36311
|
+
"pipelineAnalytics.pruneTracksBefore": [{
|
|
36312
|
+
name: "deviceId",
|
|
36313
|
+
form: "single",
|
|
36314
|
+
optional: false
|
|
36315
|
+
}],
|
|
36316
|
+
"pipelineAnalytics.rebuildObjectEmbeddings": [{
|
|
36317
|
+
name: "deviceId",
|
|
36318
|
+
form: "single",
|
|
36319
|
+
optional: true
|
|
36320
|
+
}],
|
|
36321
|
+
"pipelineAnalytics.restageRetrainTrack": [{
|
|
36322
|
+
name: "deviceId",
|
|
36323
|
+
form: "single",
|
|
36324
|
+
optional: false
|
|
36325
|
+
}],
|
|
36326
|
+
"pipelineAnalytics.saveRetrainAnnotations": [{
|
|
36327
|
+
name: "deviceId",
|
|
36328
|
+
form: "single",
|
|
36329
|
+
optional: false
|
|
36330
|
+
}],
|
|
36331
|
+
"pipelineAnalytics.searchObjectEvents": [{
|
|
36332
|
+
name: "deviceId",
|
|
36333
|
+
form: "single",
|
|
36334
|
+
optional: true
|
|
36335
|
+
}],
|
|
36336
|
+
"pipelineAnalytics.selectRetrainFrames": [{
|
|
36337
|
+
name: "deviceId",
|
|
36338
|
+
form: "single",
|
|
36339
|
+
optional: false
|
|
36340
|
+
}],
|
|
36341
|
+
"pipelineAnalytics.setTrackFlags": [{
|
|
36342
|
+
name: "deviceId",
|
|
36343
|
+
form: "single",
|
|
36344
|
+
optional: false
|
|
36345
|
+
}],
|
|
36346
|
+
"pipelineAnalytics.wipeAllAnalytics": [{
|
|
36347
|
+
name: "deviceId",
|
|
36348
|
+
form: "single",
|
|
36349
|
+
optional: false
|
|
36350
|
+
}],
|
|
36351
|
+
"pipelineExecutor.runPipeline": [{
|
|
36352
|
+
name: "deviceId",
|
|
36353
|
+
form: "single",
|
|
36354
|
+
optional: true
|
|
36355
|
+
}],
|
|
36356
|
+
"pipelineExecutor.runPipelineBatch": [{
|
|
36357
|
+
name: "deviceId",
|
|
36358
|
+
form: "single",
|
|
36359
|
+
optional: true
|
|
36360
|
+
}],
|
|
36361
|
+
"pipelineOrchestrator.assignAudio": [{
|
|
36362
|
+
name: "deviceId",
|
|
36363
|
+
form: "single",
|
|
36364
|
+
optional: false
|
|
36365
|
+
}],
|
|
36366
|
+
"pipelineOrchestrator.assignPipeline": [{
|
|
36367
|
+
name: "deviceId",
|
|
36368
|
+
form: "single",
|
|
36369
|
+
optional: false
|
|
36370
|
+
}],
|
|
36371
|
+
"pipelineOrchestrator.getAudioAssignment": [{
|
|
36372
|
+
name: "deviceId",
|
|
36373
|
+
form: "single",
|
|
36374
|
+
optional: false
|
|
36375
|
+
}],
|
|
36376
|
+
"pipelineOrchestrator.getCameraMetrics": [{
|
|
36377
|
+
name: "deviceId",
|
|
36378
|
+
form: "single",
|
|
36379
|
+
optional: false
|
|
36380
|
+
}],
|
|
36381
|
+
"pipelineOrchestrator.getCameraSettings": [{
|
|
36382
|
+
name: "deviceId",
|
|
36383
|
+
form: "single",
|
|
36384
|
+
optional: false
|
|
36385
|
+
}],
|
|
36386
|
+
"pipelineOrchestrator.getCameraStatus": [{
|
|
36387
|
+
name: "deviceId",
|
|
36388
|
+
form: "single",
|
|
36389
|
+
optional: false
|
|
36390
|
+
}],
|
|
36391
|
+
"pipelineOrchestrator.getCameraStatuses": [{
|
|
36392
|
+
name: "deviceIds",
|
|
36393
|
+
form: "array",
|
|
36394
|
+
optional: true
|
|
36395
|
+
}],
|
|
36396
|
+
"pipelineOrchestrator.getCameraStepOverrides": [{
|
|
36397
|
+
name: "deviceId",
|
|
36398
|
+
form: "single",
|
|
36399
|
+
optional: false
|
|
36400
|
+
}],
|
|
36401
|
+
"pipelineOrchestrator.getCameraSwitches": [{
|
|
36402
|
+
name: "deviceId",
|
|
36403
|
+
form: "single",
|
|
36404
|
+
optional: false
|
|
36405
|
+
}],
|
|
36406
|
+
"pipelineOrchestrator.getPipelineAssignment": [{
|
|
36407
|
+
name: "deviceId",
|
|
36408
|
+
form: "single",
|
|
36409
|
+
optional: false
|
|
36410
|
+
}],
|
|
36411
|
+
"pipelineOrchestrator.getPipelineDevicePin": [{
|
|
36412
|
+
name: "deviceId",
|
|
36413
|
+
form: "single",
|
|
36414
|
+
optional: false
|
|
36415
|
+
}],
|
|
36416
|
+
"pipelineOrchestrator.resolvePipeline": [{
|
|
36417
|
+
name: "deviceId",
|
|
36418
|
+
form: "single",
|
|
36419
|
+
optional: false
|
|
36420
|
+
}],
|
|
36421
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": [{
|
|
36422
|
+
name: "deviceId",
|
|
36423
|
+
form: "single",
|
|
36424
|
+
optional: false
|
|
36425
|
+
}],
|
|
36426
|
+
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
36427
|
+
name: "deviceId",
|
|
36428
|
+
form: "single",
|
|
36429
|
+
optional: false
|
|
36430
|
+
}],
|
|
36431
|
+
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
36432
|
+
name: "deviceId",
|
|
36433
|
+
form: "single",
|
|
36434
|
+
optional: false
|
|
36435
|
+
}],
|
|
36436
|
+
"pipelineOrchestrator.setCameraSwitch": [{
|
|
36437
|
+
name: "deviceId",
|
|
36438
|
+
form: "single",
|
|
36439
|
+
optional: false
|
|
36440
|
+
}],
|
|
36441
|
+
"pipelineOrchestrator.setPipelineDevicePin": [{
|
|
36442
|
+
name: "deviceId",
|
|
36443
|
+
form: "single",
|
|
36444
|
+
optional: false
|
|
36445
|
+
}],
|
|
36446
|
+
"pipelineOrchestrator.unassignAudio": [{
|
|
36447
|
+
name: "deviceId",
|
|
36448
|
+
form: "single",
|
|
36449
|
+
optional: false
|
|
36450
|
+
}],
|
|
36451
|
+
"pipelineOrchestrator.unassignPipeline": [{
|
|
36452
|
+
name: "deviceId",
|
|
36453
|
+
form: "single",
|
|
36454
|
+
optional: false
|
|
36455
|
+
}],
|
|
36456
|
+
"pipelineRunner.attachCamera": [{
|
|
36457
|
+
name: "deviceId",
|
|
36458
|
+
form: "single",
|
|
36459
|
+
optional: false
|
|
36460
|
+
}],
|
|
36461
|
+
"pipelineRunner.detachCamera": [{
|
|
36462
|
+
name: "deviceId",
|
|
36463
|
+
form: "single",
|
|
36464
|
+
optional: false
|
|
36465
|
+
}],
|
|
36466
|
+
"pipelineRunner.getCameraMetrics": [{
|
|
36467
|
+
name: "deviceId",
|
|
36468
|
+
form: "single",
|
|
36469
|
+
optional: false
|
|
36470
|
+
}],
|
|
36471
|
+
"pipelineRunner.reportMotion": [{
|
|
36472
|
+
name: "deviceId",
|
|
36473
|
+
form: "single",
|
|
36474
|
+
optional: false
|
|
36475
|
+
}],
|
|
36476
|
+
"pipelineRunner.runDetailSubtree": [{
|
|
36477
|
+
name: "deviceId",
|
|
36478
|
+
form: "single",
|
|
36479
|
+
optional: false
|
|
36480
|
+
}],
|
|
36481
|
+
"pipelineRunner.runStatelessStep": [{
|
|
36482
|
+
name: "sourceDeviceId",
|
|
36483
|
+
form: "single",
|
|
36484
|
+
optional: false
|
|
36485
|
+
}],
|
|
36486
|
+
"plateGallery.getPlateByTrack": [{
|
|
36487
|
+
name: "deviceId",
|
|
36488
|
+
form: "single",
|
|
36489
|
+
optional: false
|
|
36490
|
+
}],
|
|
36491
|
+
"plateGallery.listPlates": [{
|
|
36492
|
+
name: "deviceId",
|
|
36493
|
+
form: "single",
|
|
36494
|
+
optional: true
|
|
36495
|
+
}],
|
|
36496
|
+
"privacyMask.getOptions": [{
|
|
36497
|
+
name: "deviceId",
|
|
36498
|
+
form: "single",
|
|
36499
|
+
optional: false
|
|
36500
|
+
}],
|
|
36501
|
+
"privacyMask.setAudioEnabled": [{
|
|
36502
|
+
name: "deviceId",
|
|
36503
|
+
form: "single",
|
|
36504
|
+
optional: false
|
|
36505
|
+
}],
|
|
36506
|
+
"privacyMask.setMask": [{
|
|
36507
|
+
name: "deviceId",
|
|
36508
|
+
form: "single",
|
|
36509
|
+
optional: false
|
|
36510
|
+
}],
|
|
36511
|
+
"ptz.continuousMove": [{
|
|
36512
|
+
name: "deviceId",
|
|
36513
|
+
form: "single",
|
|
36514
|
+
optional: false
|
|
36515
|
+
}],
|
|
36516
|
+
"ptz.deletePreset": [{
|
|
36517
|
+
name: "deviceId",
|
|
36518
|
+
form: "single",
|
|
36519
|
+
optional: false
|
|
36520
|
+
}],
|
|
36521
|
+
"ptz.getOptions": [{
|
|
36522
|
+
name: "deviceId",
|
|
36523
|
+
form: "single",
|
|
36524
|
+
optional: false
|
|
36525
|
+
}],
|
|
36526
|
+
"ptz.getPosition": [{
|
|
36527
|
+
name: "deviceId",
|
|
36528
|
+
form: "single",
|
|
36529
|
+
optional: false
|
|
36530
|
+
}],
|
|
36531
|
+
"ptz.getPresets": [{
|
|
36532
|
+
name: "deviceId",
|
|
36533
|
+
form: "single",
|
|
36534
|
+
optional: false
|
|
36535
|
+
}],
|
|
36536
|
+
"ptz.goHome": [{
|
|
36537
|
+
name: "deviceId",
|
|
36538
|
+
form: "single",
|
|
36539
|
+
optional: false
|
|
36540
|
+
}],
|
|
36541
|
+
"ptz.goToPreset": [{
|
|
36542
|
+
name: "deviceId",
|
|
36543
|
+
form: "single",
|
|
36544
|
+
optional: false
|
|
36545
|
+
}],
|
|
36546
|
+
"ptz.move": [{
|
|
36547
|
+
name: "deviceId",
|
|
36548
|
+
form: "single",
|
|
36549
|
+
optional: false
|
|
36550
|
+
}],
|
|
36551
|
+
"ptz.savePreset": [{
|
|
36552
|
+
name: "deviceId",
|
|
36553
|
+
form: "single",
|
|
36554
|
+
optional: false
|
|
36555
|
+
}],
|
|
36556
|
+
"ptz.setAutofocus": [{
|
|
36557
|
+
name: "deviceId",
|
|
36558
|
+
form: "single",
|
|
36559
|
+
optional: false
|
|
36560
|
+
}],
|
|
36561
|
+
"ptz.stop": [{
|
|
36562
|
+
name: "deviceId",
|
|
36563
|
+
form: "single",
|
|
36564
|
+
optional: false
|
|
36565
|
+
}],
|
|
36566
|
+
"ptzAutotrack.getSettings": [{
|
|
36567
|
+
name: "deviceId",
|
|
36568
|
+
form: "single",
|
|
36569
|
+
optional: false
|
|
36570
|
+
}],
|
|
36571
|
+
"ptzAutotrack.getStatus": [{
|
|
36572
|
+
name: "deviceId",
|
|
36573
|
+
form: "single",
|
|
36574
|
+
optional: false
|
|
36575
|
+
}],
|
|
36576
|
+
"ptzAutotrack.setEnabled": [{
|
|
36577
|
+
name: "deviceId",
|
|
36578
|
+
form: "single",
|
|
36579
|
+
optional: false
|
|
36580
|
+
}],
|
|
36581
|
+
"ptzAutotrack.setSettings": [{
|
|
36582
|
+
name: "deviceId",
|
|
36583
|
+
form: "single",
|
|
36584
|
+
optional: false
|
|
36585
|
+
}],
|
|
36586
|
+
"reboot.reboot": [{
|
|
36587
|
+
name: "deviceId",
|
|
36588
|
+
form: "single",
|
|
36589
|
+
optional: false
|
|
36590
|
+
}],
|
|
36591
|
+
"recording.deleteFootprint": [{
|
|
36592
|
+
name: "deviceId",
|
|
36593
|
+
form: "single",
|
|
36594
|
+
optional: false
|
|
36595
|
+
}],
|
|
36596
|
+
"recording.getAvailability": [{
|
|
36597
|
+
name: "deviceId",
|
|
36598
|
+
form: "single",
|
|
36599
|
+
optional: false
|
|
36600
|
+
}],
|
|
36601
|
+
"recording.getDaysWithRecordings": [{
|
|
36602
|
+
name: "deviceId",
|
|
36603
|
+
form: "single",
|
|
36604
|
+
optional: false
|
|
36605
|
+
}],
|
|
36606
|
+
"recording.getDeviceConfig": [{
|
|
36607
|
+
name: "deviceId",
|
|
36608
|
+
form: "single",
|
|
36609
|
+
optional: false
|
|
36610
|
+
}],
|
|
36611
|
+
"recording.getPlaybackManifest": [{
|
|
36612
|
+
name: "deviceId",
|
|
36613
|
+
form: "single",
|
|
36614
|
+
optional: false
|
|
36615
|
+
}],
|
|
36616
|
+
"recording.listOpsLog": [{
|
|
36617
|
+
name: "deviceId",
|
|
36618
|
+
form: "single",
|
|
36619
|
+
optional: true
|
|
36620
|
+
}],
|
|
36621
|
+
"recording.locateSegment": [{
|
|
36622
|
+
name: "deviceId",
|
|
36623
|
+
form: "single",
|
|
36624
|
+
optional: false
|
|
36625
|
+
}],
|
|
36626
|
+
"recording.pruneFootage": [{
|
|
36627
|
+
name: "deviceId",
|
|
36628
|
+
form: "single",
|
|
36629
|
+
optional: false
|
|
36630
|
+
}],
|
|
36631
|
+
"recording.readGopBytes": [{
|
|
36632
|
+
name: "deviceId",
|
|
36633
|
+
form: "single",
|
|
36634
|
+
optional: false
|
|
36635
|
+
}],
|
|
36636
|
+
"recording.readSegmentBytes": [{
|
|
36637
|
+
name: "deviceId",
|
|
36638
|
+
form: "single",
|
|
36639
|
+
optional: false
|
|
36640
|
+
}],
|
|
36641
|
+
"recording.relocateFootage": [{
|
|
36642
|
+
name: "deviceId",
|
|
36643
|
+
form: "single",
|
|
36644
|
+
optional: true
|
|
36645
|
+
}],
|
|
36646
|
+
"recording.renderClip": [{
|
|
36647
|
+
name: "deviceId",
|
|
36648
|
+
form: "single",
|
|
36649
|
+
optional: false
|
|
36650
|
+
}],
|
|
36651
|
+
"recording.renderGif": [{
|
|
36652
|
+
name: "deviceId",
|
|
36653
|
+
form: "single",
|
|
36654
|
+
optional: false
|
|
36655
|
+
}],
|
|
36656
|
+
"recording.rescanStorage": [{
|
|
36657
|
+
name: "deviceId",
|
|
36658
|
+
form: "single",
|
|
36659
|
+
optional: false
|
|
36660
|
+
}],
|
|
36661
|
+
"recording.setDeviceConfig": [{
|
|
36662
|
+
name: "deviceId",
|
|
36663
|
+
form: "single",
|
|
36664
|
+
optional: false
|
|
36665
|
+
}],
|
|
36666
|
+
"recording.startStorageMigrationMove": [{
|
|
36667
|
+
name: "deviceId",
|
|
36668
|
+
form: "single",
|
|
36669
|
+
optional: true
|
|
36670
|
+
}],
|
|
36671
|
+
"recordingExport.createExport": [{
|
|
36672
|
+
name: "deviceId",
|
|
36673
|
+
form: "single",
|
|
36674
|
+
optional: false
|
|
36675
|
+
}],
|
|
36676
|
+
"recordingExport.listExports": [{
|
|
36677
|
+
name: "deviceId",
|
|
36678
|
+
form: "single",
|
|
36679
|
+
optional: true
|
|
36680
|
+
}],
|
|
36681
|
+
"sceneMonitor.captureReference": [{
|
|
36682
|
+
name: "deviceId",
|
|
36683
|
+
form: "single",
|
|
36684
|
+
optional: false
|
|
36685
|
+
}],
|
|
36686
|
+
"sceneMonitor.createScene": [{
|
|
36687
|
+
name: "deviceId",
|
|
36688
|
+
form: "single",
|
|
36689
|
+
optional: false
|
|
36690
|
+
}],
|
|
36691
|
+
"sceneMonitor.deleteReference": [{
|
|
36692
|
+
name: "deviceId",
|
|
36693
|
+
form: "single",
|
|
36694
|
+
optional: false
|
|
36695
|
+
}],
|
|
36696
|
+
"sceneMonitor.deleteScene": [{
|
|
36697
|
+
name: "deviceId",
|
|
36698
|
+
form: "single",
|
|
36699
|
+
optional: false
|
|
36700
|
+
}],
|
|
36701
|
+
"sceneMonitor.listScenes": [{
|
|
36702
|
+
name: "deviceId",
|
|
36703
|
+
form: "single",
|
|
36704
|
+
optional: false
|
|
36705
|
+
}],
|
|
36706
|
+
"sceneMonitor.recheckNow": [{
|
|
36707
|
+
name: "deviceId",
|
|
36708
|
+
form: "single",
|
|
36709
|
+
optional: false
|
|
36710
|
+
}],
|
|
36711
|
+
"sceneMonitor.resetScene": [{
|
|
36712
|
+
name: "deviceId",
|
|
36713
|
+
form: "single",
|
|
36714
|
+
optional: false
|
|
36715
|
+
}],
|
|
36716
|
+
"sceneMonitor.updateScene": [{
|
|
36717
|
+
name: "deviceId",
|
|
36718
|
+
form: "single",
|
|
36719
|
+
optional: false
|
|
36720
|
+
}],
|
|
36721
|
+
"scriptRunner.run": [{
|
|
36722
|
+
name: "deviceId",
|
|
36723
|
+
form: "single",
|
|
36724
|
+
optional: false
|
|
36725
|
+
}],
|
|
36726
|
+
"scriptRunner.stop": [{
|
|
36727
|
+
name: "deviceId",
|
|
36728
|
+
form: "single",
|
|
36729
|
+
optional: false
|
|
36730
|
+
}],
|
|
36731
|
+
"snapshot.getSnapshot": [{
|
|
36732
|
+
name: "deviceId",
|
|
36733
|
+
form: "single",
|
|
36734
|
+
optional: false
|
|
36735
|
+
}],
|
|
36736
|
+
"snapshot.getSnapshotLinks": [{
|
|
36737
|
+
name: "targets",
|
|
36738
|
+
form: "object-array",
|
|
36739
|
+
optional: false,
|
|
36740
|
+
itemField: "deviceId"
|
|
36741
|
+
}],
|
|
36742
|
+
"snapshot.getSnapshotOverview": [{
|
|
36743
|
+
name: "deviceIds",
|
|
36744
|
+
form: "array",
|
|
36745
|
+
optional: false
|
|
36746
|
+
}],
|
|
36747
|
+
"snapshot.invalidateCache": [{
|
|
36748
|
+
name: "deviceId",
|
|
36749
|
+
form: "single",
|
|
36750
|
+
optional: false
|
|
36751
|
+
}],
|
|
36752
|
+
"streamBroker.acquireEgressTranscode": [{
|
|
36753
|
+
name: "deviceId",
|
|
36754
|
+
form: "single",
|
|
36755
|
+
optional: false
|
|
36756
|
+
}],
|
|
36757
|
+
"streamBroker.assignProfile": [{
|
|
36758
|
+
name: "deviceId",
|
|
36759
|
+
form: "single",
|
|
36760
|
+
optional: false
|
|
36761
|
+
}],
|
|
36762
|
+
"streamBroker.getDeviceAudioMute": [{
|
|
36763
|
+
name: "deviceId",
|
|
36764
|
+
form: "single",
|
|
36765
|
+
optional: false
|
|
36766
|
+
}],
|
|
36767
|
+
"streamBroker.getStreamWithCodec": [{
|
|
36768
|
+
name: "deviceId",
|
|
36769
|
+
form: "single",
|
|
36770
|
+
optional: false
|
|
36771
|
+
}],
|
|
36772
|
+
"streamBroker.produceEventMedia": [{
|
|
36773
|
+
name: "deviceId",
|
|
36774
|
+
form: "single",
|
|
36775
|
+
optional: false
|
|
36776
|
+
}],
|
|
36777
|
+
"streamBroker.publishCameraStream": [{
|
|
36778
|
+
name: "deviceId",
|
|
36779
|
+
form: "single",
|
|
36780
|
+
optional: false
|
|
36781
|
+
}],
|
|
36782
|
+
"streamBroker.renderPreBufferClip": [{
|
|
36783
|
+
name: "deviceId",
|
|
36784
|
+
form: "single",
|
|
36785
|
+
optional: false
|
|
36786
|
+
}],
|
|
36787
|
+
"streamBroker.restartProfile": [{
|
|
36788
|
+
name: "deviceId",
|
|
36789
|
+
form: "single",
|
|
36790
|
+
optional: false
|
|
36791
|
+
}],
|
|
36792
|
+
"streamBroker.retractCameraStream": [{
|
|
36793
|
+
name: "deviceId",
|
|
36794
|
+
form: "single",
|
|
36795
|
+
optional: false
|
|
36796
|
+
}],
|
|
36797
|
+
"streamBroker.setDeviceAudioMute": [{
|
|
36798
|
+
name: "deviceId",
|
|
36799
|
+
form: "single",
|
|
36800
|
+
optional: false
|
|
36801
|
+
}],
|
|
36802
|
+
"streamBroker.unassignProfile": [{
|
|
36803
|
+
name: "deviceId",
|
|
36804
|
+
form: "single",
|
|
36805
|
+
optional: false
|
|
36806
|
+
}],
|
|
36807
|
+
"streamCatalog.getCatalog": [{
|
|
36808
|
+
name: "deviceId",
|
|
36809
|
+
form: "single",
|
|
36810
|
+
optional: false
|
|
36811
|
+
}],
|
|
36812
|
+
"streamParams.getConfigSchema": [{
|
|
36813
|
+
name: "deviceId",
|
|
36814
|
+
form: "single",
|
|
36815
|
+
optional: false
|
|
36816
|
+
}],
|
|
36817
|
+
"streamParams.getOptions": [{
|
|
36818
|
+
name: "deviceId",
|
|
36819
|
+
form: "single",
|
|
36820
|
+
optional: false
|
|
36821
|
+
}],
|
|
36822
|
+
"streamParams.setProfile": [{
|
|
36823
|
+
name: "deviceId",
|
|
36824
|
+
form: "single",
|
|
36825
|
+
optional: false
|
|
36826
|
+
}],
|
|
36827
|
+
"switch.setState": [{
|
|
36828
|
+
name: "deviceId",
|
|
36829
|
+
form: "single",
|
|
36830
|
+
optional: false
|
|
36831
|
+
}],
|
|
36832
|
+
"vacuumControl.locate": [{
|
|
36833
|
+
name: "deviceId",
|
|
36834
|
+
form: "single",
|
|
36835
|
+
optional: false
|
|
36836
|
+
}],
|
|
36837
|
+
"vacuumControl.pause": [{
|
|
36838
|
+
name: "deviceId",
|
|
36839
|
+
form: "single",
|
|
36840
|
+
optional: false
|
|
36841
|
+
}],
|
|
36842
|
+
"vacuumControl.returnToBase": [{
|
|
36843
|
+
name: "deviceId",
|
|
36844
|
+
form: "single",
|
|
36845
|
+
optional: false
|
|
36846
|
+
}],
|
|
36847
|
+
"vacuumControl.setFanSpeed": [{
|
|
36848
|
+
name: "deviceId",
|
|
36849
|
+
form: "single",
|
|
36850
|
+
optional: false
|
|
36851
|
+
}],
|
|
36852
|
+
"vacuumControl.start": [{
|
|
36853
|
+
name: "deviceId",
|
|
36854
|
+
form: "single",
|
|
36855
|
+
optional: false
|
|
36856
|
+
}],
|
|
36857
|
+
"vacuumControl.stop": [{
|
|
36858
|
+
name: "deviceId",
|
|
36859
|
+
form: "single",
|
|
36860
|
+
optional: false
|
|
36861
|
+
}],
|
|
36862
|
+
"valve.close": [{
|
|
36863
|
+
name: "deviceId",
|
|
36864
|
+
form: "single",
|
|
36865
|
+
optional: false
|
|
36866
|
+
}],
|
|
36867
|
+
"valve.open": [{
|
|
36868
|
+
name: "deviceId",
|
|
36869
|
+
form: "single",
|
|
36870
|
+
optional: false
|
|
36871
|
+
}],
|
|
36872
|
+
"valve.setPosition": [{
|
|
36873
|
+
name: "deviceId",
|
|
36874
|
+
form: "single",
|
|
36875
|
+
optional: false
|
|
36876
|
+
}],
|
|
36877
|
+
"valve.stop": [{
|
|
36878
|
+
name: "deviceId",
|
|
36879
|
+
form: "single",
|
|
36880
|
+
optional: false
|
|
36881
|
+
}],
|
|
36882
|
+
"videoclips.getClipPlayback": [{
|
|
36883
|
+
name: "deviceId",
|
|
36884
|
+
form: "single",
|
|
36885
|
+
optional: false
|
|
36886
|
+
}],
|
|
36887
|
+
"videoclips.listClips": [{
|
|
36888
|
+
name: "deviceId",
|
|
36889
|
+
form: "single",
|
|
36890
|
+
optional: false
|
|
36891
|
+
}],
|
|
36892
|
+
"waterHeater.setAway": [{
|
|
36893
|
+
name: "deviceId",
|
|
36894
|
+
form: "single",
|
|
36895
|
+
optional: false
|
|
36896
|
+
}],
|
|
36897
|
+
"waterHeater.setOperationMode": [{
|
|
36898
|
+
name: "deviceId",
|
|
36899
|
+
form: "single",
|
|
36900
|
+
optional: false
|
|
36901
|
+
}],
|
|
36902
|
+
"waterHeater.setTargetTemp": [{
|
|
36903
|
+
name: "deviceId",
|
|
36904
|
+
form: "single",
|
|
36905
|
+
optional: false
|
|
36906
|
+
}],
|
|
36907
|
+
"webrtcSession.addIceCandidate": [{
|
|
36908
|
+
name: "deviceId",
|
|
36909
|
+
form: "single",
|
|
36910
|
+
optional: false
|
|
36911
|
+
}],
|
|
36912
|
+
"webrtcSession.closeSession": [{
|
|
36913
|
+
name: "deviceId",
|
|
36914
|
+
form: "single",
|
|
36915
|
+
optional: false
|
|
36916
|
+
}],
|
|
36917
|
+
"webrtcSession.createSession": [{
|
|
36918
|
+
name: "deviceId",
|
|
36919
|
+
form: "single",
|
|
36920
|
+
optional: false
|
|
36921
|
+
}],
|
|
36922
|
+
"webrtcSession.getIceCandidates": [{
|
|
36923
|
+
name: "deviceId",
|
|
36924
|
+
form: "single",
|
|
36925
|
+
optional: false
|
|
36926
|
+
}],
|
|
36927
|
+
"webrtcSession.getSessionState": [{
|
|
36928
|
+
name: "deviceId",
|
|
36929
|
+
form: "single",
|
|
36930
|
+
optional: false
|
|
36931
|
+
}],
|
|
36932
|
+
"webrtcSession.handleAnswer": [{
|
|
36933
|
+
name: "deviceId",
|
|
36934
|
+
form: "single",
|
|
36935
|
+
optional: false
|
|
36936
|
+
}],
|
|
36937
|
+
"webrtcSession.handleOffer": [{
|
|
36938
|
+
name: "deviceId",
|
|
36939
|
+
form: "single",
|
|
36940
|
+
optional: false
|
|
36941
|
+
}],
|
|
36942
|
+
"webrtcSession.hasAdaptiveBitrate": [{
|
|
36943
|
+
name: "deviceId",
|
|
36944
|
+
form: "single",
|
|
36945
|
+
optional: false
|
|
36946
|
+
}],
|
|
36947
|
+
"webrtcSession.listStreams": [{
|
|
36948
|
+
name: "deviceId",
|
|
36949
|
+
form: "single",
|
|
36950
|
+
optional: false
|
|
36951
|
+
}],
|
|
36952
|
+
"zoneAnalytics.getCameraHistory": [{
|
|
36953
|
+
name: "deviceId",
|
|
36954
|
+
form: "single",
|
|
36955
|
+
optional: false
|
|
36956
|
+
}],
|
|
36957
|
+
"zoneAnalytics.getCurrentSnapshot": [{
|
|
36958
|
+
name: "deviceId",
|
|
36959
|
+
form: "single",
|
|
36960
|
+
optional: false
|
|
36961
|
+
}],
|
|
36962
|
+
"zoneAnalytics.getUnzonedHistory": [{
|
|
36963
|
+
name: "deviceId",
|
|
36964
|
+
form: "single",
|
|
36965
|
+
optional: false
|
|
36966
|
+
}],
|
|
36967
|
+
"zoneAnalytics.getZoneHistory": [{
|
|
36968
|
+
name: "deviceId",
|
|
36969
|
+
form: "single",
|
|
36970
|
+
optional: false
|
|
36971
|
+
}],
|
|
36972
|
+
"zoneRules.listRules": [{
|
|
36973
|
+
name: "deviceId",
|
|
36974
|
+
form: "single",
|
|
36975
|
+
optional: false
|
|
36976
|
+
}],
|
|
36977
|
+
"zoneRules.setRules": [{
|
|
36978
|
+
name: "deviceId",
|
|
36979
|
+
form: "single",
|
|
36980
|
+
optional: false
|
|
36981
|
+
}],
|
|
36982
|
+
"zones.addZone": [{
|
|
36983
|
+
name: "deviceId",
|
|
36984
|
+
form: "single",
|
|
36985
|
+
optional: false
|
|
36986
|
+
}],
|
|
36987
|
+
"zones.listZones": [{
|
|
36988
|
+
name: "deviceId",
|
|
36989
|
+
form: "single",
|
|
36990
|
+
optional: false
|
|
36991
|
+
}],
|
|
36992
|
+
"zones.removeZone": [{
|
|
36993
|
+
name: "deviceId",
|
|
36994
|
+
form: "single",
|
|
36995
|
+
optional: false
|
|
36996
|
+
}],
|
|
36997
|
+
"zones.updateZone": [{
|
|
36998
|
+
name: "deviceId",
|
|
36999
|
+
form: "single",
|
|
37000
|
+
optional: false
|
|
37001
|
+
}]
|
|
37002
|
+
});
|
|
34232
37003
|
Object.freeze({
|
|
34233
37004
|
"broker": "broker",
|
|
34234
37005
|
"device-export": "device-export",
|