@camstack/types 1.2.58 → 1.2.59

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_event_category = require("./event-category-DxZbWydC.js");
3
- const require_sleep = require("./sleep-DcLy1h8o.js");
3
+ const require_sleep = require("./sleep-BszXLEvP.js");
4
4
  const require_err_msg = require("./err-msg-COpsHMw2.js");
5
5
  //#region src/generated/collection-array-methods.ts
6
6
  /**
package/dist/addon.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { t as EventCategory } from "./event-category-Cv9dO26A.mjs";
2
- import { C as DeviceType, F as readNodePin, L as ReadinessRegistry, O as expandCapMethods, P as nodePin, R as ReadinessTimeoutError, V as scopeKey, a as asJsonObject, d as DEVICE_SCOPED_CAPS, f as isDeviceScopedCap, gt as normalizeAddonInitResult, ht as BaseAddon, mt as DisposerChain, p as createDeviceProxy, pt as DATAPLANE_SECRET_HEADER, s as asString, t as sleep, u as parseJsonUnknown, v as deviceOpsCapability, w as adminUiCapability, y as viewerUiCapability, yt as emitReadiness } from "./sleep-m2HUob6m.mjs";
2
+ import { C as DeviceType, F as readNodePin, L as ReadinessRegistry, O as expandCapMethods, P as nodePin, R as ReadinessTimeoutError, V as scopeKey, a as asJsonObject, d as DEVICE_SCOPED_CAPS, f as isDeviceScopedCap, gt as normalizeAddonInitResult, ht as BaseAddon, mt as DisposerChain, p as createDeviceProxy, pt as DATAPLANE_SECRET_HEADER, s as asString, t as sleep, u as parseJsonUnknown, v as deviceOpsCapability, w as adminUiCapability, y as viewerUiCapability, yt as emitReadiness } from "./sleep-BxjBLp3L.mjs";
3
3
  import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
4
4
  //#region src/generated/collection-array-methods.ts
5
5
  /**
@@ -74,7 +74,7 @@ export { AddBrokerInputSchema, BrokerConnectionDetailsSchema, BrokerInfoSchema,
74
74
  export type { NetworkAccessStatus, NetworkEndpoint } from './network-access.cap.js';
75
75
  export { NetworkAccessStatusSchema, NetworkEndpointSchema, networkAccessCapability, } from './network-access.cap.js';
76
76
  export { type Attachment, type AttachmentMediaType, AttachmentMediaTypeSchema, AttachmentSchema, type DiscoveredTarget, DiscoveredTargetSchema, type INotificationOutputProvider, type NotificationAction, type NotificationActionIcon, NotificationActionIconSchema, NotificationActionSchema, type NotificationFormat, NotificationFormatSchema, NotificationSchema, notificationOutputCapability, type RenderedAs, RenderedAsSchema, type SendResult, SendResultSchema, type Target, type TargetKind, type TargetKindCaps, TargetKindCapsSchema, type TargetKindLevel, TargetKindLevelSchema, TargetKindSchema, TargetSchema, type TestResult, TestResultSchema, } from './notification-output.cap.js';
77
- export { type INotificationRulesProvider, NC_CONDITION_CATALOG, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_SNOOZE_MAX_MINUTES, type NcAlarmConfig, NcAlarmConfigSchema, type NcAlarmModeCoverage, NcAlarmModeCoverageSchema, type NcAlarmSettings, type NcAlarmSettingsPatch, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, type NcConditionDescriptor, NcConditionDescriptorSchema, type NcConditions, NcConditionsSchema, type NcCrossing, NcCrossingSchema, type NcDelivery, NcDeliverySchema, type NcDeviceStateCondition, NcDeviceStateConditionSchema, type NcHistoryEntry, NcHistoryEntrySchema, type NcHistoryFilter, NcHistoryFilterSchema, type NcHistoryRecordKind, NcHistoryRecordKindSchema, type NcHistoryStatus, NcHistoryStatusSchema, type NcHistorySubject, NcHistorySubjectSchema, type NcMediaFrame, NcMediaFrameSchema, type NcMediaPolicy, NcMediaPolicySchema, type NcOccupancyCondition, NcOccupancyConditionSchema, type NcPlateMatcher, NcPlateMatcherSchema, type NcRule, type NcRuleAction, NcRuleActionSchema, type NcRuleActionSequence, NcRuleActionSequenceSchema, type NcRuleActions, NcRuleActionsSchema, type NcRuleInput, NcRuleInputSchema, type NcRuleNotificationButton, NcRuleNotificationButtonSchema, type NcRulePatch, NcRulePatchSchema, NcRuleSchema, type NcRuleTarget, NcRuleTargetSchema, type NcSchedule, NcScheduleSchema, type NcScheduleWindow, NcScheduleWindowSchema, type NcSystemEventCondition, NcSystemEventConditionSchema, type NcSystemEventKind, NcSystemEventKindSchema, type NcSnooze, type NcSnoozeInput, NcSnoozeInputSchema, NcSnoozeSchema, type NcSnoozeScope, NcSnoozeScopeSchema, type NcSnoozeSuppressed, NcSnoozeSuppressedSchema, type NcTestResult, NcTestResultSchema, type NcThrottle, type NcThrottleGranularity, NcThrottleGranularitySchema, NcThrottleSchema, type NcZoneCondition, NcZoneConditionSchema, notificationRulesCapability, } from './notification-rules.cap.js';
77
+ export { type INotificationRulesProvider, NC_CONDITION_CATALOG, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_SNOOZE_MAX_MINUTES, type NcAlarmConfig, NcAlarmConfigSchema, type NcAlarmModeCoverage, NcAlarmModeCoverageSchema, type NcAlarmSettings, type NcAlarmSettingsPatch, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, type NcConditionDescriptor, NcConditionDescriptorSchema, type NcConditions, NcConditionsSchema, type NcCrossing, NcCrossingSchema, type NcDelivery, NcDeliverySchema, type NcDeviceStateCondition, NcDeviceStateConditionSchema, type NcHistoryEntry, NcHistoryEntrySchema, type NcHistoryFilter, NcHistoryFilterSchema, type NcHistoryRecordKind, NcHistoryRecordKindSchema, type NcHistoryStatus, NcHistoryStatusSchema, type NcHistorySubject, NcHistorySubjectSchema, type NcMediaFrame, NcMediaFrameSchema, type NcMediaPolicy, NcMediaPolicySchema, type NcOccupancyCondition, NcOccupancyConditionSchema, type NcPlateMatcher, NcPlateMatcherSchema, type NcRule, type NcRuleAction, NcRuleActionSchema, type NcRuleActionSequence, NcRuleActionSequenceSchema, type NcRuleActions, NcRuleActionsSchema, type NcRuleInput, NcRuleInputSchema, type NcRuleNotificationButton, NcRuleNotificationButtonSchema, type NcRulePatch, NcRulePatchSchema, NcRuleSchema, type NcRuleTarget, NcRuleTargetSchema, type NcSchedule, NcScheduleSchema, type NcScheduleWindow, NcScheduleWindowSchema, type NcSnooze, type NcSnoozeInput, NcSnoozeInputSchema, NcSnoozeSchema, type NcSnoozeScope, NcSnoozeScopeSchema, type NcSnoozeSuppressed, NcSnoozeSuppressedSchema, type NcSystemEventCondition, NcSystemEventConditionSchema, type NcSystemEventKind, NcSystemEventKindSchema, type NcTestResult, NcTestResultSchema, type NcThrottle, type NcThrottleGranularity, NcThrottleGranularitySchema, NcThrottleSchema, type NcZoneCondition, NcZoneConditionSchema, notificationRulesCapability, } from './notification-rules.cap.js';
78
78
  export { type IOauthIntegrationProvider, type OauthIntegrationDescriptor, OauthIntegrationDescriptorSchema, oauthIntegrationCapability, } from './oauth-integration.cap.js';
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';
@@ -97,10 +97,11 @@ export type { ISsoBridgeProvider } from './sso-bridge.cap.js';
97
97
  export { SsoBridgeClaimsSchema, ssoBridgeCapability } from './sso-bridge.cap.js';
98
98
  export { type IStorageCapProvider, StorageLocationTypeSchema, storageCapability, } from './storage.cap.js';
99
99
  export { type EvictableUsage, type EvictResult, type IStorageEvictableProvider, storageEvictableCapability, } from './storage-evictable.cap.js';
100
+ export { type IStorageMigrationProvider, storageMigrationCapability, } from './storage-migration.cap.js';
100
101
  export { AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, type IStorageProviderImpl, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, storageProviderCapability, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, } from './storage-provider.cap.js';
101
102
  export type { AudioCodecTarget, BrokerAudioClient, BrokerClients, BrokerConsumerAttribution, BrokerConsumerKind, BrokerDecodedClient, BrokerEncodedClient, BrokerRtspClient, GetStreamWithCodecInput, PlaceholderReason, RtpSource, VideoCodecTarget, } from './stream-broker.cap.js';
102
103
  export { BrokerAudioClientSchema, BrokerClientsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, BrokerRtspClientSchema, type EgressEncode, EgressEncodeSchema, type EgressRateControl, EgressRateControlSchema, type EgressTranscode, type EgressTranscodeRequest, EgressTranscodeRequestSchema, EgressTranscodeSchema, type EventMediaArtifact, EventMediaArtifactSchema, type EventMediaCoverage, EventMediaCoverageSchema, type EventMediaKind, EventMediaKindSchema, type EventMediaProduction, EventMediaProductionSchema, GetStreamWithCodecInputSchema, PlaceholderReasonSchema, RtpSourceSchema, RtspRestreamEntrySchema, type StreamBrokerClient, type StreamFormat, StreamFormatSchema, streamBrokerCapability, } from './stream-broker.cap.js';
103
- export { type ITerminalSessionProvider, type TerminalOutputBatch, TerminalOutputBatchSchema, type TerminalOutputEvent, TerminalOutputEventSchema, type TerminalProfileInfo, TerminalProfileInfoSchema, type TerminalSessionInfo, TerminalSessionInfoSchema, terminalSessionCapability, } from './terminal-session.cap.js';
104
+ export { type ITerminalSessionProvider, type TerminalInstanceInfo, TerminalInstanceInfoSchema, type TerminalLegacyCamera, TerminalLegacyCameraSchema, type TerminalOutputBatch, TerminalOutputBatchSchema, type TerminalOutputEvent, TerminalOutputEventSchema, type TerminalProfileInfo, TerminalProfileInfoSchema, type TerminalSessionInfo, TerminalSessionInfoSchema, terminalSessionCapability, } from './terminal-session.cap.js';
104
105
  export type { ITurnProvider } from './turn-provider.cap.js';
105
106
  export { TurnServerSchema, turnProviderCapability } from './turn-provider.cap.js';
106
107
  export type { IUserPasskeysProvider, PasskeySummary } from './user-passkeys.cap.js';
@@ -325,6 +326,7 @@ import type { snapshotCapability } from './snapshot.cap.js';
325
326
  import type { ssoBridgeCapability } from './sso-bridge.cap.js';
326
327
  import type { storageCapability } from './storage.cap.js';
327
328
  import type { storageEvictableCapability } from './storage-evictable.cap.js';
329
+ import type { storageMigrationCapability } from './storage-migration.cap.js';
328
330
  import type { storageProviderCapability } from './storage-provider.cap.js';
329
331
  import type { streamBrokerCapability } from './stream-broker.cap.js';
330
332
  import type { streamCatalogCapability } from './stream-catalog.cap.js';
@@ -351,6 +353,6 @@ import type { webrtcSessionCapability } from './webrtc-session.cap.js';
351
353
  import type { zoneAnalyticsCapability } from './zone-analytics.cap.js';
352
354
  import type { zoneRulesCapability } from './zone-rules.cap.js';
353
355
  import type { zonesCapability } from './zones.cap.js';
354
- type AnyCapability = typeof addonSettingsCapability | typeof alertsCapability | typeof storageCapability | typeof storageProviderCapability | typeof storageEvictableCapability | typeof filesystemBrowseCapability | typeof backupCapability | typeof terminalSessionCapability | typeof settingsStoreCapability | typeof dataStoreProviderCapability | typeof logDestinationCapability | typeof adminUiCapability | typeof viewerUiCapability | typeof ssoBridgeCapability | typeof userPasskeysCapability | typeof smtpProviderCapability | typeof mqttBrokerCapability | typeof brokerCapability | typeof deviceAdoptionCapability | typeof deviceExportCapability | typeof addonPagesCapability | typeof addonPagesSourceCapability | typeof addonWidgetsCapability | typeof addonWidgetsSourceCapability | typeof customModelRegistryCapability | typeof modelDistributorCapability | typeof modelConvertCapability | typeof addonRoutesCapability | typeof streamBrokerCapability | typeof decoderCapability | typeof webrtcSessionCapability | typeof cameraStreamsCapability | typeof motionDetectionCapability | typeof pipelineExecutorCapability | typeof detectionPipelineCapability | typeof cameraPipelineConfigCapability | typeof pipelineRunnerCapability | typeof pipelineOrchestratorCapability | typeof audioAnalyzerCapability | typeof audioAnalysisCapability | typeof audioCodecCapability | typeof embeddingEncoderCapability | typeof vectorStoreCapability | typeof deviceProviderCapability | typeof deviceManagerCapability | typeof deviceStateCapability | typeof authProviderCapability | typeof loginMethodCapability | typeof networkAccessCapability | typeof turnProviderCapability | typeof snapshotCapability | typeof llmCapability | typeof llmRuntimeCapability | typeof notificationOutputCapability | typeof coreBlocksCapability | typeof notificationRulesCapability | typeof pipelineAnalyticsCapability | typeof metricsProviderCapability | typeof ptzCapability | typeof ptzAutotrackCapability | typeof consumablesCapability | typeof connectionTestCapability | typeof rebootCapability | typeof deviceDiscoveryCapability | typeof brightnessCapability | typeof colorCapability | typeof climateControlCapability | typeof coverCapability | typeof valveCapability | typeof humidifierCapability | typeof waterHeaterCapability | typeof weatherCapability | typeof imageCapability | typeof lockControlCapability | typeof vacuumControlCapability | typeof petFeederCapability | typeof lawnMowerControlCapability | typeof fanControlCapability | typeof controlCapability | typeof notifierCapability | typeof mediaPlayerCapability | typeof alarmPanelCapability | typeof presenceCapability | typeof scriptRunnerCapability | typeof automationControlCapability | typeof motionTriggerCapability | typeof eventsCapability | typeof zonesCapability | typeof zoneRulesCapability | typeof zoneAnalyticsCapability | typeof audioMetricsCapability | typeof motionCapability | typeof contactCapability | typeof floodCapability | typeof smokeCapability | typeof carbonMonoxideCapability | typeof gasCapability | typeof tamperCapability | typeof vibrationCapability | typeof connectivityCapability | typeof binaryCapability | typeof temperatureSensorCapability | typeof humiditySensorCapability | typeof ambientLightSensorCapability | typeof pressureSensorCapability | typeof powerMeterCapability | typeof airQualitySensorCapability | typeof numericSensorCapability | typeof enumSensorCapability | typeof recordingCapability | typeof recordingExportCapability | typeof deviceOpsCapability | typeof platformProbeCapability | typeof localNetworkCapability | typeof meshNetworkCapability | typeof userManagementCapability | typeof systemCapability | typeof networkQualityCapability | typeof toastCapability | typeof nodesCapability | typeof serverManagementCapability | typeof integrationsCapability | typeof addonsCapability | typeof oauthIntegrationCapability | typeof streamParamsCapability | typeof streamCatalogCapability | typeof motionZonesCapability | typeof sceneMonitorCapability | typeof privacyMaskCapability | typeof dayNightCapability | typeof imageSettingsCapability | typeof osdCapability | typeof osdManagerCapability | typeof accessoriesCapability | typeof batteryCapability | typeof buttonCapability | typeof cameraCredentialsCapability | typeof deviceStatusCapability | typeof doorbellCapability | typeof eventEmitterCapability | typeof faceGalleryCapability | typeof featureProbeCapability | typeof intercomCapability | typeof nativeObjectDetectionCapability | typeof plateGalleryCapability | typeof switchCapability | typeof updateCapability | typeof videoclipsCapability;
356
+ type AnyCapability = typeof addonSettingsCapability | typeof alertsCapability | typeof storageCapability | typeof storageMigrationCapability | typeof storageProviderCapability | typeof storageEvictableCapability | typeof filesystemBrowseCapability | typeof backupCapability | typeof terminalSessionCapability | typeof settingsStoreCapability | typeof dataStoreProviderCapability | typeof logDestinationCapability | typeof adminUiCapability | typeof viewerUiCapability | typeof ssoBridgeCapability | typeof userPasskeysCapability | typeof smtpProviderCapability | typeof mqttBrokerCapability | typeof brokerCapability | typeof deviceAdoptionCapability | typeof deviceExportCapability | typeof addonPagesCapability | typeof addonPagesSourceCapability | typeof addonWidgetsCapability | typeof addonWidgetsSourceCapability | typeof customModelRegistryCapability | typeof modelDistributorCapability | typeof modelConvertCapability | typeof addonRoutesCapability | typeof streamBrokerCapability | typeof decoderCapability | typeof webrtcSessionCapability | typeof cameraStreamsCapability | typeof motionDetectionCapability | typeof pipelineExecutorCapability | typeof detectionPipelineCapability | typeof cameraPipelineConfigCapability | typeof pipelineRunnerCapability | typeof pipelineOrchestratorCapability | typeof audioAnalyzerCapability | typeof audioAnalysisCapability | typeof audioCodecCapability | typeof embeddingEncoderCapability | typeof vectorStoreCapability | typeof deviceProviderCapability | typeof deviceManagerCapability | typeof deviceStateCapability | typeof authProviderCapability | typeof loginMethodCapability | typeof networkAccessCapability | typeof turnProviderCapability | typeof snapshotCapability | typeof llmCapability | typeof llmRuntimeCapability | typeof notificationOutputCapability | typeof coreBlocksCapability | typeof notificationRulesCapability | typeof pipelineAnalyticsCapability | typeof metricsProviderCapability | typeof ptzCapability | typeof ptzAutotrackCapability | typeof consumablesCapability | typeof connectionTestCapability | typeof rebootCapability | typeof deviceDiscoveryCapability | typeof brightnessCapability | typeof colorCapability | typeof climateControlCapability | typeof coverCapability | typeof valveCapability | typeof humidifierCapability | typeof waterHeaterCapability | typeof weatherCapability | typeof imageCapability | typeof lockControlCapability | typeof vacuumControlCapability | typeof petFeederCapability | typeof lawnMowerControlCapability | typeof fanControlCapability | typeof controlCapability | typeof notifierCapability | typeof mediaPlayerCapability | typeof alarmPanelCapability | typeof presenceCapability | typeof scriptRunnerCapability | typeof automationControlCapability | typeof motionTriggerCapability | typeof eventsCapability | typeof zonesCapability | typeof zoneRulesCapability | typeof zoneAnalyticsCapability | typeof audioMetricsCapability | typeof motionCapability | typeof contactCapability | typeof floodCapability | typeof smokeCapability | typeof carbonMonoxideCapability | typeof gasCapability | typeof tamperCapability | typeof vibrationCapability | typeof connectivityCapability | typeof binaryCapability | typeof temperatureSensorCapability | typeof humiditySensorCapability | typeof ambientLightSensorCapability | typeof pressureSensorCapability | typeof powerMeterCapability | typeof airQualitySensorCapability | typeof numericSensorCapability | typeof enumSensorCapability | typeof recordingCapability | typeof recordingExportCapability | typeof deviceOpsCapability | typeof platformProbeCapability | typeof localNetworkCapability | typeof meshNetworkCapability | typeof userManagementCapability | typeof systemCapability | typeof networkQualityCapability | typeof toastCapability | typeof nodesCapability | typeof serverManagementCapability | typeof integrationsCapability | typeof addonsCapability | typeof oauthIntegrationCapability | typeof streamParamsCapability | typeof streamCatalogCapability | typeof motionZonesCapability | typeof sceneMonitorCapability | typeof privacyMaskCapability | typeof dayNightCapability | typeof imageSettingsCapability | typeof osdCapability | typeof osdManagerCapability | typeof accessoriesCapability | typeof batteryCapability | typeof buttonCapability | typeof cameraCredentialsCapability | typeof deviceStatusCapability | typeof doorbellCapability | typeof eventEmitterCapability | typeof faceGalleryCapability | typeof featureProbeCapability | typeof intercomCapability | typeof nativeObjectDetectionCapability | typeof plateGalleryCapability | typeof switchCapability | typeof updateCapability | typeof videoclipsCapability;
355
357
  export type CapabilityName = AnyCapability['name'];
356
358
  export type ITypedReadinessRegistry = IReadinessRegistry<CapabilityName>;
@@ -2143,19 +2143,35 @@ export declare const pipelineAnalyticsCapability: {
2143
2143
  }, z.core.$strip>, "mutation">;
2144
2144
  /** The events ops-log rows (newest-first), optionally scoped to one camera.
2145
2145
  * Backed by a declared pipeline-analytics SQLite collection. */
