@camstack/types 1.2.417 → 1.2.419
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 +2 -2
- package/dist/addon.mjs +2 -2
- package/dist/capabilities/addons.cap.d.ts +67 -1
- package/dist/capabilities/capability-definition.d.ts +5 -0
- package/dist/capabilities/color.cap.d.ts +1 -0
- package/dist/capabilities/composer.cap.d.ts +201 -0
- package/dist/capabilities/core-blocks.cap.d.ts +1441 -0
- package/dist/capabilities/group-commands.cap.d.ts +49 -0
- package/dist/capabilities/group-status.cap.d.ts +46 -0
- package/dist/capabilities/index.d.ts +6 -2
- package/dist/capabilities/motion.cap.d.ts +12 -4
- package/dist/capabilities/notification-rules.cap.d.ts +46 -0
- package/dist/capabilities/osd-manager.cap.d.ts +12 -0
- package/dist/client.js +37 -5
- package/dist/client.mjs +37 -5
- package/dist/composition/composition-report.d.ts +72 -0
- package/dist/composition/composition.d.ts +286 -5
- package/dist/composition/helpers/actuator.d.ts +58 -0
- package/dist/composition/helpers/aggregate.d.ts +41 -0
- package/dist/composition/helpers/catalog.d.ts +47 -0
- package/dist/composition/helpers/compile.d.ts +22 -0
- package/dist/composition/helpers/index.d.ts +7 -0
- package/dist/composition/helpers/save.d.ts +18 -0
- package/dist/composition/helpers/source-pick.d.ts +40 -0
- package/dist/composition/helpers/spec.d.ts +43 -0
- package/dist/composition/index.d.ts +1 -0
- package/dist/composition/source-ref.d.ts +11 -0
- package/dist/composition/validate-composition.d.ts +5 -0
- package/dist/{composition-kEl9mevu.mjs → composition-OhpuespA.mjs} +121 -8
- package/dist/{composition-DsmkwP9-.js → composition-re1aezX9.js} +198 -7
- package/dist/device/cap-vocabulary/entries/sensors.d.ts +1 -1
- package/dist/enums/event-category.d.ts +8 -0
- package/dist/enums.js +1 -1
- package/dist/enums.mjs +1 -1
- package/dist/{event-category-DXZ3f9Q5.js → event-category-Ave2VSxY.js} +8 -0
- package/dist/{event-category-DHXxB8t9.mjs → event-category-CT-hz5Rb.mjs} +8 -0
- package/dist/generated/addon-api.d.ts +35 -0
- package/dist/generated/addon-cap-facts.d.ts +1 -1
- package/dist/generated/cap-status-types.d.ts +5 -1
- package/dist/generated/capability-router-map.d.ts +8 -2
- package/dist/generated/device-local-state.d.ts +6 -0
- package/dist/generated/device-proxy.d.ts +6 -0
- package/dist/generated/device-scoped-caps.d.ts +1 -1
- package/dist/generated/history-catalog.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/generated/runtime-state-durability.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.js +1040 -24
- package/dist/index.mjs +1006 -25
- package/dist/interfaces/event-bus.d.ts +15 -0
- package/dist/node.js +1 -1
- package/dist/node.mjs +1 -1
- package/dist/{sleep-gtskVoMw.js → sleep-YJ6FVsUu.js} +26 -2
- package/dist/{sleep-CARd6wZF.mjs → sleep-bykKrTgu.mjs} +26 -2
- package/package.json +1 -1
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { DeviceType } from '../device/device-type.js';
|
|
3
|
+
import { type InferProvider } from './capability-definition.js';
|
|
4
|
+
/**
|
|
5
|
+
* The last command a helper actuator group sent to each member (D944).
|
|
6
|
+
* The composer writes this slice; the aggregate pass does not, so a later
|
|
7
|
+
* reading does not wipe it. History is none — the outcome is the latest
|
|
8
|
+
* attempt, not a series.
|
|
9
|
+
*/
|
|
10
|
+
export declare const GroupCommandResultSchema: z.ZodObject<{
|
|
11
|
+
deviceId: z.ZodNumber;
|
|
12
|
+
cap: z.ZodString;
|
|
13
|
+
method: z.ZodString;
|
|
14
|
+
ok: z.ZodBoolean;
|
|
15
|
+
error: z.ZodOptional<z.ZodString>;
|
|
16
|
+
at: z.ZodNumber;
|
|
17
|
+
}>;
|
|
18
|
+
export type GroupCommandResult = z.infer<typeof GroupCommandResultSchema>;
|
|
19
|
+
export declare const GroupCommandsSchema: z.ZodObject<{
|
|
20
|
+
results: z.ZodArray<typeof GroupCommandResultSchema>;
|
|
21
|
+
}>;
|
|
22
|
+
export type GroupCommands = z.infer<typeof GroupCommandsSchema>;
|
|
23
|
+
export declare const groupCommandsCapability: {
|
|
24
|
+
readonly name: 'group-commands';
|
|
25
|
+
readonly scope: 'device';
|
|
26
|
+
readonly deviceNative: true;
|
|
27
|
+
readonly mode: 'singleton';
|
|
28
|
+
readonly deviceTypes: readonly [DeviceType.Switch, DeviceType.Light];
|
|
29
|
+
readonly methods: {};
|
|
30
|
+
readonly status: {
|
|
31
|
+
readonly schema: z.ZodObject<{
|
|
32
|
+
results: z.ZodArray<typeof GroupCommandResultSchema>;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
readonly kind: 'push';
|
|
35
|
+
};
|
|
36
|
+
readonly runtimeState: z.ZodObject<{
|
|
37
|
+
results: z.ZodArray<typeof GroupCommandResultSchema>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
/**
|
|
40
|
+
* Runtime-state durability: **session** — the last attempt. A restored
|
|
41
|
+
* failure would outlive the command that caused it.
|
|
42
|
+
*
|
|
43
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
44
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
45
|
+
*/
|
|
46
|
+
readonly durability: 'session';
|
|
47
|
+
readonly history: 'none';
|
|
48
|
+
};
|
|
49
|
+
export type IGroupCommandsProvider = InferProvider<typeof groupCommandsCapability>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { type InferProvider } from './capability-definition.js';
|
|
3
|
+
import { DeviceType } from '../device/device-type.js';
|
|
4
|
+
/**
|
|
5
|
+
* How many members of a helper group answered (D944). Counts are integers,
|
|
6
|
+
* not measurements: zero included is a real count, never a stand-in reading.
|
|
7
|
+
* The reading itself stays on the output capability. History is none — the
|
|
8
|
+
* series that later statistics read is the output cap's own history block.
|
|
9
|
+
*/
|
|
10
|
+
export declare const GroupStatusSchema: z.ZodObject<{
|
|
11
|
+
included: z.ZodNumber;
|
|
12
|
+
excluded: z.ZodNumber;
|
|
13
|
+
total: z.ZodNumber;
|
|
14
|
+
}>;
|
|
15
|
+
export type GroupStatus = z.infer<typeof GroupStatusSchema>;
|
|
16
|
+
export declare const groupStatusCapability: {
|
|
17
|
+
readonly name: 'group-status';
|
|
18
|
+
readonly scope: 'device';
|
|
19
|
+
readonly deviceNative: true;
|
|
20
|
+
readonly mode: 'singleton';
|
|
21
|
+
readonly deviceTypes: readonly [DeviceType.Sensor, DeviceType.Switch, DeviceType.Light];
|
|
22
|
+
readonly methods: {};
|
|
23
|
+
readonly status: {
|
|
24
|
+
readonly schema: z.ZodObject<{
|
|
25
|
+
included: z.ZodNumber;
|
|
26
|
+
excluded: z.ZodNumber;
|
|
27
|
+
total: z.ZodNumber;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
readonly kind: 'push';
|
|
30
|
+
};
|
|
31
|
+
readonly runtimeState: z.ZodObject<{
|
|
32
|
+
included: z.ZodNumber;
|
|
33
|
+
excluded: z.ZodNumber;
|
|
34
|
+
total: z.ZodNumber;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
/**
|
|
37
|
+
* Runtime-state durability: **session** — recomputed from members on the
|
|
38
|
+
* next source event; a restored count would outlive the readings it named.
|
|
39
|
+
*
|
|
40
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
41
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
42
|
+
*/
|
|
43
|
+
readonly durability: 'session';
|
|
44
|
+
readonly history: 'none';
|
|
45
|
+
};
|
|
46
|
+
export type IGroupStatusProvider = InferProvider<typeof groupStatusCapability>;
|
|
@@ -164,7 +164,7 @@ export { type CameraCredentials, CameraCredentialsSchema, type CameraCredentials
|
|
|
164
164
|
export { cameraGridLayoutCapability, type GridLayoutCell, type GridLayoutPatch, GridLayoutPatchSchema, type GridLayoutView, GridLayoutViewSchema, type GridNormalizedRect, type GridProfileOffer, type ICameraGridLayoutProvider, type ICameraGridLayoutSettingsProvider, } from './camera-grid-layout.cap.js';
|
|
165
165
|
export { type CarbonMonoxideStatus, CarbonMonoxideStatusSchema, carbonMonoxideCapability, type ICarbonMonoxideProvider, } from './carbon-monoxide.cap.js';
|
|
166
166
|
export { type ClimateControlStatus, ClimateControlStatusSchema, climateControlCapability, type HvacMode, HvacModeSchema, type IClimateControlProvider, } from './climate-control.cap.js';
|
|
167
|
-
export { type ColorHsvTriplet, type ColorInput, type ColorRgbTriplet, type ColorStatus, ColorStatusSchema, colorCapability, type IColorProvider, } from './color.cap.js';
|
|
167
|
+
export { type ColorHsvTriplet, type ColorInput, parseColorInput, type ColorRgbTriplet, type ColorStatus, ColorStatusSchema, colorCapability, type IColorProvider, } from './color.cap.js';
|
|
168
168
|
export { CONNECTION_TEST_TIMEOUT_MS, ConnectionTestDescriptorSchema, ConnectionTestInputSchema, type ConnectionTestOutcome, ConnectionTestOutcomeSchema, connectionTestCapability, type IConnectionTestProvider, } from './connection-test.cap.js';
|
|
169
169
|
export { type ConnectivityStatus, ConnectivityStatusSchema, connectivityCapability, type IConnectivityProvider, } from './connectivity.cap.js';
|
|
170
170
|
export { type ConsumableItem, ConsumableItemSchema, type ConsumableForm, ConsumableFormSchema, consumableFormOf, type ConsumableKind, ConsumableKindSchema, type ConsumableLevel, ConsumableLevelSchema, type ConsumableStatus, ConsumableStatusSchema, consumableKindOf, type ConsumableRemaining, ConsumableRemainingSchema, type ConsumableRemainingKind, ConsumableRemainingKindSchema, type ConsumablesStatus, ConsumablesStatusSchema, consumablesCapability, type IConsumablesProvider, } from './consumables.cap.js';
|
|
@@ -185,6 +185,8 @@ export { type FanControlStatus, FanControlStatusSchema, type FanDirection, FanDi
|
|
|
185
185
|
export { type FeatureProbeStatus, FeatureProbeStatusSchema, featureProbeCapability, type IFeatureProbeProvider, } from './feature-probe.cap.js';
|
|
186
186
|
export { type FloodStatus, FloodStatusSchema, floodCapability, type IFloodProvider, } from './flood.cap.js';
|
|
187
187
|
export { type GasStatus, GasStatusSchema, gasCapability, type IGasProvider } from './gas.cap.js';
|
|
188
|
+
export { type GroupCommandResult, GroupCommandResultSchema, type GroupCommands, GroupCommandsSchema, groupCommandsCapability, type IGroupCommandsProvider, } from './group-commands.cap.js';
|
|
189
|
+
export { type GroupStatus, GroupStatusSchema, groupStatusCapability, type IGroupStatusProvider, } from './group-status.cap.js';
|
|
188
190
|
export { type HeatingValveStatus, HeatingValveStatusSchema, heatingValveCapability, type IHeatingValveProvider, } from './heating-valve.cap.js';
|
|
189
191
|
export { type HumidifierStatus, HumidifierStatusSchema, humidifierCapability, type IHumidifierProvider, } from './humidifier.cap.js';
|
|
190
192
|
export { type HumiditySensorStatus, HumiditySensorStatusSchema, humiditySensorCapability, type IHumiditySensorProvider, } from './humidity-sensor.cap.js';
|
|
@@ -336,6 +338,8 @@ import type { featureProbeCapability } from './feature-probe.cap.js';
|
|
|
336
338
|
import type { filesystemBrowseCapability } from './filesystem-browse.cap.js';
|
|
337
339
|
import type { floodCapability } from './flood.cap.js';
|
|
338
340
|
import type { gasCapability } from './gas.cap.js';
|
|
341
|
+
import type { groupCommandsCapability } from './group-commands.cap.js';
|
|
342
|
+
import type { groupStatusCapability } from './group-status.cap.js';
|
|
339
343
|
import type { heatingValveCapability } from './heating-valve.cap.js';
|
|
340
344
|
import type { humidifierCapability } from './humidifier.cap.js';
|
|
341
345
|
import type { humiditySensorCapability } from './humidity-sensor.cap.js';
|
|
@@ -437,6 +441,6 @@ import type { trainingProviderCapability } from './training-provider.cap.js';
|
|
|
437
441
|
import type { zoneAnalyticsCapability } from './zone-analytics.cap.js';
|
|
438
442
|
import type { zoneRulesCapability } from './zone-rules.cap.js';
|
|
439
443
|
import type { zonesCapability } from './zones.cap.js';
|
|
440
|
-
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 storageAdminCapability | typeof recordsCapability | typeof recordEntriesCapability | typeof deviceHistoryCapability | typeof keychainCapability | typeof keychainAdminCapability | typeof deviceCredentialsCapability | typeof nodeCertificatesCapability | typeof logChannelsCapability | typeof logDestinationCapability | typeof loadContributionCapability | typeof failureContributionCapability | typeof deviceRemovalHookCapability | 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 runningStateCapability | 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 heatingValveCapability | 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 displayPaletteCapability | 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 | typeof dishwasherCapability;
|
|
444
|
+
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 storageAdminCapability | typeof recordsCapability | typeof recordEntriesCapability | typeof deviceHistoryCapability | typeof keychainCapability | typeof keychainAdminCapability | typeof deviceCredentialsCapability | typeof nodeCertificatesCapability | typeof logChannelsCapability | typeof logDestinationCapability | typeof loadContributionCapability | typeof failureContributionCapability | typeof deviceRemovalHookCapability | 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 runningStateCapability | 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 groupCommandsCapability | typeof groupStatusCapability | typeof tamperCapability | typeof vibrationCapability | typeof connectivityCapability | typeof binaryCapability | typeof temperatureSensorCapability | typeof heatingValveCapability | 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 displayPaletteCapability | 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 | typeof dishwasherCapability;
|
|
441
445
|
export type CapabilityName = AnyCapability['name'];
|
|
442
446
|
export type ITypedReadinessRegistry = IReadinessRegistry<CapabilityName>;
|
|
@@ -91,15 +91,23 @@ export declare const motionCapability: {
|
|
|
91
91
|
readonly methods: {
|
|
92
92
|
/**
|
|
93
93
|
* Pull the current motion state synchronously. Convenience shortcut
|
|
94
|
-
* for consumers that don't need the full status object
|
|
95
|
-
*
|
|
96
|
-
* `getStatus` once the auto-injected status surface lands in every
|
|
97
|
-
* consumer.
|
|
94
|
+
* for consumers that don't need the full status object. A composed
|
|
95
|
+
* group answers from its slice (D944): unknown throws, it is not off.
|
|
98
96
|
*/
|
|
99
97
|
readonly isDetected: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
100
98
|
deviceId: z.ZodNumber;
|
|
101
99
|
}, z.core.$strip>, z.ZodBoolean, import("./capability-definition.js").CapabilityMethodKind>;
|
|
102
100
|
};
|
|
101
|
+
/**
|
|
102
|
+
* A composed motion group serves `isDetected` from `detected` (D944).
|
|
103
|
+
* Without this the cap stays uncomposable (`has-commands`).
|
|
104
|
+
*/
|
|
105
|
+
readonly composedMethods: {
|
|
106
|
+
readonly isDetected: {
|
|
107
|
+
readonly kind: 'slice';
|
|
108
|
+
readonly field: 'detected';
|
|
109
|
+
};
|
|
110
|
+
};
|
|
103
111
|
readonly events: {
|
|
104
112
|
/**
|
|
105
113
|
* Fires every time the runner transitions a camera between
|
|
@@ -105,6 +105,8 @@ export declare const NcSystemEventKindSchema: z.ZodEnum<{
|
|
|
105
105
|
"node-online": "node-online";
|
|
106
106
|
"node-restarting": "node-restarting";
|
|
107
107
|
"node-updating": "node-updating";
|
|
108
|
+
"package-llm-answered": "package-llm-answered";
|
|
109
|
+
"package-llm-silent": "package-llm-silent";
|
|
108
110
|
"recording-degraded": "recording-degraded";
|
|
109
111
|
"recording-healthy": "recording-healthy";
|
|
110
112
|
"recording-stalled": "recording-stalled";
|
|
@@ -216,6 +218,8 @@ export declare const NcSystemEventConditionSchema: z.ZodObject<{
|
|
|
216
218
|
"node-online": "node-online";
|
|
217
219
|
"node-restarting": "node-restarting";
|
|
218
220
|
"node-updating": "node-updating";
|
|
221
|
+
"package-llm-answered": "package-llm-answered";
|
|
222
|
+
"package-llm-silent": "package-llm-silent";
|
|
219
223
|
"recording-degraded": "recording-degraded";
|
|
220
224
|
"recording-healthy": "recording-healthy";
|
|
221
225
|
"recording-stalled": "recording-stalled";
|
|
@@ -948,6 +952,8 @@ export declare const NcConditionsSchema: z.ZodObject<{
|
|
|
948
952
|
"node-online": "node-online";
|
|
949
953
|
"node-restarting": "node-restarting";
|
|
950
954
|
"node-updating": "node-updating";
|
|
955
|
+
"package-llm-answered": "package-llm-answered";
|
|
956
|
+
"package-llm-silent": "package-llm-silent";
|
|
951
957
|
"recording-degraded": "recording-degraded";
|
|
952
958
|
"recording-healthy": "recording-healthy";
|
|
953
959
|
"recording-stalled": "recording-stalled";
|
|
@@ -1358,6 +1364,8 @@ export declare const NcRuleInputSchema: z.ZodObject<{
|
|
|
1358
1364
|
"node-online": "node-online";
|
|
1359
1365
|
"node-restarting": "node-restarting";
|
|
1360
1366
|
"node-updating": "node-updating";
|
|
1367
|
+
"package-llm-answered": "package-llm-answered";
|
|
1368
|
+
"package-llm-silent": "package-llm-silent";
|
|
1361
1369
|
"recording-degraded": "recording-degraded";
|
|
1362
1370
|
"recording-healthy": "recording-healthy";
|
|
1363
1371
|
"recording-stalled": "recording-stalled";
|
|
@@ -1884,6 +1892,8 @@ export declare const NcRulePatchSchema: z.ZodObject<{
|
|
|
1884
1892
|
"node-online": "node-online";
|
|
1885
1893
|
"node-restarting": "node-restarting";
|
|
1886
1894
|
"node-updating": "node-updating";
|
|
1895
|
+
"package-llm-answered": "package-llm-answered";
|
|
1896
|
+
"package-llm-silent": "package-llm-silent";
|
|
1887
1897
|
"recording-degraded": "recording-degraded";
|
|
1888
1898
|
"recording-healthy": "recording-healthy";
|
|
1889
1899
|
"recording-stalled": "recording-stalled";
|
|
@@ -2287,6 +2297,8 @@ export declare const NcRuleUpdateInputSchema: z.ZodObject<{
|
|
|
2287
2297
|
"node-online": "node-online";
|
|
2288
2298
|
"node-restarting": "node-restarting";
|
|
2289
2299
|
"node-updating": "node-updating";
|
|
2300
|
+
"package-llm-answered": "package-llm-answered";
|
|
2301
|
+
"package-llm-silent": "package-llm-silent";
|
|
2290
2302
|
"recording-degraded": "recording-degraded";
|
|
2291
2303
|
"recording-healthy": "recording-healthy";
|
|
2292
2304
|
"recording-stalled": "recording-stalled";
|
|
@@ -2511,6 +2523,8 @@ export declare const NcRuleSchema: z.ZodObject<{
|
|
|
2511
2523
|
"node-online": "node-online";
|
|
2512
2524
|
"node-restarting": "node-restarting";
|
|
2513
2525
|
"node-updating": "node-updating";
|
|
2526
|
+
"package-llm-answered": "package-llm-answered";
|
|
2527
|
+
"package-llm-silent": "package-llm-silent";
|
|
2514
2528
|
"recording-degraded": "recording-degraded";
|
|
2515
2529
|
"recording-healthy": "recording-healthy";
|
|
2516
2530
|
"recording-stalled": "recording-stalled";
|
|
@@ -3050,6 +3064,8 @@ export declare const NcTemplateVarDescriptorSchema: z.ZodObject<{
|
|
|
3050
3064
|
"node-online": "node-online";
|
|
3051
3065
|
"node-restarting": "node-restarting";
|
|
3052
3066
|
"node-updating": "node-updating";
|
|
3067
|
+
"package-llm-answered": "package-llm-answered";
|
|
3068
|
+
"package-llm-silent": "package-llm-silent";
|
|
3053
3069
|
"recording-degraded": "recording-degraded";
|
|
3054
3070
|
"recording-healthy": "recording-healthy";
|
|
3055
3071
|
"recording-stalled": "recording-stalled";
|
|
@@ -3144,6 +3160,8 @@ export declare const NcTemplateVarContextSchema: z.ZodObject<{
|
|
|
3144
3160
|
"node-online": "node-online";
|
|
3145
3161
|
"node-restarting": "node-restarting";
|
|
3146
3162
|
"node-updating": "node-updating";
|
|
3163
|
+
"package-llm-answered": "package-llm-answered";
|
|
3164
|
+
"package-llm-silent": "package-llm-silent";
|
|
3147
3165
|
"recording-degraded": "recording-degraded";
|
|
3148
3166
|
"recording-healthy": "recording-healthy";
|
|
3149
3167
|
"recording-stalled": "recording-stalled";
|
|
@@ -3235,6 +3253,8 @@ export declare const NcTemplatePreviewInputSchema: z.ZodObject<{
|
|
|
3235
3253
|
"node-online": "node-online";
|
|
3236
3254
|
"node-restarting": "node-restarting";
|
|
3237
3255
|
"node-updating": "node-updating";
|
|
3256
|
+
"package-llm-answered": "package-llm-answered";
|
|
3257
|
+
"package-llm-silent": "package-llm-silent";
|
|
3238
3258
|
"recording-degraded": "recording-degraded";
|
|
3239
3259
|
"recording-healthy": "recording-healthy";
|
|
3240
3260
|
"recording-stalled": "recording-stalled";
|
|
@@ -3408,6 +3428,8 @@ export declare const NcHistorySubjectSchema: z.ZodObject<{
|
|
|
3408
3428
|
"node-online": "node-online";
|
|
3409
3429
|
"node-restarting": "node-restarting";
|
|
3410
3430
|
"node-updating": "node-updating";
|
|
3431
|
+
"package-llm-answered": "package-llm-answered";
|
|
3432
|
+
"package-llm-silent": "package-llm-silent";
|
|
3411
3433
|
"recording-degraded": "recording-degraded";
|
|
3412
3434
|
"recording-healthy": "recording-healthy";
|
|
3413
3435
|
"recording-stalled": "recording-stalled";
|
|
@@ -3518,6 +3540,8 @@ export declare const NcHistoryEntrySchema: z.ZodObject<{
|
|
|
3518
3540
|
"node-online": "node-online";
|
|
3519
3541
|
"node-restarting": "node-restarting";
|
|
3520
3542
|
"node-updating": "node-updating";
|
|
3543
|
+
"package-llm-answered": "package-llm-answered";
|
|
3544
|
+
"package-llm-silent": "package-llm-silent";
|
|
3521
3545
|
"recording-degraded": "recording-degraded";
|
|
3522
3546
|
"recording-healthy": "recording-healthy";
|
|
3523
3547
|
"recording-stalled": "recording-stalled";
|
|
@@ -4657,6 +4681,8 @@ export declare const notificationRulesCapability: {
|
|
|
4657
4681
|
"node-online": "node-online";
|
|
4658
4682
|
"node-restarting": "node-restarting";
|
|
4659
4683
|
"node-updating": "node-updating";
|
|
4684
|
+
"package-llm-answered": "package-llm-answered";
|
|
4685
|
+
"package-llm-silent": "package-llm-silent";
|
|
4660
4686
|
"recording-degraded": "recording-degraded";
|
|
4661
4687
|
"recording-healthy": "recording-healthy";
|
|
4662
4688
|
"recording-stalled": "recording-stalled";
|
|
@@ -5028,6 +5054,8 @@ export declare const notificationRulesCapability: {
|
|
|
5028
5054
|
"node-online": "node-online";
|
|
5029
5055
|
"node-restarting": "node-restarting";
|
|
5030
5056
|
"node-updating": "node-updating";
|
|
5057
|
+
"package-llm-answered": "package-llm-answered";
|
|
5058
|
+
"package-llm-silent": "package-llm-silent";
|
|
5031
5059
|
"recording-degraded": "recording-degraded";
|
|
5032
5060
|
"recording-healthy": "recording-healthy";
|
|
5033
5061
|
"recording-stalled": "recording-stalled";
|
|
@@ -5397,6 +5425,8 @@ export declare const notificationRulesCapability: {
|
|
|
5397
5425
|
"node-online": "node-online";
|
|
5398
5426
|
"node-restarting": "node-restarting";
|
|
5399
5427
|
"node-updating": "node-updating";
|
|
5428
|
+
"package-llm-answered": "package-llm-answered";
|
|
5429
|
+
"package-llm-silent": "package-llm-silent";
|
|
5400
5430
|
"recording-degraded": "recording-degraded";
|
|
5401
5431
|
"recording-healthy": "recording-healthy";
|
|
5402
5432
|
"recording-stalled": "recording-stalled";
|
|
@@ -5760,6 +5790,8 @@ export declare const notificationRulesCapability: {
|
|
|
5760
5790
|
"node-online": "node-online";
|
|
5761
5791
|
"node-restarting": "node-restarting";
|
|
5762
5792
|
"node-updating": "node-updating";
|
|
5793
|
+
"package-llm-answered": "package-llm-answered";
|
|
5794
|
+
"package-llm-silent": "package-llm-silent";
|
|
5763
5795
|
"recording-degraded": "recording-degraded";
|
|
5764
5796
|
"recording-healthy": "recording-healthy";
|
|
5765
5797
|
"recording-stalled": "recording-stalled";
|
|
@@ -6286,6 +6318,8 @@ export declare const notificationRulesCapability: {
|
|
|
6286
6318
|
"node-online": "node-online";
|
|
6287
6319
|
"node-restarting": "node-restarting";
|
|
6288
6320
|
"node-updating": "node-updating";
|
|
6321
|
+
"package-llm-answered": "package-llm-answered";
|
|
6322
|
+
"package-llm-silent": "package-llm-silent";
|
|
6289
6323
|
"recording-degraded": "recording-degraded";
|
|
6290
6324
|
"recording-healthy": "recording-healthy";
|
|
6291
6325
|
"recording-stalled": "recording-stalled";
|
|
@@ -6508,6 +6542,8 @@ export declare const notificationRulesCapability: {
|
|
|
6508
6542
|
"node-online": "node-online";
|
|
6509
6543
|
"node-restarting": "node-restarting";
|
|
6510
6544
|
"node-updating": "node-updating";
|
|
6545
|
+
"package-llm-answered": "package-llm-answered";
|
|
6546
|
+
"package-llm-silent": "package-llm-silent";
|
|
6511
6547
|
"recording-degraded": "recording-degraded";
|
|
6512
6548
|
"recording-healthy": "recording-healthy";
|
|
6513
6549
|
"recording-stalled": "recording-stalled";
|
|
@@ -7070,6 +7106,8 @@ export declare const notificationRulesCapability: {
|
|
|
7070
7106
|
"node-online": "node-online";
|
|
7071
7107
|
"node-restarting": "node-restarting";
|
|
7072
7108
|
"node-updating": "node-updating";
|
|
7109
|
+
"package-llm-answered": "package-llm-answered";
|
|
7110
|
+
"package-llm-silent": "package-llm-silent";
|
|
7073
7111
|
"recording-degraded": "recording-degraded";
|
|
7074
7112
|
"recording-healthy": "recording-healthy";
|
|
7075
7113
|
"recording-stalled": "recording-stalled";
|
|
@@ -7458,6 +7496,8 @@ export declare const notificationRulesCapability: {
|
|
|
7458
7496
|
"node-online": "node-online";
|
|
7459
7497
|
"node-restarting": "node-restarting";
|
|
7460
7498
|
"node-updating": "node-updating";
|
|
7499
|
+
"package-llm-answered": "package-llm-answered";
|
|
7500
|
+
"package-llm-silent": "package-llm-silent";
|
|
7461
7501
|
"recording-degraded": "recording-degraded";
|
|
7462
7502
|
"recording-healthy": "recording-healthy";
|
|
7463
7503
|
"recording-stalled": "recording-stalled";
|
|
@@ -7929,6 +7969,8 @@ export declare const notificationRulesCapability: {
|
|
|
7929
7969
|
"node-online": "node-online";
|
|
7930
7970
|
"node-restarting": "node-restarting";
|
|
7931
7971
|
"node-updating": "node-updating";
|
|
7972
|
+
"package-llm-answered": "package-llm-answered";
|
|
7973
|
+
"package-llm-silent": "package-llm-silent";
|
|
7932
7974
|
"recording-degraded": "recording-degraded";
|
|
7933
7975
|
"recording-healthy": "recording-healthy";
|
|
7934
7976
|
"recording-stalled": "recording-stalled";
|
|
@@ -8029,6 +8071,8 @@ export declare const notificationRulesCapability: {
|
|
|
8029
8071
|
"node-online": "node-online";
|
|
8030
8072
|
"node-restarting": "node-restarting";
|
|
8031
8073
|
"node-updating": "node-updating";
|
|
8074
|
+
"package-llm-answered": "package-llm-answered";
|
|
8075
|
+
"package-llm-silent": "package-llm-silent";
|
|
8032
8076
|
"recording-degraded": "recording-degraded";
|
|
8033
8077
|
"recording-healthy": "recording-healthy";
|
|
8034
8078
|
"recording-stalled": "recording-stalled";
|
|
@@ -8158,6 +8202,8 @@ export declare const notificationRulesCapability: {
|
|
|
8158
8202
|
"node-online": "node-online";
|
|
8159
8203
|
"node-restarting": "node-restarting";
|
|
8160
8204
|
"node-updating": "node-updating";
|
|
8205
|
+
"package-llm-answered": "package-llm-answered";
|
|
8206
|
+
"package-llm-silent": "package-llm-silent";
|
|
8161
8207
|
"recording-degraded": "recording-degraded";
|
|
8162
8208
|
"recording-healthy": "recording-healthy";
|
|
8163
8209
|
"recording-stalled": "recording-stalled";
|
|
@@ -249,6 +249,8 @@ export declare const OsdSlotBindingSchema: z.ZodObject<{
|
|
|
249
249
|
"node-online": "node-online";
|
|
250
250
|
"node-restarting": "node-restarting";
|
|
251
251
|
"node-updating": "node-updating";
|
|
252
|
+
"package-llm-answered": "package-llm-answered";
|
|
253
|
+
"package-llm-silent": "package-llm-silent";
|
|
252
254
|
"recording-degraded": "recording-degraded";
|
|
253
255
|
"recording-healthy": "recording-healthy";
|
|
254
256
|
"recording-stalled": "recording-stalled";
|
|
@@ -451,6 +453,8 @@ export declare const OsdSlotViewSchema: z.ZodObject<{
|
|
|
451
453
|
"node-online": "node-online";
|
|
452
454
|
"node-restarting": "node-restarting";
|
|
453
455
|
"node-updating": "node-updating";
|
|
456
|
+
"package-llm-answered": "package-llm-answered";
|
|
457
|
+
"package-llm-silent": "package-llm-silent";
|
|
454
458
|
"recording-degraded": "recording-degraded";
|
|
455
459
|
"recording-healthy": "recording-healthy";
|
|
456
460
|
"recording-stalled": "recording-stalled";
|
|
@@ -725,6 +729,8 @@ export declare const osdManagerCapability: {
|
|
|
725
729
|
"node-online": "node-online";
|
|
726
730
|
"node-restarting": "node-restarting";
|
|
727
731
|
"node-updating": "node-updating";
|
|
732
|
+
"package-llm-answered": "package-llm-answered";
|
|
733
|
+
"package-llm-silent": "package-llm-silent";
|
|
728
734
|
"recording-degraded": "recording-degraded";
|
|
729
735
|
"recording-healthy": "recording-healthy";
|
|
730
736
|
"recording-stalled": "recording-stalled";
|
|
@@ -1018,6 +1024,8 @@ export declare const osdManagerCapability: {
|
|
|
1018
1024
|
"node-online": "node-online";
|
|
1019
1025
|
"node-restarting": "node-restarting";
|
|
1020
1026
|
"node-updating": "node-updating";
|
|
1027
|
+
"package-llm-answered": "package-llm-answered";
|
|
1028
|
+
"package-llm-silent": "package-llm-silent";
|
|
1021
1029
|
"recording-degraded": "recording-degraded";
|
|
1022
1030
|
"recording-healthy": "recording-healthy";
|
|
1023
1031
|
"recording-stalled": "recording-stalled";
|
|
@@ -1219,6 +1227,8 @@ export declare const osdManagerCapability: {
|
|
|
1219
1227
|
"node-online": "node-online";
|
|
1220
1228
|
"node-restarting": "node-restarting";
|
|
1221
1229
|
"node-updating": "node-updating";
|
|
1230
|
+
"package-llm-answered": "package-llm-answered";
|
|
1231
|
+
"package-llm-silent": "package-llm-silent";
|
|
1222
1232
|
"recording-degraded": "recording-degraded";
|
|
1223
1233
|
"recording-healthy": "recording-healthy";
|
|
1224
1234
|
"recording-stalled": "recording-stalled";
|
|
@@ -1464,6 +1474,8 @@ export declare const osdManagerCapability: {
|
|
|
1464
1474
|
"node-online": "node-online";
|
|
1465
1475
|
"node-restarting": "node-restarting";
|
|
1466
1476
|
"node-updating": "node-updating";
|
|
1477
|
+
"package-llm-answered": "package-llm-answered";
|
|
1478
|
+
"package-llm-silent": "package-llm-silent";
|
|
1467
1479
|
"recording-degraded": "recording-degraded";
|
|
1468
1480
|
"recording-healthy": "recording-healthy";
|
|
1469
1481
|
"recording-stalled": "recording-stalled";
|
package/dist/client.js
CHANGED
|
@@ -22678,6 +22678,8 @@ var NcSystemEventKindSchema = zod.z.enum([
|
|
|
22678
22678
|
"detection-blind",
|
|
22679
22679
|
"motion-noisy",
|
|
22680
22680
|
"motion-calm",
|
|
22681
|
+
"package-llm-silent",
|
|
22682
|
+
"package-llm-answered",
|
|
22681
22683
|
"recording-stalled",
|
|
22682
22684
|
"recording-healthy",
|
|
22683
22685
|
"recording-degraded",
|
|
@@ -26668,6 +26670,8 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
26668
26670
|
const featureProbeInterface = { getStatus: (input) => dispatch("feature-probe", "featureProbe", "getStatus", "query", input) };
|
|
26669
26671
|
const floodInterface = { getStatus: (input) => dispatch("flood", "flood", "getStatus", "query", input) };
|
|
26670
26672
|
const gasInterface = { getStatus: (input) => dispatch("gas", "gas", "getStatus", "query", input) };
|
|
26673
|
+
const groupCommandsInterface = { getStatus: (input) => dispatch("group-commands", "groupCommands", "getStatus", "query", input) };
|
|
26674
|
+
const groupStatusInterface = { getStatus: (input) => dispatch("group-status", "groupStatus", "getStatus", "query", input) };
|
|
26671
26675
|
const heatingValveInterface = { getStatus: (input) => dispatch("heating-valve", "heatingValve", "getStatus", "query", input) };
|
|
26672
26676
|
const humidifierInterface = {
|
|
26673
26677
|
setOn: (input) => dispatch("humidifier", "humidifier", "setOn", "mutation", input),
|
|
@@ -27222,6 +27226,8 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
27222
27226
|
featureProbe: createSliceHandle(stateSource, binding.deviceId, "feature-probe"),
|
|
27223
27227
|
flood: createSliceHandle(stateSource, binding.deviceId, "flood"),
|
|
27224
27228
|
gas: createSliceHandle(stateSource, binding.deviceId, "gas"),
|
|
27229
|
+
groupCommands: createSliceHandle(stateSource, binding.deviceId, "group-commands"),
|
|
27230
|
+
groupStatus: createSliceHandle(stateSource, binding.deviceId, "group-status"),
|
|
27225
27231
|
heatingValve: createSliceHandle(stateSource, binding.deviceId, "heating-valve"),
|
|
27226
27232
|
humidifier: createSliceHandle(stateSource, binding.deviceId, "humidifier"),
|
|
27227
27233
|
humiditySensor: createSliceHandle(stateSource, binding.deviceId, "humidity-sensor"),
|
|
@@ -27305,6 +27311,8 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
27305
27311
|
...bound("feature-probe") ? { featureProbe: featureProbeInterface } : {},
|
|
27306
27312
|
...bound("flood") ? { flood: floodInterface } : {},
|
|
27307
27313
|
...bound("gas") ? { gas: gasInterface } : {},
|
|
27314
|
+
...bound("group-commands") ? { groupCommands: groupCommandsInterface } : {},
|
|
27315
|
+
...bound("group-status") ? { groupStatus: groupStatusInterface } : {},
|
|
27308
27316
|
...bound("heating-valve") ? { heatingValve: heatingValveInterface } : {},
|
|
27309
27317
|
...bound("humidifier") ? { humidifier: humidifierInterface } : {},
|
|
27310
27318
|
...bound("humidity-sensor") ? { humiditySensor: humiditySensorInterface } : {},
|
|
@@ -28083,6 +28091,7 @@ function createSystemProxy(api) {
|
|
|
28083
28091
|
listCapabilityProviders: (input) => dispatch("addons", "listCapabilityProviders", "query", input),
|
|
28084
28092
|
setCapabilityProviderEnabled: (input) => dispatch("addons", "setCapabilityProviderEnabled", "mutation", input),
|
|
28085
28093
|
getVersions: (input) => dispatch("addons", "getVersions", "query", input),
|
|
28094
|
+
getPackageDocs: (input) => dispatch("addons", "getPackageDocs", "query", input),
|
|
28086
28095
|
restartAddon: (input) => dispatch("addons", "restartAddon", "mutation", input),
|
|
28087
28096
|
retryLoad: (input) => dispatch("addons", "retryLoad", "mutation", input),
|
|
28088
28097
|
getAutoUpdateSettings: (input) => dispatch("addons", "getAutoUpdateSettings", "query", input),
|
|
@@ -29170,8 +29179,8 @@ var NC_SYSTEM_EVENT_FILTER_KEYS = [
|
|
|
29170
29179
|
function systemEventFilterApplies(kind, filter) {
|
|
29171
29180
|
if (LEGACY_KINDS_WITHOUT_FILTERS.has(kind)) return false;
|
|
29172
29181
|
switch (filter) {
|
|
29173
|
-
case "deviceIds": return kind.startsWith("device-") || kind.startsWith("stream-") || kind === "detection-blind" || kind.startsWith("motion-") || kind.startsWith("recording-") || kind === "alarm-triggered";
|
|
29174
|
-
case "deviceTypes": return kind.startsWith("device-") || kind === "detection-blind" || kind.startsWith("motion-");
|
|
29182
|
+
case "deviceIds": return kind.startsWith("device-") || kind.startsWith("stream-") || kind === "detection-blind" || kind.startsWith("motion-") || kind.startsWith("package-llm-") || kind.startsWith("recording-") || kind === "alarm-triggered";
|
|
29183
|
+
case "deviceTypes": return kind.startsWith("device-") || kind === "detection-blind" || kind.startsWith("motion-") || kind.startsWith("package-llm-");
|
|
29175
29184
|
case "nodeIds": return kind.startsWith("node-") || kind === "addon-crash-loop" || kind === "addon-update-available" || kind === "addon-updated" || kind === "server-update-available" || kind === "wrapper-update-available" || kind === "server-updated" || kind.startsWith("storage-location-") || kind.startsWith("alert-");
|
|
29176
29185
|
case "packageNames": return kind.endsWith("update-available") || kind === "addon-updated" || kind === "node-updating" || kind === "server-updated";
|
|
29177
29186
|
case "consumableLowPercent": return NC_CONSUMABLE_SYSTEM_EVENT_KINDS.includes(kind);
|
|
@@ -29228,6 +29237,8 @@ var NC_SYSTEM_EVENT_FAMILY = {
|
|
|
29228
29237
|
"detection-blind": "device-events",
|
|
29229
29238
|
"motion-noisy": "device-events",
|
|
29230
29239
|
"motion-calm": "device-events",
|
|
29240
|
+
"package-llm-silent": "device-events",
|
|
29241
|
+
"package-llm-answered": "device-events",
|
|
29231
29242
|
"recording-stalled": "device-events",
|
|
29232
29243
|
"recording-healthy": "device-events",
|
|
29233
29244
|
"recording-degraded": "device-events",
|
|
@@ -29329,6 +29340,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
29329
29340
|
label: "Motion without a subject",
|
|
29330
29341
|
kinds: ["motion-noisy", "motion-calm"]
|
|
29331
29342
|
},
|
|
29343
|
+
{
|
|
29344
|
+
id: "package-llm",
|
|
29345
|
+
family: "device-events",
|
|
29346
|
+
label: "Package confirm",
|
|
29347
|
+
kinds: ["package-llm-silent", "package-llm-answered"]
|
|
29348
|
+
},
|
|
29332
29349
|
{
|
|
29333
29350
|
id: "recording",
|
|
29334
29351
|
family: "device-events",
|
|
@@ -30326,6 +30343,8 @@ var DEVICE_EVENTS = [
|
|
|
30326
30343
|
"detection-blind",
|
|
30327
30344
|
"motion-noisy",
|
|
30328
30345
|
"motion-calm",
|
|
30346
|
+
"package-llm-silent",
|
|
30347
|
+
"package-llm-answered",
|
|
30329
30348
|
"recording-stalled",
|
|
30330
30349
|
"recording-healthy",
|
|
30331
30350
|
"recording-degraded",
|
|
@@ -30929,7 +30948,8 @@ var NC_TEMPLATE_VARS = [
|
|
|
30929
30948
|
systemEventKinds: [
|
|
30930
30949
|
"recording-degraded",
|
|
30931
30950
|
...DEVICE_ATTENTION,
|
|
30932
|
-
...ALERT_EPISODE
|
|
30951
|
+
...ALERT_EPISODE,
|
|
30952
|
+
"package-llm-silent"
|
|
30933
30953
|
]
|
|
30934
30954
|
},
|
|
30935
30955
|
{
|
|
@@ -31022,7 +31042,8 @@ var NC_TEMPLATE_VARS = [
|
|
|
31022
31042
|
systemEventKinds: [
|
|
31023
31043
|
"storage-location-low",
|
|
31024
31044
|
"storage-location-critical",
|
|
31025
|
-
"storage-location-ok"
|
|
31045
|
+
"storage-location-ok",
|
|
31046
|
+
"package-llm-silent"
|
|
31026
31047
|
]
|
|
31027
31048
|
},
|
|
31028
31049
|
{
|
|
@@ -31433,7 +31454,9 @@ var NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS = [
|
|
|
31433
31454
|
"device-attention-required",
|
|
31434
31455
|
"device-attention-resolved",
|
|
31435
31456
|
"rule-broken",
|
|
31436
|
-
"rule-repaired"
|
|
31457
|
+
"rule-repaired",
|
|
31458
|
+
"package-llm-silent",
|
|
31459
|
+
"package-llm-answered"
|
|
31437
31460
|
];
|
|
31438
31461
|
/**
|
|
31439
31462
|
* Is this descriptor held back from the SERVED catalog as a whole (D647)?
|
|
@@ -31546,6 +31569,15 @@ var NC_SYSTEM_EVENT_CLASS_SPECS = [
|
|
|
31546
31569
|
snapshotLabel: "Cameras with constant motion now",
|
|
31547
31570
|
snapshotSection: null
|
|
31548
31571
|
},
|
|
31572
|
+
{
|
|
31573
|
+
id: "package-llm-confirm",
|
|
31574
|
+
family: "device-events",
|
|
31575
|
+
label: "Package confirm (not answering / answering again)",
|
|
31576
|
+
bad: ["package-llm-silent"],
|
|
31577
|
+
recovery: ["package-llm-answered"],
|
|
31578
|
+
snapshotLabel: "Cameras whose package confirm is not answering",
|
|
31579
|
+
snapshotSection: null
|
|
31580
|
+
},
|
|
31549
31581
|
{
|
|
31550
31582
|
id: "recording-health",
|
|
31551
31583
|
family: "device-events",
|