@camstack/types 1.2.71 → 1.2.72
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 +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/capabilities/index.d.ts +1 -1
- package/dist/capabilities/scene-monitor.cap.d.ts +337 -3
- package/dist/generated/addon-api.d.ts +7 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/index.js +167 -6
- package/dist/index.mjs +156 -7
- package/dist/interfaces/config-ui.d.ts +1 -1
- package/dist/{sleep-DbVrpKVz.js → sleep-CKWYtvXl.js} +7 -0
- package/dist/{sleep-CTgUmjYq.mjs → sleep-zD9b0ADo.mjs} +7 -0
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_event_category = require("./event-category-D3gG7oil.js");
|
|
3
|
-
const require_sleep = require("./sleep-
|
|
3
|
+
const require_sleep = require("./sleep-CKWYtvXl.js");
|
|
4
4
|
const require_err_msg = require("./err-msg-COpsHMw2.js");
|
|
5
5
|
//#region src/generated/collection-array-methods.ts
|
|
6
6
|
/**
|
package/dist/addon.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as EventCategory } from "./event-category-Bxo5yJjt.mjs";
|
|
2
|
-
import { C as DeviceType, F as nodePin, H as scopeKey, I as readNodePin, R as ReadinessRegistry, _t as normalizeAddonInitResult, a as asJsonObject, bt as emitReadiness, d as DEVICE_SCOPED_CAPS, f as isDeviceScopedCap, gt as BaseAddon, ht as DisposerChain, k as expandCapMethods, mt as DATAPLANE_SECRET_HEADER, p as createDeviceProxy, s as asString, t as sleep, u as parseJsonUnknown, v as deviceOpsCapability, w as adminUiCapability, y as viewerUiCapability, z as ReadinessTimeoutError } from "./sleep-
|
|
2
|
+
import { C as DeviceType, F as nodePin, H as scopeKey, I as readNodePin, R as ReadinessRegistry, _t as normalizeAddonInitResult, a as asJsonObject, bt as emitReadiness, d as DEVICE_SCOPED_CAPS, f as isDeviceScopedCap, gt as BaseAddon, ht as DisposerChain, k as expandCapMethods, mt as DATAPLANE_SECRET_HEADER, p as createDeviceProxy, s as asString, t as sleep, u as parseJsonUnknown, v as deviceOpsCapability, w as adminUiCapability, y as viewerUiCapability, z as ReadinessTimeoutError } from "./sleep-zD9b0ADo.mjs";
|
|
3
3
|
import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
|
|
4
4
|
//#region src/generated/collection-array-methods.ts
|
|
5
5
|
/**
|
|
@@ -181,7 +181,7 @@ export { type IPtzAutotrackProvider, type PtzAutotrackRuntimeState, PtzAutotrack
|
|
|
181
181
|
export { type IRebootProvider, rebootCapability } from './reboot.cap.js';
|
|
182
182
|
export { type IRecordingProvider, type LocateSegmentResult, LocateSegmentResultSchema, type ReadGopBytesResult, ReadGopBytesResultSchema, type ReadSegmentBytesResult, ReadSegmentBytesResultSchema, type RecordingAvailability, RecordingAvailabilitySchema, type RecordingDays, RecordingDaysSchema, type RecordingDeviceUsage, RecordingDeviceUsageSchema, type RecordingLocationUsage, RecordingLocationUsageSchema, type RecordingManifest, RecordingManifestSchema, RecordingRangeSchema, type RecordingRebalanceInput, RecordingRebalanceInputSchema, type RecordingRebalanceMove, RecordingRebalanceMoveSchema, type RecordingRebalancePlan, RecordingRebalancePlanSchema, type RecordingRebalanceSkip, type RecordingRebalanceSkipReason, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, type RecordingStatus, RecordingStatusSchema, type RecordingStorageUsage, RecordingStorageUsageSchema, recordingCapability, } from './recording.cap.js';
|
|
183
183
|
export { EXPORT_DENSE_MAX_RANGES, type ExportBytes, ExportBytesSchema, type ExportDense, type ExportDenseRange, ExportDenseRangeSchema, ExportDenseSchema, type ExportDownload, ExportDownloadSchema, type ExportOptions, ExportOptionsSchema, type ExportRecord, ExportRecordSchema, ExportSpeedSchema, type ExportState, ExportStateSchema, ExportTimelapseSchema, type IRecordingExportProvider, RECORDING_EXPORT_MAX_READ_BYTES, recordingExportCapability, } from './recording-export.cap.js';
|
|
184
|
-
export { type ISceneMonitorProvider, type SceneCheck, SceneCheckSchema, type SceneCondition, SceneConditionSchema, type SceneMonitor, SceneMonitorSchema, type SceneMonitorState, SceneMonitorStateSchema, type SceneMonitorStatus, SceneMonitorStatusSchema, type SceneReference, SceneReferenceSchema, sceneMonitorCapability, } from './scene-monitor.cap.js';
|
|
184
|
+
export { type ISceneMonitorProvider, SCENE_CONDITIONS, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, SCENE_DEFAULT_ANCHOR_THRESHOLD, SCENE_DEFAULT_CHECK_INTERVAL_SEC, SCENE_DEFAULT_OBSERVATION_SPACING_SEC, SCENE_DEFAULT_QUIET_SECONDS, SCENE_DIVERGED, SCENE_RESET_RECAPTURES, type SceneCheck, SceneCheckSchema, type SceneCondition, SceneConditionSchema, type SceneConfirm, SceneConfirmSchema, type SceneMonitor, SceneMonitorSchema, type SceneMonitorState, SceneMonitorStateSchema, type SceneMonitorStatus, SceneMonitorStatusSchema, type SceneReference, SceneReferenceSchema, type SceneUnavailable, SceneUnavailableSchema, type SceneVerdict, SceneVerdictSchema, sceneMonitorCapability, } from './scene-monitor.cap.js';
|
|
185
185
|
export { type ZoneRule, type ZoneRuleMode, ZoneRuleModeEnum, ZoneRuleSchema, type ZoneRules, ZoneRulesArraySchema, } from './schemas/zone-rule.js';
|
|
186
186
|
export { type IScriptRunnerProvider, type ScriptRunnerStatus, ScriptRunnerStatusSchema, scriptRunnerCapability, } from './script-runner.cap.js';
|
|
187
187
|
export { type ISmokeProvider, type SmokeStatus, SmokeStatusSchema, smokeCapability, } from './smoke.cap.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { type InferNativeProvider } from './capability-definition.js';
|
|
3
2
|
import { DeviceType } from '../device/device-type.js';
|
|
3
|
+
import { type InferNativeProvider } from './capability-definition.js';
|
|
4
4
|
/**
|
|
5
5
|
* scene-monitor — device-scoped reference-region state cap. An operator marks
|
|
6
6
|
* a rect ROI on a camera frame and names one or more states; the engine
|
|
@@ -14,9 +14,41 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
14
14
|
* settings-contribution methods. `status.kind:'push'` — the engine pushes on
|
|
15
15
|
* every hysteresis flip / availability change; consumers never poll.
|
|
16
16
|
*/
|
|
17
|
-
/** Extensible condition tag. Seeded 'day' | '
|
|
18
|
-
*
|
|
17
|
+
/** Extensible condition tag. Seeded 'day' | 'ir' (the two variants the operator
|
|
18
|
+
* captures) plus 'night' | 'dawn' | 'dusk' from the resolver's sun-times band.
|
|
19
|
+
* Open by design so more can be added without a wire break.
|
|
20
|
+
*
|
|
21
|
+
* Matching does NOT fall back across conditions: cross-condition cosines are
|
|
22
|
+
* not comparable, so "I have never seen this scene in this light" is reported
|
|
23
|
+
* as `unknown`, never guessed. A day reference scored against an IR frame
|
|
24
|
+
* collapses the cosine and would latch a false alarm every single night. */
|
|
19
25
|
export declare const SceneConditionSchema: z.ZodString;
|
|
26
|
+
/** The conditions the resolver can produce. Seeds for the UI's coverage line;
|
|
27
|
+
* the wire type stays an open string. */
|
|
28
|
+
export declare const SCENE_CONDITIONS: readonly ["day", "ir", "night", "dawn", "dusk"];
|
|
29
|
+
/** Reserved, engine-owned state id standing for "the region no longer looks
|
|
30
|
+
* like ANY captured reference". Never authored by an operator, never stored in
|
|
31
|
+
* `states[]` — it is the synthetic candidate that makes divergence a
|
|
32
|
+
* first-class hysteresis input rather than a bare `return`. */
|
|
33
|
+
export declare const SCENE_DIVERGED = "__diverged__";
|
|
34
|
+
/** `matched` = the baseline is what we see; `diverged` = it demonstrably is not;
|
|
35
|
+
* `unknown` = we cannot judge (no reference for this condition, encoder model
|
|
36
|
+
* changed, view shifted, no snapshot). `unknown` is a real value, not a null,
|
|
37
|
+
* and never counts toward hysteresis in either direction. */
|
|
38
|
+
export declare const SceneVerdictSchema: z.ZodEnum<{
|
|
39
|
+
unknown: "unknown";
|
|
40
|
+
matched: "matched";
|
|
41
|
+
diverged: "diverged";
|
|
42
|
+
}>;
|
|
43
|
+
/** Why a scene cannot judge. Named, because this feature's failure mode is
|
|
44
|
+
* silence that reads as "nothing has happened". */
|
|
45
|
+
export declare const SceneUnavailableSchema: z.ZodEnum<{
|
|
46
|
+
"no-reference-for-condition": "no-reference-for-condition";
|
|
47
|
+
"view-shifted": "view-shifted";
|
|
48
|
+
"no-vision-profile": "no-vision-profile";
|
|
49
|
+
"encoder-model-changed": "encoder-model-changed";
|
|
50
|
+
"no-snapshot": "no-snapshot";
|
|
51
|
+
}>;
|
|
20
52
|
/** One captured reference — condition-tagged, model-version-gated. `embedding`
|
|
21
53
|
* is `number[]` (Float32Array does NOT survive MsgPack/UDS). */
|
|
22
54
|
export declare const SceneReferenceSchema: z.ZodObject<{
|
|
@@ -25,6 +57,7 @@ export declare const SceneReferenceSchema: z.ZodObject<{
|
|
|
25
57
|
condition: z.ZodString;
|
|
26
58
|
capturedAt: z.ZodNumber;
|
|
27
59
|
thumbnailMediaId: z.ZodOptional<z.ZodString>;
|
|
60
|
+
anchorEmbedding: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
28
61
|
}, z.core.$strip>;
|
|
29
62
|
export declare const SceneMonitorStateSchema: z.ZodObject<{
|
|
30
63
|
id: z.ZodString;
|
|
@@ -35,6 +68,7 @@ export declare const SceneMonitorStateSchema: z.ZodObject<{
|
|
|
35
68
|
condition: z.ZodString;
|
|
36
69
|
capturedAt: z.ZodNumber;
|
|
37
70
|
thumbnailMediaId: z.ZodOptional<z.ZodString>;
|
|
71
|
+
anchorEmbedding: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
38
72
|
}, z.core.$strip>>;
|
|
39
73
|
textPrompts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40
74
|
referenceCount: z.ZodNumber;
|
|
@@ -52,6 +86,40 @@ export declare const SceneCheckSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
52
86
|
profileId: z.ZodOptional<z.ZodString>;
|
|
53
87
|
hysteresisCount: z.ZodNumber;
|
|
54
88
|
}, z.core.$strip>], "mode">;
|
|
89
|
+
/** Defaults, as CONSTANTS rather than only as Zod `.default()`. A Zod default
|
|
90
|
+
* does NOT run on the addon→addon cap path, so every runtime seam reads these
|
|
91
|
+
* as absent-with-a-constant (the `NcConfirmSchema` lesson, three production
|
|
92
|
+
* failures in one day). The schema defaults and these values are the same
|
|
93
|
+
* numbers on purpose. */
|
|
94
|
+
export declare const SCENE_DEFAULT_QUIET_SECONDS = 60;
|
|
95
|
+
export declare const SCENE_DEFAULT_OBSERVATION_SPACING_SEC = 120;
|
|
96
|
+
export declare const SCENE_DEFAULT_CHECK_INTERVAL_SEC = 60;
|
|
97
|
+
export declare const SCENE_DEFAULT_ANCHOR_THRESHOLD = 0.85;
|
|
98
|
+
export declare const SCENE_CONFIRM_DEFAULT_TIMEOUT_MS = 8000;
|
|
99
|
+
export declare const SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX = 448;
|
|
100
|
+
/** `resetScene({ recapture })` absent means TRUE — the operator decision. Read
|
|
101
|
+
* at the seam, because a Zod `.optional()` carries no default at all. */
|
|
102
|
+
export declare const SCENE_RESET_RECAPTURES = true;
|
|
103
|
+
/**
|
|
104
|
+
* Vision-model adjudication of a candidate flip. Field names deliberately
|
|
105
|
+
* mirror `NcConfirmSchema` so an operator meets one vocabulary, not two.
|
|
106
|
+
*
|
|
107
|
+
* `onTimeout` defaults to **'hold'**, the OPPOSITE of `NcConfirmGate`'s
|
|
108
|
+
* fail-open: a notification suppressed is the worse error there, but a vision
|
|
109
|
+
* model that timed out has not told us the bin is gone, and a latch is a
|
|
110
|
+
* stateful claim that costs the operator a trip to reset.
|
|
111
|
+
*/
|
|
112
|
+
export declare const SceneConfirmSchema: z.ZodObject<{
|
|
113
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
114
|
+
prompt: z.ZodString;
|
|
115
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
116
|
+
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
117
|
+
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
118
|
+
onTimeout: z.ZodDefault<z.ZodEnum<{
|
|
119
|
+
flip: "flip";
|
|
120
|
+
hold: "hold";
|
|
121
|
+
}>>;
|
|
122
|
+
}, z.core.$strip>;
|
|
55
123
|
export declare const SceneMonitorSchema: z.ZodObject<{
|
|
56
124
|
id: z.ZodString;
|
|
57
125
|
label: z.ZodString;
|
|
@@ -88,6 +156,7 @@ export declare const SceneMonitorSchema: z.ZodObject<{
|
|
|
88
156
|
condition: z.ZodString;
|
|
89
157
|
capturedAt: z.ZodNumber;
|
|
90
158
|
thumbnailMediaId: z.ZodOptional<z.ZodString>;
|
|
159
|
+
anchorEmbedding: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
91
160
|
}, z.core.$strip>>;
|
|
92
161
|
textPrompts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
93
162
|
referenceCount: z.ZodNumber;
|
|
@@ -102,6 +171,43 @@ export declare const SceneMonitorSchema: z.ZodObject<{
|
|
|
102
171
|
unavailable: "unavailable";
|
|
103
172
|
}>;
|
|
104
173
|
unavailableReason: z.ZodNullable<z.ZodString>;
|
|
174
|
+
baselineStateId: z.ZodNullable<z.ZodString>;
|
|
175
|
+
emit: z.ZodDefault<z.ZodEnum<{
|
|
176
|
+
live: "live";
|
|
177
|
+
latched: "latched";
|
|
178
|
+
}>>;
|
|
179
|
+
verdict: z.ZodEnum<{
|
|
180
|
+
unknown: "unknown";
|
|
181
|
+
matched: "matched";
|
|
182
|
+
diverged: "diverged";
|
|
183
|
+
}>;
|
|
184
|
+
latched: z.ZodBoolean;
|
|
185
|
+
armedAt: z.ZodNumber;
|
|
186
|
+
divergedAt: z.ZodNullable<z.ZodNumber>;
|
|
187
|
+
restoredAt: z.ZodNullable<z.ZodNumber>;
|
|
188
|
+
quietSeconds: z.ZodDefault<z.ZodNumber>;
|
|
189
|
+
minObservationSpacingSec: z.ZodDefault<z.ZodNumber>;
|
|
190
|
+
confirm: z.ZodOptional<z.ZodObject<{
|
|
191
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
192
|
+
prompt: z.ZodString;
|
|
193
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
194
|
+
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
195
|
+
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
196
|
+
onTimeout: z.ZodDefault<z.ZodEnum<{
|
|
197
|
+
flip: "flip";
|
|
198
|
+
hold: "hold";
|
|
199
|
+
}>>;
|
|
200
|
+
}, z.core.$strip>>;
|
|
201
|
+
anchorThreshold: z.ZodDefault<z.ZodNumber>;
|
|
202
|
+
autoRestore: z.ZodDefault<z.ZodBoolean>;
|
|
203
|
+
unavailable: z.ZodNullable<z.ZodEnum<{
|
|
204
|
+
"no-reference-for-condition": "no-reference-for-condition";
|
|
205
|
+
"view-shifted": "view-shifted";
|
|
206
|
+
"no-vision-profile": "no-vision-profile";
|
|
207
|
+
"encoder-model-changed": "encoder-model-changed";
|
|
208
|
+
"no-snapshot": "no-snapshot";
|
|
209
|
+
}>>;
|
|
210
|
+
coveredConditions: z.ZodArray<z.ZodString>;
|
|
105
211
|
}, z.core.$strip>;
|
|
106
212
|
export declare const SceneMonitorStatusSchema: z.ZodObject<{
|
|
107
213
|
monitors: z.ZodArray<z.ZodObject<{
|
|
@@ -140,6 +246,7 @@ export declare const SceneMonitorStatusSchema: z.ZodObject<{
|
|
|
140
246
|
condition: z.ZodString;
|
|
141
247
|
capturedAt: z.ZodNumber;
|
|
142
248
|
thumbnailMediaId: z.ZodOptional<z.ZodString>;
|
|
249
|
+
anchorEmbedding: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
143
250
|
}, z.core.$strip>>;
|
|
144
251
|
textPrompts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
145
252
|
referenceCount: z.ZodNumber;
|
|
@@ -154,10 +261,50 @@ export declare const SceneMonitorStatusSchema: z.ZodObject<{
|
|
|
154
261
|
unavailable: "unavailable";
|
|
155
262
|
}>;
|
|
156
263
|
unavailableReason: z.ZodNullable<z.ZodString>;
|
|
264
|
+
baselineStateId: z.ZodNullable<z.ZodString>;
|
|
265
|
+
emit: z.ZodDefault<z.ZodEnum<{
|
|
266
|
+
live: "live";
|
|
267
|
+
latched: "latched";
|
|
268
|
+
}>>;
|
|
269
|
+
verdict: z.ZodEnum<{
|
|
270
|
+
unknown: "unknown";
|
|
271
|
+
matched: "matched";
|
|
272
|
+
diverged: "diverged";
|
|
273
|
+
}>;
|
|
274
|
+
latched: z.ZodBoolean;
|
|
275
|
+
armedAt: z.ZodNumber;
|
|
276
|
+
divergedAt: z.ZodNullable<z.ZodNumber>;
|
|
277
|
+
restoredAt: z.ZodNullable<z.ZodNumber>;
|
|
278
|
+
quietSeconds: z.ZodDefault<z.ZodNumber>;
|
|
279
|
+
minObservationSpacingSec: z.ZodDefault<z.ZodNumber>;
|
|
280
|
+
confirm: z.ZodOptional<z.ZodObject<{
|
|
281
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
282
|
+
prompt: z.ZodString;
|
|
283
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
284
|
+
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
285
|
+
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
286
|
+
onTimeout: z.ZodDefault<z.ZodEnum<{
|
|
287
|
+
flip: "flip";
|
|
288
|
+
hold: "hold";
|
|
289
|
+
}>>;
|
|
290
|
+
}, z.core.$strip>>;
|
|
291
|
+
anchorThreshold: z.ZodDefault<z.ZodNumber>;
|
|
292
|
+
autoRestore: z.ZodDefault<z.ZodBoolean>;
|
|
293
|
+
unavailable: z.ZodNullable<z.ZodEnum<{
|
|
294
|
+
"no-reference-for-condition": "no-reference-for-condition";
|
|
295
|
+
"view-shifted": "view-shifted";
|
|
296
|
+
"no-vision-profile": "no-vision-profile";
|
|
297
|
+
"encoder-model-changed": "encoder-model-changed";
|
|
298
|
+
"no-snapshot": "no-snapshot";
|
|
299
|
+
}>>;
|
|
300
|
+
coveredConditions: z.ZodArray<z.ZodString>;
|
|
157
301
|
}, z.core.$strip>>;
|
|
158
302
|
lastFetchedAt: z.ZodNumber;
|
|
159
303
|
}, z.core.$strip>;
|
|
160
304
|
export type SceneCondition = z.infer<typeof SceneConditionSchema>;
|
|
305
|
+
export type SceneVerdict = z.infer<typeof SceneVerdictSchema>;
|
|
306
|
+
export type SceneUnavailable = z.infer<typeof SceneUnavailableSchema>;
|
|
307
|
+
export type SceneConfirm = z.infer<typeof SceneConfirmSchema>;
|
|
161
308
|
export type SceneReference = z.infer<typeof SceneReferenceSchema>;
|
|
162
309
|
export type SceneMonitorState = z.infer<typeof SceneMonitorStateSchema>;
|
|
163
310
|
export type SceneCheck = z.infer<typeof SceneCheckSchema>;
|
|
@@ -218,6 +365,7 @@ export declare const sceneMonitorCapability: {
|
|
|
218
365
|
condition: z.ZodString;
|
|
219
366
|
capturedAt: z.ZodNumber;
|
|
220
367
|
thumbnailMediaId: z.ZodOptional<z.ZodString>;
|
|
368
|
+
anchorEmbedding: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
221
369
|
}, z.core.$strip>>;
|
|
222
370
|
textPrompts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
223
371
|
referenceCount: z.ZodNumber;
|
|
@@ -232,6 +380,43 @@ export declare const sceneMonitorCapability: {
|
|
|
232
380
|
unavailable: "unavailable";
|
|
233
381
|
}>;
|
|
234
382
|
unavailableReason: z.ZodNullable<z.ZodString>;
|
|
383
|
+
baselineStateId: z.ZodNullable<z.ZodString>;
|
|
384
|
+
emit: z.ZodDefault<z.ZodEnum<{
|
|
385
|
+
live: "live";
|
|
386
|
+
latched: "latched";
|
|
387
|
+
}>>;
|
|
388
|
+
verdict: z.ZodEnum<{
|
|
389
|
+
unknown: "unknown";
|
|
390
|
+
matched: "matched";
|
|
391
|
+
diverged: "diverged";
|
|
392
|
+
}>;
|
|
393
|
+
latched: z.ZodBoolean;
|
|
394
|
+
armedAt: z.ZodNumber;
|
|
395
|
+
divergedAt: z.ZodNullable<z.ZodNumber>;
|
|
396
|
+
restoredAt: z.ZodNullable<z.ZodNumber>;
|
|
397
|
+
quietSeconds: z.ZodDefault<z.ZodNumber>;
|
|
398
|
+
minObservationSpacingSec: z.ZodDefault<z.ZodNumber>;
|
|
399
|
+
confirm: z.ZodOptional<z.ZodObject<{
|
|
400
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
401
|
+
prompt: z.ZodString;
|
|
402
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
403
|
+
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
404
|
+
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
405
|
+
onTimeout: z.ZodDefault<z.ZodEnum<{
|
|
406
|
+
flip: "flip";
|
|
407
|
+
hold: "hold";
|
|
408
|
+
}>>;
|
|
409
|
+
}, z.core.$strip>>;
|
|
410
|
+
anchorThreshold: z.ZodDefault<z.ZodNumber>;
|
|
411
|
+
autoRestore: z.ZodDefault<z.ZodBoolean>;
|
|
412
|
+
unavailable: z.ZodNullable<z.ZodEnum<{
|
|
413
|
+
"no-reference-for-condition": "no-reference-for-condition";
|
|
414
|
+
"view-shifted": "view-shifted";
|
|
415
|
+
"no-vision-profile": "no-vision-profile";
|
|
416
|
+
"encoder-model-changed": "encoder-model-changed";
|
|
417
|
+
"no-snapshot": "no-snapshot";
|
|
418
|
+
}>>;
|
|
419
|
+
coveredConditions: z.ZodArray<z.ZodString>;
|
|
235
420
|
}, z.core.$strip>>;
|
|
236
421
|
lastFetchedAt: z.ZodNumber;
|
|
237
422
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -297,6 +482,7 @@ export declare const sceneMonitorCapability: {
|
|
|
297
482
|
condition: z.ZodString;
|
|
298
483
|
capturedAt: z.ZodNumber;
|
|
299
484
|
thumbnailMediaId: z.ZodOptional<z.ZodString>;
|
|
485
|
+
anchorEmbedding: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
300
486
|
}, z.core.$strip>>;
|
|
301
487
|
textPrompts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
302
488
|
referenceCount: z.ZodNumber;
|
|
@@ -311,6 +497,43 @@ export declare const sceneMonitorCapability: {
|
|
|
311
497
|
unavailable: "unavailable";
|
|
312
498
|
}>;
|
|
313
499
|
unavailableReason: z.ZodNullable<z.ZodString>;
|
|
500
|
+
baselineStateId: z.ZodNullable<z.ZodString>;
|
|
501
|
+
emit: z.ZodDefault<z.ZodEnum<{
|
|
502
|
+
live: "live";
|
|
503
|
+
latched: "latched";
|
|
504
|
+
}>>;
|
|
505
|
+
verdict: z.ZodEnum<{
|
|
506
|
+
unknown: "unknown";
|
|
507
|
+
matched: "matched";
|
|
508
|
+
diverged: "diverged";
|
|
509
|
+
}>;
|
|
510
|
+
latched: z.ZodBoolean;
|
|
511
|
+
armedAt: z.ZodNumber;
|
|
512
|
+
divergedAt: z.ZodNullable<z.ZodNumber>;
|
|
513
|
+
restoredAt: z.ZodNullable<z.ZodNumber>;
|
|
514
|
+
quietSeconds: z.ZodDefault<z.ZodNumber>;
|
|
515
|
+
minObservationSpacingSec: z.ZodDefault<z.ZodNumber>;
|
|
516
|
+
confirm: z.ZodOptional<z.ZodObject<{
|
|
517
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
518
|
+
prompt: z.ZodString;
|
|
519
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
520
|
+
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
521
|
+
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
522
|
+
onTimeout: z.ZodDefault<z.ZodEnum<{
|
|
523
|
+
flip: "flip";
|
|
524
|
+
hold: "hold";
|
|
525
|
+
}>>;
|
|
526
|
+
}, z.core.$strip>>;
|
|
527
|
+
anchorThreshold: z.ZodDefault<z.ZodNumber>;
|
|
528
|
+
autoRestore: z.ZodDefault<z.ZodBoolean>;
|
|
529
|
+
unavailable: z.ZodNullable<z.ZodEnum<{
|
|
530
|
+
"no-reference-for-condition": "no-reference-for-condition";
|
|
531
|
+
"view-shifted": "view-shifted";
|
|
532
|
+
"no-vision-profile": "no-vision-profile";
|
|
533
|
+
"encoder-model-changed": "encoder-model-changed";
|
|
534
|
+
"no-snapshot": "no-snapshot";
|
|
535
|
+
}>>;
|
|
536
|
+
coveredConditions: z.ZodArray<z.ZodString>;
|
|
314
537
|
}, z.core.$strip>, "mutation">;
|
|
315
538
|
readonly updateScene: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
316
539
|
deviceId: z.ZodNumber;
|
|
@@ -341,6 +564,25 @@ export declare const sceneMonitorCapability: {
|
|
|
341
564
|
profileId: z.ZodOptional<z.ZodString>;
|
|
342
565
|
hysteresisCount: z.ZodNumber;
|
|
343
566
|
}, z.core.$strip>], "mode">>;
|
|
567
|
+
emit: z.ZodOptional<z.ZodEnum<{
|
|
568
|
+
live: "live";
|
|
569
|
+
latched: "latched";
|
|
570
|
+
}>>;
|
|
571
|
+
quietSeconds: z.ZodOptional<z.ZodNumber>;
|
|
572
|
+
minObservationSpacingSec: z.ZodOptional<z.ZodNumber>;
|
|
573
|
+
anchorThreshold: z.ZodOptional<z.ZodNumber>;
|
|
574
|
+
autoRestore: z.ZodOptional<z.ZodBoolean>;
|
|
575
|
+
confirm: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
576
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
577
|
+
prompt: z.ZodString;
|
|
578
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
579
|
+
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
580
|
+
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
581
|
+
onTimeout: z.ZodDefault<z.ZodEnum<{
|
|
582
|
+
flip: "flip";
|
|
583
|
+
hold: "hold";
|
|
584
|
+
}>>;
|
|
585
|
+
}, z.core.$strip>>>;
|
|
344
586
|
}, z.core.$strip>;
|
|
345
587
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
346
588
|
readonly deleteScene: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -367,6 +609,22 @@ export declare const sceneMonitorCapability: {
|
|
|
367
609
|
deviceId: z.ZodNumber;
|
|
368
610
|
monitorId: z.ZodString;
|
|
369
611
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
612
|
+
/**
|
|
613
|
+
* Clear the latch, re-arm, and — by default — RE-CAPTURE the baseline for
|
|
614
|
+
* the CURRENT condition. The bin never goes back in exactly the same spot;
|
|
615
|
+
* "reset" in the operator's head means *this is the new normal*, and
|
|
616
|
+
* re-capture is what makes the feature self-healing against slow drift
|
|
617
|
+
* instead of failing silently weeks later.
|
|
618
|
+
*
|
|
619
|
+
* Reachable from three surfaces on this one mutation: the scene card, a
|
|
620
|
+
* notification button (an `onTrigger` sequence with a `kind:'cap'` step —
|
|
621
|
+
* no new Notification-Center code at all), and tRPC for scripts.
|
|
622
|
+
*/
|
|
623
|
+
readonly resetScene: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
624
|
+
deviceId: z.ZodNumber;
|
|
625
|
+
monitorId: z.ZodString;
|
|
626
|
+
recapture: z.ZodOptional<z.ZodBoolean>;
|
|
627
|
+
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
370
628
|
};
|
|
371
629
|
readonly status: {
|
|
372
630
|
readonly schema: z.ZodObject<{
|
|
@@ -406,6 +664,7 @@ export declare const sceneMonitorCapability: {
|
|
|
406
664
|
condition: z.ZodString;
|
|
407
665
|
capturedAt: z.ZodNumber;
|
|
408
666
|
thumbnailMediaId: z.ZodOptional<z.ZodString>;
|
|
667
|
+
anchorEmbedding: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
409
668
|
}, z.core.$strip>>;
|
|
410
669
|
textPrompts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
411
670
|
referenceCount: z.ZodNumber;
|
|
@@ -420,6 +679,43 @@ export declare const sceneMonitorCapability: {
|
|
|
420
679
|
unavailable: "unavailable";
|
|
421
680
|
}>;
|
|
422
681
|
unavailableReason: z.ZodNullable<z.ZodString>;
|
|
682
|
+
baselineStateId: z.ZodNullable<z.ZodString>;
|
|
683
|
+
emit: z.ZodDefault<z.ZodEnum<{
|
|
684
|
+
live: "live";
|
|
685
|
+
latched: "latched";
|
|
686
|
+
}>>;
|
|
687
|
+
verdict: z.ZodEnum<{
|
|
688
|
+
unknown: "unknown";
|
|
689
|
+
matched: "matched";
|
|
690
|
+
diverged: "diverged";
|
|
691
|
+
}>;
|
|
692
|
+
latched: z.ZodBoolean;
|
|
693
|
+
armedAt: z.ZodNumber;
|
|
694
|
+
divergedAt: z.ZodNullable<z.ZodNumber>;
|
|
695
|
+
restoredAt: z.ZodNullable<z.ZodNumber>;
|
|
696
|
+
quietSeconds: z.ZodDefault<z.ZodNumber>;
|
|
697
|
+
minObservationSpacingSec: z.ZodDefault<z.ZodNumber>;
|
|
698
|
+
confirm: z.ZodOptional<z.ZodObject<{
|
|
699
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
700
|
+
prompt: z.ZodString;
|
|
701
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
702
|
+
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
703
|
+
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
704
|
+
onTimeout: z.ZodDefault<z.ZodEnum<{
|
|
705
|
+
flip: "flip";
|
|
706
|
+
hold: "hold";
|
|
707
|
+
}>>;
|
|
708
|
+
}, z.core.$strip>>;
|
|
709
|
+
anchorThreshold: z.ZodDefault<z.ZodNumber>;
|
|
710
|
+
autoRestore: z.ZodDefault<z.ZodBoolean>;
|
|
711
|
+
unavailable: z.ZodNullable<z.ZodEnum<{
|
|
712
|
+
"no-reference-for-condition": "no-reference-for-condition";
|
|
713
|
+
"view-shifted": "view-shifted";
|
|
714
|
+
"no-vision-profile": "no-vision-profile";
|
|
715
|
+
"encoder-model-changed": "encoder-model-changed";
|
|
716
|
+
"no-snapshot": "no-snapshot";
|
|
717
|
+
}>>;
|
|
718
|
+
coveredConditions: z.ZodArray<z.ZodString>;
|
|
423
719
|
}, z.core.$strip>>;
|
|
424
720
|
lastFetchedAt: z.ZodNumber;
|
|
425
721
|
}, z.core.$strip>;
|
|
@@ -462,6 +758,7 @@ export declare const sceneMonitorCapability: {
|
|
|
462
758
|
condition: z.ZodString;
|
|
463
759
|
capturedAt: z.ZodNumber;
|
|
464
760
|
thumbnailMediaId: z.ZodOptional<z.ZodString>;
|
|
761
|
+
anchorEmbedding: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
465
762
|
}, z.core.$strip>>;
|
|
466
763
|
textPrompts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
467
764
|
referenceCount: z.ZodNumber;
|
|
@@ -476,6 +773,43 @@ export declare const sceneMonitorCapability: {
|
|
|
476
773
|
unavailable: "unavailable";
|
|
477
774
|
}>;
|
|
478
775
|
unavailableReason: z.ZodNullable<z.ZodString>;
|
|
776
|
+
baselineStateId: z.ZodNullable<z.ZodString>;
|
|
777
|
+
emit: z.ZodDefault<z.ZodEnum<{
|
|
778
|
+
live: "live";
|
|
779
|
+
latched: "latched";
|
|
780
|
+
}>>;
|
|
781
|
+
verdict: z.ZodEnum<{
|
|
782
|
+
unknown: "unknown";
|
|
783
|
+
matched: "matched";
|
|
784
|
+
diverged: "diverged";
|
|
785
|
+
}>;
|
|
786
|
+
latched: z.ZodBoolean;
|
|
787
|
+
armedAt: z.ZodNumber;
|
|
788
|
+
divergedAt: z.ZodNullable<z.ZodNumber>;
|
|
789
|
+
restoredAt: z.ZodNullable<z.ZodNumber>;
|
|
790
|
+
quietSeconds: z.ZodDefault<z.ZodNumber>;
|
|
791
|
+
minObservationSpacingSec: z.ZodDefault<z.ZodNumber>;
|
|
792
|
+
confirm: z.ZodOptional<z.ZodObject<{
|
|
793
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
794
|
+
prompt: z.ZodString;
|
|
795
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
796
|
+
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
797
|
+
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
798
|
+
onTimeout: z.ZodDefault<z.ZodEnum<{
|
|
799
|
+
flip: "flip";
|
|
800
|
+
hold: "hold";
|
|
801
|
+
}>>;
|
|
802
|
+
}, z.core.$strip>>;
|
|
803
|
+
anchorThreshold: z.ZodDefault<z.ZodNumber>;
|
|
804
|
+
autoRestore: z.ZodDefault<z.ZodBoolean>;
|
|
805
|
+
unavailable: z.ZodNullable<z.ZodEnum<{
|
|
806
|
+
"no-reference-for-condition": "no-reference-for-condition";
|
|
807
|
+
"view-shifted": "view-shifted";
|
|
808
|
+
"no-vision-profile": "no-vision-profile";
|
|
809
|
+
"encoder-model-changed": "encoder-model-changed";
|
|
810
|
+
"no-snapshot": "no-snapshot";
|
|
811
|
+
}>>;
|
|
812
|
+
coveredConditions: z.ZodArray<z.ZodString>;
|
|
479
813
|
}, z.core.$strip>>;
|
|
480
814
|
lastFetchedAt: z.ZodNumber;
|
|
481
815
|
}, z.core.$strip>;
|
|
@@ -6464,6 +6464,13 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
6464
6464
|
output: z.infer<typeof sceneMonitorCapability.methods.recheckNow.output>;
|
|
6465
6465
|
meta: object;
|
|
6466
6466
|
}>;
|
|
6467
|
+
resetScene: TRPCMutationProcedure<{
|
|
6468
|
+
input: {
|
|
6469
|
+
[x: string]: unknown;
|
|
6470
|
+
} & z.input<typeof sceneMonitorCapability.methods.resetScene.input>;
|
|
6471
|
+
output: z.infer<typeof sceneMonitorCapability.methods.resetScene.output>;
|
|
6472
|
+
meta: object;
|
|
6473
|
+
}>;
|
|
6467
6474
|
}>>;
|
|
6468
6475
|
scriptRunner: TRPCBuiltRouter<{
|
|
6469
6476
|
ctx: TrpcContext;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* scope+access check inside `protectedProcedure` (see
|
|
7
7
|
* `server/backend/src/api/trpc/trpc.middleware.ts`).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
9
|
+
* Coverage: 934 method paths across 123 capabilities.
|
|
10
10
|
*/
|
|
11
11
|
import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
|
|
12
12
|
export interface MethodAccessRecord {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* system-scope cap that takes a deviceId was previously never device-filtered
|
|
7
7
|
* — see the generator header).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
9
|
+
* Coverage: 331 methods carry a device reference, of which
|
|
10
10
|
* 124 are on SYSTEM-scope caps.
|
|
11
11
|
*
|
|
12
12
|
* Only TOP-LEVEL input fields appear here; a nested device id is not
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_event_category = require("./event-category-D3gG7oil.js");
|
|
3
|
-
const require_sleep = require("./sleep-
|
|
3
|
+
const require_sleep = require("./sleep-CKWYtvXl.js");
|
|
4
4
|
const require_canonical_hash = require("./canonical-hash-DNV8S5ET.js");
|
|
5
5
|
const require_enums = require("./enums.js");
|
|
6
6
|
const require_err_msg = require("./err-msg-COpsHMw2.js");
|
|
@@ -27378,9 +27378,47 @@ var recordingExportCapability = {
|
|
|
27378
27378
|
* settings-contribution methods. `status.kind:'push'` — the engine pushes on
|
|
27379
27379
|
* every hysteresis flip / availability change; consumers never poll.
|
|
27380
27380
|
*/
|
|
27381
|
-
/** Extensible condition tag. Seeded 'day' | '
|
|
27382
|
-
*
|
|
27381
|
+
/** Extensible condition tag. Seeded 'day' | 'ir' (the two variants the operator
|
|
27382
|
+
* captures) plus 'night' | 'dawn' | 'dusk' from the resolver's sun-times band.
|
|
27383
|
+
* Open by design so more can be added without a wire break.
|
|
27384
|
+
*
|
|
27385
|
+
* Matching does NOT fall back across conditions: cross-condition cosines are
|
|
27386
|
+
* not comparable, so "I have never seen this scene in this light" is reported
|
|
27387
|
+
* as `unknown`, never guessed. A day reference scored against an IR frame
|
|
27388
|
+
* collapses the cosine and would latch a false alarm every single night. */
|
|
27383
27389
|
var SceneConditionSchema = zod.z.string();
|
|
27390
|
+
/** The conditions the resolver can produce. Seeds for the UI's coverage line;
|
|
27391
|
+
* the wire type stays an open string. */
|
|
27392
|
+
var SCENE_CONDITIONS = [
|
|
27393
|
+
"day",
|
|
27394
|
+
"ir",
|
|
27395
|
+
"night",
|
|
27396
|
+
"dawn",
|
|
27397
|
+
"dusk"
|
|
27398
|
+
];
|
|
27399
|
+
/** Reserved, engine-owned state id standing for "the region no longer looks
|
|
27400
|
+
* like ANY captured reference". Never authored by an operator, never stored in
|
|
27401
|
+
* `states[]` — it is the synthetic candidate that makes divergence a
|
|
27402
|
+
* first-class hysteresis input rather than a bare `return`. */
|
|
27403
|
+
var SCENE_DIVERGED = "__diverged__";
|
|
27404
|
+
/** `matched` = the baseline is what we see; `diverged` = it demonstrably is not;
|
|
27405
|
+
* `unknown` = we cannot judge (no reference for this condition, encoder model
|
|
27406
|
+
* changed, view shifted, no snapshot). `unknown` is a real value, not a null,
|
|
27407
|
+
* and never counts toward hysteresis in either direction. */
|
|
27408
|
+
var SceneVerdictSchema = zod.z.enum([
|
|
27409
|
+
"matched",
|
|
27410
|
+
"diverged",
|
|
27411
|
+
"unknown"
|
|
27412
|
+
]);
|
|
27413
|
+
/** Why a scene cannot judge. Named, because this feature's failure mode is
|
|
27414
|
+
* silence that reads as "nothing has happened". */
|
|
27415
|
+
var SceneUnavailableSchema = zod.z.enum([
|
|
27416
|
+
"no-reference-for-condition",
|
|
27417
|
+
"view-shifted",
|
|
27418
|
+
"no-vision-profile",
|
|
27419
|
+
"encoder-model-changed",
|
|
27420
|
+
"no-snapshot"
|
|
27421
|
+
]);
|
|
27384
27422
|
/** One captured reference — condition-tagged, model-version-gated. `embedding`
|
|
27385
27423
|
* is `number[]` (Float32Array does NOT survive MsgPack/UDS). */
|
|
27386
27424
|
var SceneReferenceSchema = zod.z.object({
|
|
@@ -27388,7 +27426,14 @@ var SceneReferenceSchema = zod.z.object({
|
|
|
27388
27426
|
modelId: zod.z.string(),
|
|
27389
27427
|
condition: SceneConditionSchema,
|
|
27390
27428
|
capturedAt: zod.z.number(),
|
|
27391
|
-
thumbnailMediaId: zod.z.string().optional()
|
|
27429
|
+
thumbnailMediaId: zod.z.string().optional(),
|
|
27430
|
+
/** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
|
|
27431
|
+
* anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
|
|
27432
|
+
* normalized rect frame a different piece of world, and the scene would
|
|
27433
|
+
* diverge forever with a perfectly plausible cosine. Checked LAZILY, only
|
|
27434
|
+
* when hysteresis is about to flip — one extra encode per candidate
|
|
27435
|
+
* transition, not per poll. */
|
|
27436
|
+
anchorEmbedding: zod.z.array(zod.z.number()).optional()
|
|
27392
27437
|
});
|
|
27393
27438
|
var SceneMonitorStateSchema = zod.z.object({
|
|
27394
27439
|
id: zod.z.string(),
|
|
@@ -27410,6 +27455,38 @@ var SceneCheckSchema = zod.z.discriminatedUnion("mode", [zod.z.object({
|
|
|
27410
27455
|
profileId: zod.z.string().optional(),
|
|
27411
27456
|
hysteresisCount: zod.z.number().int().positive()
|
|
27412
27457
|
})]);
|
|
27458
|
+
/** Defaults, as CONSTANTS rather than only as Zod `.default()`. A Zod default
|
|
27459
|
+
* does NOT run on the addon→addon cap path, so every runtime seam reads these
|
|
27460
|
+
* as absent-with-a-constant (the `NcConfirmSchema` lesson, three production
|
|
27461
|
+
* failures in one day). The schema defaults and these values are the same
|
|
27462
|
+
* numbers on purpose. */
|
|
27463
|
+
var SCENE_DEFAULT_QUIET_SECONDS = 60;
|
|
27464
|
+
var SCENE_DEFAULT_OBSERVATION_SPACING_SEC = 120;
|
|
27465
|
+
var SCENE_DEFAULT_CHECK_INTERVAL_SEC = 60;
|
|
27466
|
+
var SCENE_DEFAULT_ANCHOR_THRESHOLD = .85;
|
|
27467
|
+
var SCENE_CONFIRM_DEFAULT_TIMEOUT_MS = 8e3;
|
|
27468
|
+
var SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX = 448;
|
|
27469
|
+
/** `resetScene({ recapture })` absent means TRUE — the operator decision. Read
|
|
27470
|
+
* at the seam, because a Zod `.optional()` carries no default at all. */
|
|
27471
|
+
var SCENE_RESET_RECAPTURES = true;
|
|
27472
|
+
/**
|
|
27473
|
+
* Vision-model adjudication of a candidate flip. Field names deliberately
|
|
27474
|
+
* mirror `NcConfirmSchema` so an operator meets one vocabulary, not two.
|
|
27475
|
+
*
|
|
27476
|
+
* `onTimeout` defaults to **'hold'**, the OPPOSITE of `NcConfirmGate`'s
|
|
27477
|
+
* fail-open: a notification suppressed is the worse error there, but a vision
|
|
27478
|
+
* model that timed out has not told us the bin is gone, and a latch is a
|
|
27479
|
+
* stateful claim that costs the operator a trip to reset.
|
|
27480
|
+
*/
|
|
27481
|
+
var SceneConfirmSchema = zod.z.object({
|
|
27482
|
+
enabled: zod.z.boolean().default(false),
|
|
27483
|
+
prompt: zod.z.string().min(1).max(1e3),
|
|
27484
|
+
profileId: zod.z.string().optional(),
|
|
27485
|
+
timeoutMs: zod.z.number().int().min(1e3).max(2e4).default(SCENE_CONFIRM_DEFAULT_TIMEOUT_MS),
|
|
27486
|
+
maxImagePx: zod.z.number().int().min(64).max(2048).default(448),
|
|
27487
|
+
/** What a timeout / unavailable model means for the PENDING flip. */
|
|
27488
|
+
onTimeout: zod.z.enum(["flip", "hold"]).default("hold")
|
|
27489
|
+
});
|
|
27413
27490
|
var SceneMonitorSchema = zod.z.object({
|
|
27414
27491
|
id: zod.z.string(),
|
|
27415
27492
|
label: zod.z.string(),
|
|
@@ -27428,7 +27505,41 @@ var SceneMonitorSchema = zod.z.object({
|
|
|
27428
27505
|
lastConfidence: zod.z.number().nullable(),
|
|
27429
27506
|
currentCondition: SceneConditionSchema.nullable(),
|
|
27430
27507
|
availability: zod.z.enum(["ok", "unavailable"]),
|
|
27431
|
-
unavailableReason: zod.z.string().nullable()
|
|
27508
|
+
unavailableReason: zod.z.string().nullable(),
|
|
27509
|
+
/** Which state is "the initial screen". `null` until the first capture. */
|
|
27510
|
+
baselineStateId: zod.z.string().nullable(),
|
|
27511
|
+
/** Which boolean drives notification rules and any export. */
|
|
27512
|
+
emit: zod.z.enum(["latched", "live"]).default("latched"),
|
|
27513
|
+
/** Live: does the region match the baseline RIGHT NOW. */
|
|
27514
|
+
verdict: SceneVerdictSchema,
|
|
27515
|
+
/** Has it been `diverged` at least once since `armedAt` — the operator's boolean. */
|
|
27516
|
+
latched: zod.z.boolean(),
|
|
27517
|
+
/** Last reset (or creation). */
|
|
27518
|
+
armedAt: zod.z.number(),
|
|
27519
|
+
divergedAt: zod.z.number().nullable(),
|
|
27520
|
+
restoredAt: zod.z.number().nullable(),
|
|
27521
|
+
/** A check is only COUNTED when the device has been quiet this long. Motion
|
|
27522
|
+
* during the window DISCARDS the observation — a car pulling up in front of
|
|
27523
|
+
* the bin must not be able to spend hysteresis credit. */
|
|
27524
|
+
quietSeconds: zod.z.number().int().min(0).max(3600).default(60),
|
|
27525
|
+
/** An observation only advances the pending count when it is at least this
|
|
27526
|
+
* far from the previously counted one, so N agreeing checks span real time
|
|
27527
|
+
* rather than N adjacent polls inside one occlusion. */
|
|
27528
|
+
minObservationSpacingSec: zod.z.number().int().min(0).max(3600).default(120),
|
|
27529
|
+
/** Vision-model adjudication of a candidate flip. Similarity primary only. */
|
|
27530
|
+
confirm: SceneConfirmSchema.optional(),
|
|
27531
|
+
/** Whole-frame anchor cosine below which a flip is REFUSED as `view-shifted`. */
|
|
27532
|
+
anchorThreshold: zod.z.number().min(0).max(1).default(SCENE_DEFAULT_ANCHOR_THRESHOLD),
|
|
27533
|
+
/** Clear the latch on its own when the scene matches again? Default false —
|
|
27534
|
+
* `restoredAt` and the `scene-restored` edge are recorded regardless, so an
|
|
27535
|
+
* automation can react to the bin coming back without the operator's own
|
|
27536
|
+
* alarm silently clearing itself. */
|
|
27537
|
+
autoRestore: zod.z.boolean().default(false),
|
|
27538
|
+
/** Named cause when `verdict === 'unknown'`. */
|
|
27539
|
+
unavailable: SceneUnavailableSchema.nullable(),
|
|
27540
|
+
/** Conditions that have at least one comparable reference — the coverage line
|
|
27541
|
+
* ("day ✓ · ir ✓ · dusk ✗") that turns a silent fallback into a visible fact. */
|
|
27542
|
+
coveredConditions: zod.z.array(SceneConditionSchema)
|
|
27432
27543
|
});
|
|
27433
27544
|
var SceneMonitorStatusSchema = zod.z.object({
|
|
27434
27545
|
monitors: zod.z.array(SceneMonitorSchema),
|
|
@@ -27477,7 +27588,14 @@ var sceneMonitorCapability = {
|
|
|
27477
27588
|
"both"
|
|
27478
27589
|
]).optional(),
|
|
27479
27590
|
checkIntervalSec: zod.z.number().optional(),
|
|
27480
|
-
check: SceneCheckSchema.optional()
|
|
27591
|
+
check: SceneCheckSchema.optional(),
|
|
27592
|
+
emit: zod.z.enum(["latched", "live"]).optional(),
|
|
27593
|
+
quietSeconds: zod.z.number().int().min(0).max(3600).optional(),
|
|
27594
|
+
minObservationSpacingSec: zod.z.number().int().min(0).max(3600).optional(),
|
|
27595
|
+
anchorThreshold: zod.z.number().min(0).max(1).optional(),
|
|
27596
|
+
autoRestore: zod.z.boolean().optional(),
|
|
27597
|
+
/** `null` clears the vision-model adjudicator. */
|
|
27598
|
+
confirm: SceneConfirmSchema.nullable().optional()
|
|
27481
27599
|
})
|
|
27482
27600
|
}), zod.z.void(), {
|
|
27483
27601
|
kind: "mutation",
|
|
@@ -27518,6 +27636,26 @@ var sceneMonitorCapability = {
|
|
|
27518
27636
|
}), zod.z.void(), {
|
|
27519
27637
|
kind: "mutation",
|
|
27520
27638
|
auth: "admin"
|
|
27639
|
+
}),
|
|
27640
|
+
/**
|
|
27641
|
+
* Clear the latch, re-arm, and — by default — RE-CAPTURE the baseline for
|
|
27642
|
+
* the CURRENT condition. The bin never goes back in exactly the same spot;
|
|
27643
|
+
* "reset" in the operator's head means *this is the new normal*, and
|
|
27644
|
+
* re-capture is what makes the feature self-healing against slow drift
|
|
27645
|
+
* instead of failing silently weeks later.
|
|
27646
|
+
*
|
|
27647
|
+
* Reachable from three surfaces on this one mutation: the scene card, a
|
|
27648
|
+
* notification button (an `onTrigger` sequence with a `kind:'cap'` step —
|
|
27649
|
+
* no new Notification-Center code at all), and tRPC for scripts.
|
|
27650
|
+
*/
|
|
27651
|
+
resetScene: require_sleep.method(zod.z.object({
|
|
27652
|
+
deviceId: zod.z.number(),
|
|
27653
|
+
monitorId: zod.z.string(),
|
|
27654
|
+
/** Defaults to TRUE at the provider seam — see `SCENE_RESET_RECAPTURES`. */
|
|
27655
|
+
recapture: zod.z.boolean().optional()
|
|
27656
|
+
}), zod.z.void(), {
|
|
27657
|
+
kind: "mutation",
|
|
27658
|
+
auth: "admin"
|
|
27521
27659
|
})
|
|
27522
27660
|
},
|
|
27523
27661
|
status: {
|
|
@@ -37478,6 +37616,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
37478
37616
|
addonId: null,
|
|
37479
37617
|
access: "create"
|
|
37480
37618
|
},
|
|
37619
|
+
"sceneMonitor.resetScene": {
|
|
37620
|
+
capName: "scene-monitor",
|
|
37621
|
+
capScope: "device",
|
|
37622
|
+
addonId: null,
|
|
37623
|
+
access: "delete"
|
|
37624
|
+
},
|
|
37481
37625
|
"sceneMonitor.updateScene": {
|
|
37482
37626
|
capName: "scene-monitor",
|
|
37483
37627
|
capScope: "device",
|
|
@@ -40417,6 +40561,11 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
|
|
|
40417
40561
|
form: "single",
|
|
40418
40562
|
optional: false
|
|
40419
40563
|
}],
|
|
40564
|
+
"sceneMonitor.resetScene": [{
|
|
40565
|
+
name: "deviceId",
|
|
40566
|
+
form: "single",
|
|
40567
|
+
optional: false
|
|
40568
|
+
}],
|
|
40420
40569
|
"sceneMonitor.updateScene": [{
|
|
40421
40570
|
name: "deviceId",
|
|
40422
40571
|
form: "single",
|
|
@@ -45457,6 +45606,15 @@ exports.RunnerFrameSourceSchema = RunnerFrameSourceSchema;
|
|
|
45457
45606
|
exports.RunnerInferenceDeviceSchema = RunnerInferenceDeviceSchema;
|
|
45458
45607
|
exports.RunnerLocalLoadSchema = RunnerLocalLoadSchema;
|
|
45459
45608
|
exports.RunnerLocalMetricsSchema = RunnerLocalMetricsSchema;
|
|
45609
|
+
exports.SCENE_CONDITIONS = SCENE_CONDITIONS;
|
|
45610
|
+
exports.SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX = SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX;
|
|
45611
|
+
exports.SCENE_CONFIRM_DEFAULT_TIMEOUT_MS = SCENE_CONFIRM_DEFAULT_TIMEOUT_MS;
|
|
45612
|
+
exports.SCENE_DEFAULT_ANCHOR_THRESHOLD = SCENE_DEFAULT_ANCHOR_THRESHOLD;
|
|
45613
|
+
exports.SCENE_DEFAULT_CHECK_INTERVAL_SEC = SCENE_DEFAULT_CHECK_INTERVAL_SEC;
|
|
45614
|
+
exports.SCENE_DEFAULT_OBSERVATION_SPACING_SEC = SCENE_DEFAULT_OBSERVATION_SPACING_SEC;
|
|
45615
|
+
exports.SCENE_DEFAULT_QUIET_SECONDS = SCENE_DEFAULT_QUIET_SECONDS;
|
|
45616
|
+
exports.SCENE_DIVERGED = SCENE_DIVERGED;
|
|
45617
|
+
exports.SCENE_RESET_RECAPTURES = SCENE_RESET_RECAPTURES;
|
|
45460
45618
|
exports.SCOPE_PRESETS = SCOPE_PRESETS;
|
|
45461
45619
|
exports.SCRUB_THUMBNAIL_PRESETS = SCRUB_THUMBNAIL_PRESETS;
|
|
45462
45620
|
exports.SCRUB_THUMBNAIL_PRESET_LABELS = SCRUB_THUMBNAIL_PRESET_LABELS;
|
|
@@ -45471,10 +45629,13 @@ exports.SYSTEM_CAP_NAMES = SYSTEM_CAP_NAMES;
|
|
|
45471
45629
|
exports.SYSTEM_SCOPE_DEVICE_METHODS = SYSTEM_SCOPE_DEVICE_METHODS;
|
|
45472
45630
|
exports.SceneCheckSchema = SceneCheckSchema;
|
|
45473
45631
|
exports.SceneConditionSchema = SceneConditionSchema;
|
|
45632
|
+
exports.SceneConfirmSchema = SceneConfirmSchema;
|
|
45474
45633
|
exports.SceneMonitorSchema = SceneMonitorSchema;
|
|
45475
45634
|
exports.SceneMonitorStateSchema = SceneMonitorStateSchema;
|
|
45476
45635
|
exports.SceneMonitorStatusSchema = SceneMonitorStatusSchema;
|
|
45477
45636
|
exports.SceneReferenceSchema = SceneReferenceSchema;
|
|
45637
|
+
exports.SceneUnavailableSchema = SceneUnavailableSchema;
|
|
45638
|
+
exports.SceneVerdictSchema = SceneVerdictSchema;
|
|
45478
45639
|
exports.ScopedTokenSchema = ScopedTokenSchema;
|
|
45479
45640
|
exports.ScopedTokenSummarySchema = ScopedTokenSummarySchema;
|
|
45480
45641
|
exports.ScoredObjectEventSchema = ScoredObjectEventSchema;
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as EventCategory } from "./event-category-Bxo5yJjt.mjs";
|
|
2
|
-
import { $ as FrameHandleFormatSchema, A as isDeviceConfigCap, B as emitDownForOwnedCaps, C as DeviceType, Ct as WELL_KNOWN_TAB_MAP, D as DEVICE_STATUS_METHOD, Dt as resolveHydratedFieldValue, E as DEVICE_SETTINGS_CONTRIBUTION_METHODS, Et as hydrateSchema, F as nodePin, G as CAM_PROFILE_ORDER, H as scopeKey, I as readNodePin, J as CamStreamResolutionSchema, K as CamProfileSchema, L as toNodeId, M as resolveCapMount, N as systemMethod, O as event, P as CAP_NODE_PIN_CONTEXT_KEY, Q as EncodedPacketSchema, R as ReadinessRegistry, S as DeviceRole, St as WELL_KNOWN_TABS, T as DEFAULT_RUNTIME_STATE_DURABILITY, Tt as collectHydratedFieldValues, U as BrokerStatsSchema, V as readinessKey, W as BrokerStatusSchema, X as DecodedAudioChunkSchema, Y as CameraStreamSchema, Z as DecodedFrameSchema, _ as RawStateResultSchema, _t as normalizeAddonInitResult, a as asJsonObject, at as StreamSourceSchema, b as ChargingStatus, bt as emitReadiness, c as parseJsonArray, ct as SubscribeFramesInputSchema, d as DEVICE_SCOPED_CAPS, dt as makeSourceBrokerId, et as FrameHandleSchema, f as isDeviceScopedCap, ft as parseProfileBrokerId, g as createSliceHandle, gt as BaseAddon, h as createMirrorSource, ht as DisposerChain, i as asJsonArray, it as StreamSourceEntrySchema, j as method, k as expandCapMethods, l as parseJsonObject, lt as SubscribeFramesResultSchema, m as createLazyTrpcSource, mt as DATAPLANE_SECRET_HEADER, n as sleepCancellable, nt as ProfileSlotSchema, o as asNumber, ot as SubscribeAudioChunksInputSchema, p as createDeviceProxy, pt as selectAssignedProfileSlots, q as CamStreamKindSchema, r as asBoolean, rt as ProfileSlotStatusSchema, s as asString, st as SubscribeAudioChunksResultSchema, t as sleep, tt as ProfileRtspEntrySchema, u as parseJsonUnknown, ut as makeProfileBrokerId, v as deviceOpsCapability, vt as createDurableState, w as adminUiCapability, wt as collectHydratedFieldEntries, x as DeviceFeature, xt as isEvent, y as viewerUiCapability, yt as createEvent, z as ReadinessTimeoutError } from "./sleep-
|
|
2
|
+
import { $ as FrameHandleFormatSchema, A as isDeviceConfigCap, B as emitDownForOwnedCaps, C as DeviceType, Ct as WELL_KNOWN_TAB_MAP, D as DEVICE_STATUS_METHOD, Dt as resolveHydratedFieldValue, E as DEVICE_SETTINGS_CONTRIBUTION_METHODS, Et as hydrateSchema, F as nodePin, G as CAM_PROFILE_ORDER, H as scopeKey, I as readNodePin, J as CamStreamResolutionSchema, K as CamProfileSchema, L as toNodeId, M as resolveCapMount, N as systemMethod, O as event, P as CAP_NODE_PIN_CONTEXT_KEY, Q as EncodedPacketSchema, R as ReadinessRegistry, S as DeviceRole, St as WELL_KNOWN_TABS, T as DEFAULT_RUNTIME_STATE_DURABILITY, Tt as collectHydratedFieldValues, U as BrokerStatsSchema, V as readinessKey, W as BrokerStatusSchema, X as DecodedAudioChunkSchema, Y as CameraStreamSchema, Z as DecodedFrameSchema, _ as RawStateResultSchema, _t as normalizeAddonInitResult, a as asJsonObject, at as StreamSourceSchema, b as ChargingStatus, bt as emitReadiness, c as parseJsonArray, ct as SubscribeFramesInputSchema, d as DEVICE_SCOPED_CAPS, dt as makeSourceBrokerId, et as FrameHandleSchema, f as isDeviceScopedCap, ft as parseProfileBrokerId, g as createSliceHandle, gt as BaseAddon, h as createMirrorSource, ht as DisposerChain, i as asJsonArray, it as StreamSourceEntrySchema, j as method, k as expandCapMethods, l as parseJsonObject, lt as SubscribeFramesResultSchema, m as createLazyTrpcSource, mt as DATAPLANE_SECRET_HEADER, n as sleepCancellable, nt as ProfileSlotSchema, o as asNumber, ot as SubscribeAudioChunksInputSchema, p as createDeviceProxy, pt as selectAssignedProfileSlots, q as CamStreamKindSchema, r as asBoolean, rt as ProfileSlotStatusSchema, s as asString, st as SubscribeAudioChunksResultSchema, t as sleep, tt as ProfileRtspEntrySchema, u as parseJsonUnknown, ut as makeProfileBrokerId, v as deviceOpsCapability, vt as createDurableState, w as adminUiCapability, wt as collectHydratedFieldEntries, x as DeviceFeature, xt as isEvent, y as viewerUiCapability, yt as createEvent, z as ReadinessTimeoutError } from "./sleep-zD9b0ADo.mjs";
|
|
3
3
|
import { a as buildAudioArgs, c as buildVideoArgs, d as logBannerArgs, f as pickVideoEncoder, i as audioPlanFromEncodeProfile, l as invocationFromEncodeProfile, n as Fmp4BoxSplitter, o as buildFfmpegArgs, r as AUDIO_PRESETS, s as buildInputArgs, t as canonicalHash, u as isSoftwareDecode } from "./canonical-hash-rO1sRmEK.mjs";
|
|
4
4
|
import { EventSourceType } from "./enums.mjs";
|
|
5
5
|
import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
|
|
@@ -27377,9 +27377,47 @@ var recordingExportCapability = {
|
|
|
27377
27377
|
* settings-contribution methods. `status.kind:'push'` — the engine pushes on
|
|
27378
27378
|
* every hysteresis flip / availability change; consumers never poll.
|
|
27379
27379
|
*/
|
|
27380
|
-
/** Extensible condition tag. Seeded 'day' | '
|
|
27381
|
-
*
|
|
27380
|
+
/** Extensible condition tag. Seeded 'day' | 'ir' (the two variants the operator
|
|
27381
|
+
* captures) plus 'night' | 'dawn' | 'dusk' from the resolver's sun-times band.
|
|
27382
|
+
* Open by design so more can be added without a wire break.
|
|
27383
|
+
*
|
|
27384
|
+
* Matching does NOT fall back across conditions: cross-condition cosines are
|
|
27385
|
+
* not comparable, so "I have never seen this scene in this light" is reported
|
|
27386
|
+
* as `unknown`, never guessed. A day reference scored against an IR frame
|
|
27387
|
+
* collapses the cosine and would latch a false alarm every single night. */
|
|
27382
27388
|
var SceneConditionSchema = z.string();
|
|
27389
|
+
/** The conditions the resolver can produce. Seeds for the UI's coverage line;
|
|
27390
|
+
* the wire type stays an open string. */
|
|
27391
|
+
var SCENE_CONDITIONS = [
|
|
27392
|
+
"day",
|
|
27393
|
+
"ir",
|
|
27394
|
+
"night",
|
|
27395
|
+
"dawn",
|
|
27396
|
+
"dusk"
|
|
27397
|
+
];
|
|
27398
|
+
/** Reserved, engine-owned state id standing for "the region no longer looks
|
|
27399
|
+
* like ANY captured reference". Never authored by an operator, never stored in
|
|
27400
|
+
* `states[]` — it is the synthetic candidate that makes divergence a
|
|
27401
|
+
* first-class hysteresis input rather than a bare `return`. */
|
|
27402
|
+
var SCENE_DIVERGED = "__diverged__";
|
|
27403
|
+
/** `matched` = the baseline is what we see; `diverged` = it demonstrably is not;
|
|
27404
|
+
* `unknown` = we cannot judge (no reference for this condition, encoder model
|
|
27405
|
+
* changed, view shifted, no snapshot). `unknown` is a real value, not a null,
|
|
27406
|
+
* and never counts toward hysteresis in either direction. */
|
|
27407
|
+
var SceneVerdictSchema = z.enum([
|
|
27408
|
+
"matched",
|
|
27409
|
+
"diverged",
|
|
27410
|
+
"unknown"
|
|
27411
|
+
]);
|
|
27412
|
+
/** Why a scene cannot judge. Named, because this feature's failure mode is
|
|
27413
|
+
* silence that reads as "nothing has happened". */
|
|
27414
|
+
var SceneUnavailableSchema = z.enum([
|
|
27415
|
+
"no-reference-for-condition",
|
|
27416
|
+
"view-shifted",
|
|
27417
|
+
"no-vision-profile",
|
|
27418
|
+
"encoder-model-changed",
|
|
27419
|
+
"no-snapshot"
|
|
27420
|
+
]);
|
|
27383
27421
|
/** One captured reference — condition-tagged, model-version-gated. `embedding`
|
|
27384
27422
|
* is `number[]` (Float32Array does NOT survive MsgPack/UDS). */
|
|
27385
27423
|
var SceneReferenceSchema = z.object({
|
|
@@ -27387,7 +27425,14 @@ var SceneReferenceSchema = z.object({
|
|
|
27387
27425
|
modelId: z.string(),
|
|
27388
27426
|
condition: SceneConditionSchema,
|
|
27389
27427
|
capturedAt: z.number(),
|
|
27390
|
-
thumbnailMediaId: z.string().optional()
|
|
27428
|
+
thumbnailMediaId: z.string().optional(),
|
|
27429
|
+
/** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
|
|
27430
|
+
* anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
|
|
27431
|
+
* normalized rect frame a different piece of world, and the scene would
|
|
27432
|
+
* diverge forever with a perfectly plausible cosine. Checked LAZILY, only
|
|
27433
|
+
* when hysteresis is about to flip — one extra encode per candidate
|
|
27434
|
+
* transition, not per poll. */
|
|
27435
|
+
anchorEmbedding: z.array(z.number()).optional()
|
|
27391
27436
|
});
|
|
27392
27437
|
var SceneMonitorStateSchema = z.object({
|
|
27393
27438
|
id: z.string(),
|
|
@@ -27409,6 +27454,38 @@ var SceneCheckSchema = z.discriminatedUnion("mode", [z.object({
|
|
|
27409
27454
|
profileId: z.string().optional(),
|
|
27410
27455
|
hysteresisCount: z.number().int().positive()
|
|
27411
27456
|
})]);
|
|
27457
|
+
/** Defaults, as CONSTANTS rather than only as Zod `.default()`. A Zod default
|
|
27458
|
+
* does NOT run on the addon→addon cap path, so every runtime seam reads these
|
|
27459
|
+
* as absent-with-a-constant (the `NcConfirmSchema` lesson, three production
|
|
27460
|
+
* failures in one day). The schema defaults and these values are the same
|
|
27461
|
+
* numbers on purpose. */
|
|
27462
|
+
var SCENE_DEFAULT_QUIET_SECONDS = 60;
|
|
27463
|
+
var SCENE_DEFAULT_OBSERVATION_SPACING_SEC = 120;
|
|
27464
|
+
var SCENE_DEFAULT_CHECK_INTERVAL_SEC = 60;
|
|
27465
|
+
var SCENE_DEFAULT_ANCHOR_THRESHOLD = .85;
|
|
27466
|
+
var SCENE_CONFIRM_DEFAULT_TIMEOUT_MS = 8e3;
|
|
27467
|
+
var SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX = 448;
|
|
27468
|
+
/** `resetScene({ recapture })` absent means TRUE — the operator decision. Read
|
|
27469
|
+
* at the seam, because a Zod `.optional()` carries no default at all. */
|
|
27470
|
+
var SCENE_RESET_RECAPTURES = true;
|
|
27471
|
+
/**
|
|
27472
|
+
* Vision-model adjudication of a candidate flip. Field names deliberately
|
|
27473
|
+
* mirror `NcConfirmSchema` so an operator meets one vocabulary, not two.
|
|
27474
|
+
*
|
|
27475
|
+
* `onTimeout` defaults to **'hold'**, the OPPOSITE of `NcConfirmGate`'s
|
|
27476
|
+
* fail-open: a notification suppressed is the worse error there, but a vision
|
|
27477
|
+
* model that timed out has not told us the bin is gone, and a latch is a
|
|
27478
|
+
* stateful claim that costs the operator a trip to reset.
|
|
27479
|
+
*/
|
|
27480
|
+
var SceneConfirmSchema = z.object({
|
|
27481
|
+
enabled: z.boolean().default(false),
|
|
27482
|
+
prompt: z.string().min(1).max(1e3),
|
|
27483
|
+
profileId: z.string().optional(),
|
|
27484
|
+
timeoutMs: z.number().int().min(1e3).max(2e4).default(SCENE_CONFIRM_DEFAULT_TIMEOUT_MS),
|
|
27485
|
+
maxImagePx: z.number().int().min(64).max(2048).default(448),
|
|
27486
|
+
/** What a timeout / unavailable model means for the PENDING flip. */
|
|
27487
|
+
onTimeout: z.enum(["flip", "hold"]).default("hold")
|
|
27488
|
+
});
|
|
27412
27489
|
var SceneMonitorSchema = z.object({
|
|
27413
27490
|
id: z.string(),
|
|
27414
27491
|
label: z.string(),
|
|
@@ -27427,7 +27504,41 @@ var SceneMonitorSchema = z.object({
|
|
|
27427
27504
|
lastConfidence: z.number().nullable(),
|
|
27428
27505
|
currentCondition: SceneConditionSchema.nullable(),
|
|
27429
27506
|
availability: z.enum(["ok", "unavailable"]),
|
|
27430
|
-
unavailableReason: z.string().nullable()
|
|
27507
|
+
unavailableReason: z.string().nullable(),
|
|
27508
|
+
/** Which state is "the initial screen". `null` until the first capture. */
|
|
27509
|
+
baselineStateId: z.string().nullable(),
|
|
27510
|
+
/** Which boolean drives notification rules and any export. */
|
|
27511
|
+
emit: z.enum(["latched", "live"]).default("latched"),
|
|
27512
|
+
/** Live: does the region match the baseline RIGHT NOW. */
|
|
27513
|
+
verdict: SceneVerdictSchema,
|
|
27514
|
+
/** Has it been `diverged` at least once since `armedAt` — the operator's boolean. */
|
|
27515
|
+
latched: z.boolean(),
|
|
27516
|
+
/** Last reset (or creation). */
|
|
27517
|
+
armedAt: z.number(),
|
|
27518
|
+
divergedAt: z.number().nullable(),
|
|
27519
|
+
restoredAt: z.number().nullable(),
|
|
27520
|
+
/** A check is only COUNTED when the device has been quiet this long. Motion
|
|
27521
|
+
* during the window DISCARDS the observation — a car pulling up in front of
|
|
27522
|
+
* the bin must not be able to spend hysteresis credit. */
|
|
27523
|
+
quietSeconds: z.number().int().min(0).max(3600).default(60),
|
|
27524
|
+
/** An observation only advances the pending count when it is at least this
|
|
27525
|
+
* far from the previously counted one, so N agreeing checks span real time
|
|
27526
|
+
* rather than N adjacent polls inside one occlusion. */
|
|
27527
|
+
minObservationSpacingSec: z.number().int().min(0).max(3600).default(120),
|
|
27528
|
+
/** Vision-model adjudication of a candidate flip. Similarity primary only. */
|
|
27529
|
+
confirm: SceneConfirmSchema.optional(),
|
|
27530
|
+
/** Whole-frame anchor cosine below which a flip is REFUSED as `view-shifted`. */
|
|
27531
|
+
anchorThreshold: z.number().min(0).max(1).default(SCENE_DEFAULT_ANCHOR_THRESHOLD),
|
|
27532
|
+
/** Clear the latch on its own when the scene matches again? Default false —
|
|
27533
|
+
* `restoredAt` and the `scene-restored` edge are recorded regardless, so an
|
|
27534
|
+
* automation can react to the bin coming back without the operator's own
|
|
27535
|
+
* alarm silently clearing itself. */
|
|
27536
|
+
autoRestore: z.boolean().default(false),
|
|
27537
|
+
/** Named cause when `verdict === 'unknown'`. */
|
|
27538
|
+
unavailable: SceneUnavailableSchema.nullable(),
|
|
27539
|
+
/** Conditions that have at least one comparable reference — the coverage line
|
|
27540
|
+
* ("day ✓ · ir ✓ · dusk ✗") that turns a silent fallback into a visible fact. */
|
|
27541
|
+
coveredConditions: z.array(SceneConditionSchema)
|
|
27431
27542
|
});
|
|
27432
27543
|
var SceneMonitorStatusSchema = z.object({
|
|
27433
27544
|
monitors: z.array(SceneMonitorSchema),
|
|
@@ -27476,7 +27587,14 @@ var sceneMonitorCapability = {
|
|
|
27476
27587
|
"both"
|
|
27477
27588
|
]).optional(),
|
|
27478
27589
|
checkIntervalSec: z.number().optional(),
|
|
27479
|
-
check: SceneCheckSchema.optional()
|
|
27590
|
+
check: SceneCheckSchema.optional(),
|
|
27591
|
+
emit: z.enum(["latched", "live"]).optional(),
|
|
27592
|
+
quietSeconds: z.number().int().min(0).max(3600).optional(),
|
|
27593
|
+
minObservationSpacingSec: z.number().int().min(0).max(3600).optional(),
|
|
27594
|
+
anchorThreshold: z.number().min(0).max(1).optional(),
|
|
27595
|
+
autoRestore: z.boolean().optional(),
|
|
27596
|
+
/** `null` clears the vision-model adjudicator. */
|
|
27597
|
+
confirm: SceneConfirmSchema.nullable().optional()
|
|
27480
27598
|
})
|
|
27481
27599
|
}), z.void(), {
|
|
27482
27600
|
kind: "mutation",
|
|
@@ -27517,6 +27635,26 @@ var sceneMonitorCapability = {
|
|
|
27517
27635
|
}), z.void(), {
|
|
27518
27636
|
kind: "mutation",
|
|
27519
27637
|
auth: "admin"
|
|
27638
|
+
}),
|
|
27639
|
+
/**
|
|
27640
|
+
* Clear the latch, re-arm, and — by default — RE-CAPTURE the baseline for
|
|
27641
|
+
* the CURRENT condition. The bin never goes back in exactly the same spot;
|
|
27642
|
+
* "reset" in the operator's head means *this is the new normal*, and
|
|
27643
|
+
* re-capture is what makes the feature self-healing against slow drift
|
|
27644
|
+
* instead of failing silently weeks later.
|
|
27645
|
+
*
|
|
27646
|
+
* Reachable from three surfaces on this one mutation: the scene card, a
|
|
27647
|
+
* notification button (an `onTrigger` sequence with a `kind:'cap'` step —
|
|
27648
|
+
* no new Notification-Center code at all), and tRPC for scripts.
|
|
27649
|
+
*/
|
|
27650
|
+
resetScene: method(z.object({
|
|
27651
|
+
deviceId: z.number(),
|
|
27652
|
+
monitorId: z.string(),
|
|
27653
|
+
/** Defaults to TRUE at the provider seam — see `SCENE_RESET_RECAPTURES`. */
|
|
27654
|
+
recapture: z.boolean().optional()
|
|
27655
|
+
}), z.void(), {
|
|
27656
|
+
kind: "mutation",
|
|
27657
|
+
auth: "admin"
|
|
27520
27658
|
})
|
|
27521
27659
|
},
|
|
27522
27660
|
status: {
|
|
@@ -37477,6 +37615,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
37477
37615
|
addonId: null,
|
|
37478
37616
|
access: "create"
|
|
37479
37617
|
},
|
|
37618
|
+
"sceneMonitor.resetScene": {
|
|
37619
|
+
capName: "scene-monitor",
|
|
37620
|
+
capScope: "device",
|
|
37621
|
+
addonId: null,
|
|
37622
|
+
access: "delete"
|
|
37623
|
+
},
|
|
37480
37624
|
"sceneMonitor.updateScene": {
|
|
37481
37625
|
capName: "scene-monitor",
|
|
37482
37626
|
capScope: "device",
|
|
@@ -40416,6 +40560,11 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
|
|
|
40416
40560
|
form: "single",
|
|
40417
40561
|
optional: false
|
|
40418
40562
|
}],
|
|
40563
|
+
"sceneMonitor.resetScene": [{
|
|
40564
|
+
name: "deviceId",
|
|
40565
|
+
form: "single",
|
|
40566
|
+
optional: false
|
|
40567
|
+
}],
|
|
40419
40568
|
"sceneMonitor.updateScene": [{
|
|
40420
40569
|
name: "deviceId",
|
|
40421
40570
|
form: "single",
|
|
@@ -44770,4 +44919,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
44770
44919
|
return out;
|
|
44771
44920
|
}
|
|
44772
44921
|
//#endregion
|
|
44773
|
-
export { ACCESSORY_LABEL, ACCESS_ROLES, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AUDIO_PRESETS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionCandidateResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, AdoptionJobSchema, AdoptionJobStateSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, AdoptionOutcomeSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CONNECTION_TEST_TIMEOUT_MS, CORE_BLOCKS_ADDON_ID, CORE_BLOCK_ADDON_PREFIX, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectionTestDescriptorSchema, ConnectionTestInputSchema, ConnectionTestOutcomeSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoreBlockCompileResultSchema, CoreBlockInputSchema, CoreBlockPlacementSchema, CoreBlockSchema, CoreBlockStatusSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_RETENTION, DEFAULT_RUNTIME_STATE_DURABILITY, DEFAULT_SCRUB_THUMBNAIL_PRESET, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_MACRO_CLASSES, DETECTION_PIPELINE_CAP_NAME, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, EngineInfoSchema as DataStoreEngineInfoSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclaredDevices, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceSelectorSchema, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventSourceType, ExportBytesSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LOG_LEVEL_RANK, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MODEL_FORMATS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_DBFS_FLOOR, NC_AUDIO_DB_MAX, NC_AUDIO_DB_MIN, NC_AUDIO_DB_OFFERED, NC_AUDIO_DB_STEP, NC_AUDIO_DEFAULTS, NC_AUDIO_HIT_PERCENT_MAX, NC_AUDIO_HIT_PERCENT_MIN, NC_AUDIO_SAMPLING_MAX_SEC, NC_AUDIO_SAMPLING_MIN_SEC, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_DEFAULT_SNOOZE_MINUTES, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_SNOOZE_MAX_MINUTES, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcAlarmConfigSchema, NcAlarmModeCoverageSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleInputSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcSystemEventConditionSchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdRenderOutcomeEnum, OsdRenderResultSchema, OsdSlotBindingSchema, OsdSlotViewSchema, OsdSourceOptionSchema, OsdSourceSchema, OsdSourceValueTypeEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PRIVACY_MASK_CAP_NAME, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RECORDING_EXPORT_MAX_READ_BYTES, RESERVED_BINDING_NAMES, RESTORED_CAP_NAMES, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingRangeSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RenderedAsSchema, ReportMotionInputSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SENSOR_FEATURES, SENSOR_MAP, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationMoveSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMELAPSE_DENSE_FLOOR_SEC, TIMEZONES, TRANSCODE_DOWN_MAX_BITRATE_KBPS, TRANSCODE_DOWN_MAX_HEIGHT, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalInstanceInfoSchema, TerminalLegacyCameraSchema, TerminalOutputBatchSchema, TerminalOutputEventSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestConnectionStatusEnum, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackFlagsPatchSchema, TrackFlagsSchema, TrackProjectionSchema, TrackSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainingExportDeviceTotalsSchema, TrainingExportSummarySchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, VectorItemSchema, VectorMatchSchema, VectorMetadataSchema, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, VibrationStatusSchema, VideoEncodeSchema, WEBRTC_EGRESS_PROFILE, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioIsFailClosed, audioLabelChoices, audioMetricsCapability, audioOrDefaults, audioPlanFromEncodeProfile, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildRoleScopes, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyBearerPrincipal, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, compileExpression, compileExpressionSafe, composeSwitchedOff, conditionDepth, connectionTestCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, declarationOwnerNodeId, decodeVectorBase64, decoderCapability, defaultDeviceFor, defineCustomActions, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeModelVariant, detectAccessRole, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, doorbellCapability, egressTranscodeSharingKey, egressTransportFromRequest, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, encodeVectorBase64, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateExpressionSource, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isAudioLabelSelected, isBaseConditionKey, isCollectionArrayMethod, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isEvent, isIsolatedBuiltin, isNode, isObjectInput, isRestoredCap, isSameAddonId, isScheduleActive, isSoftwareDecode, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logBannerArgs, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeAudioLabel, normalizeTokenScopes, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, osdManagerCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, patchAudio, petFeederCapability, pickAccessoryControl, pickDetailCropConvention, pickNativeLeaseOverride, pickPreferredRtspEntry, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, resolveViewableDeviceIds, roleSpec, runInferenceStep, runtimeDevices, runtimeStatePolicyFor, sceneMonitorCapability, scopeInherits, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageMigrationCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, summarisePrivacyAudio, summarizeEffectiveScope, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, toggleAudioLabel, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
44922
|
+
export { ACCESSORY_LABEL, ACCESS_ROLES, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AUDIO_PRESETS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionCandidateResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, AdoptionJobSchema, AdoptionJobStateSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, AdoptionOutcomeSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CONNECTION_TEST_TIMEOUT_MS, CORE_BLOCKS_ADDON_ID, CORE_BLOCK_ADDON_PREFIX, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectionTestDescriptorSchema, ConnectionTestInputSchema, ConnectionTestOutcomeSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoreBlockCompileResultSchema, CoreBlockInputSchema, CoreBlockPlacementSchema, CoreBlockSchema, CoreBlockStatusSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_RETENTION, DEFAULT_RUNTIME_STATE_DURABILITY, DEFAULT_SCRUB_THUMBNAIL_PRESET, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_MACRO_CLASSES, DETECTION_PIPELINE_CAP_NAME, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, EngineInfoSchema as DataStoreEngineInfoSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclaredDevices, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceSelectorSchema, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventSourceType, ExportBytesSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LOG_LEVEL_RANK, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MODEL_FORMATS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_DBFS_FLOOR, NC_AUDIO_DB_MAX, NC_AUDIO_DB_MIN, NC_AUDIO_DB_OFFERED, NC_AUDIO_DB_STEP, NC_AUDIO_DEFAULTS, NC_AUDIO_HIT_PERCENT_MAX, NC_AUDIO_HIT_PERCENT_MIN, NC_AUDIO_SAMPLING_MAX_SEC, NC_AUDIO_SAMPLING_MIN_SEC, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_DEFAULT_SNOOZE_MINUTES, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_SNOOZE_MAX_MINUTES, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcAlarmConfigSchema, NcAlarmModeCoverageSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleInputSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcSystemEventConditionSchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdRenderOutcomeEnum, OsdRenderResultSchema, OsdSlotBindingSchema, OsdSlotViewSchema, OsdSourceOptionSchema, OsdSourceSchema, OsdSourceValueTypeEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PRIVACY_MASK_CAP_NAME, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RECORDING_EXPORT_MAX_READ_BYTES, RESERVED_BINDING_NAMES, RESTORED_CAP_NAMES, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingRangeSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RenderedAsSchema, ReportMotionInputSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCENE_CONDITIONS, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, SCENE_DEFAULT_ANCHOR_THRESHOLD, SCENE_DEFAULT_CHECK_INTERVAL_SEC, SCENE_DEFAULT_OBSERVATION_SPACING_SEC, SCENE_DEFAULT_QUIET_SECONDS, SCENE_DIVERGED, SCENE_RESET_RECAPTURES, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SENSOR_FEATURES, SENSOR_MAP, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneVerdictSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationMoveSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMELAPSE_DENSE_FLOOR_SEC, TIMEZONES, TRANSCODE_DOWN_MAX_BITRATE_KBPS, TRANSCODE_DOWN_MAX_HEIGHT, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalInstanceInfoSchema, TerminalLegacyCameraSchema, TerminalOutputBatchSchema, TerminalOutputEventSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestConnectionStatusEnum, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackFlagsPatchSchema, TrackFlagsSchema, TrackProjectionSchema, TrackSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainingExportDeviceTotalsSchema, TrainingExportSummarySchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, VectorItemSchema, VectorMatchSchema, VectorMetadataSchema, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, VibrationStatusSchema, VideoEncodeSchema, WEBRTC_EGRESS_PROFILE, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioIsFailClosed, audioLabelChoices, audioMetricsCapability, audioOrDefaults, audioPlanFromEncodeProfile, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildRoleScopes, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyBearerPrincipal, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, compileExpression, compileExpressionSafe, composeSwitchedOff, conditionDepth, connectionTestCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, declarationOwnerNodeId, decodeVectorBase64, decoderCapability, defaultDeviceFor, defineCustomActions, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeModelVariant, detectAccessRole, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, doorbellCapability, egressTranscodeSharingKey, egressTransportFromRequest, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, encodeVectorBase64, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateExpressionSource, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isAudioLabelSelected, isBaseConditionKey, isCollectionArrayMethod, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isEvent, isIsolatedBuiltin, isNode, isObjectInput, isRestoredCap, isSameAddonId, isScheduleActive, isSoftwareDecode, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logBannerArgs, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeAudioLabel, normalizeTokenScopes, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, osdManagerCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, patchAudio, petFeederCapability, pickAccessoryControl, pickDetailCropConvention, pickNativeLeaseOverride, pickPreferredRtspEntry, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, resolveViewableDeviceIds, roleSpec, runInferenceStep, runtimeDevices, runtimeStatePolicyFor, sceneMonitorCapability, scopeInherits, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageMigrationCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, summarisePrivacyAudio, summarizeEffectiveScope, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, toggleAudioLabel, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
@@ -9,7 +9,7 @@ import type { CustomModelMetadata, ModelCatalogEntry, ModelFormat, ModelOutputFo
|
|
|
9
9
|
* Multiple addons can contribute sections to the same tab.
|
|
10
10
|
*/
|
|
11
11
|
/** Predefined tab identifiers that addons reference by ID. */
|
|
12
|
-
export type WellKnownTabId = 'overview' | 'general' | 'image' | 'light' | 'motion' | 'audio' | 'snapshot' | 'osd' | 'alarms' | 'pipeline' | 'detection-pipeline' | 'stream-broker' | 'streaming' | 'ptz' | 'consumables' | 'zones' | 'analytics' | 'live-stats' | 'recording' | 'notifications' | 'network' | 'storage' | 'engine' | 'scheduler' | 'decoder' | 'advanced';
|
|
12
|
+
export type WellKnownTabId = 'overview' | 'general' | 'image' | 'light' | 'motion' | 'audio' | 'snapshot' | 'osd' | 'alarms' | 'pipeline' | 'detection-pipeline' | 'stream-broker' | 'streaming' | 'ptz' | 'consumables' | 'zones' | 'scenes' | 'analytics' | 'live-stats' | 'recording' | 'notifications' | 'network' | 'storage' | 'engine' | 'scheduler' | 'decoder' | 'advanced';
|
|
13
13
|
export interface WellKnownTab {
|
|
14
14
|
readonly id: WellKnownTabId;
|
|
15
15
|
readonly label: string;
|
|
@@ -104,6 +104,12 @@ var WELL_KNOWN_TABS = [
|
|
|
104
104
|
icon: "shapes",
|
|
105
105
|
order: 38
|
|
106
106
|
},
|
|
107
|
+
{
|
|
108
|
+
id: "scenes",
|
|
109
|
+
label: "Scenes",
|
|
110
|
+
icon: "scan-eye",
|
|
111
|
+
order: 36
|
|
112
|
+
},
|
|
107
113
|
{
|
|
108
114
|
id: "analytics",
|
|
109
115
|
label: "Analytics",
|
|
@@ -3273,6 +3279,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3273
3279
|
captureReference: (input) => dispatch("scene-monitor", "sceneMonitor", "captureReference", "mutation", input),
|
|
3274
3280
|
deleteReference: (input) => dispatch("scene-monitor", "sceneMonitor", "deleteReference", "mutation", input),
|
|
3275
3281
|
recheckNow: (input) => dispatch("scene-monitor", "sceneMonitor", "recheckNow", "mutation", input),
|
|
3282
|
+
resetScene: (input) => dispatch("scene-monitor", "sceneMonitor", "resetScene", "mutation", input),
|
|
3276
3283
|
getStatus: (input) => dispatch("scene-monitor", "sceneMonitor", "getStatus", "query", input)
|
|
3277
3284
|
},
|
|
3278
3285
|
scriptRunner: {
|
|
@@ -104,6 +104,12 @@ var WELL_KNOWN_TABS = [
|
|
|
104
104
|
icon: "shapes",
|
|
105
105
|
order: 38
|
|
106
106
|
},
|
|
107
|
+
{
|
|
108
|
+
id: "scenes",
|
|
109
|
+
label: "Scenes",
|
|
110
|
+
icon: "scan-eye",
|
|
111
|
+
order: 36
|
|
112
|
+
},
|
|
107
113
|
{
|
|
108
114
|
id: "analytics",
|
|
109
115
|
label: "Analytics",
|
|
@@ -3273,6 +3279,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3273
3279
|
captureReference: (input) => dispatch("scene-monitor", "sceneMonitor", "captureReference", "mutation", input),
|
|
3274
3280
|
deleteReference: (input) => dispatch("scene-monitor", "sceneMonitor", "deleteReference", "mutation", input),
|
|
3275
3281
|
recheckNow: (input) => dispatch("scene-monitor", "sceneMonitor", "recheckNow", "mutation", input),
|
|
3282
|
+
resetScene: (input) => dispatch("scene-monitor", "sceneMonitor", "resetScene", "mutation", input),
|
|
3276
3283
|
getStatus: (input) => dispatch("scene-monitor", "sceneMonitor", "getStatus", "query", input)
|
|
3277
3284
|
},
|
|
3278
3285
|
scriptRunner: {
|