2146
- /**
2147
- * Move event-media blobs onto `toLocationId` (entity-routing spec Phase
2148
- * 4): per-row copy → stamp row.locationId → delete old blob. Rows already
2149
- * at the target are skipped, so a re-run resumes. Single-flight.
2150
- */
2151
- readonly relocateMedia: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
2152
- deviceId: z.ZodOptional<z.ZodNumber>;
2146
+ /** Internal migration-participant lease. It drains active MediaStore
2147
+ * writes and refuses new ones without changing analytics bindings. */
2148
+ readonly pauseForStorageMigration: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
2149
+ leaseId: z.ZodString;
2150
+ }, z.core.$strip>, z.ZodObject<{
2151
+ paused: z.ZodLiteral<true>;
2152
+ }, z.core.$strip>, "mutation">;
2153
+ readonly resumeForStorageMigration: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
2154
+ leaseId: z.ZodString;
2155
+ }, z.core.$strip>, z.ZodObject<{
2156
+ resumed: z.ZodLiteral<true>;
2157
+ }, z.core.$strip>, "mutation">;
2158
+ /** Drops cached location roots after the storage coordinator repoints a
2159
+ * default so future event-media writes use the new root. */
2160
+ readonly refreshStorageLocationsForMigration: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
2161
+ leaseId: z.ZodString;
2162
+ }, z.core.$strip>, z.ZodObject<{
2163
+ refreshed: z.ZodLiteral<true>;
2164
+ }, z.core.$strip>, "mutation">;
2165
+ readonly startStorageMigrationMove: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
2153
2166
  toLocationId: z.ZodString;
