@camstack/types 1.2.332 → 1.2.333
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/base-addon.d.ts +32 -0
- package/dist/addon/secret-aware-context.d.ts +49 -6
- package/dist/addon/secret-settings-view.d.ts +23 -1
- package/dist/addon/secret-write-back.d.ts +40 -0
- package/dist/addon.js +5 -7
- package/dist/addon.mjs +5 -7
- package/dist/auth/app-callback.d.ts +28 -0
- package/dist/auth/sso-state.d.ts +16 -0
- package/dist/capabilities/addon-routes.cap.d.ts +3 -0
- package/dist/capabilities/addons.cap.d.ts +4 -4
- package/dist/capabilities/backup.cap.d.ts +101 -1
- package/dist/capabilities/broker.cap.d.ts +4 -4
- package/dist/capabilities/custom-model-registry.cap.d.ts +520 -0
- package/dist/capabilities/device-manager.cap.d.ts +4 -4
- package/dist/capabilities/hub-address.d.ts +2 -2
- package/dist/capabilities/index.d.ts +12 -6
- package/dist/capabilities/keychain-admin.cap.d.ts +83 -0
- package/dist/capabilities/login-method.cap.d.ts +5 -6
- package/dist/capabilities/notification-output.cap.d.ts +4 -4
- package/dist/capabilities/notification-rules.cap.d.ts +6 -6
- package/dist/capabilities/osd-manager.cap.d.ts +5 -5
- package/dist/capabilities/pipeline-analytics.cap.d.ts +39 -8
- package/dist/capabilities/recording.cap.d.ts +3 -3
- package/dist/capabilities/server-management.cap.d.ts +5 -5
- package/dist/capabilities/snapshot.cap.d.ts +2 -2
- package/dist/capabilities/sso-bridge.cap.d.ts +5 -2
- package/dist/capabilities/training-provider.cap.d.ts +373 -0
- package/dist/capabilities/training.cap.d.ts +1896 -0
- package/dist/capabilities/user-management.cap.d.ts +1 -64
- package/dist/capabilities/videoclips.cap.d.ts +3 -3
- package/dist/client.js +26 -4
- package/dist/client.mjs +26 -4
- package/dist/generated/addon-api.d.ts +842 -173
- package/dist/generated/cap-input-defaults.d.ts +1 -1
- package/dist/generated/capability-router-map.d.ts +10 -4
- package/dist/generated/collection-array-methods.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +2 -2
- package/dist/generated/system-proxy.d.ts +5 -3
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1462 -93
- package/dist/index.mjs +1413 -92
- package/dist/interfaces/addon-routes.d.ts +7 -0
- package/dist/interfaces/addon.d.ts +8 -0
- package/dist/interfaces/auth.d.ts +6 -3
- package/dist/schemas/auth-records.d.ts +1 -2
- package/dist/{sleep-ClNXPpWR.js → sleep-DiQYrfm9.js} +425 -75
- package/dist/{sleep-DujUvOcb.mjs → sleep-r3RWkGVx.mjs} +425 -75
- package/dist/training/index.d.ts +1 -0
- package/dist/training/trainer-contract.d.ts +468 -0
- package/package.json +1 -1
|
@@ -31,7 +31,7 @@ export type { AudioAnalyzerGlobalConfig, AudioBackendChoice, IAudioAnalyzerProvi
|
|
|
31
31
|
export { AUDIO_BACKEND_CHOICES, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioAttachDeviceInputSchema, AudioAttachDeviceResultSchema, AudioClassificationResultSchema, AudioDetachDeviceResultSchema, audioAnalyzerCapability, DEFAULT_AUDIO_ANALYZER_CONFIG, } from './audio-analyzer.cap.js';
|
|
32
32
|
export { AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEncodeSessionConfigSchema, AudioPcmChunkSchema, audioCodecCapability, type IAudioCodecCapProvider, PcmSampleFormatSchema, } from './audio-codec.cap.js';
|
|
33
33
|
export { AuthResultSchema, authProviderCapability } from './auth-provider.cap.js';
|
|
34
|
-
export { ArchiveEntrySchema, ArchiveManifestSchema, BackupDestinationInfoSchema, BackupEntrySchema, type BackupRun, type BackupRunPhase, BackupRunPhaseSchema, BackupRunSchema, type BackupRunState, BackupRunStateSchema, type BackupTriggerResult, BackupTriggerResultSchema, backupCapability, type IBackupProvider, LocationStatSchema, } from './backup.cap.js';
|
|
34
|
+
export { ArchiveEntrySchema, ArchiveManifestSchema, type BackupArchiveEncryption, BackupArchiveEncryptionSchema, BackupDestinationInfoSchema, type BackupEncryptionStatus, BackupEncryptionStatusSchema, BackupEntrySchema, type BackupRun, type BackupRunPhase, BackupRunPhaseSchema, BackupRunSchema, type BackupRunState, BackupRunStateSchema, type BackupTriggerResult, BackupTriggerResultSchema, backupCapability, type IBackupProvider, LocationStatSchema, } from './backup.cap.js';
|
|
35
35
|
export { BrokerAddInputSchema, BrokerGetStateInputSchema, type BrokerInfo, type BrokerInfo as UnifiedBrokerInfo, BrokerInfoSchema, BrokerInfoSchema as UnifiedBrokerInfoSchema, type BrokerProviderInfo, BrokerProviderInfoSchema, BrokerPublishInputSchema, BrokerRegistryStatusSchema, type BrokerStatus as UnifiedBrokerStatus, BrokerStatusEnum, BrokerSubscribeInputSchema, BrokerSubscribeResultSchema, BrokerTestConnectionResultSchema, BrokerUnsubscribeInputSchema, brokerCapability, type IBrokerProvider, } from './broker.cap.js';
|
|
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';
|
|
@@ -41,12 +41,12 @@ export { DEFAULT_RUNTIME_STATE_DURABILITY, DEVICE_SETTINGS_CONTRIBUTION_METHODS,
|
|
|
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';
|
|
44
|
-
export type { CustomModelDescriptor, ICustomModelRegistryProvider, } from './custom-model-registry.cap.js';
|
|
45
|
-
export { CustomModelDescriptorSchema, customModelRegistryCapability, } from './custom-model-registry.cap.js';
|
|
44
|
+
export type { CustomModelDescriptor, ICustomModelRegistryProvider, ImportModelBundleInput, ImportModelBundleResult, ModelBundleFile, } from './custom-model-registry.cap.js';
|
|
45
|
+
export { CustomModelDescriptorSchema, customModelRegistryCapability, ImportModelBundleInputSchema, ImportModelBundleResultSchema, ModelBundleFileSchema, } from './custom-model-registry.cap.js';
|
|
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 DatabaseSnapshotResult, DatabaseSnapshotResultSchema, type DatabaseSnapshotTable, DatabaseSnapshotTableSchema, type DatabaseSnapshotTargets, DatabaseSnapshotTargetsSchema, 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 IKeychainAdminProvider, KEYCHAIN_RESET_CONFIRMATION, type KeychainAdminSecret, KeychainAdminSecretSchema, type KeychainAuditAction, KeychainAuditActionSchema, type KeychainAuditEntry, KeychainAuditEntrySchema, type KeychainKeySource, type KeychainKeySourceKind, KeychainKeySourceKindSchema, KeychainKeySourceSchema, type KeychainSecretUsage, KeychainSecretUsageSchema, type KeychainStatus, KeychainStatusSchema, keychainAdminCapability, type SystemHeldSecretName, SystemHeldSecretNameSchema, } from './keychain-admin.cap.js';
|
|
49
|
+
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
50
|
export type { DecoderHwAccelConfig, HwAccelChoice, IDecoderCapProvider, } from './decoder.cap.js';
|
|
51
51
|
export { DEFAULT_DECODER_HWACCEL_CONFIG, decoderCapability, HWACCEL_OPTIONS, } from './decoder.cap.js';
|
|
52
52
|
export { detectionPipelineCapability, type IDetectionPipelineProvider, } from './detection-pipeline.cap.js';
|
|
@@ -224,7 +224,7 @@ export { type ITamperProvider, type TamperStatus, TamperStatusSchema, tamperCapa
|
|
|
224
224
|
export { type ITemperatureSensorProvider, type TemperatureSensorStatus, TemperatureSensorStatusSchema, temperatureSensorCapability, } from './temperature-sensor.cap.js';
|
|
225
225
|
export { type IToastProvider, ToastSchema, toastCapability } from './toast.cap.js';
|
|
226
226
|
export { type IUpdateProvider, type UpdateStatus, UpdateStatusSchema, updateCapability, } from './update.cap.js';
|
|
227
|
-
export { ApiKeySummarySchema,
|
|
227
|
+
export { ApiKeySummarySchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, ExternalIdentityKeySchema, ExternalIdentitySchema, type IUserManagementProvider, ScopedTokenSummarySchema, UpdateUserInputSchema, UserSummarySchema, userManagementCapability, } from './user-management.cap.js';
|
|
228
228
|
export { type IVacuumControlProvider, type TankStatus, TankStatusSchema, type VacuumControlStatus, VacuumControlStatusSchema, type VacuumState, VacuumStateSchema, vacuumControlCapability, } from './vacuum-control.cap.js';
|
|
229
229
|
export { type IValveProvider, type ValveState, ValveStateSchema, type ValveStatus, ValveStatusSchema, valveCapability, } from './valve.cap.js';
|
|
230
230
|
export { type IVibrationProvider, type VibrationStatus, VibrationStatusSchema, vibrationCapability, } from './vibration.cap.js';
|
|
@@ -233,6 +233,10 @@ export { type IWeatherProvider, type WeatherStatus, WeatherStatusSchema, weather
|
|
|
233
233
|
export { type CameraOccupancySnapshot, type CameraOccupancySnapshotForDevice, CameraOccupancySnapshotForDeviceSchema, type HistoryPoint, HistoryPointSchema, type HistoryResolution, HistoryResolutionEnum, type IZoneAnalyticsProvider, type PerScopeBreakdown, PerScopeBreakdownSchema, type StationaryObject, StationaryObjectSchema, type ZoneScopeBreakdown, ZoneScopeBreakdownSchema, zoneAnalyticsCapability, } from './zone-analytics.cap.js';
|
|
234
234
|
export { type IZoneRulesProvider, type ZoneRuleStage, ZoneRuleStageEnum, zoneRulesCapability, } from './zone-rules.cap.js';
|
|
235
235
|
export { type IZonesProvider, type PolygonPoint, PolygonPointSchema, type Zone, type ZoneKind, ZoneKindEnum, ZoneSchema, zonesCapability, } from './zones.cap.js';
|
|
236
|
+
export type { ITrainingCloudProvider, ProviderJobState, ProviderJobStatus, TrainerSourceRef, TrainingCredentialCheck, TrainingGpuOption, TrainingLogLine, TrainingProviderDefaults, TrainingProviderDescriptor, TrainingRegionOption, } from './training-provider.cap.js';
|
|
237
|
+
export { ProviderJobStateSchema, ProviderJobStatusSchema, TrainerSourceRefSchema, TrainingCredentialCheckSchema, TrainingGpuOptionSchema, TrainingLogLineSchema, TrainingProviderDefaultsSchema, TrainingProviderDescriptorSchema, TrainingRegionOptionSchema, trainingProviderCapability, } from './training-provider.cap.js';
|
|
238
|
+
export type { ITrainingOrchestrator, TrainingBaseModel, TrainingCanary, TrainingDatasetVersionRow, TrainingFailureReason, TrainingJob, TrainingJobPlan, TrainingJobRequest, TrainingJobState, TrainingPreset, TrainingProgressPoint, TrainingRefusalReason, TrainingSplitPlan, } from './training.cap.js';
|
|
239
|
+
export { TrainingBaseModelSchema, TrainingCanarySchema, TrainingDatasetVersionRowSchema, TrainingFailureReasonSchema, TrainingJobPlanSchema, TrainingJobRequestSchema, TrainingJobSchema, TrainingJobStateSchema, TrainingPresetSchema, TrainingProgressPointSchema, TrainingRefusalReasonSchema, TrainingSplitPlanSchema, trainingCapability, } from './training.cap.js';
|
|
236
240
|
import type { IReadinessRegistry } from '../interfaces/readiness.js';
|
|
237
241
|
import type { accessoriesCapability } from './accessories.cap.js';
|
|
238
242
|
import type { addonPagesCapability } from './addon-pages.cap.js';
|
|
@@ -398,9 +402,11 @@ import type { viewerUiCapability } from './viewer-ui.cap.js';
|
|
|
398
402
|
import type { waterHeaterCapability } from './water-heater.cap.js';
|
|
399
403
|
import type { weatherCapability } from './weather.cap.js';
|
|
400
404
|
import type { webrtcSessionCapability } from './webrtc-session.cap.js';
|
|
405
|
+
import type { trainingCapability } from './training.cap.js';
|
|
406
|
+
import type { trainingProviderCapability } from './training-provider.cap.js';
|
|
401
407
|
import type { zoneAnalyticsCapability } from './zone-analytics.cap.js';
|
|
402
408
|
import type { zoneRulesCapability } from './zone-rules.cap.js';
|
|
403
409
|
import type { zonesCapability } from './zones.cap.js';
|
|
404
|
-
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 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 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;
|
|
410
|
+
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 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;
|
|
405
411
|
export type CapabilityName = AnyCapability['name'];
|
|
406
412
|
export type ITypedReadinessRegistry = IReadinessRegistry<CapabilityName>;
|
|
@@ -33,6 +33,29 @@ export declare const KeychainKeySourceSchema: z.ZodObject<{
|
|
|
33
33
|
sharesBackupWithDatabase: z.ZodBoolean;
|
|
34
34
|
}, z.core.$strip>;
|
|
35
35
|
export type KeychainKeySource = z.infer<typeof KeychainKeySourceSchema>;
|
|
36
|
+
/**
|
|
37
|
+
* Who reset the keychain: an operator from System → Secrets (`user:<id>`), or
|
|
38
|
+
* the one-shot `<dataDir>/.keychain/RESET_KEYCHAIN` trigger file at boot
|
|
39
|
+
* (`trigger-file`) — the only way back into a hub whose master key is lost,
|
|
40
|
+
* because a locked keychain leaves no session that could reach the page (D797).
|
|
41
|
+
*/
|
|
42
|
+
export declare const KEYCHAIN_RESET_TRIGGER_ACTOR = "trigger-file";
|
|
43
|
+
/**
|
|
44
|
+
* One keychain reset, as the Secrets page reports it until the operator
|
|
45
|
+
* acknowledges it. Never a value: refs, counts and table names only.
|
|
46
|
+
*/
|
|
47
|
+
export declare const KeychainResetRecordSchema: z.ZodObject<{
|
|
48
|
+
id: z.ZodString;
|
|
49
|
+
at: z.ZodNumber;
|
|
50
|
+
actor: z.ZodString;
|
|
51
|
+
lockedReason: z.ZodNullable<z.ZodString>;
|
|
52
|
+
archived: z.ZodNumber;
|
|
53
|
+
archivedCollection: z.ZodNullable<z.ZodString>;
|
|
54
|
+
archivedKeysCollection: z.ZodNullable<z.ZodString>;
|
|
55
|
+
clearedSettingsKeys: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
56
|
+
acknowledgedAt: z.ZodNullable<z.ZodNumber>;
|
|
57
|
+
}, z.core.$strip>;
|
|
58
|
+
export type KeychainResetRecord = z.infer<typeof KeychainResetRecordSchema>;
|
|
36
59
|
export declare const KeychainStatusSchema: z.ZodObject<{
|
|
37
60
|
keychain: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
38
61
|
state: z.ZodLiteral<"ready">;
|
|
@@ -73,6 +96,17 @@ export declare const KeychainStatusSchema: z.ZodObject<{
|
|
|
73
96
|
retiredWraps: z.ZodNumber;
|
|
74
97
|
recoveryKeyDownloadedAt: z.ZodNullable<z.ZodNumber>;
|
|
75
98
|
secretCount: z.ZodNumber;
|
|
99
|
+
lastReset: z.ZodNullable<z.ZodObject<{
|
|
100
|
+
id: z.ZodString;
|
|
101
|
+
at: z.ZodNumber;
|
|
102
|
+
actor: z.ZodString;
|
|
103
|
+
lockedReason: z.ZodNullable<z.ZodString>;
|
|
104
|
+
archived: z.ZodNumber;
|
|
105
|
+
archivedCollection: z.ZodNullable<z.ZodString>;
|
|
106
|
+
archivedKeysCollection: z.ZodNullable<z.ZodString>;
|
|
107
|
+
clearedSettingsKeys: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
108
|
+
acknowledgedAt: z.ZodNullable<z.ZodNumber>;
|
|
109
|
+
}, z.core.$strip>>;
|
|
76
110
|
}, z.core.$strip>;
|
|
77
111
|
export type KeychainStatus = z.infer<typeof KeychainStatusSchema>;
|
|
78
112
|
/**
|
|
@@ -112,6 +146,7 @@ export declare const KeychainAuditActionSchema: z.ZodEnum<{
|
|
|
112
146
|
"purge-retired-keys": "purge-retired-keys";
|
|
113
147
|
"download-recovery-key": "download-recovery-key";
|
|
114
148
|
"delete-orphans": "delete-orphans";
|
|
149
|
+
"acknowledge-reset": "acknowledge-reset";
|
|
115
150
|
initialize: "initialize";
|
|
116
151
|
}>;
|
|
117
152
|
export type KeychainAuditAction = z.infer<typeof KeychainAuditActionSchema>;
|
|
@@ -127,6 +162,7 @@ export declare const KeychainAuditEntrySchema: z.ZodObject<{
|
|
|
127
162
|
"purge-retired-keys": "purge-retired-keys";
|
|
128
163
|
"download-recovery-key": "download-recovery-key";
|
|
129
164
|
"delete-orphans": "delete-orphans";
|
|
165
|
+
"acknowledge-reset": "acknowledge-reset";
|
|
130
166
|
initialize: "initialize";
|
|
131
167
|
}>;
|
|
132
168
|
actor: z.ZodString;
|
|
@@ -190,6 +226,17 @@ export declare const keychainAdminCapability: {
|
|
|
190
226
|
retiredWraps: z.ZodNumber;
|
|
191
227
|
recoveryKeyDownloadedAt: z.ZodNullable<z.ZodNumber>;
|
|
192
228
|
secretCount: z.ZodNumber;
|
|
229
|
+
lastReset: z.ZodNullable<z.ZodObject<{
|
|
230
|
+
id: z.ZodString;
|
|
231
|
+
at: z.ZodNumber;
|
|
232
|
+
actor: z.ZodString;
|
|
233
|
+
lockedReason: z.ZodNullable<z.ZodString>;
|
|
234
|
+
archived: z.ZodNumber;
|
|
235
|
+
archivedCollection: z.ZodNullable<z.ZodString>;
|
|
236
|
+
archivedKeysCollection: z.ZodNullable<z.ZodString>;
|
|
237
|
+
clearedSettingsKeys: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
238
|
+
acknowledgedAt: z.ZodNullable<z.ZodNumber>;
|
|
239
|
+
}, z.core.$strip>>;
|
|
193
240
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
194
241
|
readonly listSecrets: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
195
242
|
ref: z.ZodString;
|
|
@@ -221,6 +268,7 @@ export declare const keychainAdminCapability: {
|
|
|
221
268
|
"purge-retired-keys": "purge-retired-keys";
|
|
222
269
|
"download-recovery-key": "download-recovery-key";
|
|
223
270
|
"delete-orphans": "delete-orphans";
|
|
271
|
+
"acknowledge-reset": "acknowledge-reset";
|
|
224
272
|
initialize: "initialize";
|
|
225
273
|
}>;
|
|
226
274
|
actor: z.ZodString;
|
|
@@ -335,6 +383,41 @@ export declare const keychainAdminCapability: {
|
|
|
335
383
|
}, z.core.$strip>, "mutation"> & {
|
|
336
384
|
readonly caller: "required";
|
|
337
385
|
};
|
|
386
|
+
/**
|
|
387
|
+
* What the last reset left to re-enter: the archived refs (owner, scope,
|
|
388
|
+
* field — never a value) that hold no value again yet. Process-held refs
|
|
389
|
+
* the hub regenerates itself (the session signing key) are not listed.
|
|
390
|
+
*/
|
|
391
|
+
readonly resetReport: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
392
|
+
reset: z.ZodNullable<z.ZodObject<{
|
|
393
|
+
id: z.ZodString;
|
|
394
|
+
at: z.ZodNumber;
|
|
395
|
+
actor: z.ZodString;
|
|
396
|
+
lockedReason: z.ZodNullable<z.ZodString>;
|
|
397
|
+
archived: z.ZodNumber;
|
|
398
|
+
archivedCollection: z.ZodNullable<z.ZodString>;
|
|
399
|
+
archivedKeysCollection: z.ZodNullable<z.ZodString>;
|
|
400
|
+
clearedSettingsKeys: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
401
|
+
acknowledgedAt: z.ZodNullable<z.ZodNumber>;
|
|
402
|
+
}, z.core.$strip>>;
|
|
403
|
+
pendingReentry: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
404
|
+
ref: z.ZodString;
|
|
405
|
+
owner: z.ZodString;
|
|
406
|
+
scope: z.ZodString;
|
|
407
|
+
fieldPath: z.ZodString;
|
|
408
|
+
version: z.ZodNumber;
|
|
409
|
+
createdAt: z.ZodNumber;
|
|
410
|
+
updatedAt: z.ZodNumber;
|
|
411
|
+
updatedBy: z.ZodString;
|
|
412
|
+
lastReadAt: z.ZodNullable<z.ZodNumber>;
|
|
413
|
+
}, z.core.$strip>>>;
|
|
414
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
415
|
+
/** Dismiss the "keychain was reset" notice. Audited. */
|
|
416
|
+
readonly acknowledgeReset: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
417
|
+
acknowledged: z.ZodBoolean;
|
|
418
|
+
}, z.core.$strip>, "mutation"> & {
|
|
419
|
+
readonly caller: "required";
|
|
420
|
+
};
|
|
338
421
|
};
|
|
339
422
|
};
|
|
340
423
|
export type IKeychainAdminProvider = InferProvider<typeof keychainAdminCapability>;
|
|
@@ -4,7 +4,7 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
4
4
|
* `login-method` — collection cap through which auth addons contribute
|
|
5
5
|
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
6
6
|
* generic mechanism that supersedes the dead `auth.listProviders` reader:
|
|
7
|
-
* every auth addon (OIDC,
|
|
7
|
+
* every auth addon (OIDC, WebAuthn/passkey) registers a
|
|
8
8
|
* `login-method` provider and the PUBLIC `auth.listLoginMethods`
|
|
9
9
|
* procedure aggregates them for the unauthenticated login page.
|
|
10
10
|
*
|
|
@@ -12,8 +12,7 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
12
12
|
*
|
|
13
13
|
* - `redirect` — a declarative button. The login page renders a generic
|
|
14
14
|
* button that navigates to `startUrl` (an addon-owned HTTP route).
|
|
15
|
-
* Covers OIDC (`/addon/auth-oidc/<id>/start`)
|
|
16
|
-
* ZERO shell-side JS. A future SSO addon plugs in the same way — the
|
|
15
|
+
* Covers OIDC (`/addon/auth-oidc/<id>/start`) with ZERO shell-side JS. A future SSO addon plugs in the same way — the
|
|
17
16
|
* login page needs NO change.
|
|
18
17
|
*
|
|
19
18
|
* - `widget` — a Module-Federation widget the login page mounts (via
|
|
@@ -32,8 +31,8 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
32
31
|
* decision.
|
|
33
32
|
*
|
|
34
33
|
* Every contribution carries a `stage`:
|
|
35
|
-
* - `primary` — shown on the first credentials screen (OIDC
|
|
36
|
-
*
|
|
34
|
+
* - `primary` — shown on the first credentials screen (OIDC
|
|
35
|
+
* buttons; a usernameless passkey).
|
|
37
36
|
* - `second-factor` — shown AFTER the password leg, gated on the
|
|
38
37
|
* returned `factors` (passkey-as-2FA today).
|
|
39
38
|
*
|
|
@@ -48,7 +47,7 @@ export declare const LoginStageEnum: z.ZodEnum<{
|
|
|
48
47
|
}>;
|
|
49
48
|
/**
|
|
50
49
|
* A declarative redirect button — the login page navigates to `startUrl`.
|
|
51
|
-
* OIDC
|
|
50
|
+
* OIDC contributes this; a future SSO addon does too.
|
|
52
51
|
*/
|
|
53
52
|
export declare const RedirectLoginMethodSchema: z.ZodObject<{
|
|
54
53
|
kind: z.ZodLiteral<"redirect">;
|
|
@@ -250,8 +250,8 @@ export declare const TargetKindAttachmentsCapsSchema: z.ZodObject<{
|
|
|
250
250
|
gif: "gif";
|
|
251
251
|
}>>;
|
|
252
252
|
mode: z.ZodEnum<{
|
|
253
|
-
bytes: "bytes";
|
|
254
253
|
url: "url";
|
|
254
|
+
bytes: "bytes";
|
|
255
255
|
both: "both";
|
|
256
256
|
}>;
|
|
257
257
|
max: z.ZodNumber;
|
|
@@ -268,8 +268,8 @@ export declare const TargetKindCapsSchema: z.ZodObject<{
|
|
|
268
268
|
gif: "gif";
|
|
269
269
|
}>>;
|
|
270
270
|
mode: z.ZodEnum<{
|
|
271
|
-
bytes: "bytes";
|
|
272
271
|
url: "url";
|
|
272
|
+
bytes: "bytes";
|
|
273
273
|
both: "both";
|
|
274
274
|
}>;
|
|
275
275
|
max: z.ZodNumber;
|
|
@@ -320,8 +320,8 @@ export declare const TargetKindSchema: z.ZodObject<{
|
|
|
320
320
|
gif: "gif";
|
|
321
321
|
}>>;
|
|
322
322
|
mode: z.ZodEnum<{
|
|
323
|
-
bytes: "bytes";
|
|
324
323
|
url: "url";
|
|
324
|
+
bytes: "bytes";
|
|
325
325
|
both: "both";
|
|
326
326
|
}>;
|
|
327
327
|
max: z.ZodNumber;
|
|
@@ -463,8 +463,8 @@ export declare const notificationOutputCapability: {
|
|
|
463
463
|
gif: "gif";
|
|
464
464
|
}>>;
|
|
465
465
|
mode: z.ZodEnum<{
|
|
466
|
-
bytes: "bytes";
|
|
467
466
|
url: "url";
|
|
467
|
+
bytes: "bytes";
|
|
468
468
|
both: "both";
|
|
469
469
|
}>;
|
|
470
470
|
max: z.ZodNumber;
|
|
@@ -2791,8 +2791,8 @@ export type NcTemplateFamily = z.infer<typeof NcTemplateFamilySchema>;
|
|
|
2791
2791
|
/** Which text field of that producer. `previewText` is the timelapse frame
|
|
2792
2792
|
* caption, `captionText` the digest mosaic caption — both see fewer vars. */
|
|
2793
2793
|
export declare const NcTemplateFieldSchema: z.ZodEnum<{
|
|
2794
|
-
title: "title";
|
|
2795
2794
|
body: "body";
|
|
2795
|
+
title: "title";
|
|
2796
2796
|
previewText: "previewText";
|
|
2797
2797
|
captionText: "captionText";
|
|
2798
2798
|
}>;
|
|
@@ -2841,8 +2841,8 @@ export declare const NcTemplateVarDescriptorSchema: z.ZodObject<{
|
|
|
2841
2841
|
timelapse: "timelapse";
|
|
2842
2842
|
}>>;
|
|
2843
2843
|
fields: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2844
|
-
title: "title";
|
|
2845
2844
|
body: "body";
|
|
2845
|
+
title: "title";
|
|
2846
2846
|
previewText: "previewText";
|
|
2847
2847
|
captionText: "captionText";
|
|
2848
2848
|
}>>>;
|
|
@@ -2920,8 +2920,8 @@ export declare const NcTemplateVarContextSchema: z.ZodObject<{
|
|
|
2920
2920
|
timelapse: "timelapse";
|
|
2921
2921
|
}>;
|
|
2922
2922
|
field: z.ZodEnum<{
|
|
2923
|
-
title: "title";
|
|
2924
2923
|
body: "body";
|
|
2924
|
+
title: "title";
|
|
2925
2925
|
previewText: "previewText";
|
|
2926
2926
|
captionText: "captionText";
|
|
2927
2927
|
}>;
|
|
@@ -2999,8 +2999,8 @@ export declare const NcTemplatePreviewInputSchema: z.ZodObject<{
|
|
|
2999
2999
|
timelapse: "timelapse";
|
|
3000
3000
|
}>;
|
|
3001
3001
|
field: z.ZodEnum<{
|
|
3002
|
-
title: "title";
|
|
3003
3002
|
body: "body";
|
|
3003
|
+
title: "title";
|
|
3004
3004
|
previewText: "previewText";
|
|
3005
3005
|
captionText: "captionText";
|
|
3006
3006
|
}>;
|
|
@@ -7471,8 +7471,8 @@ export declare const notificationRulesCapability: {
|
|
|
7471
7471
|
timelapse: "timelapse";
|
|
7472
7472
|
}>>;
|
|
7473
7473
|
fields: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7474
|
-
title: "title";
|
|
7475
7474
|
body: "body";
|
|
7475
|
+
title: "title";
|
|
7476
7476
|
previewText: "previewText";
|
|
7477
7477
|
captionText: "captionText";
|
|
7478
7478
|
}>>>;
|
|
@@ -7556,8 +7556,8 @@ export declare const notificationRulesCapability: {
|
|
|
7556
7556
|
timelapse: "timelapse";
|
|
7557
7557
|
}>;
|
|
7558
7558
|
field: z.ZodEnum<{
|
|
7559
|
-
title: "title";
|
|
7560
7559
|
body: "body";
|
|
7560
|
+
title: "title";
|
|
7561
7561
|
previewText: "previewText";
|
|
7562
7562
|
captionText: "captionText";
|
|
7563
7563
|
}>;
|
|
@@ -480,11 +480,11 @@ export type OsdSlotView = z.infer<typeof OsdSlotViewSchema>;
|
|
|
480
480
|
* identical text to the camera every tick.
|
|
481
481
|
*/
|
|
482
482
|
export declare const OsdRenderOutcomeEnum: z.ZodEnum<{
|
|
483
|
+
written: "written";
|
|
483
484
|
failed: "failed";
|
|
484
485
|
disabled: "disabled";
|
|
485
486
|
unreadable: "unreadable";
|
|
486
487
|
unchanged: "unchanged";
|
|
487
|
-
written: "written";
|
|
488
488
|
gated: "gated";
|
|
489
489
|
unbound: "unbound";
|
|
490
490
|
}>;
|
|
@@ -492,11 +492,11 @@ export type OsdRenderOutcome = z.infer<typeof OsdRenderOutcomeEnum>;
|
|
|
492
492
|
export declare const OsdRenderResultSchema: z.ZodObject<{
|
|
493
493
|
slotId: z.ZodString;
|
|
494
494
|
outcome: z.ZodEnum<{
|
|
495
|
+
written: "written";
|
|
495
496
|
failed: "failed";
|
|
496
497
|
disabled: "disabled";
|
|
497
498
|
unreadable: "unreadable";
|
|
498
499
|
unchanged: "unchanged";
|
|
499
|
-
written: "written";
|
|
500
500
|
gated: "gated";
|
|
501
501
|
unbound: "unbound";
|
|
502
502
|
}>;
|
|
@@ -1201,11 +1201,11 @@ export declare const osdManagerCapability: {
|
|
|
1201
1201
|
render: z.ZodObject<{
|
|
1202
1202
|
slotId: z.ZodString;
|
|
1203
1203
|
outcome: z.ZodEnum<{
|
|
1204
|
+
written: "written";
|
|
1204
1205
|
failed: "failed";
|
|
1205
1206
|
disabled: "disabled";
|
|
1206
1207
|
unreadable: "unreadable";
|
|
1207
1208
|
unchanged: "unchanged";
|
|
1208
|
-
written: "written";
|
|
1209
1209
|
gated: "gated";
|
|
1210
1210
|
unbound: "unbound";
|
|
1211
1211
|
}>;
|
|
@@ -1419,11 +1419,11 @@ export declare const osdManagerCapability: {
|
|
|
1419
1419
|
}, z.core.$strip>, z.ZodObject<{
|
|
1420
1420
|
slotId: z.ZodString;
|
|
1421
1421
|
outcome: z.ZodEnum<{
|
|
1422
|
+
written: "written";
|
|
1422
1423
|
failed: "failed";
|
|
1423
1424
|
disabled: "disabled";
|
|
1424
1425
|
unreadable: "unreadable";
|
|
1425
1426
|
unchanged: "unchanged";
|
|
1426
|
-
written: "written";
|
|
1427
1427
|
gated: "gated";
|
|
1428
1428
|
unbound: "unbound";
|
|
1429
1429
|
}>;
|
|
@@ -1437,11 +1437,11 @@ export declare const osdManagerCapability: {
|
|
|
1437
1437
|
results: z.ZodArray<z.ZodObject<{
|
|
1438
1438
|
slotId: z.ZodString;
|
|
1439
1439
|
outcome: z.ZodEnum<{
|
|
1440
|
+
written: "written";
|
|
1440
1441
|
failed: "failed";
|
|
1441
1442
|
disabled: "disabled";
|
|
1442
1443
|
unreadable: "unreadable";
|
|
1443
1444
|
unchanged: "unchanged";
|
|
1444
|
-
written: "written";
|
|
1445
1445
|
gated: "gated";
|
|
1446
1446
|
unbound: "unbound";
|
|
1447
1447
|
}>;
|
|
@@ -880,6 +880,7 @@ export type MediaFile = z.infer<typeof MediaFileSchema>;
|
|
|
880
880
|
*/
|
|
881
881
|
declare const MediaFileInfoSchema: z.ZodObject<{
|
|
882
882
|
timestamp: z.ZodNumber;
|
|
883
|
+
url: z.ZodString;
|
|
883
884
|
kind: z.ZodEnum<{
|
|
884
885
|
crop: "crop";
|
|
885
886
|
thumbnail: "thumbnail";
|
|
@@ -898,7 +899,6 @@ declare const MediaFileInfoSchema: z.ZodObject<{
|
|
|
898
899
|
sceneFrame: "sceneFrame";
|
|
899
900
|
lastSceneFrame: "lastSceneFrame";
|
|
900
901
|
}>;
|
|
901
|
-
url: z.ZodString;
|
|
902
902
|
mediaId: z.ZodNumber;
|
|
903
903
|
sizeBytes: z.ZodNumber;
|
|
904
904
|
}, z.core.$strip>;
|
|
@@ -1173,9 +1173,9 @@ export declare const RetrainFrameSchema: z.ZodObject<{
|
|
|
1173
1173
|
export type RetrainFrame = z.infer<typeof RetrainFrameSchema>;
|
|
1174
1174
|
/** Why a copy-on-select could not be honoured — named, never a silent skip. */
|
|
1175
1175
|
export declare const RetrainCopyRefusalSchema: z.ZodEnum<{
|
|
1176
|
+
"write-failed": "write-failed";
|
|
1176
1177
|
"source-missing": "source-missing";
|
|
1177
1178
|
"unreadable-image": "unreadable-image";
|
|
1178
|
-
"write-failed": "write-failed";
|
|
1179
1179
|
}>;
|
|
1180
1180
|
export declare const RetrainFrameSelectionSchema: z.ZodObject<{
|
|
1181
1181
|
copied: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -1243,9 +1243,9 @@ export declare const RetrainFrameSelectionSchema: z.ZodObject<{
|
|
|
1243
1243
|
refused: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1244
1244
|
sourceMediaId: z.ZodNumber;
|
|
1245
1245
|
reason: z.ZodEnum<{
|
|
1246
|
+
"write-failed": "write-failed";
|
|
1246
1247
|
"source-missing": "source-missing";
|
|
1247
1248
|
"unreadable-image": "unreadable-image";
|
|
1248
|
-
"write-failed": "write-failed";
|
|
1249
1249
|
}>;
|
|
1250
1250
|
}, z.core.$strip>>>;
|
|
1251
1251
|
}, z.core.$strip>;
|
|
@@ -1570,8 +1570,8 @@ export declare const AddRetrainFrameFromRecordingResultSchema: z.ZodDiscriminate
|
|
|
1570
1570
|
}, z.core.$strip>, z.ZodObject<{
|
|
1571
1571
|
kind: z.ZodLiteral<"refused">;
|
|
1572
1572
|
reason: z.ZodEnum<{
|
|
1573
|
-
"unreadable-image": "unreadable-image";
|
|
1574
1573
|
"write-failed": "write-failed";
|
|
1574
|
+
"unreadable-image": "unreadable-image";
|
|
1575
1575
|
"unknown-collection": "unknown-collection";
|
|
1576
1576
|
"still-unavailable": "still-unavailable";
|
|
1577
1577
|
"still-busy": "still-busy";
|
|
@@ -4432,9 +4432,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
4432
4432
|
refused: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
4433
4433
|
sourceMediaId: z.ZodNumber;
|
|
4434
4434
|
reason: z.ZodEnum<{
|
|
4435
|
+
"write-failed": "write-failed";
|
|
4435
4436
|
"source-missing": "source-missing";
|
|
4436
4437
|
"unreadable-image": "unreadable-image";
|
|
4437
|
-
"write-failed": "write-failed";
|
|
4438
4438
|
}>;
|
|
4439
4439
|
}, z.core.$strip>>>;
|
|
4440
4440
|
}, z.core.$strip>, "mutation">;
|
|
@@ -4857,6 +4857,37 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
4857
4857
|
sha256: z.ZodString;
|
|
4858
4858
|
status: z.ZodNumber;
|
|
4859
4859
|
}, z.core.$strip>, "mutation">;
|
|
4860
|
+
/**
|
|
4861
|
+
* OFFER the annotated archive instead of pushing it (D805): the same tar
|
|
4862
|
+
* `writeRetrainArchive` streams, behind a one-shot `ctx.peerBytes` ticket
|
|
4863
|
+
* the caller dials at once (same host). For a consumer that cannot expose
|
|
4864
|
+
* an upload URL — a training provider streaming straight into its cloud.
|
|
4865
|
+
* The answer is the plan; the bytes and their sha256 are the consumer's
|
|
4866
|
+
* to measure as they arrive.
|
|
4867
|
+
*/
|
|
4868
|
+
readonly offerRetrainArchive: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
4869
|
+
filter: z.ZodObject<{
|
|
4870
|
+
deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
4871
|
+
frameIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4872
|
+
collectionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4873
|
+
datasetVersionId: z.ZodOptional<z.ZodString>;
|
|
4874
|
+
batchId: z.ZodOptional<z.ZodString>;
|
|
4875
|
+
completeOnly: z.ZodOptional<z.ZodBoolean>;
|
|
4876
|
+
}, z.core.$strip>;
|
|
4877
|
+
layout: z.ZodEnum<{
|
|
4878
|
+
frames: "frames";
|
|
4879
|
+
crops: "crops";
|
|
4880
|
+
}>;
|
|
4881
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4882
|
+
ticket: z.ZodObject<{
|
|
4883
|
+
url: z.ZodString;
|
|
4884
|
+
hostNodeId: z.ZodString;
|
|
4885
|
+
expiresAtMs: z.ZodNumber;
|
|
4886
|
+
declaredBytes: z.ZodNullable<z.ZodNumber>;
|
|
4887
|
+
}, z.core.$strip>;
|
|
4888
|
+
frames: z.ZodNumber;
|
|
4889
|
+
annotations: z.ZodNumber;
|
|
4890
|
+
}, z.core.$strip>, "mutation">;
|
|
4860
4891
|
/** The counts a selection would freeze — class × camera × day/night,
|
|
4861
4892
|
* completeness — without freezing anything. Index reads only. */
|
|
4862
4893
|
readonly previewRetrainDataset: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -5275,8 +5306,8 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
5275
5306
|
}, z.core.$strip>, z.ZodObject<{
|
|
5276
5307
|
kind: z.ZodLiteral<"refused">;
|
|
5277
5308
|
reason: z.ZodEnum<{
|
|
5278
|
-
"unreadable-image": "unreadable-image";
|
|
5279
5309
|
"write-failed": "write-failed";
|
|
5310
|
+
"unreadable-image": "unreadable-image";
|
|
5280
5311
|
"unknown-collection": "unknown-collection";
|
|
5281
5312
|
"still-unavailable": "still-unavailable";
|
|
5282
5313
|
"still-busy": "still-busy";
|
|
@@ -5505,6 +5536,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
5505
5536
|
deviceId: z.ZodNumber;
|
|
5506
5537
|
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
5507
5538
|
timestamp: z.ZodNumber;
|
|
5539
|
+
url: z.ZodString;
|
|
5508
5540
|
kind: z.ZodEnum<{
|
|
5509
5541
|
crop: "crop";
|
|
5510
5542
|
thumbnail: "thumbnail";
|
|
@@ -5523,7 +5555,6 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
5523
5555
|
sceneFrame: "sceneFrame";
|
|
5524
5556
|
lastSceneFrame: "lastSceneFrame";
|
|
5525
5557
|
}>;
|
|
5526
|
-
url: z.ZodString;
|
|
5527
5558
|
mediaId: z.ZodNumber;
|
|
5528
5559
|
sizeBytes: z.ZodNumber;
|
|
5529
5560
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -5555,6 +5586,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
5555
5586
|
deviceId: z.ZodNumber;
|
|
5556
5587
|
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
5557
5588
|
timestamp: z.ZodNumber;
|
|
5589
|
+
url: z.ZodString;
|
|
5558
5590
|
kind: z.ZodEnum<{
|
|
5559
5591
|
crop: "crop";
|
|
5560
5592
|
thumbnail: "thumbnail";
|
|
@@ -5573,7 +5605,6 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
5573
5605
|
sceneFrame: "sceneFrame";
|
|
5574
5606
|
lastSceneFrame: "lastSceneFrame";
|
|
5575
5607
|
}>;
|
|
5576
|
-
url: z.ZodString;
|
|
5577
5608
|
mediaId: z.ZodNumber;
|
|
5578
5609
|
sizeBytes: z.ZodNumber;
|
|
5579
5610
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -118,8 +118,8 @@ export declare const RecordingManifestSchema: z.ZodObject<{
|
|
|
118
118
|
export type RecordingManifest = z.infer<typeof RecordingManifestSchema>;
|
|
119
119
|
export declare const RecordingSourceAvailabilitySchema: z.ZodObject<{
|
|
120
120
|
state: z.ZodEnum<{
|
|
121
|
-
ok: "ok";
|
|
122
121
|
unreachable: "unreachable";
|
|
122
|
+
ok: "ok";
|
|
123
123
|
sleeping: "sleeping";
|
|
124
124
|
"no-storage": "no-storage";
|
|
125
125
|
"index-empty": "index-empty";
|
|
@@ -144,8 +144,8 @@ export declare const RecordingSourceSchema: z.ZodObject<{
|
|
|
144
144
|
addonId: z.ZodOptional<z.ZodString>;
|
|
145
145
|
availability: z.ZodObject<{
|
|
146
146
|
state: z.ZodEnum<{
|
|
147
|
-
ok: "ok";
|
|
148
147
|
unreachable: "unreachable";
|
|
148
|
+
ok: "ok";
|
|
149
149
|
sleeping: "sleeping";
|
|
150
150
|
"no-storage": "no-storage";
|
|
151
151
|
"index-empty": "index-empty";
|
|
@@ -246,8 +246,8 @@ export declare const recordingCapability: {
|
|
|
246
246
|
addonId: z.ZodOptional<z.ZodString>;
|
|
247
247
|
availability: z.ZodObject<{
|
|
248
248
|
state: z.ZodEnum<{
|
|
249
|
-
ok: "ok";
|
|
250
249
|
unreachable: "unreachable";
|
|
250
|
+
ok: "ok";
|
|
251
251
|
sleeping: "sleeping";
|
|
252
252
|
"no-storage": "no-storage";
|
|
253
253
|
"index-empty": "index-empty";
|
|
@@ -303,8 +303,8 @@ declare const ServerUpdateCheckResultSchema: z.ZodObject<{
|
|
|
303
303
|
* - `failed` — attempted and did not land; `error` says why.
|
|
304
304
|
*/
|
|
305
305
|
declare const ServerUpdateOutcomeSchema: z.ZodEnum<{
|
|
306
|
-
failed: "failed";
|
|
307
306
|
refused: "refused";
|
|
307
|
+
failed: "failed";
|
|
308
308
|
staged: "staged";
|
|
309
309
|
"restart-scheduled": "restart-scheduled";
|
|
310
310
|
"already-current": "already-current";
|
|
@@ -315,8 +315,8 @@ declare const ServerUpdateActionResultSchema: z.ZodObject<{
|
|
|
315
315
|
restarting: z.ZodBoolean;
|
|
316
316
|
message: z.ZodString;
|
|
317
317
|
outcome: z.ZodOptional<z.ZodEnum<{
|
|
318
|
-
failed: "failed";
|
|
319
318
|
refused: "refused";
|
|
319
|
+
failed: "failed";
|
|
320
320
|
staged: "staged";
|
|
321
321
|
"restart-scheduled": "restart-scheduled";
|
|
322
322
|
"already-current": "already-current";
|
|
@@ -420,8 +420,8 @@ export declare const serverManagementCapability: {
|
|
|
420
420
|
restarting: z.ZodBoolean;
|
|
421
421
|
message: z.ZodString;
|
|
422
422
|
outcome: z.ZodOptional<z.ZodEnum<{
|
|
423
|
-
failed: "failed";
|
|
424
423
|
refused: "refused";
|
|
424
|
+
failed: "failed";
|
|
425
425
|
staged: "staged";
|
|
426
426
|
"restart-scheduled": "restart-scheduled";
|
|
427
427
|
"already-current": "already-current";
|
|
@@ -435,8 +435,8 @@ export declare const serverManagementCapability: {
|
|
|
435
435
|
restarting: z.ZodBoolean;
|
|
436
436
|
message: z.ZodString;
|
|
437
437
|
outcome: z.ZodOptional<z.ZodEnum<{
|
|
438
|
-
failed: "failed";
|
|
439
438
|
refused: "refused";
|
|
439
|
+
failed: "failed";
|
|
440
440
|
staged: "staged";
|
|
441
441
|
"restart-scheduled": "restart-scheduled";
|
|
442
442
|
"already-current": "already-current";
|
|
@@ -457,8 +457,8 @@ export declare const serverManagementCapability: {
|
|
|
457
457
|
restarting: z.ZodBoolean;
|
|
458
458
|
message: z.ZodString;
|
|
459
459
|
outcome: z.ZodOptional<z.ZodEnum<{
|
|
460
|
-
failed: "failed";
|
|
461
460
|
refused: "refused";
|
|
461
|
+
failed: "failed";
|
|
462
462
|
staged: "staged";
|
|
463
463
|
"restart-scheduled": "restart-scheduled";
|
|
464
464
|
"already-current": "already-current";
|