@camstack/server 1.2.856 → 1.2.858
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/CHANGELOG.md +15 -0
- package/dist/api/trpc/generated-cap-mounts.js +2 -1
- package/dist/api/trpc/generated-cap-routers.js +101 -87
- package/dist/core/addon/instance-links.service.js +6 -2
- package/package.json +15 -9
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/alerts/alerts.addon.js +1 -1
- package/system/dist/builtins/alerts/alerts.addon.mjs +1 -1
- package/system/dist/builtins/autotrack/index.js +1 -1
- package/system/dist/builtins/autotrack/index.mjs +1 -1
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
- package/system/dist/builtins/calendars/calendars.addon.js +1 -1
- package/system/dist/builtins/calendars/calendars.addon.mjs +1 -1
- package/system/dist/builtins/camera-grid/index.js +1 -1
- package/system/dist/builtins/camera-grid/index.mjs +1 -1
- package/system/dist/builtins/composer/composer.addon.js +4 -4
- package/system/dist/builtins/composer/composer.addon.mjs +4 -4
- package/system/dist/builtins/console-logging/index.js +1 -1
- package/system/dist/builtins/console-logging/index.mjs +1 -1
- package/system/dist/builtins/core-blocks/automation-template-instances.d.ts +38 -0
- package/system/dist/builtins/core-blocks/core-blocks.addon.d.ts +6 -0
- package/system/dist/builtins/core-blocks/core-blocks.addon.js +227 -21
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +227 -21
- package/system/dist/builtins/core-blocks/remote-wiring.d.ts +3 -0
- package/system/dist/builtins/core-blocks/templates-service.d.ts +11 -0
- package/system/dist/builtins/device-history/device-history.addon.js +2 -2
- package/system/dist/builtins/device-history/device-history.addon.mjs +2 -2
- package/system/dist/builtins/device-manager/device-manager.addon.js +2 -2
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +2 -2
- package/system/dist/builtins/hub-forwarder/index.js +1 -1
- package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/system/dist/builtins/keychain/index.js +4 -4
- package/system/dist/builtins/keychain/index.mjs +4 -4
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
- package/system/dist/builtins/local-auth/local-auth.addon.js +2 -2
- package/system/dist/builtins/local-auth/local-auth.addon.mjs +2 -2
- package/system/dist/builtins/local-network/local-network.addon.js +3 -3
- package/system/dist/builtins/local-network/local-network.addon.mjs +3 -3
- package/system/dist/builtins/loki-logging/index.js +1 -1
- package/system/dist/builtins/loki-logging/index.mjs +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/system/dist/builtins/platform-probe/index.js +1 -1
- package/system/dist/builtins/platform-probe/index.mjs +1 -1
- package/system/dist/builtins/record-entries/index.js +1 -1
- package/system/dist/builtins/record-entries/index.mjs +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/snapshot/index.js +1 -1
- package/system/dist/builtins/snapshot/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/index.js +1 -1
- package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +3 -3
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +3 -3
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/system-config/system-config.addon.js +3 -3
- package/system/dist/builtins/system-config/system-config.addon.mjs +3 -3
- package/system/dist/builtins/winston-logging/index.js +1 -1
- package/system/dist/builtins/winston-logging/index.mjs +1 -1
- package/system/dist/{capture-engine-BPz4ejJj.mjs → capture-engine-B4_fq2JB.mjs} +1 -1
- package/system/dist/{capture-engine-Bj7UIRm8.js → capture-engine-yhFFC7F8.js} +1 -1
- package/system/dist/{composition-sources-Crz0fywh.mjs → composition-sources-BQOEYCJG.mjs} +1 -1
- package/system/dist/{composition-sources-BKTc629o.js → composition-sources-CKSSe5ny.js} +1 -1
- package/system/dist/{constants-Cmlov8uj.js → constants-dfnEfsX7.js} +1 -1
- package/system/dist/{constants-Lp7Vr4-r.mjs → constants-h8wJE_8O.mjs} +1 -1
- package/system/dist/{device-ca-Dr6H7uBQ.js → device-ca-_o0-3jJ6.js} +1 -1
- package/system/dist/{device-ca-BgIrp4CF.mjs → device-ca-h54CenJx.mjs} +1 -1
- package/system/dist/{dist-CBSKYKwq.js → dist-WEGVb8qV.js} +13607 -2126
- package/system/dist/{dist-CahntDDE.mjs → dist-atHH8IeD.mjs} +13548 -2127
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/{hub-identity-Vp3W2gbI.mjs → hub-identity-DLF698tj.mjs} +1 -1
- package/system/dist/{hub-identity-CFQa7ECA.js → hub-identity-nIMYA24i.js} +1 -1
- package/system/dist/{hub-mdns-ciao-Bimi2gP6.js → hub-mdns-ciao-B6ZHStt1.js} +2 -2
- package/system/dist/{hub-mdns-ciao-DZNHJrVS.mjs → hub-mdns-ciao-DchpUVAk.mjs} +2 -2
- package/system/dist/index.js +12 -8
- package/system/dist/index.mjs +12 -8
- package/system/dist/{legacy-integration-rows-door-DKSreg4e.js → legacy-integration-rows-door-BbaIE1qF.js} +1 -1
- package/system/dist/{legacy-integration-rows-door-f1SeDqI4.mjs → legacy-integration-rows-door-DBO3ZLmn.mjs} +1 -1
- package/system/dist/{rename-composition-block-QJrduoIS.mjs → rename-composition-block-6ISzMLgj.mjs} +1 -1
- package/system/dist/{rename-composition-block-BsfC8uTI.js → rename-composition-block-IIfaFnEl.js} +1 -1
- package/system/dist/{restore-archive-Cu1-Aptf.js → restore-archive-ChRNoqGg.js} +1 -1
- package/system/dist/{restore-archive-D0F1Cn_F.mjs → restore-archive-DeDRh7Lf.mjs} +1 -1
- package/system/dist/{wal-maintenance-BF9svCua.mjs → wal-maintenance-BXj9xnDD.mjs} +0 -0
- package/system/dist/{wal-maintenance-Cq52zXhg.js → wal-maintenance-l3CsKEaJ.js} +0 -0
- package/system/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,11 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.2.858] - 2026-11-13
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- A Google account an email target sends with cannot be deleted while the target still links it.
|
|
15
|
+
- Routers for the new energy-system capability
|
|
16
|
+
|
|
17
|
+
## [1.2.857] - 2026-11-13
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- Capability routers regenerated for the capability vocabulary now declared on each capability (no behaviour change)
|
|
22
|
+
|
|
10
23
|
## [1.2.856] - 2026-11-13
|
|
11
24
|
|
|
12
25
|
### Changed
|
|
13
26
|
|
|
14
27
|
- Rebuilt against updated dependencies.
|
|
28
|
+
### Changed
|
|
29
|
+
|
|
15
30
|
|
|
16
31
|
## [1.2.855] - 2026-11-13
|
|
17
32
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// AUTO-GENERATED by scripts/generate-cap-mounts.ts — DO NOT EDIT
|
|
3
3
|
// Re-run: npx tsx scripts/generate-cap-mounts.ts
|
|
4
4
|
//
|
|
5
|
-
// Mounted:
|
|
5
|
+
// Mounted: 203 Skipped (legacy): 3
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.LEGACY_SHAPE_SKIP = void 0;
|
|
8
8
|
exports.mountAllCaps = mountAllCaps;
|
|
@@ -292,6 +292,7 @@ function mountAllCaps(services) {
|
|
|
292
292
|
const entries = reg.getCollectionEntries('embedding-encoder');
|
|
293
293
|
return entries[0]?.[1] ?? null;
|
|
294
294
|
}, remoteCapProxy),
|
|
295
|
+
energySystem: (0, generated_cap_routers_js_1.createCapRouter_energySystem)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'energy-system'), remoteCapProxy),
|
|
295
296
|
enumSensor: (0, generated_cap_routers_js_1.createCapRouter_enumSensor)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'enum-sensor'), remoteCapProxy),
|
|
296
297
|
eventEmitter: (0, generated_cap_routers_js_1.createCapRouter_eventEmitter)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'event-emitter'), remoteCapProxy),
|
|
297
298
|
faceGallery: (0, generated_cap_routers_js_1.createCapRouter_faceGallery)((_ctx) => reg?.getSingleton('face-gallery') ?? null, remoteCapProxy),
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// AUTO-GENERATED by scripts/generate-cap-routers.ts — DO NOT EDIT
|
|
3
3
|
// Re-run: npx tsx scripts/generate-cap-routers.ts
|
|
4
4
|
//
|
|
5
|
-
// Capabilities:
|
|
5
|
+
// Capabilities: 206
|
|
6
6
|
/* eslint-disable */
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.requireCapProvider = requireCapProvider;
|
|
@@ -76,6 +76,7 @@ exports.createCapRouter_displayPalette = createCapRouter_displayPalette;
|
|
|
76
76
|
exports.createCapRouter_doNotDisturb = createCapRouter_doNotDisturb;
|
|
77
77
|
exports.createCapRouter_doorbell = createCapRouter_doorbell;
|
|
78
78
|
exports.createCapRouter_embeddingEncoder = createCapRouter_embeddingEncoder;
|
|
79
|
+
exports.createCapRouter_energySystem = createCapRouter_energySystem;
|
|
79
80
|
exports.createCapRouter_enumSensor = createCapRouter_enumSensor;
|
|
80
81
|
exports.createCapRouter_eventEmitter = createCapRouter_eventEmitter;
|
|
81
82
|
exports.createCapRouter_faceGallery = createCapRouter_faceGallery;
|
|
@@ -1036,14 +1037,14 @@ function createCapRouter_alarmPanel(getProvider, createRemoteProxy) {
|
|
|
1036
1037
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
1037
1038
|
return p.getStatus(methodInput);
|
|
1038
1039
|
}),
|
|
1039
|
-
|
|
1040
|
-
.input(types_15.alarmPanelCapability.methods.
|
|
1041
|
-
.output(types_15.alarmPanelCapability.methods.
|
|
1040
|
+
trigger: trpc_middleware_js_1.protectedProcedure
|
|
1041
|
+
.input(types_15.alarmPanelCapability.methods.trigger.input.loose())
|
|
1042
|
+
.output(types_15.alarmPanelCapability.methods.trigger.output)
|
|
1042
1043
|
.mutation(async ({ input, ctx }) => {
|
|
1043
1044
|
const { nodeId, ...methodInput } = input;
|
|
1044
1045
|
const p = resolveProvider('alarm-panel', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
1045
1046
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
1046
|
-
return p.
|
|
1047
|
+
return p.trigger(methodInput);
|
|
1047
1048
|
}),
|
|
1048
1049
|
disarm: trpc_middleware_js_1.protectedProcedure
|
|
1049
1050
|
.input(types_15.alarmPanelCapability.methods.disarm.input.loose())
|
|
@@ -1054,14 +1055,14 @@ function createCapRouter_alarmPanel(getProvider, createRemoteProxy) {
|
|
|
1054
1055
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
1055
1056
|
return p.disarm(methodInput);
|
|
1056
1057
|
}),
|
|
1057
|
-
|
|
1058
|
-
.input(types_15.alarmPanelCapability.methods.
|
|
1059
|
-
.output(types_15.alarmPanelCapability.methods.
|
|
1058
|
+
arm: trpc_middleware_js_1.protectedProcedure
|
|
1059
|
+
.input(types_15.alarmPanelCapability.methods.arm.input.loose())
|
|
1060
|
+
.output(types_15.alarmPanelCapability.methods.arm.output)
|
|
1060
1061
|
.mutation(async ({ input, ctx }) => {
|
|
1061
1062
|
const { nodeId, ...methodInput } = input;
|
|
1062
1063
|
const p = resolveProvider('alarm-panel', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
1063
1064
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
1064
|
-
return p.
|
|
1065
|
+
return p.arm(methodInput);
|
|
1065
1066
|
}),
|
|
1066
1067
|
});
|
|
1067
1068
|
}
|
|
@@ -2004,74 +2005,74 @@ function createCapRouter_climateControl(getProvider, createRemoteProxy) {
|
|
|
2004
2005
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
2005
2006
|
return p.setMode(methodInput);
|
|
2006
2007
|
}),
|
|
2007
|
-
|
|
2008
|
-
.input(types_34.climateControlCapability.methods.
|
|
2009
|
-
.output(types_34.climateControlCapability.methods.
|
|
2008
|
+
setTarget: trpc_middleware_js_1.protectedProcedure
|
|
2009
|
+
.input(types_34.climateControlCapability.methods.setTarget.input.loose())
|
|
2010
|
+
.output(types_34.climateControlCapability.methods.setTarget.output)
|
|
2010
2011
|
.mutation(async ({ input, ctx }) => {
|
|
2011
2012
|
const { nodeId, ...methodInput } = input;
|
|
2012
2013
|
const p = resolveProvider('climate-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
2013
|
-
|
|
2014
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
2015
|
+
return p.setTarget(methodInput);
|
|
2016
|
+
}),
|
|
2017
|
+
setTargetRange: trpc_middleware_js_1.protectedProcedure
|
|
2018
|
+
.input(types_34.climateControlCapability.methods.setTargetRange.input.loose())
|
|
2019
|
+
.output(types_34.climateControlCapability.methods.setTargetRange.output)
|
|
2020
|
+
.mutation(async ({ input, ctx }) => {
|
|
2021
|
+
const { nodeId, ...methodInput } = input;
|
|
2022
|
+
const p = resolveProvider('climate-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
2023
|
+
const fn = p.setTargetRange;
|
|
2014
2024
|
if (typeof fn !== 'function') {
|
|
2015
2025
|
throw new server_1.TRPCError({
|
|
2016
2026
|
code: 'NOT_IMPLEMENTED',
|
|
2017
|
-
message: 'Capability "climate-control" provider does not implement "
|
|
2027
|
+
message: 'Capability "climate-control" provider does not implement "setTargetRange"',
|
|
2018
2028
|
});
|
|
2019
2029
|
}
|
|
2020
2030
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
2021
2031
|
return fn.call(p, methodInput);
|
|
2022
2032
|
}),
|
|
2023
|
-
|
|
2024
|
-
.input(types_34.climateControlCapability.methods.
|
|
2025
|
-
.output(types_34.climateControlCapability.methods.
|
|
2033
|
+
setTargetHumidity: trpc_middleware_js_1.protectedProcedure
|
|
2034
|
+
.input(types_34.climateControlCapability.methods.setTargetHumidity.input.loose())
|
|
2035
|
+
.output(types_34.climateControlCapability.methods.setTargetHumidity.output)
|
|
2026
2036
|
.mutation(async ({ input, ctx }) => {
|
|
2027
2037
|
const { nodeId, ...methodInput } = input;
|
|
2028
2038
|
const p = resolveProvider('climate-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
2029
|
-
const fn = p.
|
|
2039
|
+
const fn = p.setTargetHumidity;
|
|
2030
2040
|
if (typeof fn !== 'function') {
|
|
2031
2041
|
throw new server_1.TRPCError({
|
|
2032
2042
|
code: 'NOT_IMPLEMENTED',
|
|
2033
|
-
message: 'Capability "climate-control" provider does not implement "
|
|
2043
|
+
message: 'Capability "climate-control" provider does not implement "setTargetHumidity"',
|
|
2034
2044
|
});
|
|
2035
2045
|
}
|
|
2036
2046
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
2037
2047
|
return fn.call(p, methodInput);
|
|
2038
2048
|
}),
|
|
2039
|
-
|
|
2040
|
-
.input(types_34.climateControlCapability.methods.
|
|
2041
|
-
.output(types_34.climateControlCapability.methods.
|
|
2042
|
-
.mutation(async ({ input, ctx }) => {
|
|
2043
|
-
const { nodeId, ...methodInput } = input;
|
|
2044
|
-
const p = resolveProvider('climate-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
2045
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
2046
|
-
return p.setTarget(methodInput);
|
|
2047
|
-
}),
|
|
2048
|
-
setTargetRange: trpc_middleware_js_1.protectedProcedure
|
|
2049
|
-
.input(types_34.climateControlCapability.methods.setTargetRange.input.loose())
|
|
2050
|
-
.output(types_34.climateControlCapability.methods.setTargetRange.output)
|
|
2049
|
+
setFanMode: trpc_middleware_js_1.protectedProcedure
|
|
2050
|
+
.input(types_34.climateControlCapability.methods.setFanMode.input.loose())
|
|
2051
|
+
.output(types_34.climateControlCapability.methods.setFanMode.output)
|
|
2051
2052
|
.mutation(async ({ input, ctx }) => {
|
|
2052
2053
|
const { nodeId, ...methodInput } = input;
|
|
2053
2054
|
const p = resolveProvider('climate-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
2054
|
-
const fn = p.
|
|
2055
|
+
const fn = p.setFanMode;
|
|
2055
2056
|
if (typeof fn !== 'function') {
|
|
2056
2057
|
throw new server_1.TRPCError({
|
|
2057
2058
|
code: 'NOT_IMPLEMENTED',
|
|
2058
|
-
message: 'Capability "climate-control" provider does not implement "
|
|
2059
|
+
message: 'Capability "climate-control" provider does not implement "setFanMode"',
|
|
2059
2060
|
});
|
|
2060
2061
|
}
|
|
2061
2062
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
2062
2063
|
return fn.call(p, methodInput);
|
|
2063
2064
|
}),
|
|
2064
|
-
|
|
2065
|
-
.input(types_34.climateControlCapability.methods.
|
|
2066
|
-
.output(types_34.climateControlCapability.methods.
|
|
2065
|
+
setPreset: trpc_middleware_js_1.protectedProcedure
|
|
2066
|
+
.input(types_34.climateControlCapability.methods.setPreset.input.loose())
|
|
2067
|
+
.output(types_34.climateControlCapability.methods.setPreset.output)
|
|
2067
2068
|
.mutation(async ({ input, ctx }) => {
|
|
2068
2069
|
const { nodeId, ...methodInput } = input;
|
|
2069
2070
|
const p = resolveProvider('climate-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
2070
|
-
const fn = p.
|
|
2071
|
+
const fn = p.setPreset;
|
|
2071
2072
|
if (typeof fn !== 'function') {
|
|
2072
2073
|
throw new server_1.TRPCError({
|
|
2073
2074
|
code: 'NOT_IMPLEMENTED',
|
|
2074
|
-
message: 'Capability "climate-control" provider does not implement "
|
|
2075
|
+
message: 'Capability "climate-control" provider does not implement "setPreset"',
|
|
2075
2076
|
});
|
|
2076
2077
|
}
|
|
2077
2078
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
@@ -4997,6 +4998,19 @@ function createCapRouter_embeddingEncoder(getProvider, createRemoteProxy) {
|
|
|
4997
4998
|
}),
|
|
4998
4999
|
});
|
|
4999
5000
|
}
|
|
5001
|
+
function createCapRouter_energySystem(getProvider, createRemoteProxy) {
|
|
5002
|
+
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
5003
|
+
getStatus: trpc_middleware_js_1.protectedProcedure
|
|
5004
|
+
.input(types_2.DEVICE_STATUS_METHOD.getStatus.input.loose())
|
|
5005
|
+
.output(types_2.DEVICE_STATUS_METHOD.getStatus.output)
|
|
5006
|
+
.query(async ({ input, ctx }) => {
|
|
5007
|
+
const { nodeId, ...methodInput } = input;
|
|
5008
|
+
const p = resolveProvider('energy-system', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5009
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5010
|
+
return p.getStatus(methodInput);
|
|
5011
|
+
}),
|
|
5012
|
+
});
|
|
5013
|
+
}
|
|
5000
5014
|
function createCapRouter_enumSensor(getProvider, createRemoteProxy) {
|
|
5001
5015
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
5002
5016
|
getStatus: trpc_middleware_js_1.protectedProcedure
|
|
@@ -6941,22 +6955,6 @@ function createCapRouter_mediaPlayer(getProvider, createRemoteProxy) {
|
|
|
6941
6955
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
6942
6956
|
return fn.call(p, methodInput);
|
|
6943
6957
|
}),
|
|
6944
|
-
seek: trpc_middleware_js_1.protectedProcedure
|
|
6945
|
-
.input(types_88.mediaPlayerCapability.methods.seek.input.loose())
|
|
6946
|
-
.output(types_88.mediaPlayerCapability.methods.seek.output)
|
|
6947
|
-
.mutation(async ({ input, ctx }) => {
|
|
6948
|
-
const { nodeId, ...methodInput } = input;
|
|
6949
|
-
const p = resolveProvider('media-player', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
6950
|
-
const fn = p.seek;
|
|
6951
|
-
if (typeof fn !== 'function') {
|
|
6952
|
-
throw new server_1.TRPCError({
|
|
6953
|
-
code: 'NOT_IMPLEMENTED',
|
|
6954
|
-
message: 'Capability "media-player" provider does not implement "seek"',
|
|
6955
|
-
});
|
|
6956
|
-
}
|
|
6957
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
6958
|
-
return fn.call(p, methodInput);
|
|
6959
|
-
}),
|
|
6960
6958
|
setVolume: trpc_middleware_js_1.protectedProcedure
|
|
6961
6959
|
.input(types_88.mediaPlayerCapability.methods.setVolume.input.loose())
|
|
6962
6960
|
.output(types_88.mediaPlayerCapability.methods.setVolume.output)
|
|
@@ -7037,6 +7035,22 @@ function createCapRouter_mediaPlayer(getProvider, createRemoteProxy) {
|
|
|
7037
7035
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
7038
7036
|
return fn.call(p, methodInput);
|
|
7039
7037
|
}),
|
|
7038
|
+
seek: trpc_middleware_js_1.protectedProcedure
|
|
7039
|
+
.input(types_88.mediaPlayerCapability.methods.seek.input.loose())
|
|
7040
|
+
.output(types_88.mediaPlayerCapability.methods.seek.output)
|
|
7041
|
+
.mutation(async ({ input, ctx }) => {
|
|
7042
|
+
const { nodeId, ...methodInput } = input;
|
|
7043
|
+
const p = resolveProvider('media-player', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
7044
|
+
const fn = p.seek;
|
|
7045
|
+
if (typeof fn !== 'function') {
|
|
7046
|
+
throw new server_1.TRPCError({
|
|
7047
|
+
code: 'NOT_IMPLEMENTED',
|
|
7048
|
+
message: 'Capability "media-player" provider does not implement "seek"',
|
|
7049
|
+
});
|
|
7050
|
+
}
|
|
7051
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
7052
|
+
return fn.call(p, methodInput);
|
|
7053
|
+
}),
|
|
7040
7054
|
playMedia: trpc_middleware_js_1.protectedProcedure
|
|
7041
7055
|
.input(types_88.mediaPlayerCapability.methods.playMedia.input.loose())
|
|
7042
7056
|
.output(types_88.mediaPlayerCapability.methods.playMedia.output)
|
|
@@ -8504,41 +8518,41 @@ function createCapRouter_petFeeder(getProvider, createRemoteProxy) {
|
|
|
8504
8518
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8505
8519
|
return p.cancelFeed(methodInput);
|
|
8506
8520
|
}),
|
|
8507
|
-
|
|
8508
|
-
.input(types_112.petFeederCapability.methods.
|
|
8509
|
-
.output(types_112.petFeederCapability.methods.
|
|
8521
|
+
callPet: trpc_middleware_js_1.protectedProcedure
|
|
8522
|
+
.input(types_112.petFeederCapability.methods.callPet.input.loose())
|
|
8523
|
+
.output(types_112.petFeederCapability.methods.callPet.output)
|
|
8510
8524
|
.mutation(async ({ input, ctx }) => {
|
|
8511
8525
|
const { nodeId, ...methodInput } = input;
|
|
8512
8526
|
const p = resolveProvider('pet-feeder', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8513
8527
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8514
|
-
return p.
|
|
8528
|
+
return p.callPet(methodInput);
|
|
8515
8529
|
}),
|
|
8516
|
-
|
|
8517
|
-
.input(types_112.petFeederCapability.methods.
|
|
8518
|
-
.output(types_112.petFeederCapability.methods.
|
|
8530
|
+
playSound: trpc_middleware_js_1.protectedProcedure
|
|
8531
|
+
.input(types_112.petFeederCapability.methods.playSound.input.loose())
|
|
8532
|
+
.output(types_112.petFeederCapability.methods.playSound.output)
|
|
8519
8533
|
.mutation(async ({ input, ctx }) => {
|
|
8520
8534
|
const { nodeId, ...methodInput } = input;
|
|
8521
8535
|
const p = resolveProvider('pet-feeder', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8522
8536
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8523
|
-
return p.
|
|
8537
|
+
return p.playSound(methodInput);
|
|
8524
8538
|
}),
|
|
8525
|
-
|
|
8526
|
-
.input(types_112.petFeederCapability.methods.
|
|
8527
|
-
.output(types_112.petFeederCapability.methods.
|
|
8539
|
+
resetDesiccant: trpc_middleware_js_1.protectedProcedure
|
|
8540
|
+
.input(types_112.petFeederCapability.methods.resetDesiccant.input.loose())
|
|
8541
|
+
.output(types_112.petFeederCapability.methods.resetDesiccant.output)
|
|
8528
8542
|
.mutation(async ({ input, ctx }) => {
|
|
8529
8543
|
const { nodeId, ...methodInput } = input;
|
|
8530
8544
|
const p = resolveProvider('pet-feeder', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8531
8545
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8532
|
-
return p.
|
|
8546
|
+
return p.resetDesiccant(methodInput);
|
|
8533
8547
|
}),
|
|
8534
|
-
|
|
8535
|
-
.input(types_112.petFeederCapability.methods.
|
|
8536
|
-
.output(types_112.petFeederCapability.methods.
|
|
8548
|
+
markFoodReplenished: trpc_middleware_js_1.protectedProcedure
|
|
8549
|
+
.input(types_112.petFeederCapability.methods.markFoodReplenished.input.loose())
|
|
8550
|
+
.output(types_112.petFeederCapability.methods.markFoodReplenished.output)
|
|
8537
8551
|
.mutation(async ({ input, ctx }) => {
|
|
8538
8552
|
const { nodeId, ...methodInput } = input;
|
|
8539
8553
|
const p = resolveProvider('pet-feeder', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8540
8554
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8541
|
-
return p.
|
|
8555
|
+
return p.markFoodReplenished(methodInput);
|
|
8542
8556
|
}),
|
|
8543
8557
|
setChildLock: trpc_middleware_js_1.protectedProcedure
|
|
8544
8558
|
.input(types_112.petFeederCapability.methods.setChildLock.input.loose())
|
|
@@ -10673,14 +10687,14 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
10673
10687
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
10674
10688
|
return p.continuousMove(methodInput);
|
|
10675
10689
|
}),
|
|
10676
|
-
|
|
10677
|
-
.input(types_122.ptzCapability.methods.
|
|
10678
|
-
.output(types_122.ptzCapability.methods.
|
|
10690
|
+
goHome: trpc_middleware_js_1.protectedProcedure
|
|
10691
|
+
.input(types_122.ptzCapability.methods.goHome.input.loose())
|
|
10692
|
+
.output(types_122.ptzCapability.methods.goHome.output)
|
|
10679
10693
|
.mutation(async ({ input, ctx }) => {
|
|
10680
10694
|
const { nodeId, ...methodInput } = input;
|
|
10681
10695
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
10682
10696
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
10683
|
-
return p.
|
|
10697
|
+
return p.goHome(methodInput);
|
|
10684
10698
|
}),
|
|
10685
10699
|
getPresets: trpc_middleware_js_1.protectedProcedure
|
|
10686
10700
|
.input(types_122.ptzCapability.methods.getPresets.input.loose())
|
|
@@ -10727,14 +10741,14 @@ function createCapRouter_ptz(getProvider, createRemoteProxy) {
|
|
|
10727
10741
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
10728
10742
|
return p.getOptions(methodInput);
|
|
10729
10743
|
}),
|
|
10730
|
-
|
|
10731
|
-
.input(types_122.ptzCapability.methods.
|
|
10732
|
-
.output(types_122.ptzCapability.methods.
|
|
10744
|
+
stop: trpc_middleware_js_1.protectedProcedure
|
|
10745
|
+
.input(types_122.ptzCapability.methods.stop.input.loose())
|
|
10746
|
+
.output(types_122.ptzCapability.methods.stop.output)
|
|
10733
10747
|
.mutation(async ({ input, ctx }) => {
|
|
10734
10748
|
const { nodeId, ...methodInput } = input;
|
|
10735
10749
|
const p = resolveProvider('ptz', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
10736
10750
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
10737
|
-
return p.
|
|
10751
|
+
return p.stop(methodInput);
|
|
10738
10752
|
}),
|
|
10739
10753
|
getHomePreset: trpc_middleware_js_1.protectedProcedure
|
|
10740
10754
|
.input(types_122.ptzCapability.methods.getHomePreset.input.loose())
|
|
@@ -14433,15 +14447,6 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
14433
14447
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
14434
14448
|
return p.getStatus(methodInput);
|
|
14435
14449
|
}),
|
|
14436
|
-
setTargetTemp: trpc_middleware_js_1.protectedProcedure
|
|
14437
|
-
.input(types_169.waterHeaterCapability.methods.setTargetTemp.input.loose())
|
|
14438
|
-
.output(types_169.waterHeaterCapability.methods.setTargetTemp.output)
|
|
14439
|
-
.mutation(async ({ input, ctx }) => {
|
|
14440
|
-
const { nodeId, ...methodInput } = input;
|
|
14441
|
-
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
14442
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
14443
|
-
return p.setTargetTemp(methodInput);
|
|
14444
|
-
}),
|
|
14445
14450
|
setOperationMode: trpc_middleware_js_1.protectedProcedure
|
|
14446
14451
|
.input(types_169.waterHeaterCapability.methods.setOperationMode.input.loose())
|
|
14447
14452
|
.output(types_169.waterHeaterCapability.methods.setOperationMode.output)
|
|
@@ -14460,6 +14465,15 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
14460
14465
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
14461
14466
|
return p.setAway(methodInput);
|
|
14462
14467
|
}),
|
|
14468
|
+
setTargetTemp: trpc_middleware_js_1.protectedProcedure
|
|
14469
|
+
.input(types_169.waterHeaterCapability.methods.setTargetTemp.input.loose())
|
|
14470
|
+
.output(types_169.waterHeaterCapability.methods.setTargetTemp.output)
|
|
14471
|
+
.mutation(async ({ input, ctx }) => {
|
|
14472
|
+
const { nodeId, ...methodInput } = input;
|
|
14473
|
+
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
14474
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
14475
|
+
return p.setTargetTemp(methodInput);
|
|
14476
|
+
}),
|
|
14463
14477
|
});
|
|
14464
14478
|
}
|
|
14465
14479
|
function createCapRouter_weather(getProvider, createRemoteProxy) {
|
|
@@ -64,7 +64,7 @@ class InstanceLinksIndex {
|
|
|
64
64
|
}
|
|
65
65
|
exports.InstanceLinksIndex = InstanceLinksIndex;
|
|
66
66
|
/**
|
|
67
|
-
* Refuse while a declared link names instance `id` of `provider`. The target's function
|
|
67
|
+
* Refuse while a declared link names instance `id` of `provider`. The target's function caps and
|
|
68
68
|
* kind come from its own `describe().kinds`; a provider with no kinds is no link target. A
|
|
69
69
|
* consumer that cannot be read REFUSES: a destructive step never goes ahead on a failed read (D49).
|
|
70
70
|
*/
|
|
@@ -75,7 +75,11 @@ async function assertInstanceDeletable(provider, index, id) {
|
|
|
75
75
|
if (kind === undefined)
|
|
76
76
|
return;
|
|
77
77
|
const names = kind.brokerKind === undefined ? [kind.id] : [kind.id, kind.brokerKind];
|
|
78
|
-
|
|
78
|
+
// A link may name the instance through any cap its kind serves (a Google account is a broker and a
|
|
79
|
+
// mail sender): every one of them is asked.
|
|
80
|
+
const caps = [kind.functionCap, ...(kind.alsoServes ?? [])];
|
|
81
|
+
const finders = await Promise.all(caps.map((cap) => index.findersFor(cap, names)));
|
|
82
|
+
await (0, types_1.assertInstanceUnused)(id, finders.flat());
|
|
79
83
|
}
|
|
80
84
|
/** `provider` with a `deleteInstance` that refuses while a declared link names the instance. */
|
|
81
85
|
function guardInstanceDeletes(provider, index) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/server",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.858",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -66,8 +66,14 @@
|
|
|
66
66
|
],
|
|
67
67
|
"requires": {
|
|
68
68
|
"addons": {
|
|
69
|
-
"@camstack/addon-admin-ui": ">=1.2.
|
|
70
|
-
"@camstack/addon-
|
|
69
|
+
"@camstack/addon-admin-ui": ">=1.2.661",
|
|
70
|
+
"@camstack/addon-agent-ui": ">=1.2.378",
|
|
71
|
+
"@camstack/addon-google-services": ">=0.2.48",
|
|
72
|
+
"@camstack/addon-notifiers": ">=1.2.638",
|
|
73
|
+
"@camstack/addon-post-analysis": ">=1.2.702",
|
|
74
|
+
"@camstack/addon-provider-enpal": ">=0.1.20",
|
|
75
|
+
"@camstack/addon-provider-homeassistant": ">=1.2.684",
|
|
76
|
+
"@camstack/addon-provider-homematic": ">=1.2.195"
|
|
71
77
|
},
|
|
72
78
|
"wrapper": {
|
|
73
79
|
"desktop": ">=0.0.1",
|
|
@@ -76,19 +82,19 @@
|
|
|
76
82
|
}
|
|
77
83
|
},
|
|
78
84
|
"dependencies": {
|
|
79
|
-
"@camstack/addon-admin-ui": "1.2.
|
|
80
|
-
"@camstack/addon-agent-ui": "1.2.
|
|
85
|
+
"@camstack/addon-admin-ui": "1.2.661",
|
|
86
|
+
"@camstack/addon-agent-ui": "1.2.378",
|
|
81
87
|
"@camstack/addon-auth": "1.2.182",
|
|
82
88
|
"@camstack/addon-benchmark": "1.2.313",
|
|
83
89
|
"@camstack/addon-decoder-nodeav": "1.2.149",
|
|
84
|
-
"@camstack/addon-notifiers": "1.2.
|
|
90
|
+
"@camstack/addon-notifiers": "1.2.638",
|
|
85
91
|
"@camstack/addon-pipeline": "1.2.651",
|
|
86
92
|
"@camstack/addon-pipeline-orchestrator": "1.2.683",
|
|
87
|
-
"@camstack/addon-post-analysis": "1.2.
|
|
93
|
+
"@camstack/addon-post-analysis": "1.2.702",
|
|
88
94
|
"@camstack/develop": "0.1.53",
|
|
89
95
|
"@camstack/sdk": "1.2.157",
|
|
90
|
-
"@camstack/types": "1.2.
|
|
91
|
-
"@camstack/ui-library": "1.2.
|
|
96
|
+
"@camstack/types": "1.2.562",
|
|
97
|
+
"@camstack/ui-library": "1.2.438",
|
|
92
98
|
"@fastify/compress": "^9.0.0",
|
|
93
99
|
"@fastify/cookie": "^11.0.2",
|
|
94
100
|
"@fastify/cors": "^11.2.0",
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-WEGVb8qV.js");
|
|
7
7
|
const require_settle_sources = require("../../settle-sources-Bhsy57y-.js");
|
|
8
8
|
let node_crypto = require("node:crypto");
|
|
9
9
|
let node_fs = require("node:fs");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Cn as addonPagesCapability, Il as EventCategory, Pl as errMsg, Ps as BaseAddon } from "../../dist-atHH8IeD.mjs";
|
|
2
2
|
import { t as settleSourcesWithTimeout } from "../../settle-sources-CDtNC8ub.mjs";
|
|
3
3
|
import { createHash, randomUUID } from "node:crypto";
|
|
4
4
|
import * as fs$1 from "node:fs";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-WEGVb8qV.js");
|
|
7
7
|
const require_settle_sources = require("../../settle-sources-Bhsy57y-.js");
|
|
8
8
|
let node_crypto = require("node:crypto");
|
|
9
9
|
let node_fs = require("node:fs");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Il as EventCategory, Pl as errMsg, Ps as BaseAddon, Tn as addonWidgetsCapability } from "../../dist-atHH8IeD.mjs";
|
|
2
2
|
import { t as settleSourcesWithTimeout } from "../../settle-sources-CDtNC8ub.mjs";
|
|
3
3
|
import { createHash, randomUUID } from "node:crypto";
|
|
4
4
|
import * as fs$1 from "node:fs";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-WEGVb8qV.js");
|
|
7
7
|
const require_read_all_rows$1 = require("../../read-all-rows-CVoO1ONM.js");
|
|
8
8
|
const require_log_redactor = require("../../log-redactor-BhIEMaG9.js");
|
|
9
9
|
let node_fs = require("node:fs");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as CORE_BLOCK_ADDON_PREFIX, Dn as alertEpisodePayload, En as alertEpisodeId, Ic as defineRecordKinds, Il as EventCategory, On as alertsCapability, Pl as errMsg, Ps as BaseAddon, hi as isAlertEpisodeSeverity, jc as createEvent, mi as isAlertEpisodeOpen, p as AlertSchema } from "../../dist-atHH8IeD.mjs";
|
|
2
2
|
import { t as require_read_all_rows } from "../../read-all-rows-TaPqdWNF.mjs";
|
|
3
3
|
import { a as redactLogText } from "../../log-redactor-XLDrPzOi.mjs";
|
|
4
4
|
import * as fs$1 from "node:fs";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-WEGVb8qV.js");
|
|
7
7
|
let zod = require("zod");
|
|
8
8
|
//#region src/builtins/autotrack/autotrack-config.ts
|
|
9
9
|
var DEFAULT_AUTOTRACK_LOOP_CONFIG = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ea as ptzAutotrackCapability, Il as EventCategory, Pl as errMsg, Pn as bareAddonId, Ps as BaseAddon, Yc as isEvent, pt as FIRST_LEVEL_MACRO_CLASSES } from "../../dist-atHH8IeD.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/builtins/autotrack/autotrack-config.ts
|
|
4
4
|
var DEFAULT_AUTOTRACK_LOOP_CONFIG = {
|
|
@@ -3,9 +3,9 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-WEGVb8qV.js");
|
|
7
7
|
const require_read_all_rows$1 = require("../../read-all-rows-CVoO1ONM.js");
|
|
8
|
-
const require_restore_archive = require("../../restore-archive-
|
|
8
|
+
const require_restore_archive = require("../../restore-archive-ChRNoqGg.js");
|
|
9
9
|
let node_crypto = require("node:crypto");
|
|
10
10
|
let node_fs = require("node:fs");
|
|
11
11
|
node_fs = require_chunk.__toESM(node_fs);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Cl as toNodeId, Co as storageOccupancyCapability, Il as EventCategory, Nn as backupCapability, Ps as BaseAddon, Ui as mayWriteToLocation, sl as nodePin } from "../../dist-atHH8IeD.mjs";
|
|
2
2
|
import { t as require_read_all_rows } from "../../read-all-rows-TaPqdWNF.mjs";
|
|
3
|
-
import { _ as backupRecordStoresOf, a as BackupSnapshotRefusedError, d as ENCRYPTED_BACKUP_SUFFIX, f as generateBackupKeyPair, g as backupOrchestratorRecordKinds, i as BackupCancelledError, l as BackupKeyFormatError, m as parseBackupSecretKey, n as precheckRestoreKey, o as DEFAULT_BACKUP_DATABASES, p as parseBackupPublicKey, r as prepareRestoreArchive, s as SystemBackupService } from "../../restore-archive-
|
|
3
|
+
import { _ as backupRecordStoresOf, a as BackupSnapshotRefusedError, d as ENCRYPTED_BACKUP_SUFFIX, f as generateBackupKeyPair, g as backupOrchestratorRecordKinds, i as BackupCancelledError, l as BackupKeyFormatError, m as parseBackupSecretKey, n as precheckRestoreKey, o as DEFAULT_BACKUP_DATABASES, p as parseBackupPublicKey, r as prepareRestoreArchive, s as SystemBackupService } from "../../restore-archive-DeDRh7Lf.mjs";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
5
5
|
import * as fs$1 from "node:fs";
|
|
6
6
|
import * as path$1 from "node:path";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-WEGVb8qV.js");
|
|
7
7
|
const require_settle_sources = require("../../settle-sources-Bhsy57y-.js");
|
|
8
8
|
let zod = require("zod");
|
|
9
9
|
//#region src/builtins/calendars/calendar-color.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ic as defineRecordKinds, Ps as BaseAddon, Wn as calendarsCapability, k as CalendarPreferencesSchema } from "../../dist-atHH8IeD.mjs";
|
|
2
2
|
import { t as settleSourcesWithTimeout } from "../../settle-sources-CDtNC8ub.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/builtins/calendars/calendar-color.ts
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-WEGVb8qV.js");
|
|
7
7
|
let zod = require("zod");
|
|
8
8
|
let node_crypto = require("node:crypto");
|
|
9
9
|
let _camstack_types_node = require("@camstack/types/node");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fc as defineEntryKind, Gc as hydrateSchema, Gn as cameraGridLayoutCapability, Il as EventCategory, Ki as memoizePinnedFfmpeg, Nl as DeviceType, Pl as errMsg, Pn as bareAddonId, Ps as BaseAddon, Pt as MOTION_CLOSE_AFTER_MS, Qi as motionCapability, To as streamCatalogCapability, V as DERIVED_CAMERA_SILENCED_CAP_NAMES, Xc as isInstanceEnabled, _o as snapshotCapability, as as buildFfmpegArgs, br as declarationOwnerNodeId, ic as RecordIntegrationInstances, jc as createEvent, jl as DeviceFeature, tt as DeclaredDevices, ui as integrationInstancesCapability, v as BaseDevice } from "../../dist-atHH8IeD.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
4
|
import { FfmpegProcess } from "@camstack/types/node";
|
|
@@ -3,11 +3,11 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
7
|
-
const require_composition_sources = require("../../composition-sources-
|
|
8
|
-
const require_capture_engine = require("../../capture-engine-
|
|
6
|
+
const require_dist = require("../../dist-WEGVb8qV.js");
|
|
7
|
+
const require_composition_sources = require("../../composition-sources-CKSSe5ny.js");
|
|
8
|
+
const require_capture_engine = require("../../capture-engine-yhFFC7F8.js");
|
|
9
9
|
const require_retention = require("../../retention-BcOSL6b9.js");
|
|
10
|
-
const require_rename_composition_block = require("../../rename-composition-block-
|
|
10
|
+
const require_rename_composition_block = require("../../rename-composition-block-IIfaFnEl.js");
|
|
11
11
|
let zod = require("zod");
|
|
12
12
|
//#region src/builtins/composer/actuator-invoke.ts
|
|
13
13
|
/**
|