2154
2167
  throttleMbps: z.ZodOptional<z.ZodNumber>;
2168
+ leaseId: z.ZodString;
2155
2169
  }, z.core.$strip>, z.ZodObject<{
2156
2170
  jobId: z.ZodString;
2157
2171
  }, z.core.$strip>, "mutation">;
2158
- readonly getMediaRelocateStatus: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
2172
+ readonly getStorageMigrationMoveStatus: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
2173
+ jobId: z.ZodString;
2174
+ }, z.core.$strip>, z.ZodNullable<z.ZodObject<{
2159
2175
  jobId: z.ZodString;
2160
2176
  state: z.ZodEnum<{
2161
2177
  done: "done";
@@ -2173,8 +2189,8 @@ export declare const pipelineAnalyticsCapability: {
2173
2189
  startedAt: z.ZodNumber;
2174
2190
  finishedAt: z.ZodNullable<z.ZodNumber>;
2175
2191
  error: z.ZodNullable<z.ZodString>;
2176
- }, z.core.$strip>>>, "query">;
2177
- readonly cancelMediaRelocate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
2192
+ }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
2193
+ readonly cancelStorageMigrationMove: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
2178
2194
  jobId: z.ZodString;
2179
2195
  }, z.core.$strip>, z.ZodObject<{
2180
2196
  cancelled: z.ZodBoolean;
@@ -583,6 +583,18 @@ export declare const pipelineOrchestratorCapability: {
583
583
  readonly nodeIdMode: "data";
584
584
  readonly exposesDeviceSettings: true;
585
585
  readonly methods: {
586
+ /** Internal storage-migration participant lease. While held, dispatch
587
+ * requests are accepted as pending but no new runner attachment starts. */
588
+ readonly pauseForStorageMigration: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
589
+ leaseId: z.ZodString;
590
+ }, z.core.$strip>, z.ZodObject<{
591
+ paused: z.ZodLiteral<true>;
592
+ }, z.core.$strip>, "mutation">;
593
+ readonly resumeForStorageMigration: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
594
+ leaseId: z.ZodString;
595
+ }, z.core.$strip>, z.ZodObject<{
596
+ resumed: z.ZodLiteral<true>;
597
+ }, z.core.$strip>, "mutation">;
586
598
  /**
587
599
  * Pin a camera's pipeline to a specific agent (L1 affinity).
588
600
  * The orchestrator re-evaluates the assignment immediately and persists
@@ -437,12 +437,6 @@ export declare const recordingCapability: {
437
437
  detail: z.ZodNullable<z.ZodString>;
438
438
  actor: z.ZodString;
439
439
  }, z.core.$strip>>>, "query">;
440
- /**
441
- * Move footage (recorded segments) from one recordings location to
442
- * another — the drain workflow's mover (entity-routing spec Phase 4).
443
- * Throttled copy → size-verify → delete source → index refresh; resumable
444
- * by construction (copy-if-absent). Single-flight: one job at a time.
445
- */
446
440
  /**
447
441
  * Render a short GIF from recorded footage around `aroundMs` (low profile,
448
442
  * palette-free ffmpeg gif). Synchronous — the window is a few seconds of
@@ -489,19 +483,43 @@ export declare const recordingCapability: {
489
483
  toMs: z.ZodNumber;
490
484
  bytes: z.ZodNumber;
491
485
  }, z.core.$strip>, "mutation">;
492
- readonly relocateFootage: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
493
- deviceId: z.ZodOptional<z.ZodNumber>;
486
+ /** Internal migration-participant lease. Blocks new recorder attaches and
487
+ * waits for writers to exit while their watchers index final segments. */
488
+ readonly pauseForStorageMigration: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
489
+ leaseId: z.ZodString;
490
+ }, z.core.$strip>, z.ZodObject<{
491
+ paused: z.ZodLiteral<true>;
492
+ }, z.core.$strip>, "mutation">;
493
+ readonly resumeForStorageMigration: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
494
+ leaseId: z.ZodString;
495
+ }, z.core.$strip>, z.ZodObject<{
496
+ resumed: z.ZodLiteral<true>;
497
+ }, z.core.$strip>, "mutation">;
498
+ /** Re-resolve location roots after the coordinator changes defaults. */
499
+ readonly refreshStorageLocationsForMigration: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
500
+ leaseId: z.ZodString;
501
+ }, z.core.$strip>, z.ZodObject<{
502
+ refreshed: z.ZodLiteral<true>;
503
+ }, z.core.$strip>, "mutation">;
504
+ /** Internal mover, callable only by the storage-migration coordinator. */
505
+ readonly startStorageMigrationMove: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
494
506
  fromLocationId: z.ZodString;
