@camstack/types 1.2.48 → 1.2.50
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/capabilities/index.d.ts +2 -2
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +95 -1
- package/dist/device/runtime-state-helpers.d.ts +50 -0
- package/dist/index.js +129 -4
- package/dist/index.mjs +126 -5
- package/dist/interfaces/recording-config.d.ts +25 -0
- package/package.json +1 -1
|
@@ -79,8 +79,8 @@ export { type IOauthIntegrationProvider, type OauthIntegrationDescriptor, OauthI
|
|
|
79
79
|
export { type AudioEvent, AudioEventSchema, type DetectionSource, DetectionSourceSchema, type EventKind, type EventKindCategory, EventKindCategorySchema, type EventKindDescriptor, EventKindDescriptorSchema, type EventKindIcon, EventKindIconSchema, EventKindSchema, type EventKindsForDevice, EventKindsForDeviceSchema, type EventPruneCounts, type EventStoreDeviceFootprint, type EventStoreFootprint, type IPipelineAnalyticsProvider, type KeyEvent, KeyEventSchema, type LabelAttribution, LabelAttributionSchema, type LabelTier, LabelTierSchema, type MediaFile, type MediaFileInfo, MediaFileInfoSchema, type MediaFileKind, MediaFileSchema, type MotionEvent, MotionEventSchema, type ObjectEvent, ObjectEventSchema, pipelineAnalyticsCapability, type RecentTracksPage, RecentTracksPageSchema, type RecentTracksQuery, RecentTracksQueryInput, type RetrainAnnotation, type RetrainAnnotationDraft, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, type RetrainAssistResult, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, type RetrainFrame, type RetrainFrameCandidate, RetrainFrameCandidateSchema, type RetrainFrameList, RetrainFrameListSchema, RetrainFrameSchema, type RetrainFrameSelection, RetrainFrameSelectionSchema, type RetrainMacroClass, RetrainMacroClassSchema, type RetrainStatus, RetrainStatusSchema, type RetrainTrack, RetrainTrackSchema, type RetrainTransitionResult, RetrainTransitionResultSchema, type ScoredObjectEvent, ScoredObjectEventSchema, type SensorEvent, SensorEventSchema, type Track, type TrackCascadeCounts, TrackCascadeCountsSchema, type TrackEnvelope, TrackEnvelopeSchema, TrackedDetectionSchema, type TrackFlags, type TrackFlagsPatch, TrackFlagsPatchSchema, TrackFlagsSchema, type TrackProjection, TrackProjectionSchema, TrackSchema, type TrackSource, TrackSourceSchema, type TrackState, TrackStateSchema, type TrackZoneFilter, TrackZoneFilterSchema, type TrainingExportDeviceTotals, TrainingExportDeviceTotalsSchema, type TrainingExportSummary, TrainingExportSummarySchema, type ZoneCrossing, type ZoneCrossingDirection, ZoneCrossingDirectionSchema, ZoneCrossingSchema, } from './pipeline-analytics.cap.js';
|
|
80
80
|
export type { NativeCropRef, PipelineStepInputOutput, PipelineValidationIssue, PipelineValidationResult, } from './pipeline-executor.cap.js';
|
|
81
81
|
export { ModelSubstitutionSchema, NativeCropRefSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, pipelineExecutorCapability, } from './pipeline-executor.cap.js';
|
|
82
|
-
export type { CameraAssignmentStatus, CameraAudioStatus, CameraBrokerProfile, CameraBrokerStatus, CameraDecoderShm, CameraDecoderStatus, CameraDetectionPhase, CameraDetectionProvisioning, CameraDetectionProvisioningState, CameraDetectionStatus, CameraMotionStatus, CameraRecordingMode, CameraRecordingStatus, CameraSourceStatus, CameraSourceStream, CameraStatus, IngestOwner, NodeInferenceDevice, NodeInferenceDevices, } from './pipeline-orchestrator.cap.js';
|
|
83
|
-
export { AgentLoadSummarySchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusSchema, CapabilityBindingsSchema, GlobalMetricsSchema, IngestOwnerSchema, PipelineAssignmentSchema, pipelineOrchestratorCapability, } from './pipeline-orchestrator.cap.js';
|
|
82
|
+
export type { CameraAssignmentStatus, CameraAudioStatus, CameraBrokerProfile, CameraBrokerStatus, CameraDecoderShm, CameraDecoderStatus, CameraDetectionPhase, CameraDetectionProvisioning, CameraDetectionProvisioningState, CameraDetectionStatus, CameraMotionStatus, CameraRecordingMode, CameraRecordingStatus, CameraSourceStatus, CameraSourceStream, CameraStatus, CameraStatusDegradation, CameraStatusDegradationReason, CameraStatusStage, IngestOwner, NodeInferenceDevice, NodeInferenceDevices, } from './pipeline-orchestrator.cap.js';
|
|
83
|
+
export { AgentLoadSummarySchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CapabilityBindingsSchema, GlobalMetricsSchema, IngestOwnerSchema, PipelineAssignmentSchema, pipelineOrchestratorCapability, } from './pipeline-orchestrator.cap.js';
|
|
84
84
|
export type { DetailParent, DetailResult, MotionSource, MotionSources, ReportMotionInput, RunDetailSubtreeInput, RunDetailSubtreeResult, RunnerFrameSource, RunnerInferenceDevice, RunStatelessStepInput, RunStatelessStepResult, StatelessStepRefusal, } from './pipeline-runner.cap.js';
|
|
85
85
|
export { MotionSourceEnum, MotionSourcesSchema, type NativeCropBbox, NativeCropBboxSchema, NativeCropResultSchema, pipelineRunnerCapability, ReportMotionInputSchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, } from './pipeline-runner.cap.js';
|
|
86
86
|
export { AudioChunkInputSchema, AudioClassificationLabelSchema, AudioLevelSchema, BoundingBoxSchema, FrameInputSchema, SpatialDetectionSchema, } from './schemas/detection-shared.js';
|
|
@@ -336,6 +336,52 @@ declare const CameraRecordingStatusSchema: z.ZodObject<{
|
|
|
336
336
|
active: z.ZodBoolean;
|
|
337
337
|
storageBytes: z.ZodNumber;
|
|
338
338
|
}, z.core.$strip>;
|
|
339
|
+
/**
|
|
340
|
+
* The stages of the status fan-out that issue a BOUNDED remote read, and can
|
|
341
|
+
* therefore be cut short. Every other block (`assignment`, `decoder`, `motion`,
|
|
342
|
+
* `audio`) is composed from orchestrator-local state and cannot time out.
|
|
343
|
+
*
|
|
344
|
+
* `switches` is the operator's per-camera function switches — the read behind
|
|
345
|
+
* `switchedOff`, not a block of its own.
|
|
346
|
+
*/
|
|
347
|
+
declare const CameraStatusStageSchema: z.ZodEnum<{
|
|
348
|
+
broker: "broker";
|
|
349
|
+
source: "source";
|
|
350
|
+
recording: "recording";
|
|
351
|
+
detection: "detection";
|
|
352
|
+
switches: "switches";
|
|
353
|
+
}>;
|
|
354
|
+
/**
|
|
355
|
+
* WHY a stage could not be trusted.
|
|
356
|
+
*
|
|
357
|
+
* - `timeout` — the stage never answered and the whole status call paid the
|
|
358
|
+
* full per-stage bound for it. This is the one that used to be invisible.
|
|
359
|
+
* - `error` — the source answered with a rejection.
|
|
360
|
+
* - `partial` — the stage RETURNED, but from an incomplete set of sources: its
|
|
361
|
+
* value is a floor, not a total. `switchedOff` derived from a partial switch
|
|
362
|
+
* read can be empty while the operator has switches off.
|
|
363
|
+
*/
|
|
364
|
+
declare const CameraStatusDegradationReasonSchema: z.ZodEnum<{
|
|
365
|
+
error: "error";
|
|
366
|
+
timeout: "timeout";
|
|
367
|
+
partial: "partial";
|
|
368
|
+
}>;
|
|
369
|
+
/** One stage of the fan-out that could NOT be read, and how long it cost. */
|
|
370
|
+
declare const CameraStatusDegradationSchema: z.ZodObject<{
|
|
371
|
+
stage: z.ZodEnum<{
|
|
372
|
+
broker: "broker";
|
|
373
|
+
source: "source";
|
|
374
|
+
recording: "recording";
|
|
375
|
+
detection: "detection";
|
|
376
|
+
switches: "switches";
|
|
377
|
+
}>;
|
|
378
|
+
reason: z.ZodEnum<{
|
|
379
|
+
error: "error";
|
|
380
|
+
timeout: "timeout";
|
|
381
|
+
partial: "partial";
|
|
382
|
+
}>;
|
|
383
|
+
elapsedMs: z.ZodNumber;
|
|
384
|
+
}, z.core.$strip>;
|
|
339
385
|
/**
|
|
340
386
|
* Aggregated per-camera pipeline status — server-composed, single call.
|
|
341
387
|
*
|
|
@@ -451,6 +497,21 @@ declare const CameraStatusSchema: z.ZodObject<{
|
|
|
451
497
|
"device-audio": "device-audio";
|
|
452
498
|
"broker-audio": "broker-audio";
|
|
453
499
|
}>>>;
|
|
500
|
+
degraded: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
501
|
+
stage: z.ZodEnum<{
|
|
502
|
+
broker: "broker";
|
|
503
|
+
source: "source";
|
|
504
|
+
recording: "recording";
|
|
505
|
+
detection: "detection";
|
|
506
|
+
switches: "switches";
|
|
507
|
+
}>;
|
|
508
|
+
reason: z.ZodEnum<{
|
|
509
|
+
error: "error";
|
|
510
|
+
timeout: "timeout";
|
|
511
|
+
partial: "partial";
|
|
512
|
+
}>;
|
|
513
|
+
elapsedMs: z.ZodNumber;
|
|
514
|
+
}, z.core.$strip>>>;
|
|
454
515
|
fetchedAt: z.ZodNumber;
|
|
455
516
|
}, z.core.$strip>;
|
|
456
517
|
declare const NodeInferenceDeviceSchema: z.ZodObject<{
|
|
@@ -1320,6 +1381,21 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1320
1381
|
"device-audio": "device-audio";
|
|
1321
1382
|
"broker-audio": "broker-audio";
|
|
1322
1383
|
}>>>;
|
|
1384
|
+
degraded: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1385
|
+
stage: z.ZodEnum<{
|
|
1386
|
+
broker: "broker";
|
|
1387
|
+
source: "source";
|
|
1388
|
+
recording: "recording";
|
|
1389
|
+
detection: "detection";
|
|
1390
|
+
switches: "switches";
|
|
1391
|
+
}>;
|
|
1392
|
+
reason: z.ZodEnum<{
|
|
1393
|
+
error: "error";
|
|
1394
|
+
timeout: "timeout";
|
|
1395
|
+
partial: "partial";
|
|
1396
|
+
}>;
|
|
1397
|
+
elapsedMs: z.ZodNumber;
|
|
1398
|
+
}, z.core.$strip>>>;
|
|
1323
1399
|
fetchedAt: z.ZodNumber;
|
|
1324
1400
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
1325
1401
|
/**
|
|
@@ -1440,6 +1516,21 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1440
1516
|
"device-audio": "device-audio";
|
|
1441
1517
|
"broker-audio": "broker-audio";
|
|
1442
1518
|
}>>>;
|
|
1519
|
+
degraded: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1520
|
+
stage: z.ZodEnum<{
|
|
1521
|
+
broker: "broker";
|
|
1522
|
+
source: "source";
|
|
1523
|
+
recording: "recording";
|
|
1524
|
+
detection: "detection";
|
|
1525
|
+
switches: "switches";
|
|
1526
|
+
}>;
|
|
1527
|
+
reason: z.ZodEnum<{
|
|
1528
|
+
error: "error";
|
|
1529
|
+
timeout: "timeout";
|
|
1530
|
+
partial: "partial";
|
|
1531
|
+
}>;
|
|
1532
|
+
elapsedMs: z.ZodNumber;
|
|
1533
|
+
}, z.core.$strip>>>;
|
|
1443
1534
|
fetchedAt: z.ZodNumber;
|
|
1444
1535
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
1445
1536
|
/** List every template the operator has saved. */
|
|
@@ -1683,6 +1774,9 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1683
1774
|
};
|
|
1684
1775
|
export type IPipelineOrchestratorProvider = InferProvider<typeof pipelineOrchestratorCapability>;
|
|
1685
1776
|
export type CameraStatus = z.infer<typeof CameraStatusSchema>;
|
|
1777
|
+
export type CameraStatusDegradation = z.infer<typeof CameraStatusDegradationSchema>;
|
|
1778
|
+
export type CameraStatusStage = z.infer<typeof CameraStatusStageSchema>;
|
|
1779
|
+
export type CameraStatusDegradationReason = z.infer<typeof CameraStatusDegradationReasonSchema>;
|
|
1686
1780
|
export type CameraAssignmentStatus = z.infer<typeof CameraAssignmentStatusSchema>;
|
|
1687
1781
|
export type CameraSourceStatus = z.infer<typeof CameraSourceStatusSchema>;
|
|
1688
1782
|
export type CameraSourceStream = z.infer<typeof CameraSourceStreamSchema>;
|
|
@@ -1701,4 +1795,4 @@ export type CameraRecordingMode = z.infer<typeof CameraRecordingModeSchema>;
|
|
|
1701
1795
|
export type IngestOwner = z.infer<typeof IngestOwnerSchema>;
|
|
1702
1796
|
export type NodeInferenceDevice = z.infer<typeof NodeInferenceDeviceSchema>;
|
|
1703
1797
|
export type NodeInferenceDevices = z.infer<typeof NodeInferenceDevicesSchema>;
|
|
1704
|
-
export { AgentLoadSummarySchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMotionStatusSchema, CameraPipelineConfigSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusSchema, CameraStepOverridePatchSchema, CapabilityBindingsSchema, GlobalMetricsSchema, IngestOwnerSchema, PipelineAssignmentSchema, PipelineTemplateSchema as OrchestratorPipelineTemplateSchema, };
|
|
1798
|
+
export { AgentLoadSummarySchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMotionStatusSchema, CameraPipelineConfigSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStepOverridePatchSchema, CapabilityBindingsSchema, GlobalMetricsSchema, IngestOwnerSchema, PipelineAssignmentSchema, PipelineTemplateSchema as OrchestratorPipelineTemplateSchema, };
|
|
@@ -1,6 +1,32 @@
|
|
|
1
1
|
import type { z } from 'zod';
|
|
2
2
|
import type { CapabilityDefinition } from '../capabilities/capability-definition.js';
|
|
3
3
|
import type { IDeviceRuntimeState } from './device-runtime-state.js';
|
|
4
|
+
/**
|
|
5
|
+
* How long a bridge stops re-attempting a refresh that did not land.
|
|
6
|
+
*
|
|
7
|
+
* Sized against the failure it exists for: a camera whose control plane
|
|
8
|
+
* is unreachable costs the FULL connect give-up (~3s on Linux when the
|
|
9
|
+
* neighbour never answers, up to the client's own timeout otherwise) on
|
|
10
|
+
* every attempt, and a failed refresh never advances `lastFetchedAt`, so
|
|
11
|
+
* without a cooldown the slice is permanently stale and EVERY read pays
|
|
12
|
+
* that price. One attempt per minute is enough to notice the camera
|
|
13
|
+
* coming back; per-read is enough to stall the viewer's first paint.
|
|
14
|
+
*/
|
|
15
|
+
export declare const RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS = 60000;
|
|
16
|
+
/**
|
|
17
|
+
* Minimal logger surface the bridge uses. Declared with METHOD syntax
|
|
18
|
+
* (not a property arrow) so the parameter check is bivariant — a scoped
|
|
19
|
+
* logger whose `warn` takes a structured `LogExtras` second argument
|
|
20
|
+
* satisfies this without the caller importing the logger types.
|
|
21
|
+
*/
|
|
22
|
+
export interface RuntimeStateBridgeExtras {
|
|
23
|
+
readonly tags?: Record<string, unknown>;
|
|
24
|
+
readonly meta?: Record<string, unknown>;
|
|
25
|
+
}
|
|
26
|
+
export interface RuntimeStateBridgeLogger {
|
|
27
|
+
warn(message: string, extras?: RuntimeStateBridgeExtras): void;
|
|
28
|
+
info(message: string, extras?: RuntimeStateBridgeExtras): void;
|
|
29
|
+
}
|
|
4
30
|
/**
|
|
5
31
|
* Bridge a cap's `runtimeState` slice to its read-side methods.
|
|
6
32
|
*
|
|
@@ -42,6 +68,26 @@ import type { IDeviceRuntimeState } from './device-runtime-state.js';
|
|
|
42
68
|
* INSIDE `refresh` — the camera client owns its own promise slot. This
|
|
43
69
|
* helper stays thin so a single provider can host multiple cap-bridged
|
|
44
70
|
* readers without fighting over a shared promise.
|
|
71
|
+
*
|
|
72
|
+
* ## A refresh that does not LAND is a miss, and a miss costs the caller
|
|
73
|
+
*
|
|
74
|
+
* Providers swallow their own camera errors (they keep the last slice
|
|
75
|
+
* rather than failing a read), so `refresh()` resolving proves nothing.
|
|
76
|
+
* The bridge gates on what it can verify: did `lastFetchedAt` advance.
|
|
77
|
+
* If it did not, the slice is still stale, so the very next read would
|
|
78
|
+
* call `refresh()` again — and on an unreachable camera each of those
|
|
79
|
+
* calls burns the full connect give-up. Measured on the live hub:
|
|
80
|
+
* `privacyMask.getStatus` for a camera whose IP stopped answering took
|
|
81
|
+
* 3.27s EVERY call (vs 0.20s for a reachable one), and that latency was
|
|
82
|
+
* inherited by the per-camera status aggregation the viewer runs on
|
|
83
|
+
* first paint.
|
|
84
|
+
*
|
|
85
|
+
* So a miss opens a cooldown ({@link RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS}):
|
|
86
|
+
* reads inside it answer immediately from the last (possibly `empty()`)
|
|
87
|
+
* slice with no camera I/O. The answer is unchanged — only the wait is
|
|
88
|
+
* gone. And the miss is LOGGED with `tags.deviceId`: a read that quietly
|
|
89
|
+
* returns defaults forever is exactly the silence that makes a dead
|
|
90
|
+
* camera look like a working one.
|
|
45
91
|
*/
|
|
46
92
|
export interface RuntimeStateBridge<TStatus> {
|
|
47
93
|
/** Run a stale-check; if the slice is missing or older than
|
|
@@ -65,4 +111,8 @@ export declare function createRuntimeStateBridge<TCap extends CapabilityDefiniti
|
|
|
65
111
|
readonly refresh: () => Promise<void>;
|
|
66
112
|
readonly staleMs: number;
|
|
67
113
|
readonly empty: () => z.infer<TCap['status']['schema']>;
|
|
114
|
+
/** Override the miss cooldown (tests, or a cap whose fetch is cheap). */
|
|
115
|
+
readonly refreshMissCooldownMs?: number;
|
|
116
|
+
/** Scoped logger so a refresh that never lands is visible per-device. */
|
|
117
|
+
readonly logger?: RuntimeStateBridgeLogger;
|
|
68
118
|
}): RuntimeStateBridge<z.infer<TCap['status']['schema']>>;
|
package/dist/index.js
CHANGED
|
@@ -1343,6 +1343,30 @@ var RecordingBandSchema = zod.z.object({
|
|
|
1343
1343
|
postBufferSec: zod.z.number().min(0).optional()
|
|
1344
1344
|
});
|
|
1345
1345
|
/**
|
|
1346
|
+
* The buffers an `events` band uses when it carries NONE — i.e. what the Basic
|
|
1347
|
+
* recording form persists whenever the operator leaves the pre/post inputs
|
|
1348
|
+
* blank, which is the overwhelmingly common case.
|
|
1349
|
+
*
|
|
1350
|
+
* A zero default is NOT a neutral one, and reading the absent field as `0` is
|
|
1351
|
+
* what made two cameras record nothing for weeks: `postBufferSec` is the LIVE
|
|
1352
|
+
* demand window, so `0` means the window is already shut by the time the
|
|
1353
|
+
* trigger is evaluated. There is no instant at which such a band can attach a
|
|
1354
|
+
* writer.
|
|
1355
|
+
*
|
|
1356
|
+
* `postBufferSec` must therefore exceed one segment length plus the attach
|
|
1357
|
+
* latency (ffmpeg spawn + RTSP dial), or the window closes before the first
|
|
1358
|
+
* segment is ever finalized and the camera records nothing anyway. At the 10 s
|
|
1359
|
+
* default segment length, 30 s leaves room for two full segments. `preBufferSec`
|
|
1360
|
+
* is retroactive only — it costs nothing at record time, it merely keeps
|
|
1361
|
+
* already-written segments — so it is set to one segment length.
|
|
1362
|
+
*
|
|
1363
|
+
* An EXPLICIT `0` is left alone: that is an operator statement, not an omission.
|
|
1364
|
+
*/
|
|
1365
|
+
var DEFAULT_EVENTS_BAND_BUFFER_SEC = {
|
|
1366
|
+
preBufferSec: 10,
|
|
1367
|
+
postBufferSec: 30
|
|
1368
|
+
};
|
|
1369
|
+
/**
|
|
1346
1370
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
1347
1371
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
|
1348
1372
|
* live per-camera: `maxAgeDays` and `maxSizeGb`. The disk-occupancy threshold
|
|
@@ -14753,6 +14777,43 @@ var CameraRecordingStatusSchema = zod.z.object({
|
|
|
14753
14777
|
storageBytes: zod.z.number()
|
|
14754
14778
|
});
|
|
14755
14779
|
/**
|
|
14780
|
+
* The stages of the status fan-out that issue a BOUNDED remote read, and can
|
|
14781
|
+
* therefore be cut short. Every other block (`assignment`, `decoder`, `motion`,
|
|
14782
|
+
* `audio`) is composed from orchestrator-local state and cannot time out.
|
|
14783
|
+
*
|
|
14784
|
+
* `switches` is the operator's per-camera function switches — the read behind
|
|
14785
|
+
* `switchedOff`, not a block of its own.
|
|
14786
|
+
*/
|
|
14787
|
+
var CameraStatusStageSchema = zod.z.enum([
|
|
14788
|
+
"source",
|
|
14789
|
+
"broker",
|
|
14790
|
+
"detection",
|
|
14791
|
+
"recording",
|
|
14792
|
+
"switches"
|
|
14793
|
+
]);
|
|
14794
|
+
/**
|
|
14795
|
+
* WHY a stage could not be trusted.
|
|
14796
|
+
*
|
|
14797
|
+
* - `timeout` — the stage never answered and the whole status call paid the
|
|
14798
|
+
* full per-stage bound for it. This is the one that used to be invisible.
|
|
14799
|
+
* - `error` — the source answered with a rejection.
|
|
14800
|
+
* - `partial` — the stage RETURNED, but from an incomplete set of sources: its
|
|
14801
|
+
* value is a floor, not a total. `switchedOff` derived from a partial switch
|
|
14802
|
+
* read can be empty while the operator has switches off.
|
|
14803
|
+
*/
|
|
14804
|
+
var CameraStatusDegradationReasonSchema = zod.z.enum([
|
|
14805
|
+
"timeout",
|
|
14806
|
+
"error",
|
|
14807
|
+
"partial"
|
|
14808
|
+
]);
|
|
14809
|
+
/** One stage of the fan-out that could NOT be read, and how long it cost. */
|
|
14810
|
+
var CameraStatusDegradationSchema = zod.z.object({
|
|
14811
|
+
stage: CameraStatusStageSchema,
|
|
14812
|
+
reason: CameraStatusDegradationReasonSchema,
|
|
14813
|
+
/** Wall-clock ms spent on the stage before it was abandoned. */
|
|
14814
|
+
elapsedMs: zod.z.number()
|
|
14815
|
+
});
|
|
14816
|
+
/**
|
|
14756
14817
|
* Aggregated per-camera pipeline status — server-composed, single call.
|
|
14757
14818
|
*
|
|
14758
14819
|
* The `assignment` and `source` blocks are always present.
|
|
@@ -14782,9 +14843,28 @@ var CameraStatusSchema = zod.z.object({
|
|
|
14782
14843
|
* differently — a quiet camera that looks identical to a dead one is the
|
|
14783
14844
|
* silence-reads-as-never-happened trap this repo keeps paying for.
|
|
14784
14845
|
*
|
|
14785
|
-
* Empty when nothing is off
|
|
14846
|
+
* Empty when nothing is off, and never contains a switch no provider offers
|
|
14847
|
+
* — but an empty list is only a POSITIVE claim when `degraded` does not name
|
|
14848
|
+
* `'switches'`. When it does, the switch set could not be read and nothing
|
|
14849
|
+
* here may be rendered as "the operator turned nothing off": that is the
|
|
14850
|
+
* D62 failure (a camera we could not read painted as broken) in the very
|
|
14851
|
+
* field that exists to prevent it.
|
|
14786
14852
|
*/
|
|
14787
14853
|
switchedOff: zod.z.array(CameraSwitchIdSchema).readonly(),
|
|
14854
|
+
/**
|
|
14855
|
+
* Stages of the bounded fan-out that were CUT SHORT — a timeout or a
|
|
14856
|
+
* rejection — and whose block is therefore `null` because we could not
|
|
14857
|
+
* READ it, not because there is nothing there.
|
|
14858
|
+
*
|
|
14859
|
+
* Without this, three different facts arrive as the same `null`: "the stage
|
|
14860
|
+
* timed out", "the stage failed", and "this camera legitimately has no
|
|
14861
|
+
* decoder / no recording". Every surface that draws a conclusion from a null
|
|
14862
|
+
* block (or from an empty `switchedOff`) must consult this first; a stage
|
|
14863
|
+
* named here supports no conclusion at all, only "unknown".
|
|
14864
|
+
*
|
|
14865
|
+
* Empty on a clean read — the overwhelmingly common case.
|
|
14866
|
+
*/
|
|
14867
|
+
degraded: zod.z.array(CameraStatusDegradationSchema).readonly(),
|
|
14788
14868
|
/** Unix timestamp (ms) when this snapshot was composed server-side. */
|
|
14789
14869
|
fetchedAt: zod.z.number()
|
|
14790
14870
|
});
|
|
@@ -27228,11 +27308,52 @@ function startReachabilityPoll(options) {
|
|
|
27228
27308
|
//#region src/device/runtime-state-helpers.ts
|
|
27229
27309
|
var LAST_FETCHED_FIELD = "lastFetchedAt";
|
|
27230
27310
|
function createRuntimeStateBridge(params) {
|
|
27231
|
-
const { runtimeState, cap, ownDeviceId, refresh, staleMs, empty } = params;
|
|
27311
|
+
const { runtimeState, cap, ownDeviceId, refresh, staleMs, empty, logger } = params;
|
|
27312
|
+
const missCooldownMs = params.refreshMissCooldownMs ?? 6e4;
|
|
27313
|
+
/** Epoch ms until which a refresh is not re-attempted. 0 = no cooldown. */
|
|
27314
|
+
let missCooldownUntil = 0;
|
|
27315
|
+
const readFetchedAt = () => {
|
|
27316
|
+
const value = runtimeState.getCapState(cap.name)?.[LAST_FETCHED_FIELD];
|
|
27317
|
+
return typeof value === "number" ? value : 0;
|
|
27318
|
+
};
|
|
27319
|
+
/**
|
|
27320
|
+
* Stop re-reading this camera for `missCooldownMs`, and say so. The
|
|
27321
|
+
* warn is the ONLY line an operator gets for a cap that has silently
|
|
27322
|
+
* been answering with defaults, so it names the cap and carries
|
|
27323
|
+
* `tags.deviceId` — a miss is always asked per-camera.
|
|
27324
|
+
*/
|
|
27325
|
+
const openMissCooldown = (err) => {
|
|
27326
|
+
missCooldownUntil = Date.now() + missCooldownMs;
|
|
27327
|
+
logger?.warn(`${cap.name}: refresh did not land — serving the last slice and not re-reading the camera for ${String(missCooldownMs)}ms`, {
|
|
27328
|
+
tags: { deviceId: ownDeviceId },
|
|
27329
|
+
meta: {
|
|
27330
|
+
cooldownMs: missCooldownMs,
|
|
27331
|
+
error: err === void 0 ? null : err instanceof Error ? err.message : String(err)
|
|
27332
|
+
}
|
|
27333
|
+
});
|
|
27334
|
+
};
|
|
27232
27335
|
const ensureFresh = async () => {
|
|
27233
27336
|
const slice = runtimeState.getCapState(cap.name);
|
|
27234
|
-
const fetchedAt =
|
|
27235
|
-
if (
|
|
27337
|
+
const fetchedAt = readFetchedAt();
|
|
27338
|
+
if (slice && Date.now() - fetchedAt <= staleMs) {
|
|
27339
|
+
missCooldownUntil = 0;
|
|
27340
|
+
return;
|
|
27341
|
+
}
|
|
27342
|
+
if (Date.now() < missCooldownUntil) return;
|
|
27343
|
+
try {
|
|
27344
|
+
await refresh();
|
|
27345
|
+
} catch (err) {
|
|
27346
|
+
openMissCooldown(err);
|
|
27347
|
+
throw err;
|
|
27348
|
+
}
|
|
27349
|
+
if (readFetchedAt() > fetchedAt) {
|
|
27350
|
+
if (missCooldownUntil !== 0) {
|
|
27351
|
+
missCooldownUntil = 0;
|
|
27352
|
+
logger?.info(`${cap.name}: refresh landed again — resuming normal polling`, { tags: { deviceId: ownDeviceId } });
|
|
27353
|
+
}
|
|
27354
|
+
return;
|
|
27355
|
+
}
|
|
27356
|
+
openMissCooldown(void 0);
|
|
27236
27357
|
};
|
|
27237
27358
|
const projectStatus = () => {
|
|
27238
27359
|
const slice = runtimeState.getCapState(cap.name);
|
|
@@ -38553,7 +38674,10 @@ exports.CameraRecordingModeSchema = CameraRecordingModeSchema;
|
|
|
38553
38674
|
exports.CameraRecordingStatusSchema = CameraRecordingStatusSchema;
|
|
38554
38675
|
exports.CameraSourceStatusSchema = CameraSourceStatusSchema;
|
|
38555
38676
|
exports.CameraSourceStreamSchema = CameraSourceStreamSchema;
|
|
38677
|
+
exports.CameraStatusDegradationReasonSchema = CameraStatusDegradationReasonSchema;
|
|
38678
|
+
exports.CameraStatusDegradationSchema = CameraStatusDegradationSchema;
|
|
38556
38679
|
exports.CameraStatusSchema = CameraStatusSchema;
|
|
38680
|
+
exports.CameraStatusStageSchema = CameraStatusStageSchema;
|
|
38557
38681
|
exports.CameraStreamSchema = require_sleep.CameraStreamSchema;
|
|
38558
38682
|
exports.CameraSwitchAuthoritySchema = CameraSwitchAuthoritySchema;
|
|
38559
38683
|
exports.CameraSwitchGroupSchema = CameraSwitchGroupSchema;
|
|
@@ -38608,6 +38732,7 @@ exports.DEFAULT_ADDON_PLACEMENT = DEFAULT_ADDON_PLACEMENT;
|
|
|
38608
38732
|
exports.DEFAULT_AUDIO_ANALYZER_CONFIG = DEFAULT_AUDIO_ANALYZER_CONFIG;
|
|
38609
38733
|
exports.DEFAULT_DECODER_HWACCEL_CONFIG = DEFAULT_DECODER_HWACCEL_CONFIG;
|
|
38610
38734
|
exports.DEFAULT_DETAIL_CROP_CONVENTION = DEFAULT_DETAIL_CROP_CONVENTION;
|
|
38735
|
+
exports.DEFAULT_EVENTS_BAND_BUFFER_SEC = DEFAULT_EVENTS_BAND_BUFFER_SEC;
|
|
38611
38736
|
exports.DEFAULT_EVENT_COLOR = DEFAULT_EVENT_COLOR;
|
|
38612
38737
|
exports.DEFAULT_FEATURES = DEFAULT_FEATURES;
|
|
38613
38738
|
exports.DEFAULT_NATIVE_LEASE_SETTINGS = DEFAULT_NATIVE_LEASE_SETTINGS;
|
package/dist/index.mjs
CHANGED
|
@@ -1342,6 +1342,30 @@ var RecordingBandSchema = z.object({
|
|
|
1342
1342
|
postBufferSec: z.number().min(0).optional()
|
|
1343
1343
|
});
|
|
1344
1344
|
/**
|
|
1345
|
+
* The buffers an `events` band uses when it carries NONE — i.e. what the Basic
|
|
1346
|
+
* recording form persists whenever the operator leaves the pre/post inputs
|
|
1347
|
+
* blank, which is the overwhelmingly common case.
|
|
1348
|
+
*
|
|
1349
|
+
* A zero default is NOT a neutral one, and reading the absent field as `0` is
|
|
1350
|
+
* what made two cameras record nothing for weeks: `postBufferSec` is the LIVE
|
|
1351
|
+
* demand window, so `0` means the window is already shut by the time the
|
|
1352
|
+
* trigger is evaluated. There is no instant at which such a band can attach a
|
|
1353
|
+
* writer.
|
|
1354
|
+
*
|
|
1355
|
+
* `postBufferSec` must therefore exceed one segment length plus the attach
|
|
1356
|
+
* latency (ffmpeg spawn + RTSP dial), or the window closes before the first
|
|
1357
|
+
* segment is ever finalized and the camera records nothing anyway. At the 10 s
|
|
1358
|
+
* default segment length, 30 s leaves room for two full segments. `preBufferSec`
|
|
1359
|
+
* is retroactive only — it costs nothing at record time, it merely keeps
|
|
1360
|
+
* already-written segments — so it is set to one segment length.
|
|
1361
|
+
*
|
|
1362
|
+
* An EXPLICIT `0` is left alone: that is an operator statement, not an omission.
|
|
1363
|
+
*/
|
|
1364
|
+
var DEFAULT_EVENTS_BAND_BUFFER_SEC = {
|
|
1365
|
+
preBufferSec: 10,
|
|
1366
|
+
postBufferSec: 30
|
|
1367
|
+
};
|
|
1368
|
+
/**
|
|
1345
1369
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
1346
1370
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
|
1347
1371
|
* live per-camera: `maxAgeDays` and `maxSizeGb`. The disk-occupancy threshold
|
|
@@ -14752,6 +14776,43 @@ var CameraRecordingStatusSchema = z.object({
|
|
|
14752
14776
|
storageBytes: z.number()
|
|
14753
14777
|
});
|
|
14754
14778
|
/**
|
|
14779
|
+
* The stages of the status fan-out that issue a BOUNDED remote read, and can
|
|
14780
|
+
* therefore be cut short. Every other block (`assignment`, `decoder`, `motion`,
|
|
14781
|
+
* `audio`) is composed from orchestrator-local state and cannot time out.
|
|
14782
|
+
*
|
|
14783
|
+
* `switches` is the operator's per-camera function switches — the read behind
|
|
14784
|
+
* `switchedOff`, not a block of its own.
|
|
14785
|
+
*/
|
|
14786
|
+
var CameraStatusStageSchema = z.enum([
|
|
14787
|
+
"source",
|
|
14788
|
+
"broker",
|
|
14789
|
+
"detection",
|
|
14790
|
+
"recording",
|
|
14791
|
+
"switches"
|
|
14792
|
+
]);
|
|
14793
|
+
/**
|
|
14794
|
+
* WHY a stage could not be trusted.
|
|
14795
|
+
*
|
|
14796
|
+
* - `timeout` — the stage never answered and the whole status call paid the
|
|
14797
|
+
* full per-stage bound for it. This is the one that used to be invisible.
|
|
14798
|
+
* - `error` — the source answered with a rejection.
|
|
14799
|
+
* - `partial` — the stage RETURNED, but from an incomplete set of sources: its
|
|
14800
|
+
* value is a floor, not a total. `switchedOff` derived from a partial switch
|
|
14801
|
+
* read can be empty while the operator has switches off.
|
|
14802
|
+
*/
|
|
14803
|
+
var CameraStatusDegradationReasonSchema = z.enum([
|
|
14804
|
+
"timeout",
|
|
14805
|
+
"error",
|
|
14806
|
+
"partial"
|
|
14807
|
+
]);
|
|
14808
|
+
/** One stage of the fan-out that could NOT be read, and how long it cost. */
|
|
14809
|
+
var CameraStatusDegradationSchema = z.object({
|
|
14810
|
+
stage: CameraStatusStageSchema,
|
|
14811
|
+
reason: CameraStatusDegradationReasonSchema,
|
|
14812
|
+
/** Wall-clock ms spent on the stage before it was abandoned. */
|
|
14813
|
+
elapsedMs: z.number()
|
|
14814
|
+
});
|
|
14815
|
+
/**
|
|
14755
14816
|
* Aggregated per-camera pipeline status — server-composed, single call.
|
|
14756
14817
|
*
|
|
14757
14818
|
* The `assignment` and `source` blocks are always present.
|
|
@@ -14781,9 +14842,28 @@ var CameraStatusSchema = z.object({
|
|
|
14781
14842
|
* differently — a quiet camera that looks identical to a dead one is the
|
|
14782
14843
|
* silence-reads-as-never-happened trap this repo keeps paying for.
|
|
14783
14844
|
*
|
|
14784
|
-
* Empty when nothing is off
|
|
14845
|
+
* Empty when nothing is off, and never contains a switch no provider offers
|
|
14846
|
+
* — but an empty list is only a POSITIVE claim when `degraded` does not name
|
|
14847
|
+
* `'switches'`. When it does, the switch set could not be read and nothing
|
|
14848
|
+
* here may be rendered as "the operator turned nothing off": that is the
|
|
14849
|
+
* D62 failure (a camera we could not read painted as broken) in the very
|
|
14850
|
+
* field that exists to prevent it.
|
|
14785
14851
|
*/
|
|
14786
14852
|
switchedOff: z.array(CameraSwitchIdSchema).readonly(),
|
|
14853
|
+
/**
|
|
14854
|
+
* Stages of the bounded fan-out that were CUT SHORT — a timeout or a
|
|
14855
|
+
* rejection — and whose block is therefore `null` because we could not
|
|
14856
|
+
* READ it, not because there is nothing there.
|
|
14857
|
+
*
|
|
14858
|
+
* Without this, three different facts arrive as the same `null`: "the stage
|
|
14859
|
+
* timed out", "the stage failed", and "this camera legitimately has no
|
|
14860
|
+
* decoder / no recording". Every surface that draws a conclusion from a null
|
|
14861
|
+
* block (or from an empty `switchedOff`) must consult this first; a stage
|
|
14862
|
+
* named here supports no conclusion at all, only "unknown".
|
|
14863
|
+
*
|
|
14864
|
+
* Empty on a clean read — the overwhelmingly common case.
|
|
14865
|
+
*/
|
|
14866
|
+
degraded: z.array(CameraStatusDegradationSchema).readonly(),
|
|
14787
14867
|
/** Unix timestamp (ms) when this snapshot was composed server-side. */
|
|
14788
14868
|
fetchedAt: z.number()
|
|
14789
14869
|
});
|
|
@@ -27227,11 +27307,52 @@ function startReachabilityPoll(options) {
|
|
|
27227
27307
|
//#region src/device/runtime-state-helpers.ts
|
|
27228
27308
|
var LAST_FETCHED_FIELD = "lastFetchedAt";
|
|
27229
27309
|
function createRuntimeStateBridge(params) {
|
|
27230
|
-
const { runtimeState, cap, ownDeviceId, refresh, staleMs, empty } = params;
|
|
27310
|
+
const { runtimeState, cap, ownDeviceId, refresh, staleMs, empty, logger } = params;
|
|
27311
|
+
const missCooldownMs = params.refreshMissCooldownMs ?? 6e4;
|
|
27312
|
+
/** Epoch ms until which a refresh is not re-attempted. 0 = no cooldown. */
|
|
27313
|
+
let missCooldownUntil = 0;
|
|
27314
|
+
const readFetchedAt = () => {
|
|
27315
|
+
const value = runtimeState.getCapState(cap.name)?.[LAST_FETCHED_FIELD];
|
|
27316
|
+
return typeof value === "number" ? value : 0;
|
|
27317
|
+
};
|
|
27318
|
+
/**
|
|
27319
|
+
* Stop re-reading this camera for `missCooldownMs`, and say so. The
|
|
27320
|
+
* warn is the ONLY line an operator gets for a cap that has silently
|
|
27321
|
+
* been answering with defaults, so it names the cap and carries
|
|
27322
|
+
* `tags.deviceId` — a miss is always asked per-camera.
|
|
27323
|
+
*/
|
|
27324
|
+
const openMissCooldown = (err) => {
|
|
27325
|
+
missCooldownUntil = Date.now() + missCooldownMs;
|
|
27326
|
+
logger?.warn(`${cap.name}: refresh did not land — serving the last slice and not re-reading the camera for ${String(missCooldownMs)}ms`, {
|
|
27327
|
+
tags: { deviceId: ownDeviceId },
|
|
27328
|
+
meta: {
|
|
27329
|
+
cooldownMs: missCooldownMs,
|
|
27330
|
+
error: err === void 0 ? null : err instanceof Error ? err.message : String(err)
|
|
27331
|
+
}
|
|
27332
|
+
});
|
|
27333
|
+
};
|
|
27231
27334
|
const ensureFresh = async () => {
|
|
27232
27335
|
const slice = runtimeState.getCapState(cap.name);
|
|
27233
|
-
const fetchedAt =
|
|
27234
|
-
if (
|
|
27336
|
+
const fetchedAt = readFetchedAt();
|
|
27337
|
+
if (slice && Date.now() - fetchedAt <= staleMs) {
|
|
27338
|
+
missCooldownUntil = 0;
|
|
27339
|
+
return;
|
|
27340
|
+
}
|
|
27341
|
+
if (Date.now() < missCooldownUntil) return;
|
|
27342
|
+
try {
|
|
27343
|
+
await refresh();
|
|
27344
|
+
} catch (err) {
|
|
27345
|
+
openMissCooldown(err);
|
|
27346
|
+
throw err;
|
|
27347
|
+
}
|
|
27348
|
+
if (readFetchedAt() > fetchedAt) {
|
|
27349
|
+
if (missCooldownUntil !== 0) {
|
|
27350
|
+
missCooldownUntil = 0;
|
|
27351
|
+
logger?.info(`${cap.name}: refresh landed again — resuming normal polling`, { tags: { deviceId: ownDeviceId } });
|
|
27352
|
+
}
|
|
27353
|
+
return;
|
|
27354
|
+
}
|
|
27355
|
+
openMissCooldown(void 0);
|
|
27235
27356
|
};
|
|
27236
27357
|
const projectStatus = () => {
|
|
27237
27358
|
const slice = runtimeState.getCapState(cap.name);
|
|
@@ -38424,4 +38545,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
38424
38545
|
return out;
|
|
38425
38546
|
}
|
|
38426
38547
|
//#endregion
|
|
38427
|
-
export { ACCESSORY_LABEL, 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, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, 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, AutomationControlStatusSchema, 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, 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, CameraStatusSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, 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_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_RETENTION, DEFAULT_SCRUB_THUMBNAIL_PRESET, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, 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, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, 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, 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_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, 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_SECTION_ID, NATIVE_LEASE_TTL_FIELD, NATIVE_LEASE_TTL_KEY, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, 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, NcConditionDescriptorSchema, NcConditionsSchema, 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, 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, RESERVED_BINDING_NAMES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, 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, 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, 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, TIMEZONES, TRANSCODE_DOWN_MAX_BITRATE_KBPS, TRANSCODE_DOWN_MAX_HEIGHT, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, 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, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioMetricsCapability, audioPlanFromEncodeProfile, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, compileExpression, compileExpressionSafe, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, declarationOwnerNodeId, decodeVectorBase64, decoderCapability, defaultDeviceFor, defineCustomActions, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeModelVariant, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, 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, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isBaseConditionKey, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isDeviceScopedCap, isEvent, isNode, isObjectInput, 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, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, osdManagerCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, petFeederCapability, pickAccessoryControl, pickDetailCropConvention, pickNativeLeaseOverride, pickPreferredRtspEntry, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, runInferenceStep, runtimeDevices, sceneMonitorCapability, scopeKey, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, summarisePrivacyAudio, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, valveCapability, vectorDimFromBase64, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
38548
|
+
export { ACCESSORY_LABEL, 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, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, 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, AutomationControlStatusSchema, 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, 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, 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_SCRUB_THUMBNAIL_PRESET, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, 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, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, 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, 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_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, 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_SECTION_ID, NATIVE_LEASE_TTL_FIELD, NATIVE_LEASE_TTL_KEY, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, 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, NcConditionDescriptorSchema, NcConditionsSchema, 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, 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, RESERVED_BINDING_NAMES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, 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, 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, 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, TIMEZONES, TRANSCODE_DOWN_MAX_BITRATE_KBPS, TRANSCODE_DOWN_MAX_HEIGHT, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, 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, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioMetricsCapability, audioPlanFromEncodeProfile, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, compileExpression, compileExpressionSafe, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, declarationOwnerNodeId, decodeVectorBase64, decoderCapability, defaultDeviceFor, defineCustomActions, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeModelVariant, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, 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, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isBaseConditionKey, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isDeviceScopedCap, isEvent, isNode, isObjectInput, 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, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, osdManagerCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, petFeederCapability, pickAccessoryControl, pickDetailCropConvention, pickNativeLeaseOverride, pickPreferredRtspEntry, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, runInferenceStep, runtimeDevices, sceneMonitorCapability, scopeKey, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, summarisePrivacyAudio, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, valveCapability, vectorDimFromBase64, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
@@ -94,6 +94,31 @@ export declare const RecordingBandSchema: z.ZodObject<{
|
|
|
94
94
|
postBufferSec: z.ZodOptional<z.ZodNumber>;
|
|
95
95
|
}, z.core.$strip>;
|
|
96
96
|
export type RecordingBand = z.infer<typeof RecordingBandSchema>;
|
|
97
|
+
/**
|
|
98
|
+
* The buffers an `events` band uses when it carries NONE — i.e. what the Basic
|
|
99
|
+
* recording form persists whenever the operator leaves the pre/post inputs
|
|
100
|
+
* blank, which is the overwhelmingly common case.
|
|
101
|
+
*
|
|
102
|
+
* A zero default is NOT a neutral one, and reading the absent field as `0` is
|
|
103
|
+
* what made two cameras record nothing for weeks: `postBufferSec` is the LIVE
|
|
104
|
+
* demand window, so `0` means the window is already shut by the time the
|
|
105
|
+
* trigger is evaluated. There is no instant at which such a band can attach a
|
|
106
|
+
* writer.
|
|
107
|
+
*
|
|
108
|
+
* `postBufferSec` must therefore exceed one segment length plus the attach
|
|
109
|
+
* latency (ffmpeg spawn + RTSP dial), or the window closes before the first
|
|
110
|
+
* segment is ever finalized and the camera records nothing anyway. At the 10 s
|
|
111
|
+
* default segment length, 30 s leaves room for two full segments. `preBufferSec`
|
|
112
|
+
* is retroactive only — it costs nothing at record time, it merely keeps
|
|
113
|
+
* already-written segments — so it is set to one segment length.
|
|
114
|
+
*
|
|
115
|
+
* An EXPLICIT `0` is left alone: that is an operator statement, not an omission.
|
|
116
|
+
*/
|
|
117
|
+
export declare const DEFAULT_EVENTS_BAND_BUFFER_SEC: {
|
|
118
|
+
readonly preBufferSec: 10;
|
|
119
|
+
readonly postBufferSec: 30;
|
|
120
|
+
};
|
|
121
|
+
export type DefaultEventsBandBufferSec = typeof DEFAULT_EVENTS_BAND_BUFFER_SEC;
|
|
97
122
|
/**
|
|
98
123
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
99
124
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|