@camstack/server 1.2.872 → 1.2.874
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 +17 -0
- package/dist/api/trpc/generated-cap-routers.js +7 -0
- package/dist/core/agent/expired-leaf-renewer.js +67 -0
- package/dist/core/agent/mesh-handshake-wiring.js +48 -0
- package/dist/manual-boot.js +6 -0
- package/package.json +13 -11
- 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/core-blocks.addon.js +3 -3
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +3 -3
- 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 +87 -29
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +87 -29
- 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 +190 -22
- package/system/dist/builtins/system-config/system-config.addon.mjs +189 -23
- 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-BNeKmvyo.js → capture-engine-Cm-Bq2GH.js} +1 -1
- package/system/dist/{capture-engine-BYuDoU5P.mjs → capture-engine-v5nSEyMa.mjs} +1 -1
- package/system/dist/{composition-sources-DQwbBMG1.mjs → composition-sources-BVxOFdMp.mjs} +1 -1
- package/system/dist/{composition-sources-52ZtkEBw.js → composition-sources-DgAdHcEq.js} +1 -1
- package/system/dist/{constants-jwecWQuN.js → constants-CPAYm7Bq.js} +14 -1
- package/system/dist/constants-Di6cOA3l.mjs +27 -0
- package/system/dist/{device-ca-Bkujp9Cx.js → device-ca-CtsnO3ul.js} +1 -1
- package/system/dist/{device-ca-DFi1axk5.mjs → device-ca-DukusHra.mjs} +1 -1
- package/system/dist/{dist-8pvVkKh4.js → dist-AbO-Bmtw.js} +182 -2
- package/system/dist/{dist-B15a2506.mjs → dist-CIUo0MpB.mjs} +177 -3
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/{hub-identity-3uLEvGsn.mjs → hub-identity-CMzGT-O8.mjs} +1 -1
- package/system/dist/{hub-identity-C3ijBf-E.js → hub-identity-DyXxu-ZQ.js} +1 -1
- package/system/dist/{hub-mdns-ciao-Ch6HwlRl.mjs → hub-mdns-ciao-BTpy99VT.mjs} +2 -2
- package/system/dist/{hub-mdns-ciao-BUL3yLqz.js → hub-mdns-ciao-C6Gkg80T.js} +2 -2
- package/system/dist/index.js +10 -8
- package/system/dist/index.mjs +10 -10
- package/system/dist/kernel/index.d.ts +1 -1
- package/system/dist/kernel/moleculer/mesh-mtls/constants.d.ts +7 -2
- package/system/dist/kernel/moleculer/mesh-mtls/index.d.ts +2 -2
- package/system/dist/kernel/moleculer/mesh-mtls/mesh-ca.d.ts +1 -1
- package/system/dist/kernel/moleculer/mesh-mtls/mesh-peer-transport.d.ts +16 -0
- package/system/dist/kernel/moleculer/mesh-mtls/mesh-peer-verification.d.ts +30 -0
- package/system/dist/kernel/moleculer/mesh-mtls/tls-tcp-transporter.d.ts +31 -0
- package/system/dist/{legacy-integration-rows-door-BtRtvXfK.js → legacy-integration-rows-door-BQztEAgV.js} +1 -1
- package/system/dist/{legacy-integration-rows-door-ChF97F5x.mjs → legacy-integration-rows-door-ChwuaraH.mjs} +1 -1
- package/system/dist/{rename-composition-block-DfsNTQ2H.mjs → rename-composition-block-CEkkKNmw.mjs} +1 -1
- package/system/dist/{rename-composition-block-CHIIBly8.js → rename-composition-block-CnQKQDSg.js} +1 -1
- package/system/dist/{restore-archive-BfaE7Y65.mjs → restore-archive-DROkE3b4.mjs} +1 -1
- package/system/dist/{restore-archive-8o1pcPFB.js → restore-archive-DRYoZ_dn.js} +1 -1
- package/system/dist/{wal-maintenance-Cv6MfFm9.js → wal-maintenance-C81WD-_A.js} +0 -0
- package/system/dist/{wal-maintenance-DxtgYuYM.mjs → wal-maintenance-DYmw2kX7.mjs} +0 -0
- package/system/package.json +1 -1
- package/system/dist/constants-RWobCEGs.mjs +0 -20
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.2.874] - 2026-11-15
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- A device that reports its state in steps after a restart no longer shows invented interactions in its details (a field the device is first learned is not a change).
|
|
15
|
+
- The hub now also reconnects to an agent whose mesh certificate already expired, so such an agent comes back online instead of crash-looping
|
|
16
|
+
|
|
17
|
+
## [1.2.873] - 2026-11-15
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- Routes for the opt-in server shell on each node.
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- Mesh certificates no longer expire, and the hub recovers an agent whose old 30-day certificate already expired; refused mesh handshakes are now logged as warnings with the reason
|
|
26
|
+
|
|
10
27
|
## [1.2.872] - 2026-11-15
|
|
11
28
|
|
|
12
29
|
### Changed
|
|
@@ -13519,6 +13519,13 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
13519
13519
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13520
13520
|
return p.listSessions();
|
|
13521
13521
|
}),
|
|
13522
|
+
serverShellStatus: trpc_middleware_js_1.adminProcedure
|
|
13523
|
+
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13524
|
+
.output(types_155.terminalSessionCapability.methods.serverShellStatus.output)
|
|
13525
|
+
.query(async ({ input, ctx }) => {
|
|
13526
|
+
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13527
|
+
return p.serverShellStatus();
|
|
13528
|
+
}),
|
|
13522
13529
|
openSession: trpc_middleware_js_1.adminProcedure
|
|
13523
13530
|
.input(types_155.terminalSessionCapability.methods.openSession.input.loose())
|
|
13524
13531
|
.output(types_155.terminalSessionCapability.methods.openSession.output)
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createExpiredLeafRenewer = createExpiredLeafRenewer;
|
|
4
|
+
const DEFAULT_REGISTRATION_TIMEOUT_MS = 120_000;
|
|
5
|
+
function defaultSetTimer(fn, ms) {
|
|
6
|
+
const timer = setTimeout(fn, ms);
|
|
7
|
+
timer.unref?.();
|
|
8
|
+
return { cancel: () => clearTimeout(timer) };
|
|
9
|
+
}
|
|
10
|
+
function createExpiredLeafRenewer(deps) {
|
|
11
|
+
const setTimer = deps.setTimer ?? defaultSetTimer;
|
|
12
|
+
const timeoutMs = deps.registrationTimeoutMs ?? DEFAULT_REGISTRATION_TIMEOUT_MS;
|
|
13
|
+
const pending = new Set();
|
|
14
|
+
const run = async (nodeId) => {
|
|
15
|
+
const tags = { nodeId };
|
|
16
|
+
try {
|
|
17
|
+
const result = await deps.renew(nodeId);
|
|
18
|
+
if (result === null) {
|
|
19
|
+
deps.log.warn('Expired mesh leaf not renewed: the node, the CA or the registry is not available', { tags });
|
|
20
|
+
}
|
|
21
|
+
else if (result.ok) {
|
|
22
|
+
deps.log.info('Expired mesh leaf replaced by a leaf with no expiry', {
|
|
23
|
+
tags,
|
|
24
|
+
meta: { newSerial: result.newSerial },
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
else {
|
|
28
|
+
deps.log.warn('Expired mesh leaf could not be renewed', {
|
|
29
|
+
tags,
|
|
30
|
+
meta: { stage: result.stage, reason: result.reason },
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
catch (error) {
|
|
35
|
+
deps.log.error('Expired mesh leaf renewal threw', {
|
|
36
|
+
tags,
|
|
37
|
+
meta: { error: error instanceof Error ? error.message : String(error) },
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
return (peer) => {
|
|
42
|
+
const { nodeId } = peer;
|
|
43
|
+
if (pending.has(nodeId))
|
|
44
|
+
return;
|
|
45
|
+
pending.add(nodeId);
|
|
46
|
+
if (deps.isRegistered?.(nodeId) === true) {
|
|
47
|
+
void run(nodeId).finally(() => pending.delete(nodeId));
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
let timer = null;
|
|
51
|
+
const unsubscribe = deps.registrations.subscribe((registered) => {
|
|
52
|
+
if (registered !== nodeId)
|
|
53
|
+
return;
|
|
54
|
+
unsubscribe();
|
|
55
|
+
timer?.cancel();
|
|
56
|
+
void run(nodeId).finally(() => pending.delete(nodeId));
|
|
57
|
+
});
|
|
58
|
+
timer = setTimer(() => {
|
|
59
|
+
unsubscribe();
|
|
60
|
+
pending.delete(nodeId);
|
|
61
|
+
deps.log.warn('Expired mesh leaf not renewed: the node did not register in time', {
|
|
62
|
+
tags: { nodeId },
|
|
63
|
+
meta: { waitedMs: timeoutMs },
|
|
64
|
+
});
|
|
65
|
+
}, timeoutMs);
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.installMeshHandshakeReporter = installMeshHandshakeReporter;
|
|
4
|
+
/**
|
|
5
|
+
* Publishes the hub's mesh handshake reporter (#558): refused handshakes reach the log at WARN
|
|
6
|
+
* through a real scoped logger (the transporter's own logger is pinned to `error`), and a leaf the
|
|
7
|
+
* hub admitted only because it expired is handed to the renewal.
|
|
8
|
+
*/
|
|
9
|
+
const system_1 = require("@camstack/server/system");
|
|
10
|
+
const expired_leaf_renewer_js_1 = require("./expired-leaf-renewer.js");
|
|
11
|
+
const node_certificates_client_js_1 = require("./node-certificates-client.js");
|
|
12
|
+
function installMeshHandshakeReporter(deps) {
|
|
13
|
+
const peers = {
|
|
14
|
+
peerLeaf: (nodeId) => (0, system_1.getProcessPeerLeaf)(nodeId),
|
|
15
|
+
dropPeer: (nodeId) => (0, system_1.dropProcessPeer)(nodeId),
|
|
16
|
+
};
|
|
17
|
+
const registrations = {
|
|
18
|
+
subscribe: (listener) => (0, system_1.onProcessNodeRegistered)(listener),
|
|
19
|
+
};
|
|
20
|
+
const renew = async (nodeId) => {
|
|
21
|
+
const client = (0, node_certificates_client_js_1.createNodeCertificatesClient)(deps.moleculer, nodeId);
|
|
22
|
+
const state = (0, system_1.getProcessMeshCaState)();
|
|
23
|
+
const registry = (0, system_1.getProcessMeshCertificateRegistry)();
|
|
24
|
+
if (client === null || state.state !== 'ready' || registry === null)
|
|
25
|
+
return null;
|
|
26
|
+
return (0, system_1.renewMeshCertificate)({
|
|
27
|
+
nodeId,
|
|
28
|
+
client,
|
|
29
|
+
ca: state.ca,
|
|
30
|
+
registry,
|
|
31
|
+
crl: (0, system_1.processMeshCrl)(),
|
|
32
|
+
peers,
|
|
33
|
+
registrations,
|
|
34
|
+
expectedAddons: (id) => deps.moleculer.getNodeAddonIds(id),
|
|
35
|
+
log: deps.log,
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
const expiredLeafAdmitted = (0, expired_leaf_renewer_js_1.createExpiredLeafRenewer)({
|
|
39
|
+
log: deps.log,
|
|
40
|
+
registrations,
|
|
41
|
+
renew,
|
|
42
|
+
isRegistered: (nodeId) => deps.moleculer.getNodeAddonIds(nodeId).length > 0,
|
|
43
|
+
});
|
|
44
|
+
(0, system_1.setProcessMeshHandshakeReporter)({
|
|
45
|
+
warn: (message, extras) => deps.log.warn(message, extras),
|
|
46
|
+
expiredLeafAdmitted,
|
|
47
|
+
});
|
|
48
|
+
}
|
package/dist/manual-boot.js
CHANGED
|
@@ -64,6 +64,7 @@ const addon_widgets_service_1 = require("./core/addon-widgets/addon-widgets.serv
|
|
|
64
64
|
const agent_registry_service_1 = require("./core/agent/agent-registry.service");
|
|
65
65
|
const cluster_node_history_store_1 = require("./core/agent/cluster-node-history-store");
|
|
66
66
|
const forgotten_node_revoker_1 = require("./core/agent/forgotten-node-revoker");
|
|
67
|
+
const mesh_handshake_wiring_1 = require("./core/agent/mesh-handshake-wiring");
|
|
67
68
|
const node_removal_hooks_1 = require("./core/agent/node-removal-hooks");
|
|
68
69
|
const auth_service_1 = require("./core/auth/auth.service");
|
|
69
70
|
const capability_service_1 = require("./core/capability/capability.service");
|
|
@@ -174,6 +175,11 @@ async function bootManual(opts) {
|
|
|
174
175
|
agentRegistryService.setNodeCertificateRevoker((0, forgotten_node_revoker_1.createForgottenNodeRevoker)({
|
|
175
176
|
logger: loggingService.createLogger('ClusterNodes'),
|
|
176
177
|
}));
|
|
178
|
+
// Refused mesh handshakes are logged at WARN, and a leaf that only expired is renewed (#558).
|
|
179
|
+
(0, mesh_handshake_wiring_1.installMeshHandshakeReporter)({
|
|
180
|
+
log: loggingService.createLogger('mesh-handshake'),
|
|
181
|
+
moleculer: moleculerService,
|
|
182
|
+
});
|
|
177
183
|
// A1: durable, routing-blind offline-node history — the `cluster-agent`
|
|
178
184
|
// records kind, bound by the addon registry once the records provider is up
|
|
179
185
|
// (unavailable until then, D902). Wired post-construction so the service's
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/server",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.874",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -66,9 +66,11 @@
|
|
|
66
66
|
],
|
|
67
67
|
"requires": {
|
|
68
68
|
"addons": {
|
|
69
|
-
"@camstack/addon-admin-ui": ">=1.2.
|
|
70
|
-
"@camstack/addon-
|
|
71
|
-
"@camstack/addon-pipeline-orchestrator": ">=1.2.
|
|
69
|
+
"@camstack/addon-admin-ui": ">=1.2.675",
|
|
70
|
+
"@camstack/addon-pipeline": ">=1.2.654",
|
|
71
|
+
"@camstack/addon-pipeline-orchestrator": ">=1.2.690",
|
|
72
|
+
"@camstack/addon-provider-gree": ">=0.2.160",
|
|
73
|
+
"@camstack/addon-provider-homematic": ">=1.2.202"
|
|
72
74
|
},
|
|
73
75
|
"wrapper": {
|
|
74
76
|
"desktop": ">=0.0.1",
|
|
@@ -77,19 +79,19 @@
|
|
|
77
79
|
}
|
|
78
80
|
},
|
|
79
81
|
"dependencies": {
|
|
80
|
-
"@camstack/addon-admin-ui": "1.2.
|
|
81
|
-
"@camstack/addon-agent-ui": "1.2.
|
|
82
|
+
"@camstack/addon-admin-ui": "1.2.675",
|
|
83
|
+
"@camstack/addon-agent-ui": "1.2.388",
|
|
82
84
|
"@camstack/addon-auth": "1.2.182",
|
|
83
85
|
"@camstack/addon-benchmark": "1.2.313",
|
|
84
86
|
"@camstack/addon-decoder-nodeav": "1.2.149",
|
|
85
87
|
"@camstack/addon-notifiers": "1.2.639",
|
|
86
|
-
"@camstack/addon-pipeline": "1.2.
|
|
87
|
-
"@camstack/addon-pipeline-orchestrator": "1.2.
|
|
88
|
-
"@camstack/addon-post-analysis": "1.2.
|
|
88
|
+
"@camstack/addon-pipeline": "1.2.654",
|
|
89
|
+
"@camstack/addon-pipeline-orchestrator": "1.2.690",
|
|
90
|
+
"@camstack/addon-post-analysis": "1.2.707",
|
|
89
91
|
"@camstack/develop": "0.1.53",
|
|
90
92
|
"@camstack/sdk": "1.2.158",
|
|
91
|
-
"@camstack/types": "1.2.
|
|
92
|
-
"@camstack/ui-library": "1.2.
|
|
93
|
+
"@camstack/types": "1.2.572",
|
|
94
|
+
"@camstack/ui-library": "1.2.449",
|
|
93
95
|
"@fastify/compress": "^9.0.0",
|
|
94
96
|
"@fastify/cookie": "^11.0.2",
|
|
95
97
|
"@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-AbO-Bmtw.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 { Cn as addonPagesCapability,
|
|
1
|
+
import { Cn as addonPagesCapability, Ll as errMsg, Ls as BaseAddon, zl as EventCategory } from "../../dist-CIUo0MpB.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-AbO-Bmtw.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 { Ll as errMsg, Ls as BaseAddon, Tn as addonWidgetsCapability, zl as EventCategory } from "../../dist-CIUo0MpB.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-AbO-Bmtw.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 { D as CORE_BLOCK_ADDON_PREFIX, Dn as alertEpisodePayload, En as alertEpisodeId,
|
|
1
|
+
import { D as CORE_BLOCK_ADDON_PREFIX, Dn as alertEpisodePayload, En as alertEpisodeId, Ll as errMsg, Ls as BaseAddon, On as alertsCapability, Pc as createEvent, _i as isAlertEpisodeSeverity, gi as isAlertEpisodeOpen, p as AlertSchema, zc as defineRecordKinds, zl as EventCategory } from "../../dist-CIUo0MpB.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-AbO-Bmtw.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 { Ll as errMsg, Ls as BaseAddon, Oa as ptzAutotrackCapability, Pn as bareAddonId, Qc as isEvent, pt as FIRST_LEVEL_MACRO_CLASSES, zl as EventCategory } from "../../dist-CIUo0MpB.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-AbO-Bmtw.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-DRYoZ_dn.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 { El as toNodeId, Eo as storageOccupancyCapability, Gi as mayWriteToLocation, Ls as BaseAddon, Nn as backupCapability, ul as nodePin, zl as EventCategory } from "../../dist-CIUo0MpB.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-DROkE3b4.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-AbO-Bmtw.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 { Ls as BaseAddon, Wn as calendarsCapability, k as CalendarPreferencesSchema, zc as defineRecordKinds } from "../../dist-CIUo0MpB.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-AbO-Bmtw.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 { $c as isInstanceEnabled, Gn as cameraGridLayoutCapability, Il as DeviceType, Jc as hydrateSchema, Ji as memoizePinnedFfmpeg, Ll as errMsg, Ls as BaseAddon, Oo as streamCatalogCapability, Pc as createEvent, Pl as DeviceFeature, Pn as bareAddonId, Pt as MOTION_CLOSE_AFTER_MS, Rc as defineEntryKind, V as DERIVED_CAMERA_SILENCED_CAP_NAMES, bo as snapshotCapability, br as declarationOwnerNodeId, cs as buildFfmpegArgs, ea as motionCapability, fi as integrationInstancesCapability, sc as RecordIntegrationInstances, tt as DeclaredDevices, v as BaseDevice, zl as EventCategory } from "../../dist-CIUo0MpB.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-AbO-Bmtw.js");
|
|
7
|
+
const require_composition_sources = require("../../composition-sources-DgAdHcEq.js");
|
|
8
|
+
const require_capture_engine = require("../../capture-engine-Cm-Bq2GH.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-CnQKQDSg.js");
|
|
11
11
|
let zod = require("zod");
|
|
12
12
|
//#region src/builtins/composer/actuator-invoke.ts
|
|
13
13
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $n as climateControlCapability,
|
|
2
|
-
import { i as parseDeviceStateChanged, n as normalizedNativeOwner, r as isRecord$4 } from "../../composition-sources-
|
|
3
|
-
import { i as capSeriesKey } from "../../capture-engine-
|
|
1
|
+
import { $n as climateControlCapability, $o as COMPOSER_ADDON_ID, Ai as kebabToCamel, As as openReset, Br as evaluateCompositionField, Ds as isForwardInputRef, Es as integrateReading, Fs as toExpressionValue, Go as valveCapability, Gr as expressionContainsBuiltinCall, Il as DeviceType, In as brightnessCapability, Ki as mediaPlayerCapability, Ll as errMsg, Ls as BaseAddon, M as ConsumableItemSchema, Ms as planResetTier, Ns as planStatisticTier, Os as isHistoryHelper, Pc as createEvent, Ps as statisticCadenceMs, Qr as featureForwards, Rl as featuresOfBoundCaps, Rn as buildCapabilityLookup, Ss as evaluateStatistic, Ta as processTimeZoneOr, Ut as PetFountainStatusSchema, Xa as resolveMutate, Xo as withDefaultRunning, Xr as fanOutTargets, Yi as methodRefusal, Yr as fanControlCapability, _s as compositionSliceKey, ar as composerCapability, as as HOUR_MS, bs as disarmRoseMemory, ci as groupTemplate, da as parseColorInput, ea as motionCapability, fs as cloneStatefulExpressionMemory, ga as planComposition, go as sharedColorModes, gs as compositionItemFieldPath, ho as sharedActuatorMethods, hr as coverCapability, hs as compositionFeatureEnabled, ht as FanDirectionSchema, i as ACTUATOR_TEMPLATE_IDS, is as HISTORY_SLOW_MS, jo as switchCapability, js as openStatistic, ks as nextLocalMidnight, lr as consumablesCapability, ma as petFountainWaterItem, mo as sharedActuatorFeatures, ms as composedDeviceStableId, no as runFanOut, nr as colorCapability, ns as DEFAULT_HISTORY_RETENTION, or as compositionFieldKey, pa as petFountainCapability, ps as composedDeviceRef, qi as mediaPlayerFeaturesOfRoles, r as ACTUATOR_METHODS, rs as HISTORY_FAST_MS, s as ALL_CAPABILITY_DEFINITIONS, si as groupCommandsCapability, ss as MINUTE_MS, tl as isReadingQuantity, tt as DeclaredDevices, v as BaseDevice, vs as compositionSourceKey, w as COMPOSED_ITEM_FIXED_FIELDS, ws as historyRetentionFromSettings, wt as HvacModeSchema, xr as declaredSeriesKind, xs as evaluateDerivative, ys as createStatefulExpressionMemory, yt as GroupCommandResultSchema, zi as lockControlCapability, zl as EventCategory } from "../../dist-CIUo0MpB.mjs";
|
|
2
|
+
import { i as parseDeviceStateChanged, n as normalizedNativeOwner, r as isRecord$4 } from "../../composition-sources-BVxOFdMp.mjs";
|
|
3
|
+
import { i as capSeriesKey } from "../../capture-engine-v5nSEyMa.mjs";
|
|
4
4
|
import { i as DAY_MS, t as DEFAULT_RETENTION } from "../../retention-CUOVI1p7.mjs";
|
|
5
|
-
import { n as renameCompositionBlock } from "../../rename-composition-block-
|
|
5
|
+
import { n as renameCompositionBlock } from "../../rename-composition-block-CEkkKNmw.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/builtins/composer/actuator-invoke.ts
|
|
8
8
|
/**
|
|
@@ -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-AbO-Bmtw.js");
|
|
7
7
|
const require_formatter = require("../../formatter-xbxeV4GD.js");
|
|
8
8
|
//#region src/builtins/console-logging/console-destination.ts
|
|
9
9
|
var LEVEL_RANK = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ls as BaseAddon, Vi as logDestinationCapability } from "../../dist-CIUo0MpB.mjs";
|
|
2
2
|
import { t as formatLogLine } from "../../formatter-DkYZ4LXp.mjs";
|
|
3
3
|
//#region src/builtins/console-logging/console-destination.ts
|
|
4
4
|
var LEVEL_RANK = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_dist = require("../../dist-
|
|
3
|
+
const require_dist = require("../../dist-AbO-Bmtw.js");
|
|
4
4
|
const require_read_all_rows$1 = require("../../read-all-rows-CVoO1ONM.js");
|
|
5
|
-
const require_composition_sources = require("../../composition-sources-
|
|
6
|
-
const require_capture_engine = require("../../capture-engine-
|
|
5
|
+
const require_composition_sources = require("../../composition-sources-DgAdHcEq.js");
|
|
6
|
+
const require_capture_engine = require("../../capture-engine-Cm-Bq2GH.js");
|
|
7
7
|
const require_prefix_range = require("../../prefix-range-D_KueXbQ.js");
|
|
8
8
|
const require_prefix_walk = require("../../prefix-walk-Dv6MLZlM.js");
|
|
9
9
|
const require_cap_call_scope = require("../../cap-call-scope-8eiugfLl.js");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { $o as
|
|
1
|
+
import { $o as COMPOSER_ADDON_ID, $t as RemoteAssumedStateSchema, Aa as readStoredRemoteConfig, Ac as collectSecretMarkerRefs, Ai as kebabToCamel, Al as vocabActionIdFor, B as DEFAULT_HOLD_OVERRIDE, Ba as replacedFieldKeys, Bi as lockDoorLinkOfComposition, Ca as problemsBlockSave, Cl as secretTreeFromSchema, Cs as helperMembers, D as CORE_BLOCK_ADDON_PREFIX, Da as proposeRunningThreshold, E as CORE_BLOCKS_ADDON_ID, Ea as projectDeviceRow, Et as INTERNAL_ACTION_PREFIX, Fa as reexpandAutomationInstance, Fl as DeviceRole, Fo as timedRunLimitOf, Ft as MediaPlayerStatusSchema, Ga as resolveCoreBlockFiles, Hc as entryBody, Ho as validateComposition, Hr as evaluateWhenTree, Ia as remoteCapability, Ic as defineAddonMigrations, Ii as localDateOf, Il as DeviceType$1, Io as timedRunMaxIn, Jc as hydrateSchema, Jn as capUnitResolver, Jr as fanAxisPath, Jt as QuantityUnitError, Ka as resolveHeroLayout, La as remoteLayoutComponentsCapability, Ll as errMsg$1, Ln as buildActionSteps, Lo as timedRunQuickRun, Ls as BaseAddon, N as CoreBlockSchema, Nc as commandOrigin$1, No as templateCapability, Ol as transformSecretWrite, Po as timedRunCapability, Qa as resolveRemoteSource, Qn as checkTemplatePayload, Qo as zoneOnlySite, Ra as remoteSourceSteps, Rc as defineEntryKind, Rn as buildCapabilityLookup, Ro as timedRunSeconds, Sa as prepareRecipeUnits, Sn as addonIdOfActionId, So as stableIdMapOf, T as COMPOSER_RUNNER_ID, Tr as describeComposableCaps, Tt as IDLE_ACTION_STATUS, Un as builtinAutomationTemplate, Va as resolveActionVariables, Vn as buildHeroModel, Vr as evaluateStepCondition, Wa as resolveCoreBlockEntry, Wo as validateSchedulerInput, Wt as PowerSourceInfoSchema, Xt as REMOTE_MEDIA_COMMANDS, Yo as weekdayOfLocalDate, Zr as fanPresetsCapability, _ as BUILTIN_REMOTE_COMPONENTS, _r as customKeyOfRole, ai as generateAutomationBlock, an as SchedulerError, ba as powerSourceLinkOfComposition, bc as actionEffect, bi as isBuiltinTemplateId, bl as ruleFireOfClaim, bn as actionWaitTotalMs, c as ActionError, ca as occurrenceOn, cr as compositionUnionReads, ct as EMPTY_REMOTE_CONFIG, d as ActionTargetResolver, di as instanceCodeHash, do as seedInstanceOnce, dr as coreBlockComposition, dt as FAN_OSCILLATION_AXES, ei as findChannelSource, en as RemoteLayoutPayloadSchema, eo as resolveStepArgs, er as collectDeviceTemplates, es as CompositionSchema, f as ActionVariableSchema, fi as integrationInstancesCapability, fr as coreBlockIdFromAddonId, ft as FAN_OSCILLATION_AXIS_SETTABLE, g as BUILTIN_AUTOMATION_TEMPLATES, ga as planComposition, gt as FanPresetSchema, h as AutomationTemplatePayloadSchema, hn as TemplateKindSchema, hs as compositionFeatureEnabled, ia as normalizeCoreBlockWrite, il as isSecretMarker, ir as compileScalarOverride, j as ConditionMirror, jl as vocabCall, jn as assertStepsOffered, ka as readRecipeLiteral, kn as appendTrace, l as ActionMinDelaySecSchema, li as hasTimeLeaves, ln as SetOscillationAxisInputSchema, ls as canonicalStoredBlockTarget, m as AutomationStateDocSchema, mr as coreBlocksCapability, ms as composedDeviceStableId, mt as FanControlStatusSchema, n as ACTION_TARGET_INVALIDATION_EVENTS, na as nextTimeBoundaryInMs, ol as isSecretRefOwnedBy, on as SchedulerSchema, oo as schedulersCapability, os as HelperMemberSchema, ot as EMPTY_AUTOMATION_STATE, pi as internalActionId, pr as coreBlockSourceKind, ps as composedDeviceRef, qn as canonicalStoredStepTargets, ra as normalizeActionUnits, ro as runSteps, s as ALL_CAPABILITY_DEFINITIONS, sc as RecordIntegrationInstances, sr as compositionSourceRefs, st as EMPTY_REMOTE_ASSUMED_STATE, ta as nextOccurrence, tn as RunningStateStatusSchema, tr as collectWhenMirrorSources, ts as DAY_MS, tt as DeclaredDevices, u as ActionStepSchema, ui as heroLayoutCapability, ur as coreBlockAddonId, ut as FAN_CAPTURE_FIELDS, va as powerSourceActuatorConflicts, vc as VocabActionError, vo as siteFor, vs as compositionSourceKey, wi as isInternalActionId, ws as historyRetentionFromSettings, xn as actionsCapability, ya as powerSourceCapability, yl as resolveSecretMarkers, yn as actionSourceCapability, za as replaceRecipeLiteral, zc as defineRecordKinds, zl as EventCategory$1, zo as toTimings } from "../../dist-CIUo0MpB.mjs";
|
|
2
2
|
import { t as require_read_all_rows } from "../../read-all-rows-TaPqdWNF.mjs";
|
|
3
|
-
import { i as parseDeviceStateChanged, r as isRecord$1, t as describeCompositionSources } from "../../composition-sources-
|
|
4
|
-
import { i as capSeriesKey } from "../../capture-engine-
|
|
3
|
+
import { i as parseDeviceStateChanged, r as isRecord$1, t as describeCompositionSources } from "../../composition-sources-BVxOFdMp.mjs";
|
|
4
|
+
import { i as capSeriesKey } from "../../capture-engine-v5nSEyMa.mjs";
|
|
5
5
|
import { t as prefixRange } from "../../prefix-range-Dl0znowN.mjs";
|
|
6
6
|
import { n as unwrapStoredValue, t as loadPrefixed } from "../../prefix-walk-DAOBSyH1.mjs";
|
|
7
7
|
import { n as readCurrentCommandOrigin } from "../../cap-call-scope-Bic6Ekfw.mjs";
|
|
@@ -3,8 +3,8 @@ 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_capture_engine = require("../../capture-engine-
|
|
6
|
+
const require_dist = require("../../dist-AbO-Bmtw.js");
|
|
7
|
+
const require_capture_engine = require("../../capture-engine-Cm-Bq2GH.js");
|
|
8
8
|
const require_retention = require("../../retention-BcOSL6b9.js");
|
|
9
9
|
let node_crypto = require("node:crypto");
|
|
10
10
|
//#region src/builtins/device-history/capture/point-writer.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { An as armRemovalReconcile,
|
|
2
|
-
import { a as catalogMetrics, c as DeviceDirectory, d as identityOf, f as subjectIdOf, i as capSeriesKey, l as isRealDeviceType, n as CaptureEngine, o as readPath, r as capItemSeriesKey, s as readUnit, t as CAP_KEY_PREFIX, u as SeriesRegistry } from "../../capture-engine-
|
|
1
|
+
import { An as armRemovalReconcile, Il as DeviceType, Ir as deviceTransitionsCapability, Is as wattMillisecondsToKwh, Js as InvalidRecordError, Ls as BaseAddon, Mr as deviceRemovalHookCapability, Nr as deviceRunsCapability, U as DEVICE_HISTORY_ENERGY_KEY, Vc as emitReadiness, Ws as DeviceTransitionSchema, bt as HISTORY_CATALOG, kr as deviceHistoryCapability, nt as DeviceRunSchema, qc as historyUnitFor, tl as isReadingQuantity, uc as RecordTooLargeError, xt as HISTORY_ITEM_CATALOG, zc as defineRecordKinds, zl as EventCategory } from "../../dist-CIUo0MpB.mjs";
|
|
2
|
+
import { a as catalogMetrics, c as DeviceDirectory, d as identityOf, f as subjectIdOf, i as capSeriesKey, l as isRealDeviceType, n as CaptureEngine, o as readPath, r as capItemSeriesKey, s as readUnit, t as CAP_KEY_PREFIX, u as SeriesRegistry } from "../../capture-engine-v5nSEyMa.mjs";
|
|
3
3
|
import { a as FIVE_MINUTES_MS, c as bucketEndOf, i as DAY_MS, l as bucketStartOf, n as RetentionJob, o as HOUR_MS, r as DepartureTracker, s as ROLLUP_GRACE_MS, t as DEFAULT_RETENTION, u as floorTo } from "../../retention-CUOVI1p7.mjs";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
5
5
|
//#region src/builtins/device-history/capture/point-writer.ts
|