495
507
  toLocationId: z.ZodString;
496
508
  entities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
497
509
  segments: "segments";
498
510
  }>>>;
511
+ footageClass: z.ZodOptional<z.ZodEnum<{
512
+ recordings: "recordings";
513
+ recordingsLow: "recordingsLow";
514
+ }>>;
499
515
  throttleMbps: z.ZodOptional<z.ZodNumber>;
516
+ leaseId: z.ZodString;
500
517
  }, z.core.$strip>, z.ZodObject<{
501
518
  jobId: z.ZodString;
502
519
  }, z.core.$strip>, "mutation">;
503
- /** Every known relocate job (in-RAM, newest-first). */
504
- readonly getRelocateStatus: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
520
+ readonly getStorageMigrationMoveStatus: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
521
+ jobId: z.ZodString;
522
+ }, z.core.$strip>, z.ZodNullable<z.ZodObject<{
505
523
  jobId: z.ZodString;
506
524
  state: z.ZodEnum<{
507
525
  done: "done";
@@ -519,8 +537,8 @@ export declare const recordingCapability: {
519
537
  startedAt: z.ZodNumber;
520
538
  finishedAt: z.ZodNullable<z.ZodNumber>;
521
539
  error: z.ZodNullable<z.ZodString>;
522
- }, z.core.$strip>>>, "query">;
523
- readonly cancelRelocate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
540
+ }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
541
+ readonly cancelStorageMigrationMove: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
524
542
  jobId: z.ZodString;
525
543
  }, z.core.$strip>, z.ZodObject<{
526
544
  cancelled: z.ZodBoolean;
@@ -0,0 +1,105 @@
1
+ import { z } from 'zod';
2
+ import { type InferProvider } from './capability-definition.js';
3
+ /**
4
+ * The single operator-facing storage migration surface. It coordinates the
5
+ * pipeline, recorder and post-analysis participants; callers never mutate a
6
+ * camera recording config or invoke an individual mover directly.
7
+ */
8
+ export declare const storageMigrationCapability: {
9
+ readonly name: "storage-migration";
10
+ readonly scope: "system";
11
+ readonly mode: "singleton";
12
+ readonly methods: {
13
+ readonly plan: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
14
+ destinations: z.ZodObject<{
15
+ recordings: z.ZodOptional<z.ZodString>;
16
+ recordingsLow: z.ZodOptional<z.ZodString>;
17
+ eventMedia: z.ZodOptional<z.ZodString>;
18
+ }, z.core.$strip>;
19
+ throttleMbps: z.ZodOptional<z.ZodNumber>;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ destinations: z.ZodObject<{
22
+ recordings: z.ZodOptional<z.ZodString>;
23
+ recordingsLow: z.ZodOptional<z.ZodString>;
24
+ eventMedia: z.ZodOptional<z.ZodString>;
25
+ }, z.core.$strip>;
26
+ moves: z.ZodArray<z.ZodObject<{
27
+ storageClass: z.ZodEnum<{
28
+ recordings: "recordings";
29
+ recordingsLow: "recordingsLow";
30
+ eventMedia: "eventMedia";
31
+ }>;
32
+ fromLocationId: z.ZodString;
33
+ toLocationId: z.ZodString;
34
+ }, z.core.$strip>>;
35
+ }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
36
+ readonly start: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
37
+ destinations: z.ZodObject<{
38
+ recordings: z.ZodOptional<z.ZodString>;
39
+ recordingsLow: z.ZodOptional<z.ZodString>;
40
+ eventMedia: z.ZodOptional<z.ZodString>;
41
+ }, z.core.$strip>;
42
+ throttleMbps: z.ZodOptional<z.ZodNumber>;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ jobId: z.ZodString;
45
+ }, z.core.$strip>, "mutation">;
46
+ readonly status: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
47
+ jobId: z.ZodOptional<z.ZodString>;
48
+ }, z.core.$strip>, z.ZodNullable<z.ZodObject<{
49
+ jobId: z.ZodString;
50
+ phase: z.ZodEnum<{
51
+ done: "done";
52
+ failed: "failed";
53
+ cancelled: "cancelled";
54
+ moving: "moving";
55
+ verifying: "verifying";
56
+ planning: "planning";
57
+ pausing: "pausing";
58
+ repointing: "repointing";
59
+ refreshing: "refreshing";
60
+ resuming: "resuming";
61
+ }>;
62
+ destinations: z.ZodObject<{
63
+ recordings: z.ZodOptional<z.ZodString>;
64
+ recordingsLow: z.ZodOptional<z.ZodString>;
65
+ eventMedia: z.ZodOptional<z.ZodString>;
66
+ }, z.core.$strip>;
67
+ throttleMbps: z.ZodNumber;
68
+ moves: z.ZodArray<z.ZodObject<{
69
+ storageClass: z.ZodEnum<{
70
+ recordings: "recordings";
71
+ recordingsLow: "recordingsLow";
72
+ eventMedia: "eventMedia";
73
+ }>;
74
+ fromLocationId: z.ZodString;
75
+ toLocationId: z.ZodString;
76
+ moverJobId: z.ZodNullable<z.ZodString>;
77
+ state: z.ZodNullable<z.ZodEnum<{
78
+ done: "done";
79
+ failed: "failed";
80
+ running: "running";
81
+ cancelled: "cancelled";
82
+ }>>;
83
+ error: z.ZodNullable<z.ZodString>;
84
+ }, z.core.$strip>>;
85
+ pauseLeaseId: z.ZodNullable<z.ZodString>;
86
+ pausedParticipants: z.ZodArray<z.ZodEnum<{
87
+ pipeline: "pipeline";
88
+ recorder: "recorder";
89
+ analytics: "analytics";
90
+ }>>;
91
+ repointed: z.ZodBoolean;
92
+ cancelRequested: z.ZodBoolean;
93
+ startedAt: z.ZodNumber;
94
+ updatedAt: z.ZodNumber;
95
+ finishedAt: z.ZodNullable<z.ZodNumber>;
96
+ error: z.ZodNullable<z.ZodString>;
97
+ }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
98
+ readonly cancel: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
99
+ jobId: z.ZodString;
100
+ }, z.core.$strip>, z.ZodObject<{
101
+ cancelled: z.ZodBoolean;
102
+ }, z.core.$strip>, "mutation">;
103
+ };
104
+ };
105
+ export type IStorageMigrationProvider = InferProvider<typeof storageMigrationCapability>;
@@ -27,6 +27,27 @@ declare const TerminalProfileInfoSchema: z.ZodObject<{
27
27
  label: z.ZodString;
28
28
  description: z.ZodOptional<z.ZodString>;
29
29
  }, z.core.$strip>;
