@camstack/types 1.2.364 → 1.2.366
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 +3 -2
- package/dist/addon.mjs +3 -2
- package/dist/auth/device-certificate.d.ts +372 -0
- package/dist/auth/request-origin.d.ts +43 -0
- package/dist/capabilities/air-quality-sensor.cap.d.ts +32 -0
- package/dist/capabilities/alarm-panel.cap.d.ts +4 -0
- package/dist/capabilities/ambient-light-sensor.cap.d.ts +13 -0
- package/dist/capabilities/audio-metrics.cap.d.ts +4 -0
- package/dist/capabilities/automation-control.cap.d.ts +4 -0
- package/dist/capabilities/battery.cap.d.ts +11 -0
- package/dist/capabilities/binary.cap.d.ts +10 -0
- package/dist/capabilities/brightness.cap.d.ts +12 -0
- package/dist/capabilities/camera-streams.cap.d.ts +4 -0
- package/dist/capabilities/capability-definition.d.ts +70 -0
- package/dist/capabilities/carbon-monoxide.cap.d.ts +10 -0
- package/dist/capabilities/climate-control.cap.d.ts +32 -0
- package/dist/capabilities/color.cap.d.ts +4 -0
- package/dist/capabilities/connectivity.cap.d.ts +4 -0
- package/dist/capabilities/consumables.cap.d.ts +4 -0
- package/dist/capabilities/contact.cap.d.ts +10 -0
- package/dist/capabilities/control.cap.d.ts +4 -0
- package/dist/capabilities/cover.cap.d.ts +12 -0
- package/dist/capabilities/day-night.cap.d.ts +4 -0
- package/dist/capabilities/device-credentials.cap.d.ts +174 -0
- package/dist/capabilities/device-discovery.cap.d.ts +4 -0
- package/dist/capabilities/device-status.cap.d.ts +10 -0
- package/dist/capabilities/doorbell.cap.d.ts +4 -0
- package/dist/capabilities/enum-sensor.cap.d.ts +4 -0
- package/dist/capabilities/event-emitter.cap.d.ts +4 -0
- package/dist/capabilities/fan-control.cap.d.ts +15 -0
- package/dist/capabilities/feature-probe.cap.d.ts +4 -0
- package/dist/capabilities/flood.cap.d.ts +10 -0
- package/dist/capabilities/gas.cap.d.ts +10 -0
- package/dist/capabilities/humidifier.cap.d.ts +15 -0
- package/dist/capabilities/humidity-sensor.cap.d.ts +12 -0
- package/dist/capabilities/image-settings.cap.d.ts +4 -0
- package/dist/capabilities/image.cap.d.ts +4 -0
- package/dist/capabilities/index.d.ts +7 -3
- package/dist/capabilities/intercom.cap.d.ts +4 -0
- package/dist/capabilities/lawn-mower-control.cap.d.ts +12 -0
- package/dist/capabilities/lock-control.cap.d.ts +4 -0
- package/dist/capabilities/media-player.cap.d.ts +4 -0
- package/dist/capabilities/motion-trigger.cap.d.ts +4 -0
- package/dist/capabilities/motion-zones.cap.d.ts +4 -0
- package/dist/capabilities/motion.cap.d.ts +11 -0
- package/dist/capabilities/native-object-detection.cap.d.ts +4 -0
- package/dist/capabilities/navigation.cap.d.ts +4 -0
- package/dist/capabilities/network-link.cap.d.ts +19 -0
- package/dist/capabilities/node-certificates.cap.d.ts +128 -0
- package/dist/capabilities/notifier.cap.d.ts +4 -0
- package/dist/capabilities/numeric-sensor.cap.d.ts +12 -0
- package/dist/capabilities/pet-feeder.cap.d.ts +25 -0
- package/dist/capabilities/power-meter.cap.d.ts +43 -0
- package/dist/capabilities/presence.cap.d.ts +12 -0
- package/dist/capabilities/pressure-sensor.cap.d.ts +12 -0
- package/dist/capabilities/privacy-mask.cap.d.ts +4 -0
- package/dist/capabilities/ptz-autotrack.cap.d.ts +4 -0
- package/dist/capabilities/recording-onboard.cap.d.ts +4 -0
- package/dist/capabilities/recording-signal.cap.d.ts +4 -0
- package/dist/capabilities/scene-monitor.cap.d.ts +4 -0
- package/dist/capabilities/script-runner.cap.d.ts +4 -0
- package/dist/capabilities/smoke.cap.d.ts +10 -0
- package/dist/capabilities/stream-catalog.cap.d.ts +4 -0
- package/dist/capabilities/stream-params.cap.d.ts +4 -0
- package/dist/capabilities/stream-signals.cap.d.ts +4 -0
- package/dist/capabilities/switch.cap.d.ts +10 -0
- package/dist/capabilities/tamper.cap.d.ts +10 -0
- package/dist/capabilities/temperature-sensor.cap.d.ts +12 -0
- package/dist/capabilities/update.cap.d.ts +4 -0
- package/dist/capabilities/vacuum-control.cap.d.ts +32 -0
- package/dist/capabilities/valve.cap.d.ts +12 -0
- package/dist/capabilities/vibration.cap.d.ts +10 -0
- package/dist/capabilities/water-heater.cap.d.ts +17 -0
- package/dist/capabilities/weather.cap.d.ts +27 -0
- package/dist/capabilities/zone-analytics.cap.d.ts +4 -0
- package/dist/capabilities/zone-rules.cap.d.ts +4 -0
- package/dist/capabilities/zones.cap.d.ts +4 -0
- package/dist/client.d.ts +1 -1
- package/dist/client.js +255 -0
- package/dist/client.mjs +245 -1
- package/dist/generated/addon-api.d.ts +797 -4
- package/dist/generated/cap-input-defaults.d.ts +1 -1
- package/dist/generated/capability-router-map.d.ts +8 -2
- package/dist/generated/history-catalog.d.ts +11 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +2 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1574 -34
- package/dist/index.mjs +1522 -35
- package/dist/interfaces/auth.d.ts +6 -0
- package/dist/{sleep-BBF1iXUi.mjs → sleep-DxJdzHni.mjs} +26 -1
- package/dist/{sleep-BBXNq778.js → sleep-NZlEFYGX.js} +37 -0
- package/package.json +1 -1
|
@@ -36,8 +36,8 @@ export { BrokerAddInputSchema, BrokerGetStateInputSchema, type BrokerInfo, type
|
|
|
36
36
|
export { cameraPipelineConfigCapability, type ICameraPipelineConfigProvider, } from './camera-pipeline-config.cap.js';
|
|
37
37
|
export { cameraStreamsCapability, type ICameraStreamsProvider, type PickedCamStream, PickedCamStreamSchema, type PickStreamPreferences, PickStreamPreferencesSchema, type PickStreamRequirements, PickStreamRequirementsSchema, type StreamCodec, StreamCodecSchema, } from './camera-streams.cap.js';
|
|
38
38
|
export { emitsCollectionSelector, extractNestedAddonId, isArrayOutputSchema, isCollectionArrayMethod, isObjectInput, isVoidInput, kebabToCamel, looseSchema, objectInputDeclaresAddonId, objectInputDeclaresRequiredDeviceId, procedureAuthKey, resolveMethodAuth, } from './cap-router-predicates.js';
|
|
39
|
-
export type { CapabilityDefinition, CapabilityEventSchema, CapabilityMethodAuth, CapabilityMethodCaller, CapabilityMethodKind, CapabilityMethodOptions, CapabilityMethodSchema, CapabilityMountHint, CapabilityMountKind, CapabilityStatusItemArray, CapabilityStatusKind, CapabilityStatusSchema, CapCaller, DeviceConfigDerivedFormUi, DeviceConfigSpec, DeviceConfigUiSpec, DeviceConfigWidgetUi, DeviceSettingsContribution, InferDeviceProxyCap, InferEvents, InferName, InferNativeProvider, InferProvider, InferRuntimeState, ProviderKind, RuntimeStateDurability, UiContribution, UiContributionKind, UiContributionRemote, } from './capability-definition.js';
|
|
40
|
-
export { DEFAULT_RUNTIME_STATE_DURABILITY, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, event, expandCapMethods, isDeviceConfigCap, method, optionalMethod, PROVIDER_PIN_FIELD, resolveCapMount, } from './capability-definition.js';
|
|
39
|
+
export type { CapabilityDefinition, CapabilityEventSchema, CapabilityMethodAuth, CapabilityMethodCaller, CapabilityMethodKind, CapabilityMethodOptions, CapabilityMethodSchema, CapabilityMountHint, CapabilityMountKind, CapabilityStatusItemArray, CapabilityStatusKind, CapabilityStatusSchema, CapCaller, DeviceConfigDerivedFormUi, DeviceConfigSpec, DeviceConfigUiSpec, DeviceConfigWidgetUi, DeviceSettingsContribution, InferDeviceProxyCap, InferEvents, InferName, InferNativeProvider, InferProvider, InferRuntimeState, CapabilityHistory, CapabilityHistoryField, HistoryUnit, ProviderKind, RuntimeStateDurability, UiContribution, UiContributionKind, UiContributionRemote, } from './capability-definition.js';
|
|
40
|
+
export { DEFAULT_RUNTIME_STATE_DURABILITY, HISTORY_DEFAULT_MIN_INTERVAL_MS, HISTORY_UNIT_LABELS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, event, expandCapMethods, isDeviceConfigCap, method, optionalMethod, PROVIDER_PIN_FIELD, resolveCapMount, } from './capability-definition.js';
|
|
41
41
|
export { COMPOSER_RUNNER_ID, type ComposerApplyInput, ComposerApplyInputSchema, type ComposerApplyResult, ComposerApplyResultSchema, type ComposerBlock, ComposerBlockSchema, type ComposerBlockVerdict, ComposerBlockVerdictSchema, type ComposerUnreadableBlock, ComposerUnreadableBlockSchema, composerCapability, type IComposerProvider, } from './composer.cap.js';
|
|
42
42
|
export { CORE_BLOCK_ADDON_PREFIX, CORE_BLOCKS_ADDON_ID, type CompositionBlockInput, CompositionBlockInputSchema, type CompositionBlockPatch, type CompositionCustomizationRead, CompositionCustomizationReadSchema, type CompositionGetRead, CompositionGetReadSchema, type CompositionListRead, CompositionListReadSchema, type CompositionStateRead, CompositionStateReadSchema, type CompositionView, CompositionViewSchema, type CoreBlock, type CoreBlockCompileInput, CoreBlockCompileInputSchema, type CoreBlockCompileResult, CoreBlockCompileResultSchema, type CoreBlockFiles, CoreBlockFilesSchema, type CoreBlockInput, CoreBlockInputFieldsSchema, CoreBlockInputSchema, type CoreBlockPlacement, CoreBlockPlacementSchema, CoreBlockSchema, type CoreBlockSource, type CoreBlockSourceKind, CoreBlockSourceSchema, type CoreBlockStatus, CoreBlockStatusSchema, coreBlockAddonId, coreBlockComposition, coreBlockIdFromAddonId, coreBlockSourceKind, coreBlocksCapability, DEFAULT_CORE_BLOCK_ENTRY, type ICoreBlocksProvider, normalizeCoreBlockWrite, resolveCoreBlockEntry, resolveCoreBlockFiles, } from './core-blocks.cap.js';
|
|
43
43
|
export * from './custom-actions.js';
|
|
@@ -46,6 +46,8 @@ export { CustomModelDescriptorSchema, customModelRegistryCapability, ImportModel
|
|
|
46
46
|
export { type DataStoreEngineInfo, dataStoreProviderCapability, EngineInfoSchema as DataStoreEngineInfoSchema, type IDataStoreProvider, } from './data-store-provider.cap.js';
|
|
47
47
|
export { type ArchiveSqliteSnapshot, ArchiveSqliteSnapshotSchema, DATABASE_SNAPSHOT_PARTIAL_SUFFIX, DATABASE_SNAPSHOT_SUFFIX, DATABASE_SNAPSHOT_TIMEOUT_MS, type DatabaseSnapshotRequest, DatabaseSnapshotRequestSchema, type DatabaseSnapshotResult, DatabaseSnapshotResultSchema, type DatabaseSnapshotTable, DatabaseSnapshotTableSchema, type DatabaseSnapshotTargets, DatabaseSnapshotTargetsSchema, type DatabaseSnapshotWritten, DatabaseSnapshotWrittenSchema, databaseSnapshotCapability, type IDatabaseSnapshotProvider, } from './database-snapshot.cap.js';
|
|
48
48
|
export { type IKeychainProvider, KEYCHAIN_MAX_REFS_PER_CALL, type KeychainResolveEntry, KeychainResolveEntrySchema, type KeychainResolveResult, KeychainResolveResultSchema, type KeychainSecretMeta, KeychainSecretMetaSchema, type KeychainState, KeychainStateSchema, type KeychainUnavailableReason, KeychainUnavailableReasonSchema, keychainCapability, } from './keychain.cap.js';
|
|
49
|
+
export { type DeviceCaStatus, DeviceCaStatusSchema, type DeviceCertificateSettings, DeviceCertificateSettingsSchema, deviceCredentialsCapability, type IDeviceCredentialsProvider, } from './device-credentials.cap.js';
|
|
50
|
+
export { type HttpsLeafInfo, HttpsLeafInfoSchema, type INodeCertificatesProvider, type MeshLeafInfo, MeshLeafInfoSchema, type NodeHttpsState, NodeHttpsStateSchema, nodeCertificatesCapability, } from './node-certificates.cap.js';
|
|
49
51
|
export { type IKeychainAdminProvider, KEYCHAIN_RESET_CONFIRMATION, type KeychainAdminSecret, KeychainAdminSecretSchema, type KeychainAuditAction, KeychainAuditActionSchema, type KeychainAuditEntry, KeychainAuditEntrySchema, type KeychainKeySource, type KeychainKeySourceKind, KeychainKeySourceKindSchema, KeychainKeySourceSchema, KEYCHAIN_RESET_TRIGGER_ACTOR, type KeychainResetRecord, KeychainResetRecordSchema, type KeychainSecretUsage, KeychainSecretUsageSchema, type KeychainStatus, KeychainStatusSchema, keychainAdminCapability, type SystemHeldSecretName, SystemHeldSecretNameSchema, } from './keychain-admin.cap.js';
|
|
50
52
|
export type { DecoderHwAccelConfig, HwAccelChoice, IDecoderCapProvider, } from './decoder.cap.js';
|
|
51
53
|
export { DEFAULT_DECODER_HWACCEL_CONFIG, decoderCapability, HWACCEL_OPTIONS, } from './decoder.cap.js';
|
|
@@ -286,6 +288,8 @@ import type { dataStoreProviderCapability } from './data-store-provider.cap.js';
|
|
|
286
288
|
import type { databaseSnapshotCapability } from './database-snapshot.cap.js';
|
|
287
289
|
import type { keychainCapability } from './keychain.cap.js';
|
|
288
290
|
import type { keychainAdminCapability } from './keychain-admin.cap.js';
|
|
291
|
+
import type { deviceCredentialsCapability } from './device-credentials.cap.js';
|
|
292
|
+
import type { nodeCertificatesCapability } from './node-certificates.cap.js';
|
|
289
293
|
import type { dayNightCapability } from './day-night.cap.js';
|
|
290
294
|
import type { decoderCapability } from './decoder.cap.js';
|
|
291
295
|
import type { detectionPipelineCapability } from './detection-pipeline.cap.js';
|
|
@@ -409,6 +413,6 @@ import type { trainingProviderCapability } from './training-provider.cap.js';
|
|
|
409
413
|
import type { zoneAnalyticsCapability } from './zone-analytics.cap.js';
|
|
410
414
|
import type { zoneRulesCapability } from './zone-rules.cap.js';
|
|
411
415
|
import type { zonesCapability } from './zones.cap.js';
|
|
412
|
-
type AnyCapability = typeof streamSignalsCapability | typeof addonSettingsCapability | typeof alertsCapability | typeof storageCapability | typeof storageMigrationCapability | typeof storageProviderCapability | typeof storageEvictableCapability | typeof storageOccupancyCapability | typeof filesystemBrowseCapability | typeof backupCapability | typeof terminalSessionCapability | typeof settingsStoreCapability | typeof dataStoreProviderCapability | typeof databaseSnapshotCapability | typeof keychainCapability | typeof keychainAdminCapability | typeof logChannelsCapability | typeof logDestinationCapability | typeof loadContributionCapability | typeof failureContributionCapability | typeof adminUiCapability | typeof viewerUiCapability | typeof ssoBridgeCapability | typeof userPasskeysCapability | typeof smtpProviderCapability | typeof mqttBrokerCapability | typeof brokerCapability | typeof deviceAdoptionCapability | typeof deviceAdminLinkCapability | 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 calendarSourceCapability | typeof calendarsCapability | 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 composerCapability | typeof coreBlocksCapability | typeof notificationRulesCapability | typeof pipelineAnalyticsCapability | typeof metricsProviderCapability | typeof ptzCapability | typeof ptzAutotrackCapability | typeof navigationCapability | 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 zonesCapability | typeof zoneRulesCapability | typeof trainingCapability | typeof trainingProviderCapability | 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 recordingArchiveCapability | typeof recordingExportCapability | typeof recordingSignalCapability | 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 oidcConnectionsCapability | typeof streamParamsCapability | typeof streamCatalogCapability | typeof motionZonesCapability | typeof cameraGridLayoutCapability | typeof sceneMonitorCapability | typeof privacyMaskCapability | typeof dayNightCapability | typeof recordingOnboardCapability | typeof imageSettingsCapability | typeof osdCapability | typeof osdManagerCapability | typeof accessoriesCapability | typeof batteryCapability | typeof networkLinkCapability | 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 | typeof deviceExtensionCapability;
|
|
416
|
+
type AnyCapability = typeof streamSignalsCapability | typeof addonSettingsCapability | typeof alertsCapability | typeof storageCapability | typeof storageMigrationCapability | typeof storageProviderCapability | typeof storageEvictableCapability | typeof storageOccupancyCapability | typeof filesystemBrowseCapability | typeof backupCapability | typeof terminalSessionCapability | typeof settingsStoreCapability | typeof dataStoreProviderCapability | typeof databaseSnapshotCapability | typeof keychainCapability | typeof keychainAdminCapability | typeof deviceCredentialsCapability | typeof nodeCertificatesCapability | typeof logChannelsCapability | typeof logDestinationCapability | typeof loadContributionCapability | typeof failureContributionCapability | typeof adminUiCapability | typeof viewerUiCapability | typeof ssoBridgeCapability | typeof userPasskeysCapability | typeof smtpProviderCapability | typeof mqttBrokerCapability | typeof brokerCapability | typeof deviceAdoptionCapability | typeof deviceAdminLinkCapability | 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 calendarSourceCapability | typeof calendarsCapability | 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 composerCapability | typeof coreBlocksCapability | typeof notificationRulesCapability | typeof pipelineAnalyticsCapability | typeof metricsProviderCapability | typeof ptzCapability | typeof ptzAutotrackCapability | typeof navigationCapability | 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 zonesCapability | typeof zoneRulesCapability | typeof trainingCapability | typeof trainingProviderCapability | 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 recordingArchiveCapability | typeof recordingExportCapability | typeof recordingSignalCapability | 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 oidcConnectionsCapability | typeof streamParamsCapability | typeof streamCatalogCapability | typeof motionZonesCapability | typeof cameraGridLayoutCapability | typeof sceneMonitorCapability | typeof privacyMaskCapability | typeof dayNightCapability | typeof recordingOnboardCapability | typeof imageSettingsCapability | typeof osdCapability | typeof osdManagerCapability | typeof accessoriesCapability | typeof batteryCapability | typeof networkLinkCapability | 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 | typeof deviceExtensionCapability;
|
|
413
417
|
export type CapabilityName = AnyCapability['name'];
|
|
414
418
|
export type ITypedReadinessRegistry = IReadinessRegistry<CapabilityName>;
|
|
@@ -250,5 +250,9 @@ export declare const intercomCapability: {
|
|
|
250
250
|
* `scripts/check-runtime-state-durability.ts`.
|
|
251
251
|
*/
|
|
252
252
|
readonly durability: 'session';
|
|
253
|
+
/**
|
|
254
|
+
* History (D850): none — talk sessions are a ledger concern, not a trend.
|
|
255
|
+
*/
|
|
256
|
+
readonly history: 'none';
|
|
253
257
|
};
|
|
254
258
|
export type IIntercomProvider = InferProvider<typeof intercomCapability>;
|
|
@@ -116,5 +116,17 @@ export declare const lawnMowerControlCapability: {
|
|
|
116
116
|
* `scripts/check-runtime-state-durability.ts`.
|
|
117
117
|
*/
|
|
118
118
|
readonly durability: 'session';
|
|
119
|
+
/**
|
|
120
|
+
* History (D850): recorded series.
|
|
121
|
+
*/
|
|
122
|
+
readonly history: {
|
|
123
|
+
readonly fields: {
|
|
124
|
+
readonly batteryLevel: {
|
|
125
|
+
readonly kind: 'gauge';
|
|
126
|
+
readonly unit: '%';
|
|
127
|
+
readonly deadband: 2;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
};
|
|
119
131
|
};
|
|
120
132
|
export type ILawnMowerControlProvider = InferProvider<typeof lawnMowerControlCapability>;
|
|
@@ -94,6 +94,10 @@ export declare const lockControlCapability: {
|
|
|
94
94
|
* `scripts/check-runtime-state-durability.ts`.
|
|
95
95
|
*/
|
|
96
96
|
readonly durability: 'restored';
|
|
97
|
+
/**
|
|
98
|
+
* History (D850): none — enum state; lock events belong in the events ledger.
|
|
99
|
+
*/
|
|
100
|
+
readonly history: 'none';
|
|
97
101
|
/** Clock fields: written, but excluded from the compare that decides
|
|
98
102
|
* whether persisting is worth a SQLite commit. */
|
|
99
103
|
readonly volatileStateFields: readonly ["lastChangedAt"];
|
|
@@ -202,6 +202,10 @@ export declare const mediaPlayerCapability: {
|
|
|
202
202
|
* `scripts/check-runtime-state-durability.ts`.
|
|
203
203
|
*/
|
|
204
204
|
readonly durability: 'session';
|
|
205
|
+
/**
|
|
206
|
+
* History (D850): none — `positionMs` moves continuously while playing; volume is transient.
|
|
207
|
+
*/
|
|
208
|
+
readonly history: 'none';
|
|
205
209
|
};
|
|
206
210
|
export type IMediaPlayerProvider = InferProvider<typeof mediaPlayerCapability>;
|
|
207
211
|
export {};
|
|
@@ -81,5 +81,9 @@ export declare const motionTriggerCapability: {
|
|
|
81
81
|
* `scripts/check-runtime-state-durability.ts`.
|
|
82
82
|
*/
|
|
83
83
|
readonly durability: 'session';
|
|
84
|
+
/**
|
|
85
|
+
* History (D850): none — configuration switch.
|
|
86
|
+
*/
|
|
87
|
+
readonly history: 'none';
|
|
84
88
|
};
|
|
85
89
|
export type IMotionTriggerProvider = InferProvider<typeof motionTriggerCapability>;
|
|
@@ -167,6 +167,10 @@ export declare const motionZonesCapability: {
|
|
|
167
167
|
* `scripts/check-runtime-state-durability.ts`.
|
|
168
168
|
*/
|
|
169
169
|
readonly durability: 'restored';
|
|
170
|
+
/**
|
|
171
|
+
* History (D850): none — configuration.
|
|
172
|
+
*/
|
|
173
|
+
readonly history: 'none';
|
|
170
174
|
/** Clock fields: written, but excluded from the compare that decides
|
|
171
175
|
* whether persisting is worth a SQLite commit. */
|
|
172
176
|
readonly volatileStateFields: readonly ["lastFetchedAt"];
|
|
@@ -168,5 +168,16 @@ export declare const motionCapability: {
|
|
|
168
168
|
* `scripts/check-runtime-state-durability.ts`.
|
|
169
169
|
*/
|
|
170
170
|
readonly durability: 'session';
|
|
171
|
+
/**
|
|
172
|
+
* History (D850): recorded series. A PIR sensor is a series; a camera is not (its motion is an addon series and a ledger).
|
|
173
|
+
*/
|
|
174
|
+
readonly history: {
|
|
175
|
+
readonly fields: {
|
|
176
|
+
readonly detected: {
|
|
177
|
+
readonly kind: 'boolean';
|
|
178
|
+
readonly excludeDeviceTypes: readonly [DeviceType.Camera];
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
};
|
|
171
182
|
};
|
|
172
183
|
export type IMotionProvider = InferProvider<typeof motionCapability>;
|
|
@@ -268,6 +268,10 @@ export declare const nativeObjectDetectionCapability: {
|
|
|
268
268
|
* `scripts/check-runtime-state-durability.ts`.
|
|
269
269
|
*/
|
|
270
270
|
readonly durability: 'restored';
|
|
271
|
+
/**
|
|
272
|
+
* History (D850): none — event-like and nested per class; detections live in the objects ledger.
|
|
273
|
+
*/
|
|
274
|
+
readonly history: 'none';
|
|
271
275
|
/** Clock fields: written, but excluded from the compare that decides
|
|
272
276
|
* whether persisting is worth a SQLite commit. */
|
|
273
277
|
readonly volatileStateFields: readonly ["lastFetchedAt"];
|
|
@@ -459,5 +459,9 @@ export declare const navigationCapability: {
|
|
|
459
459
|
* `scripts/check-runtime-state-durability.ts`.
|
|
460
460
|
*/
|
|
461
461
|
readonly durability: 'session';
|
|
462
|
+
/**
|
|
463
|
+
* History (D850): none — control state of a robotic camera, configuration-like.
|
|
464
|
+
*/
|
|
465
|
+
readonly history: 'none';
|
|
462
466
|
};
|
|
463
467
|
export type INavigationProvider = InferProvider<typeof navigationCapability>;
|
|
@@ -128,6 +128,25 @@ export declare const networkLinkCapability: {
|
|
|
128
128
|
* `scripts/check-runtime-state-durability.ts`.
|
|
129
129
|
*/
|
|
130
130
|
readonly durability: 'restored';
|
|
131
|
+
/**
|
|
132
|
+
* History (D850): recorded series.
|
|
133
|
+
*/
|
|
134
|
+
readonly history: {
|
|
135
|
+
readonly fields: {
|
|
136
|
+
readonly signalPercent: {
|
|
137
|
+
readonly kind: 'gauge';
|
|
138
|
+
readonly unit: '%';
|
|
139
|
+
readonly deadband: 3;
|
|
140
|
+
readonly minIntervalMs: 60000;
|
|
141
|
+
};
|
|
142
|
+
readonly rssiDbm: {
|
|
143
|
+
readonly kind: 'gauge';
|
|
144
|
+
readonly unit: 'dBm';
|
|
145
|
+
readonly deadband: 2;
|
|
146
|
+
readonly minIntervalMs: 60000;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
};
|
|
131
150
|
/** Clock fields: written, but excluded from the compare that decides
|
|
132
151
|
* whether persisting is worth a SQLite commit. */
|
|
133
152
|
readonly volatileStateFields: readonly ["lastUpdated"];
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { type InferProvider } from './capability-definition.js';
|
|
3
|
+
/**
|
|
4
|
+
* `node-certificates` - what a node holds and the two renewals the hub drives
|
|
5
|
+
* (D856): the node's MESH leaf (mutual TLS to the hub) and its HTTPS leaf (issued
|
|
6
|
+
* from the hub's local CA so a device that trusts the hub root trusts the node).
|
|
7
|
+
*
|
|
8
|
+
* Provided by the AGENT RUNTIME (the synthetic `agent-runtime` addon id, like
|
|
9
|
+
* `server-management`): the hub reaches it through the ordinary node-pinned
|
|
10
|
+
* capability call - no new Moleculer action. The hub's own certificates are
|
|
11
|
+
* handled in-process by the hub (`certificates` router), so this cap has no hub
|
|
12
|
+
* provider.
|
|
13
|
+
*
|
|
14
|
+
* No private key ever crosses the mesh: the node generates its key pair, sends a
|
|
15
|
+
* CSR, and the hub returns only the signed certificate.
|
|
16
|
+
*/
|
|
17
|
+
export declare const MeshLeafInfoSchema: z.ZodObject<{
|
|
18
|
+
cn: z.ZodString;
|
|
19
|
+
serial: z.ZodString;
|
|
20
|
+
fingerprintSha256: z.ZodString;
|
|
21
|
+
notBefore: z.ZodNumber;
|
|
22
|
+
notAfter: z.ZodNumber;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
export type MeshLeafInfo = z.infer<typeof MeshLeafInfoSchema>;
|
|
25
|
+
export declare const HttpsLeafInfoSchema: z.ZodObject<{
|
|
26
|
+
fingerprintSha256: z.ZodString;
|
|
27
|
+
issuer: z.ZodString;
|
|
28
|
+
sans: z.ZodArray<z.ZodString>;
|
|
29
|
+
notBefore: z.ZodNumber;
|
|
30
|
+
notAfter: z.ZodNumber;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
export type HttpsLeafInfo = z.infer<typeof HttpsLeafInfoSchema>;
|
|
33
|
+
export declare const NodeHttpsStateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
34
|
+
state: z.ZodLiteral<"served">;
|
|
35
|
+
leaf: z.ZodObject<{
|
|
36
|
+
fingerprintSha256: z.ZodString;
|
|
37
|
+
issuer: z.ZodString;
|
|
38
|
+
sans: z.ZodArray<z.ZodString>;
|
|
39
|
+
notBefore: z.ZodNumber;
|
|
40
|
+
notAfter: z.ZodNumber;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
+
state: z.ZodLiteral<"not-issued">;
|
|
44
|
+
reason: z.ZodString;
|
|
45
|
+
}, z.core.$strip>], "state">;
|
|
46
|
+
export type NodeHttpsState = z.infer<typeof NodeHttpsStateSchema>;
|
|
47
|
+
export declare const nodeCertificatesCapability: {
|
|
48
|
+
readonly name: 'node-certificates';
|
|
49
|
+
readonly scope: 'system';
|
|
50
|
+
readonly mode: 'singleton';
|
|
51
|
+
readonly internal: true;
|
|
52
|
+
readonly methods: {
|
|
53
|
+
/** The node's current mesh leaf (`null` when it is not enrolled on mTLS) and HTTPS state. */
|
|
54
|
+
readonly getCertificates: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
55
|
+
nodeId: z.ZodString;
|
|
56
|
+
mesh: z.ZodNullable<z.ZodObject<{
|
|
57
|
+
cn: z.ZodString;
|
|
58
|
+
serial: z.ZodString;
|
|
59
|
+
fingerprintSha256: z.ZodString;
|
|
60
|
+
notBefore: z.ZodNumber;
|
|
61
|
+
notAfter: z.ZodNumber;
|
|
62
|
+
}, z.core.$strip>>;
|
|
63
|
+
https: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
64
|
+
state: z.ZodLiteral<"served">;
|
|
65
|
+
leaf: z.ZodObject<{
|
|
66
|
+
fingerprintSha256: z.ZodString;
|
|
67
|
+
issuer: z.ZodString;
|
|
68
|
+
sans: z.ZodArray<z.ZodString>;
|
|
69
|
+
notBefore: z.ZodNumber;
|
|
70
|
+
notAfter: z.ZodNumber;
|
|
71
|
+
}, z.core.$strip>;
|
|
72
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
73
|
+
state: z.ZodLiteral<"not-issued">;
|
|
74
|
+
reason: z.ZodString;
|
|
75
|
+
}, z.core.$strip>], "state">;
|
|
76
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
77
|
+
/** Generate a NEW mesh key pair on the node; return the CSR (CN = node id). The key stays here. */
|
|
78
|
+
readonly prepareMeshRenewal: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
79
|
+
csrPem: z.ZodString;
|
|
80
|
+
}, z.core.$strip>, "mutation">;
|
|
81
|
+
/**
|
|
82
|
+
* Install the hub-signed leaf for the key made by `prepareMeshRenewal`: persist it
|
|
83
|
+
* (keeping the previous one), then reconnect to the hub with it. The node reverts to
|
|
84
|
+
* the previous leaf by itself unless `confirmMeshLeaf` arrives within `confirmWithinMs`.
|
|
85
|
+
*/
|
|
86
|
+
readonly installMeshLeaf: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
87
|
+
certPem: z.ZodString;
|
|
88
|
+
caCertPem: z.ZodString;
|
|
89
|
+
confirmWithinMs: z.ZodNumber;
|
|
90
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
91
|
+
fingerprintSha256: z.ZodString;
|
|
92
|
+
serial: z.ZodString;
|
|
93
|
+
}, z.core.$strip>, "mutation">;
|
|
94
|
+
/** The hub saw the node reconnect with the new leaf: keep it, forget the previous one. */
|
|
95
|
+
readonly confirmMeshLeaf: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
96
|
+
fingerprintSha256: z.ZodString;
|
|
97
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
98
|
+
confirmed: z.ZodBoolean;
|
|
99
|
+
}, z.core.$strip>, "mutation">;
|
|
100
|
+
/** Go back to the previous leaf now. `false` when there is none to go back to. */
|
|
101
|
+
readonly rollbackMeshLeaf: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
102
|
+
rolledBack: z.ZodBoolean;
|
|
103
|
+
}, z.core.$strip>, "mutation">;
|
|
104
|
+
/** A key pair + CSR for the node's HTTPS leaf, and the names the node reports for itself. */
|
|
105
|
+
readonly prepareHttpsCertificate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
106
|
+
csrPem: z.ZodString;
|
|
107
|
+
hostnames: z.ZodArray<z.ZodString>;
|
|
108
|
+
addresses: z.ZodArray<z.ZodString>;
|
|
109
|
+
pinnedCaFingerprintSha256: z.ZodNullable<z.ZodString>;
|
|
110
|
+
}, z.core.$strip>, "mutation">;
|
|
111
|
+
/** Install the hub-signed HTTPS leaf and hot-swap the serving context (no restart). */
|
|
112
|
+
readonly installHttpsCertificate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
113
|
+
certPem: z.ZodString;
|
|
114
|
+
caCertPem: z.ZodString;
|
|
115
|
+
caRotation: z.ZodOptional<z.ZodBoolean>;
|
|
116
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
117
|
+
fingerprintSha256: z.ZodString;
|
|
118
|
+
issuer: z.ZodString;
|
|
119
|
+
sans: z.ZodArray<z.ZodString>;
|
|
120
|
+
notBefore: z.ZodNumber;
|
|
121
|
+
notAfter: z.ZodNumber;
|
|
122
|
+
}, z.core.$strip>, "mutation">;
|
|
123
|
+
};
|
|
124
|
+
readonly mount: {
|
|
125
|
+
readonly kind: 'skip';
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
export type INodeCertificatesProvider = InferProvider<typeof nodeCertificatesCapability>;
|
|
@@ -174,6 +174,10 @@ export declare const notifierCapability: {
|
|
|
174
174
|
* `scripts/check-runtime-state-durability.ts`.
|
|
175
175
|
*/
|
|
176
176
|
readonly durability: 'session';
|
|
177
|
+
/**
|
|
178
|
+
* History (D850): none — `queueDepth` is outbox operational state, not a device trend.
|
|
179
|
+
*/
|
|
180
|
+
readonly history: 'none';
|
|
177
181
|
};
|
|
178
182
|
export type INotifierProvider = InferProvider<typeof notifierCapability>;
|
|
179
183
|
export {};
|
|
@@ -54,6 +54,18 @@ export declare const numericSensorCapability: {
|
|
|
54
54
|
* `scripts/check-runtime-state-durability.ts`.
|
|
55
55
|
*/
|
|
56
56
|
readonly durability: 'restored';
|
|
57
|
+
/**
|
|
58
|
+
* History (D850): recorded series. The unit is per device, read from the sibling `unit` field.
|
|
59
|
+
*/
|
|
60
|
+
readonly history: {
|
|
61
|
+
readonly fields: {
|
|
62
|
+
readonly value: {
|
|
63
|
+
readonly kind: 'gauge';
|
|
64
|
+
readonly unitFrom: 'unit';
|
|
65
|
+
readonly minIntervalMs: 30000;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
57
69
|
/** Clock fields: written, but excluded from the compare that decides
|
|
58
70
|
* whether persisting is worth a SQLite commit. */
|
|
59
71
|
readonly volatileStateFields: readonly ["lastFetchedAt"];
|
|
@@ -188,5 +188,30 @@ export declare const petFeederCapability: {
|
|
|
188
188
|
* `scripts/check-runtime-state-durability.ts`.
|
|
189
189
|
*/
|
|
190
190
|
readonly durability: 'session';
|
|
191
|
+
/**
|
|
192
|
+
* History (D850): recorded series.
|
|
193
|
+
*/
|
|
194
|
+
readonly history: {
|
|
195
|
+
readonly fields: {
|
|
196
|
+
readonly foodLevel: {
|
|
197
|
+
readonly kind: 'gauge';
|
|
198
|
+
};
|
|
199
|
+
readonly food1: {
|
|
200
|
+
readonly kind: 'gauge';
|
|
201
|
+
};
|
|
202
|
+
readonly food2: {
|
|
203
|
+
readonly kind: 'gauge';
|
|
204
|
+
};
|
|
205
|
+
readonly batteryPower: {
|
|
206
|
+
readonly kind: 'gauge';
|
|
207
|
+
readonly unit: '%';
|
|
208
|
+
readonly deadband: 2;
|
|
209
|
+
};
|
|
210
|
+
readonly desiccantLeftDays: {
|
|
211
|
+
readonly kind: 'gauge';
|
|
212
|
+
readonly unit: 'days';
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
};
|
|
191
216
|
};
|
|
192
217
|
export type IPetFeederProvider = InferProvider<typeof petFeederCapability>;
|
|
@@ -67,6 +67,49 @@ export declare const powerMeterCapability: {
|
|
|
67
67
|
* `scripts/check-runtime-state-durability.ts`.
|
|
68
68
|
*/
|
|
69
69
|
readonly durability: 'restored';
|
|
70
|
+
/**
|
|
71
|
+
* History (D850): recorded series. Gauges are floored at 30 s; `kwhTotal` is the one monotonic meter (counter).
|
|
72
|
+
*/
|
|
73
|
+
readonly history: {
|
|
74
|
+
readonly fields: {
|
|
75
|
+
readonly watts: {
|
|
76
|
+
readonly kind: 'gauge';
|
|
77
|
+
readonly unit: 'W';
|
|
78
|
+
readonly deadband: 1;
|
|
79
|
+
readonly minIntervalMs: 30000;
|
|
80
|
+
};
|
|
81
|
+
readonly kwhTotal: {
|
|
82
|
+
readonly kind: 'counter';
|
|
83
|
+
readonly unit: 'kWh';
|
|
84
|
+
readonly deadband: 0.01;
|
|
85
|
+
readonly minIntervalMs: 60000;
|
|
86
|
+
};
|
|
87
|
+
readonly volts: {
|
|
88
|
+
readonly kind: 'gauge';
|
|
89
|
+
readonly unit: 'V';
|
|
90
|
+
readonly deadband: 1;
|
|
91
|
+
readonly minIntervalMs: 30000;
|
|
92
|
+
};
|
|
93
|
+
readonly amps: {
|
|
94
|
+
readonly kind: 'gauge';
|
|
95
|
+
readonly unit: 'A';
|
|
96
|
+
readonly deadband: 0.05;
|
|
97
|
+
readonly minIntervalMs: 30000;
|
|
98
|
+
};
|
|
99
|
+
readonly va: {
|
|
100
|
+
readonly kind: 'gauge';
|
|
101
|
+
readonly unit: 'VA';
|
|
102
|
+
readonly deadband: 1;
|
|
103
|
+
readonly minIntervalMs: 30000;
|
|
104
|
+
};
|
|
105
|
+
readonly powerFactor: {
|
|
106
|
+
readonly kind: 'gauge';
|
|
107
|
+
readonly unit: 'ratio';
|
|
108
|
+
readonly deadband: 0.01;
|
|
109
|
+
readonly minIntervalMs: 60000;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
};
|
|
70
113
|
/** Clock fields: written, but excluded from the compare that decides
|
|
71
114
|
* whether persisting is worth a SQLite commit. */
|
|
72
115
|
readonly volatileStateFields: readonly ["lastFetchedAt"];
|
|
@@ -80,6 +80,18 @@ export declare const presenceCapability: {
|
|
|
80
80
|
* `scripts/check-runtime-state-durability.ts`.
|
|
81
81
|
*/
|
|
82
82
|
readonly durability: 'restored';
|
|
83
|
+
/**
|
|
84
|
+
* History (D850): recorded series.
|
|
85
|
+
*/
|
|
86
|
+
readonly history: {
|
|
87
|
+
readonly fields: {
|
|
88
|
+
readonly batteryPercent: {
|
|
89
|
+
readonly kind: 'gauge';
|
|
90
|
+
readonly unit: '%';
|
|
91
|
+
readonly deadband: 1;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
};
|
|
83
95
|
/** Clock fields: written, but excluded from the compare that decides
|
|
84
96
|
* whether persisting is worth a SQLite commit. */
|
|
85
97
|
readonly volatileStateFields: readonly ["lastChangedAt"];
|
|
@@ -45,6 +45,18 @@ export declare const pressureSensorCapability: {
|
|
|
45
45
|
* `scripts/check-runtime-state-durability.ts`.
|
|
46
46
|
*/
|
|
47
47
|
readonly durability: 'restored';
|
|
48
|
+
/**
|
|
49
|
+
* History (D850): recorded series.
|
|
50
|
+
*/
|
|
51
|
+
readonly history: {
|
|
52
|
+
readonly fields: {
|
|
53
|
+
readonly hpa: {
|
|
54
|
+
readonly kind: 'gauge';
|
|
55
|
+
readonly unit: 'hPa';
|
|
56
|
+
readonly deadband: 0.1;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
48
60
|
/** Clock fields: written, but excluded from the compare that decides
|
|
49
61
|
* whether persisting is worth a SQLite commit. */
|
|
50
62
|
readonly volatileStateFields: readonly ["lastFetchedAt"];
|
|
@@ -250,6 +250,10 @@ export declare const privacyMaskCapability: {
|
|
|
250
250
|
* `scripts/check-runtime-state-durability.ts`.
|
|
251
251
|
*/
|
|
252
252
|
readonly durability: 'restored';
|
|
253
|
+
/**
|
|
254
|
+
* History (D850): none — configuration.
|
|
255
|
+
*/
|
|
256
|
+
readonly history: 'none';
|
|
253
257
|
/** Clock fields: written, but excluded from the compare that decides
|
|
254
258
|
* whether persisting is worth a SQLite commit. */
|
|
255
259
|
readonly volatileStateFields: readonly ["lastFetchedAt"];
|
|
@@ -219,5 +219,9 @@ export declare const ptzAutotrackCapability: {
|
|
|
219
219
|
* `scripts/check-runtime-state-durability.ts`.
|
|
220
220
|
*/
|
|
221
221
|
readonly durability: 'session';
|
|
222
|
+
/**
|
|
223
|
+
* History (D850): none — configuration and capability.
|
|
224
|
+
*/
|
|
225
|
+
readonly history: 'none';
|
|
222
226
|
};
|
|
223
227
|
export type IPtzAutotrackProvider = InferProvider<typeof ptzAutotrackCapability>;
|
|
@@ -697,6 +697,10 @@ export declare const recordingOnboardCapability: {
|
|
|
697
697
|
* `scripts/check-runtime-state-durability.ts`.
|
|
698
698
|
*/
|
|
699
699
|
readonly durability: 'restored';
|
|
700
|
+
/**
|
|
701
|
+
* History (D850): none — SD-card configuration and window inventory; arrays.
|
|
702
|
+
*/
|
|
703
|
+
readonly history: 'none';
|
|
700
704
|
/** Clock fields: written, but excluded from the compare that decides
|
|
701
705
|
* whether persisting is worth a SQLite commit. */
|
|
702
706
|
readonly volatileStateFields: readonly ["lastFetchedAt"];
|
|
@@ -87,5 +87,9 @@ export declare const recordingSignalCapability: {
|
|
|
87
87
|
* `scripts/check-runtime-state-durability.ts`.
|
|
88
88
|
*/
|
|
89
89
|
readonly durability: 'session';
|
|
90
|
+
/**
|
|
91
|
+
* History (D850): none — recording intent is already in the recordings ledger.
|
|
92
|
+
*/
|
|
93
|
+
readonly history: 'none';
|
|
90
94
|
};
|
|
91
95
|
export type IRecordingSignalProvider = InferProvider<typeof recordingSignalCapability>;
|
|
@@ -1125,5 +1125,9 @@ export declare const sceneMonitorCapability: {
|
|
|
1125
1125
|
* `scripts/check-runtime-state-durability.ts`.
|
|
1126
1126
|
*/
|
|
1127
1127
|
readonly durability: 'session';
|
|
1128
|
+
/**
|
|
1129
|
+
* History (D850): none — nested configuration.
|
|
1130
|
+
*/
|
|
1131
|
+
readonly history: 'none';
|
|
1128
1132
|
};
|
|
1129
1133
|
export type ISceneMonitorProvider = InferNativeProvider<typeof sceneMonitorCapability>;
|
|
@@ -64,5 +64,9 @@ export declare const scriptRunnerCapability: {
|
|
|
64
64
|
* `scripts/check-runtime-state-durability.ts`.
|
|
65
65
|
*/
|
|
66
66
|
readonly durability: 'session';
|
|
67
|
+
/**
|
|
68
|
+
* History (D850): none — transient; run results belong in a ledger.
|
|
69
|
+
*/
|
|
70
|
+
readonly history: 'none';
|
|
67
71
|
};
|
|
68
72
|
export type IScriptRunnerProvider = InferProvider<typeof scriptRunnerCapability>;
|
|
@@ -40,6 +40,16 @@ export declare const smokeCapability: {
|
|
|
40
40
|
* `scripts/check-runtime-state-durability.ts`.
|
|
41
41
|
*/
|
|
42
42
|
readonly durability: 'restored';
|
|
43
|
+
/**
|
|
44
|
+
* History (D850): recorded series.
|
|
45
|
+
*/
|
|
46
|
+
readonly history: {
|
|
47
|
+
readonly fields: {
|
|
48
|
+
readonly detected: {
|
|
49
|
+
readonly kind: 'boolean';
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
43
53
|
/** Clock fields: written, but excluded from the compare that decides
|
|
44
54
|
* whether persisting is worth a SQLite commit. */
|
|
45
55
|
readonly volatileStateFields: readonly ["lastChangedAt"];
|
|
@@ -191,6 +191,10 @@ export declare const streamCatalogCapability: {
|
|
|
191
191
|
* `scripts/check-runtime-state-durability.ts`.
|
|
192
192
|
*/
|
|
193
193
|
readonly durability: 'restored';
|
|
194
|
+
/**
|
|
195
|
+
* History (D850): none — stream inventory.
|
|
196
|
+
*/
|
|
197
|
+
readonly history: 'none';
|
|
194
198
|
/** Clock field: written, but excluded from the compare that decides whether
|
|
195
199
|
* persisting is worth a SQLite commit — the descriptors are the value. */
|
|
196
200
|
readonly volatileStateFields: readonly ["lastFetchedAt"];
|
|
@@ -488,6 +488,10 @@ export declare const streamParamsCapability: {
|
|
|
488
488
|
* `scripts/check-runtime-state-durability.ts`.
|
|
489
489
|
*/
|
|
490
490
|
readonly durability: 'restored';
|
|
491
|
+
/**
|
|
492
|
+
* History (D850): none — encoder configuration.
|
|
493
|
+
*/
|
|
494
|
+
readonly history: 'none';
|
|
491
495
|
/** Clock fields: written, but excluded from the compare that decides
|
|
492
496
|
* whether persisting is worth a SQLite commit. */
|
|
493
497
|
readonly volatileStateFields: readonly ["lastFetchedAt"];
|
|
@@ -79,6 +79,10 @@ export declare const streamSignalsCapability: {
|
|
|
79
79
|
* `scripts/check-runtime-state-durability.ts`.
|
|
80
80
|
*/
|
|
81
81
|
readonly durability: 'session';
|
|
82
|
+
/**
|
|
83
|
+
* History (D850): none — array state.
|
|
84
|
+
*/
|
|
85
|
+
readonly history: 'none';
|
|
82
86
|
readonly methods: {
|
|
83
87
|
/**
|
|
84
88
|
* What this device can emit. Empty is a valid and common answer — most
|
|
@@ -57,6 +57,16 @@ export declare const switchCapability: {
|
|
|
57
57
|
* `scripts/check-runtime-state-durability.ts`.
|
|
58
58
|
*/
|
|
59
59
|
readonly durability: 'restored';
|
|
60
|
+
/**
|
|
61
|
+
* History (D850): recorded series.
|
|
62
|
+
*/
|
|
63
|
+
readonly history: {
|
|
64
|
+
readonly fields: {
|
|
65
|
+
readonly on: {
|
|
66
|
+
readonly kind: 'boolean';
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
60
70
|
/** Clock fields: written, but excluded from the compare that decides
|
|
61
71
|
* whether persisting is worth a SQLite commit. */
|
|
62
72
|
readonly volatileStateFields: readonly ["lastChangedAt"];
|