@camstack/types 1.2.83 → 1.2.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon.js +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/capabilities/addons.cap.d.ts +4 -1
- package/dist/capabilities/index.d.ts +2 -2
- package/dist/capabilities/pipeline-analytics.cap.d.ts +21 -0
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +63 -1
- package/dist/capabilities/recording.cap.d.ts +2 -0
- package/dist/generated/addon-api.d.ts +21 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +160 -5
- package/dist/index.mjs +155 -6
- package/dist/interfaces/recording-config.d.ts +19 -1
- package/dist/interfaces/relocate.d.ts +2 -0
- package/dist/notification/system-event-filters.d.ts +62 -0
- package/dist/{sleep-D7mb1rkB.js → sleep-DZAjGv1f.js} +1 -0
- package/dist/{sleep-DwZeeAV3.mjs → sleep-oYerbR6F.mjs} +1 -0
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_event_category = require("./event-category-DBHdQVIy.js");
|
|
3
|
-
const require_sleep = require("./sleep-
|
|
3
|
+
const require_sleep = require("./sleep-DZAjGv1f.js");
|
|
4
4
|
const require_err_msg = require("./err-msg-COpsHMw2.js");
|
|
5
5
|
//#region src/generated/cap-input-defaults.ts
|
|
6
6
|
/**
|
package/dist/addon.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as EventCategory } from "./event-category-C0lyLd5U.mjs";
|
|
2
|
-
import { A as expandCapMethods, B as ReadinessTimeoutError, I as nodePin, L as readNodePin, T as adminUiCapability, U as scopeKey, _t as BaseAddon, a as asJsonObject, b as viewerUiCapability, d as BOOT_RECOVERY_BACKOFF_MS, f as DEVICE_SCOPED_CAPS, gt as DisposerChain, ht as DATAPLANE_SECRET_HEADER, m as createDeviceProxy, p as isDeviceScopedCap, s as asString, t as sleep, u as parseJsonUnknown, vt as normalizeAddonInitResult, w as DeviceType, xt as emitReadiness, y as deviceOpsCapability, z as ReadinessRegistry } from "./sleep-
|
|
2
|
+
import { A as expandCapMethods, B as ReadinessTimeoutError, I as nodePin, L as readNodePin, T as adminUiCapability, U as scopeKey, _t as BaseAddon, a as asJsonObject, b as viewerUiCapability, d as BOOT_RECOVERY_BACKOFF_MS, f as DEVICE_SCOPED_CAPS, gt as DisposerChain, ht as DATAPLANE_SECRET_HEADER, m as createDeviceProxy, p as isDeviceScopedCap, s as asString, t as sleep, u as parseJsonUnknown, vt as normalizeAddonInitResult, w as DeviceType, xt as emitReadiness, y as deviceOpsCapability, z as ReadinessRegistry } from "./sleep-oYerbR6F.mjs";
|
|
3
3
|
import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
|
|
4
4
|
//#region src/generated/cap-input-defaults.ts
|
|
5
5
|
/**
|
|
@@ -120,6 +120,7 @@ declare const AutoUpdateSettingsSchema: z.ZodObject<{
|
|
|
120
120
|
beta: "beta";
|
|
121
121
|
}>;
|
|
122
122
|
intervalSeconds: z.ZodNumber;
|
|
123
|
+
updateCheckIntervalSeconds: z.ZodNumber;
|
|
123
124
|
}, z.core.$strip>;
|
|
124
125
|
declare const AddonAutoUpdateSchema: z.ZodEnum<{
|
|
125
126
|
off: "off";
|
|
@@ -501,6 +502,7 @@ export declare const addonsCapability: {
|
|
|
501
502
|
beta: "beta";
|
|
502
503
|
}>;
|
|
503
504
|
intervalSeconds: z.ZodNumber;
|
|
505
|
+
updateCheckIntervalSeconds: z.ZodNumber;
|
|
504
506
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
505
507
|
readonly setAutoUpdateSettings: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
506
508
|
channel: z.ZodEnum<{
|
|
@@ -509,6 +511,7 @@ export declare const addonsCapability: {
|
|
|
509
511
|
beta: "beta";
|
|
510
512
|
}>;
|
|
511
513
|
intervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
514
|
+
updateCheckIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
512
515
|
}, z.core.$strip>, z.ZodUnknown, "mutation">;
|
|
513
516
|
readonly getAddonAutoUpdate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
514
517
|
addonId: z.ZodString;
|
|
@@ -749,4 +752,4 @@ export declare const addonsCapability: {
|
|
|
749
752
|
};
|
|
750
753
|
};
|
|
751
754
|
export type IAddonsProvider = InferProvider<typeof addonsCapability>;
|
|
752
|
-
export { AddonListItemSchema,
|
|
755
|
+
export { AddonAutoUpdateSchema, AddonListItemSchema, AutoUpdateSettingsSchema, BulkUpdateItemSchema, BulkUpdateItemStatusSchema, BulkUpdatePhaseSchema, BulkUpdateStateSchema, ChannelSchema, ChannelWithInheritSchema, CustomActionInputSchema, FrameworkPackageStatusSchema, InstalledPackageSchema, LogLevelSchema, LogStreamEntrySchema, PackageUpdateSchema, PackageVersionInfoSchema, SearchResultSchema, };
|
|
@@ -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, 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';
|
|
82
|
+
export type { CameraAssignmentStatus, CameraAudioStatus, CameraBrokerProfile, CameraBrokerStatus, CameraDecoderShm, CameraDecoderStatus, CameraDetectionPhase, CameraDetectionProvisioning, CameraDetectionProvisioningState, CameraDetectionStatus, CameraMotionStatus, CameraRecordingMode, CameraRecordingStatus, CameraSourceStatus, CameraSourceStream, CameraStatus, CameraStatusDegradation, CameraStatusDegradationReason, CameraStatusStage, DiskReconcileJob, 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, DiskReconcileJobSchema, 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';
|
|
@@ -1233,6 +1233,13 @@ declare const TrackCascadeCountsSchema: z.ZodObject<{
|
|
|
1233
1233
|
embeddings: z.ZodNumber;
|
|
1234
1234
|
}, z.core.$strip>;
|
|
1235
1235
|
export type TrackCascadeCounts = z.infer<typeof TrackCascadeCountsSchema>;
|
|
1236
|
+
/** Disk-wins reconcile: media rows whose blobs are gone, then empty tracks. */
|
|
1237
|
+
declare const DiskReconcileCountsSchema: z.ZodObject<{
|
|
1238
|
+
mediaDropped: z.ZodNumber;
|
|
1239
|
+
tracks: z.ZodNumber;
|
|
1240
|
+
events: z.ZodNumber;
|
|
1241
|
+
}, z.core.$strip>;
|
|
1242
|
+
export type DiskReconcileCounts = z.infer<typeof DiskReconcileCountsSchema>;
|
|
1236
1243
|
/** Event-store footprint for one camera. */
|
|
1237
1244
|
declare const EventStoreDeviceFootprintSchema: z.ZodObject<{
|
|
1238
1245
|
deviceId: z.ZodNumber;
|
|
@@ -2066,6 +2073,20 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2066
2073
|
plates: z.ZodNumber;
|
|
2067
2074
|
embeddings: z.ZodNumber;
|
|
2068
2075
|
}, z.core.$strip>, "mutation">;
|
|
2076
|
+
/**
|
|
2077
|
+
* Disk-wins reconcile for one camera. Drops media index rows whose blobs
|
|
2078
|
+
* are gone, then cascades tracks (including favourited and staging) that
|
|
2079
|
+
* have no remaining files. Enrolled identity/vehicle/scene media is never
|
|
2080
|
+
* probed. Trackless motion/audio events with no remaining file are dropped,
|
|
2081
|
+
* including snapshot-less rows.
|
|
2082
|
+
*/
|
|
2083
|
+
readonly reconcileFromDisk: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
2084
|
+
deviceId: z.ZodNumber;
|
|
2085
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2086
|
+
mediaDropped: z.ZodNumber;
|
|
2087
|
+
tracks: z.ZodNumber;
|
|
2088
|
+
events: z.ZodNumber;
|
|
2089
|
+
}, z.core.$strip>, "mutation">;
|
|
2069
2090
|
/**
|
|
2070
2091
|
* Delete whole tracks (object events) by id for the given device,
|
|
2071
2092
|
* cascading their media in lockstep. Returns the number of tracks
|
|
@@ -391,6 +391,24 @@ declare const CameraStatusDegradationSchema: z.ZodObject<{
|
|
|
391
391
|
*
|
|
392
392
|
* See spec: `docs/superpowers/specs/2026-06-24-camera-status-aggregator-cap.md`
|
|
393
393
|
*/
|
|
394
|
+
declare const DiskReconcileJobSchema: z.ZodObject<{
|
|
395
|
+
state: z.ZodEnum<{
|
|
396
|
+
error: "error";
|
|
397
|
+
done: "done";
|
|
398
|
+
running: "running";
|
|
399
|
+
idle: "idle";
|
|
400
|
+
}>;
|
|
401
|
+
total: z.ZodNumber;
|
|
402
|
+
completed: z.ZodNumber;
|
|
403
|
+
currentDeviceId: z.ZodNullable<z.ZodNumber>;
|
|
404
|
+
failed: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
|
|
405
|
+
mediaDropped: z.ZodNumber;
|
|
406
|
+
tracks: z.ZodNumber;
|
|
407
|
+
events: z.ZodNumber;
|
|
408
|
+
startedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
409
|
+
finishedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
410
|
+
error: z.ZodNullable<z.ZodString>;
|
|
411
|
+
}, z.core.$strip>;
|
|
394
412
|
declare const CameraStatusSchema: z.ZodObject<{
|
|
395
413
|
deviceId: z.ZodNumber;
|
|
396
414
|
assignment: z.ZodObject<{
|
|
@@ -1563,6 +1581,49 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1563
1581
|
}, z.core.$strip>>>;
|
|
1564
1582
|
fetchedAt: z.ZodNumber;
|
|
1565
1583
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
1584
|
+
/**
|
|
1585
|
+
* Disk-wins fleet reconcile after a recordings wipe. Starts the walk in
|
|
1586
|
+
* the addon process and returns immediately with the job snapshot — the
|
|
1587
|
+
* work outlives the tRPC/UDS 60s timeout. Poll `getReconcileFromDiskStatus`.
|
|
1588
|
+
* Admin-only. Idempotent while a job is already running.
|
|
1589
|
+
*/
|
|
1590
|
+
readonly reconcileFromDisk: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
1591
|
+
state: z.ZodEnum<{
|
|
1592
|
+
error: "error";
|
|
1593
|
+
done: "done";
|
|
1594
|
+
running: "running";
|
|
1595
|
+
idle: "idle";
|
|
1596
|
+
}>;
|
|
1597
|
+
total: z.ZodNumber;
|
|
1598
|
+
completed: z.ZodNumber;
|
|
1599
|
+
currentDeviceId: z.ZodNullable<z.ZodNumber>;
|
|
1600
|
+
failed: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
|
|
1601
|
+
mediaDropped: z.ZodNumber;
|
|
1602
|
+
tracks: z.ZodNumber;
|
|
1603
|
+
events: z.ZodNumber;
|
|
1604
|
+
startedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
1605
|
+
finishedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
1606
|
+
error: z.ZodNullable<z.ZodString>;
|
|
1607
|
+
}, z.core.$strip>, "mutation">;
|
|
1608
|
+
/** Snapshot of the in-flight or last disk-wins fleet reconcile. */
|
|
1609
|
+
readonly getReconcileFromDiskStatus: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
1610
|
+
state: z.ZodEnum<{
|
|
1611
|
+
error: "error";
|
|
1612
|
+
done: "done";
|
|
1613
|
+
running: "running";
|
|
1614
|
+
idle: "idle";
|
|
1615
|
+
}>;
|
|
1616
|
+
total: z.ZodNumber;
|
|
1617
|
+
completed: z.ZodNumber;
|
|
1618
|
+
currentDeviceId: z.ZodNullable<z.ZodNumber>;
|
|
1619
|
+
failed: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
|
|
1620
|
+
mediaDropped: z.ZodNumber;
|
|
1621
|
+
tracks: z.ZodNumber;
|
|
1622
|
+
events: z.ZodNumber;
|
|
1623
|
+
startedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
1624
|
+
finishedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
1625
|
+
error: z.ZodNullable<z.ZodString>;
|
|
1626
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
1566
1627
|
/** List every template the operator has saved. */
|
|
1567
1628
|
readonly listTemplates: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1568
1629
|
id: z.ZodString;
|
|
@@ -1803,6 +1864,7 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1803
1864
|
};
|
|
1804
1865
|
};
|
|
1805
1866
|
export type IPipelineOrchestratorProvider = InferProvider<typeof pipelineOrchestratorCapability>;
|
|
1867
|
+
export type DiskReconcileJob = z.infer<typeof DiskReconcileJobSchema>;
|
|
1806
1868
|
export type CameraStatus = z.infer<typeof CameraStatusSchema>;
|
|
1807
1869
|
export type CameraStatusDegradation = z.infer<typeof CameraStatusDegradationSchema>;
|
|
1808
1870
|
export type CameraStatusStage = z.infer<typeof CameraStatusStageSchema>;
|
|
@@ -1825,4 +1887,4 @@ export type CameraRecordingMode = z.infer<typeof CameraRecordingModeSchema>;
|
|
|
1825
1887
|
export type IngestOwner = z.infer<typeof IngestOwnerSchema>;
|
|
1826
1888
|
export type NodeInferenceDevice = z.infer<typeof NodeInferenceDeviceSchema>;
|
|
1827
1889
|
export type NodeInferenceDevices = z.infer<typeof NodeInferenceDevicesSchema>;
|
|
1828
|
-
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, };
|
|
1890
|
+
export { AgentLoadSummarySchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMotionStatusSchema, CameraPipelineConfigSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStepOverridePatchSchema, CapabilityBindingsSchema, DiskReconcileJobSchema, GlobalMetricsSchema, IngestOwnerSchema, PipelineAssignmentSchema, PipelineTemplateSchema as OrchestratorPipelineTemplateSchema, };
|
|
@@ -594,6 +594,7 @@ export declare const recordingCapability: {
|
|
|
594
594
|
deviceId: z.ZodOptional<z.ZodNumber>;
|
|
595
595
|
profiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
596
596
|
throttleMbps: z.ZodOptional<z.ZodNumber>;
|
|
597
|
+
sinceMs: z.ZodOptional<z.ZodNumber>;
|
|
597
598
|
leaseId: z.ZodString;
|
|
598
599
|
}, z.core.$strip>, z.ZodObject<{
|
|
599
600
|
jobId: z.ZodString;
|
|
@@ -643,6 +644,7 @@ export declare const recordingCapability: {
|
|
|
643
644
|
deviceId: z.ZodOptional<z.ZodNumber>;
|
|
644
645
|
profiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
645
646
|
throttleMbps: z.ZodOptional<z.ZodNumber>;
|
|
647
|
+
sinceMs: z.ZodOptional<z.ZodNumber>;
|
|
646
648
|
}, z.core.$strip>, z.ZodObject<{
|
|
647
649
|
jobId: z.ZodString;
|
|
648
650
|
}, z.core.$strip>, "mutation">;
|
|
@@ -4865,6 +4865,13 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
4865
4865
|
output: z.infer<typeof pipelineAnalyticsCapability.methods.wipeAllAnalytics.output>;
|
|
4866
4866
|
meta: object;
|
|
4867
4867
|
}>;
|
|
4868
|
+
reconcileFromDisk: TRPCMutationProcedure<{
|
|
4869
|
+
input: {
|
|
4870
|
+
[x: string]: unknown;
|
|
4871
|
+
} & z.input<typeof pipelineAnalyticsCapability.methods.reconcileFromDisk.input>;
|
|
4872
|
+
output: z.infer<typeof pipelineAnalyticsCapability.methods.reconcileFromDisk.output>;
|
|
4873
|
+
meta: object;
|
|
4874
|
+
}>;
|
|
4868
4875
|
deleteTracks: TRPCMutationProcedure<{
|
|
4869
4876
|
input: {
|
|
4870
4877
|
[x: string]: unknown;
|
|
@@ -5656,6 +5663,20 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
5656
5663
|
output: z.infer<typeof pipelineOrchestratorCapability.methods.getCameraStatuses.output>;
|
|
5657
5664
|
meta: object;
|
|
5658
5665
|
}>;
|
|
5666
|
+
reconcileFromDisk: TRPCMutationProcedure<{
|
|
5667
|
+
input: {
|
|
5668
|
+
nodeId?: string | undefined;
|
|
5669
|
+
} | undefined;
|
|
5670
|
+
output: z.infer<typeof pipelineOrchestratorCapability.methods.reconcileFromDisk.output>;
|
|
5671
|
+
meta: object;
|
|
5672
|
+
}>;
|
|
5673
|
+
getReconcileFromDiskStatus: TRPCQueryProcedure<{
|
|
5674
|
+
input: {
|
|
5675
|
+
nodeId?: string | undefined;
|
|
5676
|
+
} | undefined;
|
|
5677
|
+
output: z.infer<typeof pipelineOrchestratorCapability.methods.getReconcileFromDiskStatus.output>;
|
|
5678
|
+
meta: object;
|
|
5679
|
+
}>;
|
|
5659
5680
|
listTemplates: TRPCQueryProcedure<{
|
|
5660
5681
|
input: {
|
|
5661
5682
|
nodeId?: string | undefined;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* scope+access check inside `protectedProcedure` (see
|
|
7
7
|
* `server/backend/src/api/trpc/trpc.middleware.ts`).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
9
|
+
* Coverage: 943 method paths across 123 capabilities.
|
|
10
10
|
*/
|
|
11
11
|
import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
|
|
12
12
|
export interface MethodAccessRecord {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* system-scope cap that takes a deviceId was previously never device-filtered
|
|
7
7
|
* — see the generator header).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
9
|
+
* Coverage: 337 methods carry a device reference, of which
|
|
10
10
|
* 124 are on SYSTEM-scope caps.
|
|
11
11
|
*
|
|
12
12
|
* Top-level fields, number arrays, and one-level arrays of objects carrying
|
|
@@ -84,7 +84,7 @@ export interface SystemProxy {
|
|
|
84
84
|
readonly notificationOutput: Pick<InferProvider<typeof notificationOutputCapability>, 'listTargetKinds' | 'listTargets' | 'discoverTargets' | 'send' | 'testTarget' | 'upsertTarget' | 'deleteTarget' | 'setTargetEnabled'>;
|
|
85
85
|
readonly osdManager: Pick<InferProvider<typeof osdManagerCapability>, 'getConditionSupport' | 'copyDeviceConfiguration'>;
|
|
86
86
|
readonly pipelineExecutor: Pick<InferProvider<typeof pipelineExecutorCapability>, 'getAvailableEngines' | 'getSelectedEngine' | 'getDefaultSteps' | 'getEngineProvisioning' | 'getVideoPipelineSteps' | 'setVideoPipelineSteps' | 'clearDeviceOverrides' | 'getSchema' | 'getGlobalSteps' | 'getGlobalPipelineConfig' | 'getOrchestratorConfigSchema' | 'validatePipeline' | 'listTemplates' | 'saveTemplate' | 'updateTemplate' | 'deleteTemplate' | 'getCapabilities' | 'getAddonModels' | 'downloadModel' | 'deleteModel' | 'cacheFrameInPool' | 'inferCached' | 'uncacheFrame' | 'getEffectiveTuning' | 'listLoadedEngines' | 'spinEngine' | 'killEngine' | 'listReferenceImages' | 'getReferenceImage' | 'getReferenceAudioFiles' | 'getReferenceAudio' | 'getAudioCapabilities' | 'runAudioTest' | 'getDetectionConfigSchema'>;
|
|
87
|
-
readonly pipelineOrchestrator: Pick<InferProvider<typeof pipelineOrchestratorCapability>, 'pauseForStorageMigration' | 'resumeForStorageMigration' | 'rebalance' | 'getPipelineAssignments' | 'getAgentLoad' | 'getGlobalMetrics' | 'getCapabilityBindings' | 'setCapabilityBinding' | 'getIngestOwner' | 'getAudioNodeLoad' | 'getAgentSettings' | 'listAgentSettings' | 'removeAgentSettings' | 'setAgentMaxCameras' | 'setAgentDetectWeight' | 'setAgentCapabilities' | 'setAgentReachableHost' | 'setAgentInferenceDevices' | 'getNodeInferenceDevices' | 'resetNodePipelineDefaults' | 'getCameraStatuses' | 'listTemplates' | 'saveTemplate' | 'updateTemplate' | 'deleteTemplate'>;
|
|
87
|
+
readonly pipelineOrchestrator: Pick<InferProvider<typeof pipelineOrchestratorCapability>, 'pauseForStorageMigration' | 'resumeForStorageMigration' | 'rebalance' | 'getPipelineAssignments' | 'getAgentLoad' | 'getGlobalMetrics' | 'getCapabilityBindings' | 'setCapabilityBinding' | 'getIngestOwner' | 'getAudioNodeLoad' | 'getAgentSettings' | 'listAgentSettings' | 'removeAgentSettings' | 'setAgentMaxCameras' | 'setAgentDetectWeight' | 'setAgentCapabilities' | 'setAgentReachableHost' | 'setAgentInferenceDevices' | 'getNodeInferenceDevices' | 'resetNodePipelineDefaults' | 'getCameraStatuses' | 'reconcileFromDisk' | 'getReconcileFromDiskStatus' | 'listTemplates' | 'saveTemplate' | 'updateTemplate' | 'deleteTemplate'>;
|
|
88
88
|
readonly pipelineRunner: Pick<InferProvider<typeof pipelineRunnerCapability>, 'attachCamera' | 'reportMotion' | 'getLocalLoad' | 'getLocalMetrics' | 'getAllCameraMetrics' | 'getLocalCameras' | 'getNativeCrop' | 'runStatelessStep'>;
|
|
89
89
|
readonly plateGallery: Pick<InferProvider<typeof plateGalleryCapability>, 'getPlateMedia' | 'searchPlates' | 'suggestPlateClusters' | 'correctPlateText' | 'deletePlate' | 'listVehicles' | 'createVehicle' | 'renameVehicle' | 'deleteVehicle' | 'listVehicleSamples' | 'removeVehicleSample' | 'assignPlate' | 'unassignPlate' | 'assignPlates' | 'unassignPlates'>;
|
|
90
90
|
readonly recording: Pick<InferProvider<typeof recordingCapability>, 'getStorageUsage' | 'listOpsLog' | 'pauseForStorageMigration' | 'resumeForStorageMigration' | 'refreshStorageLocationsForMigration' | 'startStorageMigrationMove' | 'getStorageMigrationMoveStatus' | 'cancelStorageMigrationMove' | 'relocateFootage' | 'listRelocateJobs' | 'cancelRelocateJob' | 'planStorageRebalance' | 'startStorageRebalance'>;
|
package/dist/index.d.ts
CHANGED
|
@@ -195,6 +195,7 @@ export { isBaseConditionKey, knownValues, NC_BASE_CONDITION_KEYS, type NcBaseCon
|
|
|
195
195
|
export { type PreparedAction, type PreparedAttachment, type PreparedNotification, prepareNotification, type ResolvedLevel, } from './notification/degrade-engine.js';
|
|
196
196
|
export { htmlToText, markdownToHtmlLite, markdownToText, type NotificationFormat as NotificationBodyFormat, resolveFormat, textToHtml, transcodeBody, } from './notification/format-transcode.js';
|
|
197
197
|
export { isScheduleActive } from './notification/schedule.js';
|
|
198
|
+
export { NC_SYSTEM_EVENT_FILTER_KEYS, type NcSystemEventFilterKey, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, } from './notification/system-event-filters.js';
|
|
198
199
|
export type { TimelapseCadencePair, TimelapsePreviewMode, TimelapseRule, TimelapseRuleInput, TimelapseRulePatch, TimelapseTemplate, } from './notification/timelapse-rule.js';
|
|
199
200
|
export { assertTimelapseCadences, DEFAULT_TIMELAPSE_PREVIEW_TEXT, readTimelapseGeneratedAt, TIMELAPSE_DENSE_FLOOR_SEC, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, } from './notification/timelapse-rule.js';
|
|
200
201
|
export { DEFAULT_DETAIL_CROP_CONVENTION, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, type DetailCropConvention, DetailCropConventionSchema, type DetailCropRect, deriveDetailCropRect, type HydratedSettingsSection, type HydratedSettingsView, pickDetailCropConvention, readDetailCropConvention, } from './pipeline/detail-crop.js';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_event_category = require("./event-category-DBHdQVIy.js");
|
|
3
|
-
const require_sleep = require("./sleep-
|
|
3
|
+
const require_sleep = require("./sleep-DZAjGv1f.js");
|
|
4
4
|
const require_canonical_hash = require("./canonical-hash-DNV8S5ET.js");
|
|
5
5
|
const require_enums = require("./enums.js");
|
|
6
6
|
const require_err_msg = require("./err-msg-COpsHMw2.js");
|
|
@@ -1658,6 +1658,12 @@ var RecordingConfigSchema = zod.z.object({
|
|
|
1658
1658
|
/** DERIVED summary of `bands`, stamped by the recorder on every save.
|
|
1659
1659
|
* Authoring it has no effect — see {@link RecordingStorageModeSchema}. */
|
|
1660
1660
|
mode: RecordingStorageModeSchema.optional(),
|
|
1661
|
+
/**
|
|
1662
|
+
* Which assigned broker slots to record. Absent / empty = {@link
|
|
1663
|
+
* DEFAULT_RECORDING_PROFILES} (`high`+`low`) intersected with the
|
|
1664
|
+
* camera's currently assigned slots — never `mid` unless the operator
|
|
1665
|
+
* picks it, and never a slot the broker has not assigned.
|
|
1666
|
+
*/
|
|
1661
1667
|
profiles: zod.z.array(require_sleep.CamProfileSchema).optional(),
|
|
1662
1668
|
segmentSeconds: zod.z.number().int().positive().optional(),
|
|
1663
1669
|
/**
|
|
@@ -1682,7 +1688,7 @@ var RecordingConfigSchema = zod.z.object({
|
|
|
1682
1688
|
*
|
|
1683
1689
|
* THE one definition: the recorder stamps `config.mode` with it on save and
|
|
1684
1690
|
* reports it as the cap's `activeMode`, and the settings UI reads it back to
|
|
1685
|
-
*
|
|
1691
|
+
* highlight the Off/Events/Continuous shortcut. Two copies would drift, and the
|
|
1686
1692
|
* symptom (a status dot disagreeing with what is being recorded) is exactly the
|
|
1687
1693
|
* bug this field was added to fix.
|
|
1688
1694
|
*/
|
|
@@ -1691,6 +1697,30 @@ function deriveRecordingMode(config) {
|
|
|
1691
1697
|
if (config.bands.some((band) => band.mode === "continuous")) return "continuous";
|
|
1692
1698
|
return "events";
|
|
1693
1699
|
}
|
|
1700
|
+
/**
|
|
1701
|
+
* Default recorded slots when a config omits `profiles`: high + low.
|
|
1702
|
+
* `mid` is opt-in — it is usually a second native encode the operator
|
|
1703
|
+
* did not ask to store twice.
|
|
1704
|
+
*/
|
|
1705
|
+
var DEFAULT_RECORDING_PROFILES = ["high", "low"];
|
|
1706
|
+
/**
|
|
1707
|
+
* Pick which assigned broker slots to record. `assigned` is already the
|
|
1708
|
+
* broker's assigned∩deduped set (see `selectAssignedProfileSlots`).
|
|
1709
|
+
*
|
|
1710
|
+
* An operator `override` DISABLES unselected assigned slots (assigned ∩
|
|
1711
|
+
* selection). A selection matching none of the assigned sources, or an
|
|
1712
|
+
* absent/empty override, falls through: prefer {@link DEFAULT_RECORDING_PROFILES}
|
|
1713
|
+
* among assigned, else every assigned slot (a camera with only `mid`
|
|
1714
|
+
* still records something). Empty assigned → empty result.
|
|
1715
|
+
*/
|
|
1716
|
+
function resolveRecordingProfiles(assigned, override) {
|
|
1717
|
+
if (override !== void 0 && override.length > 0) {
|
|
1718
|
+
const selected = assigned.filter((profile) => override.includes(profile));
|
|
1719
|
+
return selected.length > 0 ? selected : [...assigned];
|
|
1720
|
+
}
|
|
1721
|
+
const preferred = assigned.filter((profile) => DEFAULT_RECORDING_PROFILES.includes(profile));
|
|
1722
|
+
return preferred.length > 0 ? preferred : [...assigned];
|
|
1723
|
+
}
|
|
1694
1724
|
//#endregion
|
|
1695
1725
|
//#region src/interfaces/relocate.ts
|
|
1696
1726
|
/**
|
|
@@ -1756,7 +1786,11 @@ var RelocateFootageInputSchema = zod.z.object({
|
|
|
1756
1786
|
profiles: zod.z.array(zod.z.string()).optional(),
|
|
1757
1787
|
/** Copy throttle in MB/s (default 40) — the drain is a background chore,
|
|
1758
1788
|
* never allowed to starve live writers. */
|
|
1759
|
-
throttleMbps: zod.z.number().min(1).max(1e3).optional()
|
|
1789
|
+
throttleMbps: zod.z.number().min(1).max(1e3).optional(),
|
|
1790
|
+
/** Move only segments whose startMs is >= this. Absent = the whole source
|
|
1791
|
+
* pile. Used when a full drain is too expensive and the operator only
|
|
1792
|
+
* wants the recent window on the new disk. */
|
|
1793
|
+
sinceMs: zod.z.number().int().optional()
|
|
1760
1794
|
});
|
|
1761
1795
|
/** Internal, lease-scoped participant operation. It is intentionally separate
|
|
1762
1796
|
* from persistent recording settings: a migration never changes
|
|
@@ -15434,6 +15468,12 @@ var TrackCascadeCountsSchema = zod.z.object({
|
|
|
15434
15468
|
/** Per-track CLIP search vectors removed (best-effort). */
|
|
15435
15469
|
embeddings: zod.z.number().int()
|
|
15436
15470
|
});
|
|
15471
|
+
/** Disk-wins reconcile: media rows whose blobs are gone, then empty tracks. */
|
|
15472
|
+
var DiskReconcileCountsSchema = zod.z.object({
|
|
15473
|
+
mediaDropped: zod.z.number().int(),
|
|
15474
|
+
tracks: zod.z.number().int(),
|
|
15475
|
+
events: zod.z.number().int()
|
|
15476
|
+
});
|
|
15437
15477
|
/** Event-store footprint for one camera. */
|
|
15438
15478
|
var EventStoreDeviceFootprintSchema = zod.z.object({
|
|
15439
15479
|
deviceId: zod.z.number(),
|
|
@@ -15719,6 +15759,17 @@ var pipelineAnalyticsCapability = {
|
|
|
15719
15759
|
auth: "admin"
|
|
15720
15760
|
}),
|
|
15721
15761
|
/**
|
|
15762
|
+
* Disk-wins reconcile for one camera. Drops media index rows whose blobs
|
|
15763
|
+
* are gone, then cascades tracks (including favourited and staging) that
|
|
15764
|
+
* have no remaining files. Enrolled identity/vehicle/scene media is never
|
|
15765
|
+
* probed. Trackless motion/audio events with no remaining file are dropped,
|
|
15766
|
+
* including snapshot-less rows.
|
|
15767
|
+
*/
|
|
15768
|
+
reconcileFromDisk: require_sleep.method(zod.z.object({ deviceId: zod.z.number() }), DiskReconcileCountsSchema, {
|
|
15769
|
+
kind: "mutation",
|
|
15770
|
+
auth: "admin"
|
|
15771
|
+
}),
|
|
15772
|
+
/**
|
|
15722
15773
|
* Delete whole tracks (object events) by id for the given device,
|
|
15723
15774
|
* cascading their media in lockstep. Returns the number of tracks
|
|
15724
15775
|
* actually deleted plus the ids that could not be removed.
|
|
@@ -18045,6 +18096,24 @@ var CameraStatusDegradationSchema = zod.z.object({
|
|
|
18045
18096
|
*
|
|
18046
18097
|
* See spec: `docs/superpowers/specs/2026-06-24-camera-status-aggregator-cap.md`
|
|
18047
18098
|
*/
|
|
18099
|
+
var DiskReconcileJobSchema = zod.z.object({
|
|
18100
|
+
state: zod.z.enum([
|
|
18101
|
+
"idle",
|
|
18102
|
+
"running",
|
|
18103
|
+
"done",
|
|
18104
|
+
"error"
|
|
18105
|
+
]),
|
|
18106
|
+
total: zod.z.number().int().nonnegative(),
|
|
18107
|
+
completed: zod.z.number().int().nonnegative(),
|
|
18108
|
+
currentDeviceId: zod.z.number().int().nullable(),
|
|
18109
|
+
failed: zod.z.array(zod.z.number().int()).readonly(),
|
|
18110
|
+
mediaDropped: zod.z.number().int().nonnegative(),
|
|
18111
|
+
tracks: zod.z.number().int().nonnegative(),
|
|
18112
|
+
events: zod.z.number().int().nonnegative(),
|
|
18113
|
+
startedAtMs: zod.z.number().int().nullable(),
|
|
18114
|
+
finishedAtMs: zod.z.number().int().nullable(),
|
|
18115
|
+
error: zod.z.string().nullable()
|
|
18116
|
+
});
|
|
18048
18117
|
var CameraStatusSchema = zod.z.object({
|
|
18049
18118
|
deviceId: zod.z.number(),
|
|
18050
18119
|
assignment: CameraAssignmentStatusSchema,
|
|
@@ -18581,6 +18650,18 @@ var pipelineOrchestratorCapability = {
|
|
|
18581
18650
|
* rail without issuing N parallel browser round-trips.
|
|
18582
18651
|
*/
|
|
18583
18652
|
getCameraStatuses: require_sleep.method(zod.z.object({ deviceIds: zod.z.array(zod.z.number()).optional() }), zod.z.array(CameraStatusSchema).readonly()),
|
|
18653
|
+
/**
|
|
18654
|
+
* Disk-wins fleet reconcile after a recordings wipe. Starts the walk in
|
|
18655
|
+
* the addon process and returns immediately with the job snapshot — the
|
|
18656
|
+
* work outlives the tRPC/UDS 60s timeout. Poll `getReconcileFromDiskStatus`.
|
|
18657
|
+
* Admin-only. Idempotent while a job is already running.
|
|
18658
|
+
*/
|
|
18659
|
+
reconcileFromDisk: require_sleep.method(zod.z.void(), DiskReconcileJobSchema, {
|
|
18660
|
+
kind: "mutation",
|
|
18661
|
+
auth: "admin"
|
|
18662
|
+
}),
|
|
18663
|
+
/** Snapshot of the in-flight or last disk-wins fleet reconcile. */
|
|
18664
|
+
getReconcileFromDiskStatus: require_sleep.method(zod.z.void(), DiskReconcileJobSchema, { auth: "admin" }),
|
|
18584
18665
|
/** List every template the operator has saved. */
|
|
18585
18666
|
listTemplates: require_sleep.method(zod.z.void(), zod.z.array(PipelineTemplateSchema).readonly()),
|
|
18586
18667
|
/** Create a new named preset from a given CameraPipelineConfig. */
|
|
@@ -20802,7 +20883,14 @@ var SearchResultSchema = zod.z.object({
|
|
|
20802
20883
|
});
|
|
20803
20884
|
var AutoUpdateSettingsSchema = zod.z.object({
|
|
20804
20885
|
channel: ChannelSchema,
|
|
20805
|
-
intervalSeconds: zod.z.number()
|
|
20886
|
+
intervalSeconds: zod.z.number(),
|
|
20887
|
+
/**
|
|
20888
|
+
* Cadence of the "an update exists" POLLER, in seconds. Independent of
|
|
20889
|
+
* `channel`: the poller runs while auto-apply is `off`, because being told
|
|
20890
|
+
* about a publish and installing it are different decisions. Clamped
|
|
20891
|
+
* server-side to 900 s … 604800 s; defaults to 21600 s (6 h).
|
|
20892
|
+
*/
|
|
20893
|
+
updateCheckIntervalSeconds: zod.z.number()
|
|
20806
20894
|
});
|
|
20807
20895
|
var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
20808
20896
|
var RestartAddonResultSchema = zod.z.unknown();
|
|
@@ -21071,7 +21159,9 @@ var addonsCapability = {
|
|
|
21071
21159
|
getAutoUpdateSettings: require_sleep.method(zod.z.void(), AutoUpdateSettingsSchema, { auth: "admin" }),
|
|
21072
21160
|
setAutoUpdateSettings: require_sleep.method(zod.z.object({
|
|
21073
21161
|
channel: ChannelSchema,
|
|
21074
|
-
intervalSeconds: zod.z.number().min(300).max(86400).optional()
|
|
21162
|
+
intervalSeconds: zod.z.number().min(300).max(86400).optional(),
|
|
21163
|
+
/** Availability-poll cadence; see AutoUpdateSettingsSchema. */
|
|
21164
|
+
updateCheckIntervalSeconds: zod.z.number().min(900).max(604800).optional()
|
|
21075
21165
|
}), zod.z.unknown(), {
|
|
21076
21166
|
kind: "mutation",
|
|
21077
21167
|
auth: "admin"
|
|
@@ -37304,6 +37394,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
37304
37394
|
addonId: null,
|
|
37305
37395
|
access: "create"
|
|
37306
37396
|
},
|
|
37397
|
+
"pipelineAnalytics.reconcileFromDisk": {
|
|
37398
|
+
capName: "pipeline-analytics",
|
|
37399
|
+
capScope: "device",
|
|
37400
|
+
addonId: null,
|
|
37401
|
+
access: "create"
|
|
37402
|
+
},
|
|
37307
37403
|
"pipelineAnalytics.refreshStorageLocationsForMigration": {
|
|
37308
37404
|
capName: "pipeline-analytics",
|
|
37309
37405
|
capScope: "device",
|
|
@@ -37706,6 +37802,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
37706
37802
|
addonId: null,
|
|
37707
37803
|
access: "view"
|
|
37708
37804
|
},
|
|
37805
|
+
"pipelineOrchestrator.getReconcileFromDiskStatus": {
|
|
37806
|
+
capName: "pipeline-orchestrator",
|
|
37807
|
+
capScope: "system",
|
|
37808
|
+
addonId: null,
|
|
37809
|
+
access: "view"
|
|
37810
|
+
},
|
|
37709
37811
|
"pipelineOrchestrator.listAgentSettings": {
|
|
37710
37812
|
capName: "pipeline-orchestrator",
|
|
37711
37813
|
capScope: "system",
|
|
@@ -37730,6 +37832,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
37730
37832
|
addonId: null,
|
|
37731
37833
|
access: "create"
|
|
37732
37834
|
},
|
|
37835
|
+
"pipelineOrchestrator.reconcileFromDisk": {
|
|
37836
|
+
capName: "pipeline-orchestrator",
|
|
37837
|
+
capScope: "system",
|
|
37838
|
+
addonId: null,
|
|
37839
|
+
access: "create"
|
|
37840
|
+
},
|
|
37733
37841
|
"pipelineOrchestrator.removeAgentSettings": {
|
|
37734
37842
|
capName: "pipeline-orchestrator",
|
|
37735
37843
|
capScope: "system",
|
|
@@ -40978,6 +41086,11 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
|
|
|
40978
41086
|
form: "single",
|
|
40979
41087
|
optional: true
|
|
40980
41088
|
}],
|
|
41089
|
+
"pipelineAnalytics.reconcileFromDisk": [{
|
|
41090
|
+
name: "deviceId",
|
|
41091
|
+
form: "single",
|
|
41092
|
+
optional: false
|
|
41093
|
+
}],
|
|
40981
41094
|
"pipelineAnalytics.restageRetrainTrack": [{
|
|
40982
41095
|
name: "deviceId",
|
|
40983
41096
|
form: "single",
|
|
@@ -42643,6 +42756,8 @@ function createSystemProxy(api) {
|
|
|
42643
42756
|
getNodeInferenceDevices: (input) => dispatch("pipelineOrchestrator", "getNodeInferenceDevices", "query", input),
|
|
42644
42757
|
resetNodePipelineDefaults: (input) => dispatch("pipelineOrchestrator", "resetNodePipelineDefaults", "mutation", input),
|
|
42645
42758
|
getCameraStatuses: (input) => dispatch("pipelineOrchestrator", "getCameraStatuses", "query", input),
|
|
42759
|
+
reconcileFromDisk: (input) => dispatch("pipelineOrchestrator", "reconcileFromDisk", "mutation", input),
|
|
42760
|
+
getReconcileFromDiskStatus: (input) => dispatch("pipelineOrchestrator", "getReconcileFromDiskStatus", "query", input),
|
|
42646
42761
|
listTemplates: (input) => dispatch("pipelineOrchestrator", "listTemplates", "query", input),
|
|
42647
42762
|
saveTemplate: (input) => dispatch("pipelineOrchestrator", "saveTemplate", "mutation", input),
|
|
42648
42763
|
updateTemplate: (input) => dispatch("pipelineOrchestrator", "updateTemplate", "mutation", input),
|
|
@@ -43456,6 +43571,40 @@ function isScheduleActive(schedule, atMs) {
|
|
|
43456
43571
|
return schedule.invert === true ? !inside : inside;
|
|
43457
43572
|
}
|
|
43458
43573
|
//#endregion
|
|
43574
|
+
//#region src/notification/system-event-filters.ts
|
|
43575
|
+
/** Every filter, for the callers that must cover all four (guards, tests). */
|
|
43576
|
+
var NC_SYSTEM_EVENT_FILTER_KEYS = [
|
|
43577
|
+
"deviceIds",
|
|
43578
|
+
"deviceTypes",
|
|
43579
|
+
"nodeIds",
|
|
43580
|
+
"packageNames"
|
|
43581
|
+
];
|
|
43582
|
+
/**
|
|
43583
|
+
* Does `filter` say anything about `kind`?
|
|
43584
|
+
*
|
|
43585
|
+
* `false` means the filter is not part of this kind's vocabulary: the engine
|
|
43586
|
+
* ignores it and an editor hides its input. It never means "excluded".
|
|
43587
|
+
*/
|
|
43588
|
+
function systemEventFilterApplies(kind, filter) {
|
|
43589
|
+
switch (filter) {
|
|
43590
|
+
case "deviceIds": return kind.startsWith("device-") || kind.startsWith("stream-") || kind === "detection-blind" || kind === "alarm-triggered" || kind === "export-completed";
|
|
43591
|
+
case "deviceTypes": return kind.startsWith("device-") || kind === "detection-blind";
|
|
43592
|
+
case "nodeIds": return kind.startsWith("node-") || kind === "addon-update-available" || kind === "addon-updated" || kind === "server-update-available" || kind === "server-updated";
|
|
43593
|
+
case "packageNames": return kind.endsWith("update-available") || kind === "addon-updated" || kind === "server-updated";
|
|
43594
|
+
}
|
|
43595
|
+
}
|
|
43596
|
+
/**
|
|
43597
|
+
* Does `filter` say anything about AT LEAST ONE of the selected kinds?
|
|
43598
|
+
*
|
|
43599
|
+
* The editor's question: a rule selects several kinds at once and renders one
|
|
43600
|
+
* filter input for the set, so a filter is shown when any selected kind can be
|
|
43601
|
+
* narrowed by it. The kinds it cannot narrow are then simply not narrowed —
|
|
43602
|
+
* which is the engine's half of the same rule.
|
|
43603
|
+
*/
|
|
43604
|
+
function systemEventFilterAppliesToAnyKind(kinds, filter) {
|
|
43605
|
+
return kinds.some((kind) => systemEventFilterApplies(kind, filter));
|
|
43606
|
+
}
|
|
43607
|
+
//#endregion
|
|
43459
43608
|
//#region src/notification/timelapse-rule.ts
|
|
43460
43609
|
/**
|
|
43461
43610
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
@@ -46000,6 +46149,7 @@ exports.DEFAULT_EVENTS_BAND_BUFFER_SEC = DEFAULT_EVENTS_BAND_BUFFER_SEC;
|
|
|
46000
46149
|
exports.DEFAULT_EVENT_COLOR = DEFAULT_EVENT_COLOR;
|
|
46001
46150
|
exports.DEFAULT_FEATURES = DEFAULT_FEATURES;
|
|
46002
46151
|
exports.DEFAULT_NATIVE_LEASE_SETTINGS = DEFAULT_NATIVE_LEASE_SETTINGS;
|
|
46152
|
+
exports.DEFAULT_RECORDING_PROFILES = DEFAULT_RECORDING_PROFILES;
|
|
46003
46153
|
exports.DEFAULT_RETENTION = DEFAULT_RETENTION;
|
|
46004
46154
|
exports.DEFAULT_RUNTIME_STATE_DURABILITY = require_sleep.DEFAULT_RUNTIME_STATE_DURABILITY;
|
|
46005
46155
|
exports.DEFAULT_SCRUB_THUMBNAIL_PRESET = DEFAULT_SCRUB_THUMBNAIL_PRESET;
|
|
@@ -46050,6 +46200,7 @@ exports.DiscoveredChildDeviceSchema = DiscoveredChildDeviceSchema;
|
|
|
46050
46200
|
exports.DiscoveredChildStatusSchema = DiscoveredChildStatusSchema;
|
|
46051
46201
|
exports.DiscoveredDeviceSchema = DiscoveredDeviceSchema;
|
|
46052
46202
|
exports.DiscoveredTargetSchema = DiscoveredTargetSchema;
|
|
46203
|
+
exports.DiskReconcileJobSchema = DiskReconcileJobSchema;
|
|
46053
46204
|
exports.DisposerChain = require_sleep.DisposerChain;
|
|
46054
46205
|
exports.DoorbellPressEventSchema = DoorbellPressEventSchema;
|
|
46055
46206
|
exports.DoorbellStatusSchema = DoorbellStatusSchema;
|
|
@@ -46280,6 +46431,7 @@ exports.NC_HISTORY_LIMIT_DEFAULT = NC_HISTORY_LIMIT_DEFAULT;
|
|
|
46280
46431
|
exports.NC_HISTORY_LIMIT_MAX = NC_HISTORY_LIMIT_MAX;
|
|
46281
46432
|
exports.NC_MAX_PER_TRACK_IMMEDIATE = NC_MAX_PER_TRACK_IMMEDIATE;
|
|
46282
46433
|
exports.NC_SNOOZE_MAX_MINUTES = NC_SNOOZE_MAX_MINUTES;
|
|
46434
|
+
exports.NC_SYSTEM_EVENT_FILTER_KEYS = NC_SYSTEM_EVENT_FILTER_KEYS;
|
|
46283
46435
|
exports.NC_TAXONOMY = NC_TAXONOMY;
|
|
46284
46436
|
exports.NativeCropBboxSchema = NativeCropBboxSchema;
|
|
46285
46437
|
exports.NativeCropRefSchema = NativeCropRefSchema;
|
|
@@ -46990,6 +47142,7 @@ exports.resolveFormat = resolveFormat;
|
|
|
46990
47142
|
exports.resolveHydratedFieldValue = require_sleep.resolveHydratedFieldValue;
|
|
46991
47143
|
exports.resolveModelFormat = resolveModelFormat;
|
|
46992
47144
|
exports.resolveMutate = resolveMutate;
|
|
47145
|
+
exports.resolveRecordingProfiles = resolveRecordingProfiles;
|
|
46993
47146
|
exports.resolveRunnerId = resolveRunnerId;
|
|
46994
47147
|
exports.resolveScrubThumbnailGeometry = resolveScrubThumbnailGeometry;
|
|
46995
47148
|
exports.resolveVariantModelId = resolveVariantModelId;
|
|
@@ -47034,6 +47187,8 @@ exports.switchCapability = switchCapability;
|
|
|
47034
47187
|
exports.switchedOffIds = switchedOffIds;
|
|
47035
47188
|
exports.synthesizeSourceInfo = synthesizeSourceInfo;
|
|
47036
47189
|
exports.systemCapability = systemCapability;
|
|
47190
|
+
exports.systemEventFilterApplies = systemEventFilterApplies;
|
|
47191
|
+
exports.systemEventFilterAppliesToAnyKind = systemEventFilterAppliesToAnyKind;
|
|
47037
47192
|
exports.tamperCapability = tamperCapability;
|
|
47038
47193
|
exports.taskLogEntrySchema = taskLogEntrySchema;
|
|
47039
47194
|
exports.taskPhaseSchema = taskPhaseSchema;
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as EventCategory } from "./event-category-C0lyLd5U.mjs";
|
|
2
|
-
import { $ as EncodedPacketSchema, A as expandCapMethods, B as ReadinessTimeoutError, C as DeviceRole, Ct as WELL_KNOWN_TABS, D as DEVICE_SETTINGS_CONTRIBUTION_METHODS, Dt as hydrateSchema, E as DEFAULT_RUNTIME_STATE_DURABILITY, Et as collectHydratedFieldValues, F as CAP_NODE_PIN_CONTEXT_KEY, G as BrokerStatusSchema, H as readinessKey, I as nodePin, J as CamStreamKindSchema, K as CAM_PROFILE_ORDER, L as readNodePin, M as method, N as resolveCapMount, O as DEVICE_STATUS_METHOD, Ot as resolveHydratedFieldValue, P as systemMethod, Q as DecodedFrameSchema, R as toNodeId, S as DeviceFeature, St as isEvent, T as adminUiCapability, Tt as collectHydratedFieldEntries, U as scopeKey, V as emitDownForOwnedCaps, W as BrokerStatsSchema, X as CameraStreamSchema, Y as CamStreamResolutionSchema, Z as DecodedAudioChunkSchema, _ as createSliceHandle, _t as BaseAddon, a as asJsonObject, at as StreamSourceEntrySchema, b as viewerUiCapability, bt as createEvent, c as parseJsonArray, ct as SubscribeAudioChunksResultSchema, d as BOOT_RECOVERY_BACKOFF_MS, dt as makeProfileBrokerId, et as FrameHandleFormatSchema, f as DEVICE_SCOPED_CAPS, ft as makeSourceBrokerId, g as createMirrorSource, gt as DisposerChain, h as createLazyTrpcSource, ht as DATAPLANE_SECRET_HEADER, i as asJsonArray, it as ProfileSlotStatusSchema, j as isDeviceConfigCap, k as event, l as parseJsonObject, lt as SubscribeFramesInputSchema, m as createDeviceProxy, mt as selectAssignedProfileSlots, n as sleepCancellable, nt as ProfileRtspEntrySchema, o as asNumber, ot as StreamSourceSchema, p as isDeviceScopedCap, pt as parseProfileBrokerId, q as CamProfileSchema, r as asBoolean, rt as ProfileSlotSchema, s as asString, st as SubscribeAudioChunksInputSchema, t as sleep, tt as FrameHandleSchema, u as parseJsonUnknown, ut as SubscribeFramesResultSchema, v as RawStateResultSchema, vt as normalizeAddonInitResult, w as DeviceType, wt as WELL_KNOWN_TAB_MAP, x as ChargingStatus, xt as emitReadiness, y as deviceOpsCapability, yt as createDurableState, z as ReadinessRegistry } from "./sleep-
|
|
2
|
+
import { $ as EncodedPacketSchema, A as expandCapMethods, B as ReadinessTimeoutError, C as DeviceRole, Ct as WELL_KNOWN_TABS, D as DEVICE_SETTINGS_CONTRIBUTION_METHODS, Dt as hydrateSchema, E as DEFAULT_RUNTIME_STATE_DURABILITY, Et as collectHydratedFieldValues, F as CAP_NODE_PIN_CONTEXT_KEY, G as BrokerStatusSchema, H as readinessKey, I as nodePin, J as CamStreamKindSchema, K as CAM_PROFILE_ORDER, L as readNodePin, M as method, N as resolveCapMount, O as DEVICE_STATUS_METHOD, Ot as resolveHydratedFieldValue, P as systemMethod, Q as DecodedFrameSchema, R as toNodeId, S as DeviceFeature, St as isEvent, T as adminUiCapability, Tt as collectHydratedFieldEntries, U as scopeKey, V as emitDownForOwnedCaps, W as BrokerStatsSchema, X as CameraStreamSchema, Y as CamStreamResolutionSchema, Z as DecodedAudioChunkSchema, _ as createSliceHandle, _t as BaseAddon, a as asJsonObject, at as StreamSourceEntrySchema, b as viewerUiCapability, bt as createEvent, c as parseJsonArray, ct as SubscribeAudioChunksResultSchema, d as BOOT_RECOVERY_BACKOFF_MS, dt as makeProfileBrokerId, et as FrameHandleFormatSchema, f as DEVICE_SCOPED_CAPS, ft as makeSourceBrokerId, g as createMirrorSource, gt as DisposerChain, h as createLazyTrpcSource, ht as DATAPLANE_SECRET_HEADER, i as asJsonArray, it as ProfileSlotStatusSchema, j as isDeviceConfigCap, k as event, l as parseJsonObject, lt as SubscribeFramesInputSchema, m as createDeviceProxy, mt as selectAssignedProfileSlots, n as sleepCancellable, nt as ProfileRtspEntrySchema, o as asNumber, ot as StreamSourceSchema, p as isDeviceScopedCap, pt as parseProfileBrokerId, q as CamProfileSchema, r as asBoolean, rt as ProfileSlotSchema, s as asString, st as SubscribeAudioChunksInputSchema, t as sleep, tt as FrameHandleSchema, u as parseJsonUnknown, ut as SubscribeFramesResultSchema, v as RawStateResultSchema, vt as normalizeAddonInitResult, w as DeviceType, wt as WELL_KNOWN_TAB_MAP, x as ChargingStatus, xt as emitReadiness, y as deviceOpsCapability, yt as createDurableState, z as ReadinessRegistry } from "./sleep-oYerbR6F.mjs";
|
|
3
3
|
import { a as buildAudioArgs, c as buildVideoArgs, d as logBannerArgs, f as pickVideoEncoder, i as audioPlanFromEncodeProfile, l as invocationFromEncodeProfile, n as Fmp4BoxSplitter, o as buildFfmpegArgs, r as AUDIO_PRESETS, s as buildInputArgs, t as canonicalHash, u as isSoftwareDecode } from "./canonical-hash-rO1sRmEK.mjs";
|
|
4
4
|
import { EventSourceType } from "./enums.mjs";
|
|
5
5
|
import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
|
|
@@ -1657,6 +1657,12 @@ var RecordingConfigSchema = z.object({
|
|
|
1657
1657
|
/** DERIVED summary of `bands`, stamped by the recorder on every save.
|
|
1658
1658
|
* Authoring it has no effect — see {@link RecordingStorageModeSchema}. */
|
|
1659
1659
|
mode: RecordingStorageModeSchema.optional(),
|
|
1660
|
+
/**
|
|
1661
|
+
* Which assigned broker slots to record. Absent / empty = {@link
|
|
1662
|
+
* DEFAULT_RECORDING_PROFILES} (`high`+`low`) intersected with the
|
|
1663
|
+
* camera's currently assigned slots — never `mid` unless the operator
|
|
1664
|
+
* picks it, and never a slot the broker has not assigned.
|
|
1665
|
+
*/
|
|
1660
1666
|
profiles: z.array(CamProfileSchema).optional(),
|
|
1661
1667
|
segmentSeconds: z.number().int().positive().optional(),
|
|
1662
1668
|
/**
|
|
@@ -1681,7 +1687,7 @@ var RecordingConfigSchema = z.object({
|
|
|
1681
1687
|
*
|
|
1682
1688
|
* THE one definition: the recorder stamps `config.mode` with it on save and
|
|
1683
1689
|
* reports it as the cap's `activeMode`, and the settings UI reads it back to
|
|
1684
|
-
*
|
|
1690
|
+
* highlight the Off/Events/Continuous shortcut. Two copies would drift, and the
|
|
1685
1691
|
* symptom (a status dot disagreeing with what is being recorded) is exactly the
|
|
1686
1692
|
* bug this field was added to fix.
|
|
1687
1693
|
*/
|
|
@@ -1690,6 +1696,30 @@ function deriveRecordingMode(config) {
|
|
|
1690
1696
|
if (config.bands.some((band) => band.mode === "continuous")) return "continuous";
|
|
1691
1697
|
return "events";
|
|
1692
1698
|
}
|
|
1699
|
+
/**
|
|
1700
|
+
* Default recorded slots when a config omits `profiles`: high + low.
|
|
1701
|
+
* `mid` is opt-in — it is usually a second native encode the operator
|
|
1702
|
+
* did not ask to store twice.
|
|
1703
|
+
*/
|
|
1704
|
+
var DEFAULT_RECORDING_PROFILES = ["high", "low"];
|
|
1705
|
+
/**
|
|
1706
|
+
* Pick which assigned broker slots to record. `assigned` is already the
|
|
1707
|
+
* broker's assigned∩deduped set (see `selectAssignedProfileSlots`).
|
|
1708
|
+
*
|
|
1709
|
+
* An operator `override` DISABLES unselected assigned slots (assigned ∩
|
|
1710
|
+
* selection). A selection matching none of the assigned sources, or an
|
|
1711
|
+
* absent/empty override, falls through: prefer {@link DEFAULT_RECORDING_PROFILES}
|
|
1712
|
+
* among assigned, else every assigned slot (a camera with only `mid`
|
|
1713
|
+
* still records something). Empty assigned → empty result.
|
|
1714
|
+
*/
|
|
1715
|
+
function resolveRecordingProfiles(assigned, override) {
|
|
1716
|
+
if (override !== void 0 && override.length > 0) {
|
|
1717
|
+
const selected = assigned.filter((profile) => override.includes(profile));
|
|
1718
|
+
return selected.length > 0 ? selected : [...assigned];
|
|
1719
|
+
}
|
|
1720
|
+
const preferred = assigned.filter((profile) => DEFAULT_RECORDING_PROFILES.includes(profile));
|
|
1721
|
+
return preferred.length > 0 ? preferred : [...assigned];
|
|
1722
|
+
}
|
|
1693
1723
|
//#endregion
|
|
1694
1724
|
//#region src/interfaces/relocate.ts
|
|
1695
1725
|
/**
|
|
@@ -1755,7 +1785,11 @@ var RelocateFootageInputSchema = z.object({
|
|
|
1755
1785
|
profiles: z.array(z.string()).optional(),
|
|
1756
1786
|
/** Copy throttle in MB/s (default 40) — the drain is a background chore,
|
|
1757
1787
|
* never allowed to starve live writers. */
|
|
1758
|
-
throttleMbps: z.number().min(1).max(1e3).optional()
|
|
1788
|
+
throttleMbps: z.number().min(1).max(1e3).optional(),
|
|
1789
|
+
/** Move only segments whose startMs is >= this. Absent = the whole source
|
|
1790
|
+
* pile. Used when a full drain is too expensive and the operator only
|
|
1791
|
+
* wants the recent window on the new disk. */
|
|
1792
|
+
sinceMs: z.number().int().optional()
|
|
1759
1793
|
});
|
|
1760
1794
|
/** Internal, lease-scoped participant operation. It is intentionally separate
|
|
1761
1795
|
* from persistent recording settings: a migration never changes
|
|
@@ -15433,6 +15467,12 @@ var TrackCascadeCountsSchema = z.object({
|
|
|
15433
15467
|
/** Per-track CLIP search vectors removed (best-effort). */
|
|
15434
15468
|
embeddings: z.number().int()
|
|
15435
15469
|
});
|
|
15470
|
+
/** Disk-wins reconcile: media rows whose blobs are gone, then empty tracks. */
|
|
15471
|
+
var DiskReconcileCountsSchema = z.object({
|
|
15472
|
+
mediaDropped: z.number().int(),
|
|
15473
|
+
tracks: z.number().int(),
|
|
15474
|
+
events: z.number().int()
|
|
15475
|
+
});
|
|
15436
15476
|
/** Event-store footprint for one camera. */
|
|
15437
15477
|
var EventStoreDeviceFootprintSchema = z.object({
|
|
15438
15478
|
deviceId: z.number(),
|
|
@@ -15718,6 +15758,17 @@ var pipelineAnalyticsCapability = {
|
|
|
15718
15758
|
auth: "admin"
|
|
15719
15759
|
}),
|
|
15720
15760
|
/**
|
|
15761
|
+
* Disk-wins reconcile for one camera. Drops media index rows whose blobs
|
|
15762
|
+
* are gone, then cascades tracks (including favourited and staging) that
|
|
15763
|
+
* have no remaining files. Enrolled identity/vehicle/scene media is never
|
|
15764
|
+
* probed. Trackless motion/audio events with no remaining file are dropped,
|
|
15765
|
+
* including snapshot-less rows.
|
|
15766
|
+
*/
|
|
15767
|
+
reconcileFromDisk: method(z.object({ deviceId: z.number() }), DiskReconcileCountsSchema, {
|
|
15768
|
+
kind: "mutation",
|
|
15769
|
+
auth: "admin"
|
|
15770
|
+
}),
|
|
15771
|
+
/**
|
|
15721
15772
|
* Delete whole tracks (object events) by id for the given device,
|
|
15722
15773
|
* cascading their media in lockstep. Returns the number of tracks
|
|
15723
15774
|
* actually deleted plus the ids that could not be removed.
|
|
@@ -18044,6 +18095,24 @@ var CameraStatusDegradationSchema = z.object({
|
|
|
18044
18095
|
*
|
|
18045
18096
|
* See spec: `docs/superpowers/specs/2026-06-24-camera-status-aggregator-cap.md`
|
|
18046
18097
|
*/
|
|
18098
|
+
var DiskReconcileJobSchema = z.object({
|
|
18099
|
+
state: z.enum([
|
|
18100
|
+
"idle",
|
|
18101
|
+
"running",
|
|
18102
|
+
"done",
|
|
18103
|
+
"error"
|
|
18104
|
+
]),
|
|
18105
|
+
total: z.number().int().nonnegative(),
|
|
18106
|
+
completed: z.number().int().nonnegative(),
|
|
18107
|
+
currentDeviceId: z.number().int().nullable(),
|
|
18108
|
+
failed: z.array(z.number().int()).readonly(),
|
|
18109
|
+
mediaDropped: z.number().int().nonnegative(),
|
|
18110
|
+
tracks: z.number().int().nonnegative(),
|
|
18111
|
+
events: z.number().int().nonnegative(),
|
|
18112
|
+
startedAtMs: z.number().int().nullable(),
|
|
18113
|
+
finishedAtMs: z.number().int().nullable(),
|
|
18114
|
+
error: z.string().nullable()
|
|
18115
|
+
});
|
|
18047
18116
|
var CameraStatusSchema = z.object({
|
|
18048
18117
|
deviceId: z.number(),
|
|
18049
18118
|
assignment: CameraAssignmentStatusSchema,
|
|
@@ -18580,6 +18649,18 @@ var pipelineOrchestratorCapability = {
|
|
|
18580
18649
|
* rail without issuing N parallel browser round-trips.
|
|
18581
18650
|
*/
|
|
18582
18651
|
getCameraStatuses: method(z.object({ deviceIds: z.array(z.number()).optional() }), z.array(CameraStatusSchema).readonly()),
|
|
18652
|
+
/**
|
|
18653
|
+
* Disk-wins fleet reconcile after a recordings wipe. Starts the walk in
|
|
18654
|
+
* the addon process and returns immediately with the job snapshot — the
|
|
18655
|
+
* work outlives the tRPC/UDS 60s timeout. Poll `getReconcileFromDiskStatus`.
|
|
18656
|
+
* Admin-only. Idempotent while a job is already running.
|
|
18657
|
+
*/
|
|
18658
|
+
reconcileFromDisk: method(z.void(), DiskReconcileJobSchema, {
|
|
18659
|
+
kind: "mutation",
|
|
18660
|
+
auth: "admin"
|
|
18661
|
+
}),
|
|
18662
|
+
/** Snapshot of the in-flight or last disk-wins fleet reconcile. */
|
|
18663
|
+
getReconcileFromDiskStatus: method(z.void(), DiskReconcileJobSchema, { auth: "admin" }),
|
|
18583
18664
|
/** List every template the operator has saved. */
|
|
18584
18665
|
listTemplates: method(z.void(), z.array(PipelineTemplateSchema).readonly()),
|
|
18585
18666
|
/** Create a new named preset from a given CameraPipelineConfig. */
|
|
@@ -20801,7 +20882,14 @@ var SearchResultSchema = z.object({
|
|
|
20801
20882
|
});
|
|
20802
20883
|
var AutoUpdateSettingsSchema = z.object({
|
|
20803
20884
|
channel: ChannelSchema,
|
|
20804
|
-
intervalSeconds: z.number()
|
|
20885
|
+
intervalSeconds: z.number(),
|
|
20886
|
+
/**
|
|
20887
|
+
* Cadence of the "an update exists" POLLER, in seconds. Independent of
|
|
20888
|
+
* `channel`: the poller runs while auto-apply is `off`, because being told
|
|
20889
|
+
* about a publish and installing it are different decisions. Clamped
|
|
20890
|
+
* server-side to 900 s … 604800 s; defaults to 21600 s (6 h).
|
|
20891
|
+
*/
|
|
20892
|
+
updateCheckIntervalSeconds: z.number()
|
|
20805
20893
|
});
|
|
20806
20894
|
var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
20807
20895
|
var RestartAddonResultSchema = z.unknown();
|
|
@@ -21070,7 +21158,9 @@ var addonsCapability = {
|
|
|
21070
21158
|
getAutoUpdateSettings: method(z.void(), AutoUpdateSettingsSchema, { auth: "admin" }),
|
|
21071
21159
|
setAutoUpdateSettings: method(z.object({
|
|
21072
21160
|
channel: ChannelSchema,
|
|
21073
|
-
intervalSeconds: z.number().min(300).max(86400).optional()
|
|
21161
|
+
intervalSeconds: z.number().min(300).max(86400).optional(),
|
|
21162
|
+
/** Availability-poll cadence; see AutoUpdateSettingsSchema. */
|
|
21163
|
+
updateCheckIntervalSeconds: z.number().min(900).max(604800).optional()
|
|
21074
21164
|
}), z.unknown(), {
|
|
21075
21165
|
kind: "mutation",
|
|
21076
21166
|
auth: "admin"
|
|
@@ -37296,6 +37386,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
37296
37386
|
addonId: null,
|
|
37297
37387
|
access: "create"
|
|
37298
37388
|
},
|
|
37389
|
+
"pipelineAnalytics.reconcileFromDisk": {
|
|
37390
|
+
capName: "pipeline-analytics",
|
|
37391
|
+
capScope: "device",
|
|
37392
|
+
addonId: null,
|
|
37393
|
+
access: "create"
|
|
37394
|
+
},
|
|
37299
37395
|
"pipelineAnalytics.refreshStorageLocationsForMigration": {
|
|
37300
37396
|
capName: "pipeline-analytics",
|
|
37301
37397
|
capScope: "device",
|
|
@@ -37698,6 +37794,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
37698
37794
|
addonId: null,
|
|
37699
37795
|
access: "view"
|
|
37700
37796
|
},
|
|
37797
|
+
"pipelineOrchestrator.getReconcileFromDiskStatus": {
|
|
37798
|
+
capName: "pipeline-orchestrator",
|
|
37799
|
+
capScope: "system",
|
|
37800
|
+
addonId: null,
|
|
37801
|
+
access: "view"
|
|
37802
|
+
},
|
|
37701
37803
|
"pipelineOrchestrator.listAgentSettings": {
|
|
37702
37804
|
capName: "pipeline-orchestrator",
|
|
37703
37805
|
capScope: "system",
|
|
@@ -37722,6 +37824,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
37722
37824
|
addonId: null,
|
|
37723
37825
|
access: "create"
|
|
37724
37826
|
},
|
|
37827
|
+
"pipelineOrchestrator.reconcileFromDisk": {
|
|
37828
|
+
capName: "pipeline-orchestrator",
|
|
37829
|
+
capScope: "system",
|
|
37830
|
+
addonId: null,
|
|
37831
|
+
access: "create"
|
|
37832
|
+
},
|
|
37725
37833
|
"pipelineOrchestrator.removeAgentSettings": {
|
|
37726
37834
|
capName: "pipeline-orchestrator",
|
|
37727
37835
|
capScope: "system",
|
|
@@ -40970,6 +41078,11 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
|
|
|
40970
41078
|
form: "single",
|
|
40971
41079
|
optional: true
|
|
40972
41080
|
}],
|
|
41081
|
+
"pipelineAnalytics.reconcileFromDisk": [{
|
|
41082
|
+
name: "deviceId",
|
|
41083
|
+
form: "single",
|
|
41084
|
+
optional: false
|
|
41085
|
+
}],
|
|
40973
41086
|
"pipelineAnalytics.restageRetrainTrack": [{
|
|
40974
41087
|
name: "deviceId",
|
|
40975
41088
|
form: "single",
|
|
@@ -42635,6 +42748,8 @@ function createSystemProxy(api) {
|
|
|
42635
42748
|
getNodeInferenceDevices: (input) => dispatch("pipelineOrchestrator", "getNodeInferenceDevices", "query", input),
|
|
42636
42749
|
resetNodePipelineDefaults: (input) => dispatch("pipelineOrchestrator", "resetNodePipelineDefaults", "mutation", input),
|
|
42637
42750
|
getCameraStatuses: (input) => dispatch("pipelineOrchestrator", "getCameraStatuses", "query", input),
|
|
42751
|
+
reconcileFromDisk: (input) => dispatch("pipelineOrchestrator", "reconcileFromDisk", "mutation", input),
|
|
42752
|
+
getReconcileFromDiskStatus: (input) => dispatch("pipelineOrchestrator", "getReconcileFromDiskStatus", "query", input),
|
|
42638
42753
|
listTemplates: (input) => dispatch("pipelineOrchestrator", "listTemplates", "query", input),
|
|
42639
42754
|
saveTemplate: (input) => dispatch("pipelineOrchestrator", "saveTemplate", "mutation", input),
|
|
42640
42755
|
updateTemplate: (input) => dispatch("pipelineOrchestrator", "updateTemplate", "mutation", input),
|
|
@@ -43448,6 +43563,40 @@ function isScheduleActive(schedule, atMs) {
|
|
|
43448
43563
|
return schedule.invert === true ? !inside : inside;
|
|
43449
43564
|
}
|
|
43450
43565
|
//#endregion
|
|
43566
|
+
//#region src/notification/system-event-filters.ts
|
|
43567
|
+
/** Every filter, for the callers that must cover all four (guards, tests). */
|
|
43568
|
+
var NC_SYSTEM_EVENT_FILTER_KEYS = [
|
|
43569
|
+
"deviceIds",
|
|
43570
|
+
"deviceTypes",
|
|
43571
|
+
"nodeIds",
|
|
43572
|
+
"packageNames"
|
|
43573
|
+
];
|
|
43574
|
+
/**
|
|
43575
|
+
* Does `filter` say anything about `kind`?
|
|
43576
|
+
*
|
|
43577
|
+
* `false` means the filter is not part of this kind's vocabulary: the engine
|
|
43578
|
+
* ignores it and an editor hides its input. It never means "excluded".
|
|
43579
|
+
*/
|
|
43580
|
+
function systemEventFilterApplies(kind, filter) {
|
|
43581
|
+
switch (filter) {
|
|
43582
|
+
case "deviceIds": return kind.startsWith("device-") || kind.startsWith("stream-") || kind === "detection-blind" || kind === "alarm-triggered" || kind === "export-completed";
|
|
43583
|
+
case "deviceTypes": return kind.startsWith("device-") || kind === "detection-blind";
|
|
43584
|
+
case "nodeIds": return kind.startsWith("node-") || kind === "addon-update-available" || kind === "addon-updated" || kind === "server-update-available" || kind === "server-updated";
|
|
43585
|
+
case "packageNames": return kind.endsWith("update-available") || kind === "addon-updated" || kind === "server-updated";
|
|
43586
|
+
}
|
|
43587
|
+
}
|
|
43588
|
+
/**
|
|
43589
|
+
* Does `filter` say anything about AT LEAST ONE of the selected kinds?
|
|
43590
|
+
*
|
|
43591
|
+
* The editor's question: a rule selects several kinds at once and renders one
|
|
43592
|
+
* filter input for the set, so a filter is shown when any selected kind can be
|
|
43593
|
+
* narrowed by it. The kinds it cannot narrow are then simply not narrowed —
|
|
43594
|
+
* which is the engine's half of the same rule.
|
|
43595
|
+
*/
|
|
43596
|
+
function systemEventFilterAppliesToAnyKind(kinds, filter) {
|
|
43597
|
+
return kinds.some((kind) => systemEventFilterApplies(kind, filter));
|
|
43598
|
+
}
|
|
43599
|
+
//#endregion
|
|
43451
43600
|
//#region src/notification/timelapse-rule.ts
|
|
43452
43601
|
/**
|
|
43453
43602
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
@@ -45785,4 +45934,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
45785
45934
|
return out;
|
|
45786
45935
|
}
|
|
45787
45936
|
//#endregion
|
|
45788
|
-
export { ACCESSORY_LABEL, ACCESS_ROLES, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AUDIO_PRESETS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionCandidateResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, AdoptionJobSchema, AdoptionJobStateSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, AdoptionOutcomeSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BATTERY_UNREACHABLE_AFTER_MS, BOOT_RECOVERY_BACKOFF_MS, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CONNECTION_TEST_TIMEOUT_MS, CORE_BLOCKS_ADDON_ID, CORE_BLOCK_ADDON_PREFIX, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectionTestDescriptorSchema, ConnectionTestInputSchema, ConnectionTestOutcomeSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoreBlockCompileResultSchema, CoreBlockInputSchema, CoreBlockPlacementSchema, CoreBlockSchema, CoreBlockStatusSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_RETENTION, DEFAULT_RUNTIME_STATE_DURABILITY, DEFAULT_SCRUB_THUMBNAIL_PRESET, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_MACRO_CLASSES, DETECTION_PIPELINE_CAP_NAME, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, EngineInfoSchema as DataStoreEngineInfoSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclaredDevices, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceSelectorSchema, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventSourceType, ExportBytesSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HfModelResolutionSchema, 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, LlmDownloadProgressSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRetryPolicySchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmTimeoutDefaults, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MODEL_FORMATS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelExtraFileSchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_DBFS_FLOOR, NC_AUDIO_DB_MAX, NC_AUDIO_DB_MIN, NC_AUDIO_DB_OFFERED, NC_AUDIO_DB_STEP, NC_AUDIO_DEFAULTS, NC_AUDIO_HIT_PERCENT_MAX, NC_AUDIO_HIT_PERCENT_MIN, NC_AUDIO_SAMPLING_MAX_SEC, NC_AUDIO_SAMPLING_MIN_SEC, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_DEFAULT_SNOOZE_MINUTES, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_SNOOZE_MAX_MINUTES, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcAlarmConfigSchema, NcAlarmModeCoverageSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleInputSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcSceneConditionSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcSystemEventConditionSchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdRenderOutcomeEnum, OsdRenderResultSchema, OsdSlotBindingSchema, OsdSlotViewSchema, OsdSourceOptionSchema, OsdSourceSchema, OsdSourceValueTypeEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PRIVACY_MASK_CAP_NAME, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RECORDING_EXPORT_MAX_READ_BYTES, RESERVED_BINDING_NAMES, RESTORED_CAP_NAMES, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingRangeSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RenderedAsSchema, ReportMotionInputSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCENE_CONDITIONS, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, SCENE_DEFAULT_ANCHOR_THRESHOLD, SCENE_DEFAULT_CHECK_INTERVAL_SEC, SCENE_DEFAULT_OBSERVATION_SPACING_SEC, SCENE_DEFAULT_QUIET_SECONDS, SCENE_DEFAULT_UNCOVERED_POLICY, SCENE_DIVERGED, SCENE_RESET_RECAPTURES, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SENSOR_FEATURES, SENSOR_MAP, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneUncoveredPolicySchema, SceneVerdictSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SetSiteLocationInputSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SiteLocationSchema, SiteLocationSourceSchema, SiteLocationStatusSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationMoveSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMELAPSE_DENSE_FLOOR_SEC, TIMEZONES, TRANSCODE_DOWN_MAX_BITRATE_KBPS, TRANSCODE_DOWN_MAX_HEIGHT, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalInstanceInfoSchema, TerminalLegacyCameraSchema, TerminalOutputBatchSchema, TerminalOutputEventSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestConnectionStatusEnum, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackFlagsPatchSchema, TrackFlagsSchema, TrackProjectionSchema, TrackSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainingExportDeviceTotalsSchema, TrainingExportSummarySchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VISIT_MERGE_GAP_MS, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, VectorItemSchema, VectorMatchSchema, VectorMetadataSchema, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, VibrationStatusSchema, VideoEncodeSchema, WEBRTC_EGRESS_PROFILE, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioIsFailClosed, audioLabelChoices, audioMetricsCapability, audioModeOf, audioOrDefaults, audioPlanFromEncodeProfile, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildRoleScopes, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyBearerPrincipal, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, compileExpression, compileExpressionSafe, composeSwitchedOff, conditionDepth, connectionTestCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, declarationOwnerNodeId, decodeVectorBase64, decoderCapability, defaultDeviceFor, defineCustomActions, deriveBatteryPresence, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeModelVariant, detectAccessRole, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, doorbellCapability, egressTranscodeSharingKey, egressTransportFromRequest, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, encodeVectorBase64, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateExpressionSource, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isAudioLabelSelected, isBaseConditionKey, isBatteryPresenceFault, isCollectionArrayMethod, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isEvent, isIsolatedBuiltin, isNode, isObjectInput, isRestoredCap, isSameAddonId, isScheduleActive, isSoftwareDecode, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logBannerArgs, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeAudioLabel, normalizeTokenScopes, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, osdManagerCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, patchAudio, petFeederCapability, pickAccessoryControl, pickDetailCropConvention, pickNativeLeaseOverride, pickPreferredRtspEntry, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, resolveViewableDeviceIds, roleSpec, runInferenceStep, runtimeDevices, runtimeStatePolicyFor, sceneMonitorCapability, scopeInherits, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageMigrationCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, summarisePrivacyAudio, summarizeEffectiveScope, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, toggleAudioLabel, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
45937
|
+
export { ACCESSORY_LABEL, ACCESS_ROLES, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AUDIO_PRESETS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionCandidateResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, AdoptionJobSchema, AdoptionJobStateSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, AdoptionOutcomeSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BATTERY_UNREACHABLE_AFTER_MS, BOOT_RECOVERY_BACKOFF_MS, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CONNECTION_TEST_TIMEOUT_MS, CORE_BLOCKS_ADDON_ID, CORE_BLOCK_ADDON_PREFIX, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectionTestDescriptorSchema, ConnectionTestInputSchema, ConnectionTestOutcomeSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoreBlockCompileResultSchema, CoreBlockInputSchema, CoreBlockPlacementSchema, CoreBlockSchema, CoreBlockStatusSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_RECORDING_PROFILES, DEFAULT_RETENTION, DEFAULT_RUNTIME_STATE_DURABILITY, DEFAULT_SCRUB_THUMBNAIL_PRESET, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_MACRO_CLASSES, DETECTION_PIPELINE_CAP_NAME, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, EngineInfoSchema as DataStoreEngineInfoSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclaredDevices, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceSelectorSchema, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DiskReconcileJobSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventSourceType, ExportBytesSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HfModelResolutionSchema, 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, LlmDownloadProgressSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRetryPolicySchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmTimeoutDefaults, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MODEL_FORMATS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelExtraFileSchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_DBFS_FLOOR, NC_AUDIO_DB_MAX, NC_AUDIO_DB_MIN, NC_AUDIO_DB_OFFERED, NC_AUDIO_DB_STEP, NC_AUDIO_DEFAULTS, NC_AUDIO_HIT_PERCENT_MAX, NC_AUDIO_HIT_PERCENT_MIN, NC_AUDIO_SAMPLING_MAX_SEC, NC_AUDIO_SAMPLING_MIN_SEC, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_DEFAULT_SNOOZE_MINUTES, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_SNOOZE_MAX_MINUTES, NC_SYSTEM_EVENT_FILTER_KEYS, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcAlarmConfigSchema, NcAlarmModeCoverageSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleInputSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcSceneConditionSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcSystemEventConditionSchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdRenderOutcomeEnum, OsdRenderResultSchema, OsdSlotBindingSchema, OsdSlotViewSchema, OsdSourceOptionSchema, OsdSourceSchema, OsdSourceValueTypeEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PRIVACY_MASK_CAP_NAME, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RECORDING_EXPORT_MAX_READ_BYTES, RESERVED_BINDING_NAMES, RESTORED_CAP_NAMES, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingRangeSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RenderedAsSchema, ReportMotionInputSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCENE_CONDITIONS, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, SCENE_DEFAULT_ANCHOR_THRESHOLD, SCENE_DEFAULT_CHECK_INTERVAL_SEC, SCENE_DEFAULT_OBSERVATION_SPACING_SEC, SCENE_DEFAULT_QUIET_SECONDS, SCENE_DEFAULT_UNCOVERED_POLICY, SCENE_DIVERGED, SCENE_RESET_RECAPTURES, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SENSOR_FEATURES, SENSOR_MAP, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneUncoveredPolicySchema, SceneVerdictSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SetSiteLocationInputSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SiteLocationSchema, SiteLocationSourceSchema, SiteLocationStatusSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationMoveSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMELAPSE_DENSE_FLOOR_SEC, TIMEZONES, TRANSCODE_DOWN_MAX_BITRATE_KBPS, TRANSCODE_DOWN_MAX_HEIGHT, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalInstanceInfoSchema, TerminalLegacyCameraSchema, TerminalOutputBatchSchema, TerminalOutputEventSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestConnectionStatusEnum, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackFlagsPatchSchema, TrackFlagsSchema, TrackProjectionSchema, TrackSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainingExportDeviceTotalsSchema, TrainingExportSummarySchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VISIT_MERGE_GAP_MS, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, VectorItemSchema, VectorMatchSchema, VectorMetadataSchema, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, VibrationStatusSchema, VideoEncodeSchema, WEBRTC_EGRESS_PROFILE, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioIsFailClosed, audioLabelChoices, audioMetricsCapability, audioModeOf, audioOrDefaults, audioPlanFromEncodeProfile, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildRoleScopes, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyBearerPrincipal, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, compileExpression, compileExpressionSafe, composeSwitchedOff, conditionDepth, connectionTestCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, declarationOwnerNodeId, decodeVectorBase64, decoderCapability, defaultDeviceFor, defineCustomActions, deriveBatteryPresence, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeModelVariant, detectAccessRole, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, doorbellCapability, egressTranscodeSharingKey, egressTransportFromRequest, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, encodeVectorBase64, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateExpressionSource, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isAudioLabelSelected, isBaseConditionKey, isBatteryPresenceFault, isCollectionArrayMethod, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isEvent, isIsolatedBuiltin, isNode, isObjectInput, isRestoredCap, isSameAddonId, isScheduleActive, isSoftwareDecode, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logBannerArgs, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeAudioLabel, normalizeTokenScopes, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, osdManagerCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, patchAudio, petFeederCapability, pickAccessoryControl, pickDetailCropConvention, pickNativeLeaseOverride, pickPreferredRtspEntry, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolveRecordingProfiles, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, resolveViewableDeviceIds, roleSpec, runInferenceStep, runtimeDevices, runtimeStatePolicyFor, sceneMonitorCapability, scopeInherits, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageMigrationCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, summarisePrivacyAudio, summarizeEffectiveScope, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, toggleAudioLabel, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { type CamProfile } from '../capabilities/schemas/streaming-shared.js';
|
|
2
3
|
/**
|
|
3
4
|
* THE canonical event-clip pad: the time window a single-timestamp analytics
|
|
4
5
|
* event expands to when joined with footage (clip window = `[timestamp - preMs,
|
|
@@ -256,8 +257,25 @@ export type RecordingModeSource = Pick<RecordingConfig, 'enabled' | 'bands'>;
|
|
|
256
257
|
*
|
|
257
258
|
* THE one definition: the recorder stamps `config.mode` with it on save and
|
|
258
259
|
* reports it as the cap's `activeMode`, and the settings UI reads it back to
|
|
259
|
-
*
|
|
260
|
+
* highlight the Off/Events/Continuous shortcut. Two copies would drift, and the
|
|
260
261
|
* symptom (a status dot disagreeing with what is being recorded) is exactly the
|
|
261
262
|
* bug this field was added to fix.
|
|
262
263
|
*/
|
|
263
264
|
export declare function deriveRecordingMode(config: RecordingModeSource): RecordingStorageMode;
|
|
265
|
+
/**
|
|
266
|
+
* Default recorded slots when a config omits `profiles`: high + low.
|
|
267
|
+
* `mid` is opt-in — it is usually a second native encode the operator
|
|
268
|
+
* did not ask to store twice.
|
|
269
|
+
*/
|
|
270
|
+
export declare const DEFAULT_RECORDING_PROFILES: readonly CamProfile[];
|
|
271
|
+
/**
|
|
272
|
+
* Pick which assigned broker slots to record. `assigned` is already the
|
|
273
|
+
* broker's assigned∩deduped set (see `selectAssignedProfileSlots`).
|
|
274
|
+
*
|
|
275
|
+
* An operator `override` DISABLES unselected assigned slots (assigned ∩
|
|
276
|
+
* selection). A selection matching none of the assigned sources, or an
|
|
277
|
+
* absent/empty override, falls through: prefer {@link DEFAULT_RECORDING_PROFILES}
|
|
278
|
+
* among assigned, else every assigned slot (a camera with only `mid`
|
|
279
|
+
* still records something). Empty assigned → empty result.
|
|
280
|
+
*/
|
|
281
|
+
export declare function resolveRecordingProfiles(assigned: readonly CamProfile[], override: readonly CamProfile[] | undefined): CamProfile[];
|
|
@@ -64,6 +64,7 @@ export declare const RelocateFootageInputSchema: z.ZodObject<{
|
|
|
64
64
|
deviceId: z.ZodOptional<z.ZodNumber>;
|
|
65
65
|
profiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
66
66
|
throttleMbps: z.ZodOptional<z.ZodNumber>;
|
|
67
|
+
sinceMs: z.ZodOptional<z.ZodNumber>;
|
|
67
68
|
}, z.core.$strip>;
|
|
68
69
|
export type RelocateFootageInput = z.infer<typeof RelocateFootageInputSchema>;
|
|
69
70
|
/** Internal, lease-scoped participant operation. It is intentionally separate
|
|
@@ -86,6 +87,7 @@ export declare const StorageMigrationFootageMoveInputSchema: z.ZodObject<{
|
|
|
86
87
|
deviceId: z.ZodOptional<z.ZodNumber>;
|
|
87
88
|
profiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
88
89
|
throttleMbps: z.ZodOptional<z.ZodNumber>;
|
|
90
|
+
sinceMs: z.ZodOptional<z.ZodNumber>;
|
|
89
91
|
leaseId: z.ZodString;
|
|
90
92
|
}, z.core.$strip>;
|
|
91
93
|
export type StorageMigrationFootageMoveInput = z.infer<typeof StorageMigrationFootageMoveInputSchema>;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WHICH narrowing filter speaks about WHICH system-event kind — one predicate,
|
|
3
|
+
* consumed by the rule ENGINE and by every rule EDITOR.
|
|
4
|
+
*
|
|
5
|
+
* ── The failure this file exists for ───────────────────────────────────────
|
|
6
|
+
* `NcSystemEventConditionSchema` carries four optional narrowing lists
|
|
7
|
+
* (`deviceIds`, `deviceTypes`, `nodeIds`, `packageNames`) beside a required
|
|
8
|
+
* `kinds` gate. They are not four filters over one vocabulary: each belongs to
|
|
9
|
+
* a FAMILY of kinds and is meaningless outside it. A node going away has no
|
|
10
|
+
* device type; a completed export has no package; `stream-offline` deliberately
|
|
11
|
+
* carries no device type at all (a stream belongs to a camera by construction).
|
|
12
|
+
*
|
|
13
|
+
* The engine applied all four to every kind, so a filter from one family failed
|
|
14
|
+
* a kind from another family CLOSED. The operator's live rule "Eventi di
|
|
15
|
+
* sistema" selected eleven kinds and set `deviceTypes: ['camera']` — the only
|
|
16
|
+
* way to say "only my cameras" about the two liveness kinds — and NINE of the
|
|
17
|
+
* eleven silently stopped being deliverable. Four days of history contained
|
|
18
|
+
* `device-online` and `device-offline` and nothing else, across a window in
|
|
19
|
+
* which agents were restarted and addons were updated.
|
|
20
|
+
*
|
|
21
|
+
* Both editors already computed this scoping, to decide which filter boxes to
|
|
22
|
+
* render; the cap's own docblock already promised it ("Narrow a `device-*` kind
|
|
23
|
+
* to these device TYPES"). Only the engine disagreed, and it disagreed in the
|
|
24
|
+
* destructive direction. So the rule is stated ONCE, here, and the engine and
|
|
25
|
+
* the editors are readers of it rather than three independent authors.
|
|
26
|
+
*
|
|
27
|
+
* ── The direction ─────────────────────────────────────────────────────────
|
|
28
|
+
* Out of family ⇒ the filter is IGNORED, never fail-closed. An editor that
|
|
29
|
+
* hides a box has already told the operator this filter does not speak about
|
|
30
|
+
* these kinds, so honouring it as an exclusion contradicts the only
|
|
31
|
+
* explanation the operator was ever given. Inside its family the filter still
|
|
32
|
+
* narrows, and still fails CLOSED on a subject that cannot produce the identity
|
|
33
|
+
* it tests (a device the mirror cannot name is not evidence of a camera).
|
|
34
|
+
*/
|
|
35
|
+
import type { NcSystemEventKind } from '../capabilities/notification-rules.cap.js';
|
|
36
|
+
/**
|
|
37
|
+
* A narrowing filter, named by its CONDITION FIELD.
|
|
38
|
+
*
|
|
39
|
+
* The field name and not the editor's label (`devices` / `nodes` / `packages`),
|
|
40
|
+
* because the engine reads `condition.deviceIds` and a guard that compares the
|
|
41
|
+
* two sides has to be able to say which field it is talking about without a
|
|
42
|
+
* translation table in the middle.
|
|
43
|
+
*/
|
|
44
|
+
export type NcSystemEventFilterKey = 'deviceIds' | 'deviceTypes' | 'nodeIds' | 'packageNames';
|
|
45
|
+
/** Every filter, for the callers that must cover all four (guards, tests). */
|
|
46
|
+
export declare const NC_SYSTEM_EVENT_FILTER_KEYS: readonly NcSystemEventFilterKey[];
|
|
47
|
+
/**
|
|
48
|
+
* Does `filter` say anything about `kind`?
|
|
49
|
+
*
|
|
50
|
+
* `false` means the filter is not part of this kind's vocabulary: the engine
|
|
51
|
+
* ignores it and an editor hides its input. It never means "excluded".
|
|
52
|
+
*/
|
|
53
|
+
export declare function systemEventFilterApplies(kind: NcSystemEventKind, filter: NcSystemEventFilterKey): boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Does `filter` say anything about AT LEAST ONE of the selected kinds?
|
|
56
|
+
*
|
|
57
|
+
* The editor's question: a rule selects several kinds at once and renders one
|
|
58
|
+
* filter input for the set, so a filter is shown when any selected kind can be
|
|
59
|
+
* narrowed by it. The kinds it cannot narrow are then simply not narrowed —
|
|
60
|
+
* which is the engine's half of the same rule.
|
|
61
|
+
*/
|
|
62
|
+
export declare function systemEventFilterAppliesToAnyKind(kinds: readonly NcSystemEventKind[], filter: NcSystemEventFilterKey): boolean;
|
|
@@ -3200,6 +3200,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3200
3200
|
pruneEventsBefore: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "pruneEventsBefore", "mutation", input),
|
|
3201
3201
|
pruneTracksBefore: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "pruneTracksBefore", "mutation", input),
|
|
3202
3202
|
wipeAllAnalytics: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "wipeAllAnalytics", "mutation", input),
|
|
3203
|
+
reconcileFromDisk: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "reconcileFromDisk", "mutation", input),
|
|
3203
3204
|
deleteTracks: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "deleteTracks", "mutation", input),
|
|
3204
3205
|
setTrackFlags: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "setTrackFlags", "mutation", input),
|
|
3205
3206
|
getEventStoreFootprint: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getEventStoreFootprint", "query", input),
|
|
@@ -3200,6 +3200,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3200
3200
|
pruneEventsBefore: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "pruneEventsBefore", "mutation", input),
|
|
3201
3201
|
pruneTracksBefore: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "pruneTracksBefore", "mutation", input),
|
|
3202
3202
|
wipeAllAnalytics: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "wipeAllAnalytics", "mutation", input),
|
|
3203
|
+
reconcileFromDisk: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "reconcileFromDisk", "mutation", input),
|
|
3203
3204
|
deleteTracks: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "deleteTracks", "mutation", input),
|
|
3204
3205
|
setTrackFlags: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "setTrackFlags", "mutation", input),
|
|
3205
3206
|
getEventStoreFootprint: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getEventStoreFootprint", "query", input),
|