30
+ /**
31
+ * A durable operator-created Terminal instance. Profiles are templates; only
32
+ * an instance declares a camera.
33
+ */
34
+ declare const TerminalInstanceInfoSchema: z.ZodObject<{
35
+ instanceId: z.ZodString;
36
+ cameraStableId: z.ZodString;
37
+ nodeId: z.ZodString;
38
+ profileId: z.ZodString;
39
+ profileLabel: z.ZodString;
40
+ name: z.ZodString;
41
+ enabled: z.ZodBoolean;
42
+ }, z.core.$strip>;
43
+ declare const TerminalLegacyCameraSchema: z.ZodObject<{
44
+ stableId: z.ZodString;
45
+ nodeId: z.ZodString;
46
+ profileId: z.ZodString;
47
+ profileLabel: z.ZodString;
48
+ name: z.ZodString;
49
+ adoptable: z.ZodBoolean;
50
+ }, z.core.$strip>;
30
51
  declare const TerminalOutputEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
31
52
  seq: z.ZodNumber;
32
53
  kind: z.ZodLiteral<"data">;
@@ -55,10 +76,9 @@ declare const TerminalOutputBatchSchema: z.ZodObject<{
55
76
  /**
56
77
  * terminal-session — singleton system capability for interactive TTY sessions.
57
78
  *
58
- * Phase 1 (this cap): open/resize/close/list a pty running an allowlisted
59
- * profile, streamed to xterm.js over the data plane. Phase 2 (streaming a
60
- * session as a camera) is a separate device-provider concern and does not
61
- * change this contract.
79
+ * Owns both live PTY lifecycle and durable Terminal instance management.
80
+ * Profiles are allowlisted templates; an explicit instance is the only path
81
+ * that declares a camera.
62
82
  */
63
83
  export declare const terminalSessionCapability: {
64
84
  readonly name: "terminal-session";
@@ -71,6 +91,66 @@ export declare const terminalSessionCapability: {
71
91
  label: z.ZodString;
72
92
  description: z.ZodOptional<z.ZodString>;
73
93
  }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
94
+ /** Explicit durable Terminal instances, managed centrally on the hub. */
95
+ readonly listInstances: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
96
+ instanceId: z.ZodString;
97
+ cameraStableId: z.ZodString;
98
+ nodeId: z.ZodString;
99
+ profileId: z.ZodString;
100
+ profileLabel: z.ZodString;
101
+ name: z.ZodString;
102
+ enabled: z.ZodBoolean;
103
+ }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
104
+ readonly createInstance: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
105
+ targetNodeId: z.ZodString;
106
+ profileId: z.ZodString;
107
+ name: z.ZodOptional<z.ZodString>;
108
+ }, z.core.$strip>, z.ZodObject<{
109
+ instanceId: z.ZodString;
110
+ cameraStableId: z.ZodString;
111
+ nodeId: z.ZodString;
112
+ profileId: z.ZodString;
113
+ profileLabel: z.ZodString;
114
+ name: z.ZodString;
115
+ enabled: z.ZodBoolean;
116
+ }, z.core.$strip>, "mutation">;
117
+ readonly deleteInstance: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
118
+ instanceId: z.ZodString;
119
+ }, z.core.$strip>, z.ZodVoid, "mutation">;
120
+ readonly setInstanceEnabled: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
121
+ instanceId: z.ZodString;
122
+ enabled: z.ZodBoolean;
123
+ }, z.core.$strip>, z.ZodObject<{
124
+ instanceId: z.ZodString;
125
+ cameraStableId: z.ZodString;
126
+ nodeId: z.ZodString;
127
+ profileId: z.ZodString;
128
+ profileLabel: z.ZodString;
129
+ name: z.ZodString;
130
+ enabled: z.ZodBoolean;
131
+ }, z.core.$strip>, "mutation">;
132
+ /** Existing automatic cameras are shown for explicit migration only. */
133
+ readonly listLegacyCameras: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
134
+ stableId: z.ZodString;
135
+ nodeId: z.ZodString;
136
+ profileId: z.ZodString;
137
+ profileLabel: z.ZodString;
138
+ name: z.ZodString;
139
+ adoptable: z.ZodBoolean;
140
+ }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
141
+ /** Explicitly adopt one legacy monitor camera, retaining its stable id. */
142
+ readonly adoptLegacyMonitor: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
143
+ stableId: z.ZodString;
144
+ name: z.ZodOptional<z.ZodString>;
145
+ }, z.core.$strip>, z.ZodObject<{
146
+ instanceId: z.ZodString;
147
+ cameraStableId: z.ZodString;
148
+ nodeId: z.ZodString;
149
+ profileId: z.ZodString;
150
+ profileLabel: z.ZodString;
151
+ name: z.ZodString;
152
+ enabled: z.ZodBoolean;
153
+ }, z.core.$strip>, "mutation">;
74
154
  /** Live sessions currently hosted by the provider. */
75
155
  readonly listSessions: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
76
156
  sessionId: z.ZodString;
@@ -111,6 +191,7 @@ export declare const terminalSessionCapability: {
111
191
  sessionId: z.ZodString;
112
192
  afterSeq: z.ZodNumber;
113
193
  waitMs: z.ZodDefault<z.ZodNumber>;
194
+ waitForOutput: z.ZodOptional<z.ZodBoolean>;
114
195
  }, z.core.$strip>, z.ZodObject<{
115
196
  cursor: z.ZodNumber;
116
197
  reset: z.ZodBoolean;
@@ -140,6 +221,8 @@ export declare const terminalSessionCapability: {
140
221
  export type ITerminalSessionProvider = InferProvider<typeof terminalSessionCapability>;
141
222
  export type TerminalSessionInfo = z.infer<typeof TerminalSessionInfoSchema>;
142
223
  export type TerminalProfileInfo = z.infer<typeof TerminalProfileInfoSchema>;
224
+ export type TerminalInstanceInfo = z.infer<typeof TerminalInstanceInfoSchema>;
225
+ export type TerminalLegacyCamera = z.infer<typeof TerminalLegacyCameraSchema>;
143
226
  export type TerminalOutputEvent = z.infer<typeof TerminalOutputEventSchema>;
144
227
  export type TerminalOutputBatch = z.infer<typeof TerminalOutputBatchSchema>;
145
- export { TerminalSessionInfoSchema, TerminalProfileInfoSchema, TerminalOutputEventSchema, TerminalOutputBatchSchema, };
228
+ export { TerminalInstanceInfoSchema, TerminalLegacyCameraSchema, TerminalOutputBatchSchema, TerminalOutputEventSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, };