@camstack/server 1.2.898 → 1.2.899
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 +6 -0
- package/dist/api/trpc/cap-router-runtime.js +1 -0
- package/dist/api/trpc/generated-cap-mounts.js +2 -1
- package/dist/api/trpc/generated-cap-routers.js +1894 -1870
- package/dist/core/addon/hub-addon-api.js +1 -0
- package/dist/core/moleculer/moleculer.service.js +1 -0
- package/package.json +8 -14
- package/system/dist/addon-runner.js +111 -8
- package/system/dist/addon-runner.mjs +111 -8
- 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/command-holds.d.ts +2 -0
- package/system/dist/builtins/device-manager/device-manager.addon.d.ts +1 -0
- package/system/dist/builtins/device-manager/device-manager.addon.js +706 -24
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +694 -25
- package/system/dist/builtins/device-manager/device-state-mirror.d.ts +7 -0
- package/system/dist/builtins/device-manager/state-refresh-scheduler.d.ts +92 -0
- package/system/dist/builtins/device-manager/state-refresh-wiring.d.ts +23 -0
- 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 +284 -284
- 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-DBQDaDxJ.mjs → capture-engine-BcD6iCZM.mjs} +1 -1
- package/system/dist/{capture-engine-BWS0KTbm.js → capture-engine-LHKTf-nM.js} +1 -1
- package/system/dist/{composition-sources-CGUWmf-T.mjs → composition-sources-C3ARJk2g.mjs} +1 -1
- package/system/dist/{composition-sources-CDOW1dnY.js → composition-sources-DNUDbuXy.js} +1 -1
- package/system/dist/{constants-BwrRoq-j.js → constants-dL8fl9aI.js} +1 -1
- package/system/dist/{constants-BmrLkwZs.mjs → constants-er38mZOb.mjs} +1 -1
- package/system/dist/{device-ca-BGgZXEto.mjs → device-ca-Ccz5olgH.mjs} +1 -1
- package/system/dist/{device-ca-DiuwWyZY.js → device-ca-KWa6uJRU.js} +1 -1
- package/system/dist/{dist-D7t8wLTF.mjs → dist-DBanWvHF.mjs} +147 -2
- package/system/dist/{dist-CCd8IeIU.js → dist-DEAjZE_-.js} +164 -1
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/{hub-identity-BohJeqdO.mjs → hub-identity-CVv79TVO.mjs} +1 -1
- package/system/dist/{hub-identity-G_ZdyPpc.js → hub-identity-Dy8ZSUuq.js} +1 -1
- package/system/dist/{hub-mdns-ciao-CKD4EgkG.js → hub-mdns-ciao-C_XjO7YI.js} +2 -2
- package/system/dist/{hub-mdns-ciao-D5RxSMrH.mjs → hub-mdns-ciao-DtmIyWDL.mjs} +2 -2
- package/system/dist/index.js +59 -12
- package/system/dist/index.mjs +55 -14
- package/system/dist/kernel/cap-router-builder.d.ts +7 -0
- package/system/dist/kernel/command-follow-up.d.ts +33 -0
- package/system/dist/kernel/command-observation.d.ts +3 -0
- package/system/dist/kernel/index.d.ts +3 -0
- package/system/dist/kernel/moleculer/child-cap-descriptors.d.ts +3 -1
- package/system/dist/kernel/moleculer/device-cap-proxy.d.ts +2 -1
- package/system/dist/kernel/state-refresh-policies.d.ts +53 -0
- package/system/dist/kernel/transport/child-cap-protocol.d.ts +6 -1
- package/system/dist/kernel/transport/local-child-registry.d.ts +14 -0
- package/system/dist/{legacy-integration-rows-door-Rm9JmIsl.mjs → legacy-integration-rows-door-BL8T4lya.mjs} +1 -1
- package/system/dist/{legacy-integration-rows-door-BgCl68ek.js → legacy-integration-rows-door-DPInWtE6.js} +1 -1
- package/system/dist/{rename-composition-block-2Z2ED7Og.js → rename-composition-block-BxzETYOf.js} +1 -1
- package/system/dist/{rename-composition-block-DNO3mNEO.mjs → rename-composition-block-Dgo-9-Ts.mjs} +1 -1
- package/system/dist/{restore-archive-2L5TymvF.mjs → restore-archive-BUtuNTe1.mjs} +82 -82
- package/system/dist/{restore-archive-CZkQO8t3.js → restore-archive-Zvx9sHZP.js} +1 -1
- package/system/dist/{wal-maintenance-YjDJ73Qd.js → wal-maintenance-DS2IKwtK.js} +0 -0
- package/system/dist/{wal-maintenance-BMYe_n18.mjs → wal-maintenance-cASt_sYy.mjs} +0 -0
- package/system/package.json +1 -1
|
@@ -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-DEAjZE_-.js");
|
|
7
7
|
const require_formatter = require("../../formatter-xbxeV4GD.js");
|
|
8
8
|
const require_log_file_read_protocol = require("../../log-file-read-protocol-DSV_vQRb.js");
|
|
9
9
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ga as preconditionOf, _l as defineAddonMigrations, ca as logDestinationCapability, vc as BaseAddon } from "../../dist-DBanWvHF.mjs";
|
|
2
2
|
import { t as formatLogLine } from "../../formatter-DkYZ4LXp.mjs";
|
|
3
3
|
import { a as LogFileIndexStore, i as serveRead, n as isFromReader, t as CancelBook } from "../../log-file-read-protocol-hTaAsYlX.mjs";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Dl as historyItemFieldPath, Oc as HISTORY_DEFAULT_MIN_INTERVAL_MS, _u as DeviceType } from "./dist-DBanWvHF.mjs";
|
|
2
2
|
//#region src/builtins/shared/device-state-changed.ts
|
|
3
3
|
/** Structural narrowing helper for untrusted bus payloads. */
|
|
4
4
|
function isRecord$2(value) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Qs as compositionSourceKey, vu as errMsg } from "./dist-DBanWvHF.mjs";
|
|
2
2
|
//#region src/builtins/core-blocks/composition-sources.ts
|
|
3
3
|
/**
|
|
4
4
|
* Describe what a composition reads and writes for SAVE-time validation
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** `secret://system/global/meshCaKey` — EC P-256 PKCS#8 PEM of the hub mesh CA. */
|
|
2
|
-
var MESH_CA_KEY_REF = require("./dist-
|
|
2
|
+
var MESH_CA_KEY_REF = require("./dist-DEAjZE_-.js").buildSecretRef({
|
|
3
3
|
owner: "system",
|
|
4
4
|
scope: { kind: "global" },
|
|
5
5
|
fieldPath: "meshCaKey"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { J as DEVICE_SAN_USER_PREFIX, cl as buildSecretRef, q as DEVICE_SAN_CREDENTIAL_PREFIX } from "./dist-DBanWvHF.mjs";
|
|
2
2
|
import { C as backdatedNotBefore, S as withUtcTimeEncoding, a as KeyUsageFlags, d as SubjectKeyIdentifierExtension, f as X509Certificate$1, m as cryptoProvider, n as BasicConstraintsExtension, o as KeyUsagesExtension, p as X509CertificateGenerator, r as ExtendedKeyUsageExtension, s as PemConverter, t as AuthorityKeyIdentifierExtension, u as SubjectAlternativeNameExtension } from "./x509.es-BRiJgOvu.mjs";
|
|
3
3
|
import { X509Certificate, createPublicKey, randomBytes, verify, webcrypto } from "node:crypto";
|
|
4
4
|
//#region src/auth/jwt-signing-key.ts
|
|
@@ -1298,7 +1298,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
1298
1298
|
*/
|
|
1299
1299
|
var COMPOSED_DEVICE_STABLE_ID_PREFIX = "composed-";
|
|
1300
1300
|
//#endregion
|
|
1301
|
-
//#region ../types/dist/sleep-
|
|
1301
|
+
//#region ../types/dist/sleep-DO-ayTnk.mjs
|
|
1302
1302
|
/**
|
|
1303
1303
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
1304
1304
|
* window to float samples (D455).
|
|
@@ -13723,6 +13723,17 @@ var CAP_VOCABULARY_BY_NAME = {
|
|
|
13723
13723
|
},
|
|
13724
13724
|
notOperatorFacing: { resync: "device adoption — re-aligning a device with its source is an onboarding step, not an automation action" }
|
|
13725
13725
|
},
|
|
13726
|
+
"device-state-refresh": {
|
|
13727
|
+
scope: "device",
|
|
13728
|
+
noun: {
|
|
13729
|
+
en: "State refresh",
|
|
13730
|
+
it: "Aggiornamento dello stato"
|
|
13731
|
+
},
|
|
13732
|
+
notOperatorFacing: {
|
|
13733
|
+
refresh: "the core schedules state refreshes itself; an operator never asks for one",
|
|
13734
|
+
resubscribe: "the core schedules state refreshes itself; an operator never asks for one"
|
|
13735
|
+
}
|
|
13736
|
+
},
|
|
13726
13737
|
"recording": {
|
|
13727
13738
|
scope: "device",
|
|
13728
13739
|
noun: {
|
|
@@ -17026,6 +17037,7 @@ var CAP_NAMES = Object.freeze([
|
|
|
17026
17037
|
"device-removal-hook",
|
|
17027
17038
|
"device-runs",
|
|
17028
17039
|
"device-state",
|
|
17040
|
+
"device-state-refresh",
|
|
17029
17041
|
"device-status",
|
|
17030
17042
|
"device-transitions",
|
|
17031
17043
|
"dishwasher",
|
|
@@ -74966,6 +74978,110 @@ onChanged: event(z.object({
|
|
|
74966
74978
|
vocabulary: { notOperatorFacing: "the runtime-state mirror every trigger already reads through" }
|
|
74967
74979
|
};
|
|
74968
74980
|
/**
|
|
74981
|
+
* Server-driven device state refresh (D1062): the core decides WHEN a device is
|
|
74982
|
+
* re-read, the integration only knows HOW.
|
|
74983
|
+
*
|
|
74984
|
+
* A provider states its policy where it registers the device's
|
|
74985
|
+
* `device-state-refresh` cap (`ctx.registerNativeCap(cap, provider, {
|
|
74986
|
+
* stateRefresh })`). It reaches the hub by the road the command-hold options
|
|
74987
|
+
* take (D1061): written directly in-process, carried on a forked child's cap
|
|
74988
|
+
* descriptors otherwise. Plain data, wire-safe.
|
|
74989
|
+
*/
|
|
74990
|
+
/** Why the core asks for a refresh. */
|
|
74991
|
+
var StateRefreshReasonSchema = z.enum([
|
|
74992
|
+
"schedule",
|
|
74993
|
+
"command",
|
|
74994
|
+
"burst"
|
|
74995
|
+
]);
|
|
74996
|
+
/**
|
|
74997
|
+
* What arrives without asking: `none` (everything is read), `partial` (some
|
|
74998
|
+
* fields arrive by push, the rest is read on the schedule), `full` (everything
|
|
74999
|
+
* arrives by push — never read on a schedule).
|
|
75000
|
+
*/
|
|
75001
|
+
var StateRefreshPushSchema = z.enum([
|
|
75002
|
+
"none",
|
|
75003
|
+
"partial",
|
|
75004
|
+
"full"
|
|
75005
|
+
]);
|
|
75006
|
+
z.object({
|
|
75007
|
+
/**
|
|
75008
|
+
* The integration instance the device belongs to. Devices of one instance
|
|
75009
|
+
* share one schedule group: a batching provider is asked once for all of
|
|
75010
|
+
* them, and the heartbeat is judged across them.
|
|
75011
|
+
*/
|
|
75012
|
+
integrationId: z.string().min(1),
|
|
75013
|
+
/** The fastest interval the integration can afford for its devices. The core polls at it by default. */
|
|
75014
|
+
minIntervalMs: z.number().int().min(1e3),
|
|
75015
|
+
/**
|
|
75016
|
+
* The operator's per-integration setting, when there is one. It can only SLOW
|
|
75017
|
+
* the cadence: the core polls at `max(minIntervalMs, intervalMs)`.
|
|
75018
|
+
*/
|
|
75019
|
+
intervalMs: z.number().int().positive().optional(),
|
|
75020
|
+
/** One `refresh` call can read every device of the integration at once. */
|
|
75021
|
+
batch: z.boolean(),
|
|
75022
|
+
push: StateRefreshPushSchema,
|
|
75023
|
+
/** Longest silence a push integration may keep before the core re-reads it and asks it to resubscribe. */
|
|
75024
|
+
heartbeatMs: z.number().int().positive().optional(),
|
|
75025
|
+
/**
|
|
75026
|
+
* Bumped by the provider each time its push subscription reconnected on its
|
|
75027
|
+
* own. A change makes the core re-read every device of the integration
|
|
75028
|
+
* (pushes lost while it was down; events may be dropped, D8).
|
|
75029
|
+
*/
|
|
75030
|
+
connectionEpoch: z.number().int().nonnegative().optional()
|
|
75031
|
+
});
|
|
75032
|
+
/** The cadence the core runs a policy at: the declared minimum, slowed (never sped up) by the setting. */
|
|
75033
|
+
function effectiveRefreshIntervalMs(policy) {
|
|
75034
|
+
const setting = policy.intervalMs ?? 0;
|
|
75035
|
+
return Math.max(policy.minIntervalMs, setting);
|
|
75036
|
+
}
|
|
75037
|
+
/** The burst after a command on a read (non-push) device: offsets from the command, in ms. */
|
|
75038
|
+
var COMMAND_BURST_OFFSETS_MS = [3e3, 1e4];
|
|
75039
|
+
/** How long the core waits for a push device to confirm a command before reading it once. */
|
|
75040
|
+
var PUSH_CONFIRM_WINDOW_MS = 2500;
|
|
75041
|
+
/**
|
|
75042
|
+
* device-state-refresh — the HOW of a device's state refresh, called by the
|
|
75043
|
+
* core, which owns the WHEN (D1062).
|
|
75044
|
+
*
|
|
75045
|
+
* The provider registers it per device with its policy
|
|
75046
|
+
* (`registerNativeCap(cap, provider, { stateRefresh })`). The hub's scheduler
|
|
75047
|
+
* calls `refresh` on the schedule, after a command and in the burst that
|
|
75048
|
+
* follows it, and `resubscribe` when a push integration fell silent. The
|
|
75049
|
+
* provider re-reads and writes the slices it already writes; nothing is
|
|
75050
|
+
* returned but completion.
|
|
75051
|
+
*/
|
|
75052
|
+
var DeviceStateRefreshInputSchema = z.object({
|
|
75053
|
+
/** The device the call is routed by (one of `deviceIds`). */
|
|
75054
|
+
deviceId: z.number().int().nonnegative(),
|
|
75055
|
+
/** Every device to re-read: one, or the integration's whole set when the provider batches. */
|
|
75056
|
+
deviceIds: z.array(z.number().int().nonnegative()).min(1),
|
|
75057
|
+
reason: StateRefreshReasonSchema
|
|
75058
|
+
});
|
|
75059
|
+
var DeviceStateResubscribeInputSchema = z.object({ deviceId: z.number().int().nonnegative() });
|
|
75060
|
+
var DeviceStateRefreshResultSchema = z.object({ ok: z.literal(true) });
|
|
75061
|
+
var NOT_OPERATOR_FACING = "the core schedules state refreshes itself; an operator never asks for one";
|
|
75062
|
+
var deviceStateRefreshCapability = {
|
|
75063
|
+
name: "device-state-refresh",
|
|
75064
|
+
scope: "device",
|
|
75065
|
+
deviceNative: true,
|
|
75066
|
+
mode: "singleton",
|
|
75067
|
+
methods: {
|
|
75068
|
+
refresh: method(DeviceStateRefreshInputSchema, DeviceStateRefreshResultSchema, {
|
|
75069
|
+
kind: "mutation",
|
|
75070
|
+
auth: "admin",
|
|
75071
|
+
notOperatorFacing: NOT_OPERATOR_FACING
|
|
75072
|
+
}),
|
|
75073
|
+
resubscribe: method(DeviceStateResubscribeInputSchema, DeviceStateRefreshResultSchema, {
|
|
75074
|
+
kind: "mutation",
|
|
75075
|
+
auth: "admin",
|
|
75076
|
+
notOperatorFacing: NOT_OPERATOR_FACING
|
|
75077
|
+
})
|
|
75078
|
+
},
|
|
75079
|
+
vocabulary: {
|
|
75080
|
+
noun: t("State refresh", "Aggiornamento dello stato"),
|
|
75081
|
+
order: 3247
|
|
75082
|
+
}
|
|
75083
|
+
};
|
|
75084
|
+
/**
|
|
74969
75085
|
* Generic device-level status snapshot. Auto-registered by `BaseDevice`
|
|
74970
75086
|
* for every device, regardless of provider — the kernel needs a uniform
|
|
74971
75087
|
* cap-keyed slice for the basic device flags every consumer expects to
|
|
@@ -114861,6 +114977,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
114861
114977
|
deviceRemovalHookCapability,
|
|
114862
114978
|
deviceRunsCapability,
|
|
114863
114979
|
deviceStateCapability,
|
|
114980
|
+
deviceStateRefreshCapability,
|
|
114864
114981
|
deviceStatusCapability,
|
|
114865
114982
|
deviceTransitionsCapability,
|
|
114866
114983
|
dishwasherCapability,
|
|
@@ -126224,6 +126341,20 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
126224
126341
|
access: "create",
|
|
126225
126342
|
role: "admin"
|
|
126226
126343
|
},
|
|
126344
|
+
"deviceStateRefresh.refresh": {
|
|
126345
|
+
capName: "device-state-refresh",
|
|
126346
|
+
capScope: "device",
|
|
126347
|
+
addonId: null,
|
|
126348
|
+
access: "create",
|
|
126349
|
+
role: "admin"
|
|
126350
|
+
},
|
|
126351
|
+
"deviceStateRefresh.resubscribe": {
|
|
126352
|
+
capName: "device-state-refresh",
|
|
126353
|
+
capScope: "device",
|
|
126354
|
+
addonId: null,
|
|
126355
|
+
access: "create",
|
|
126356
|
+
role: "admin"
|
|
126357
|
+
},
|
|
126227
126358
|
"deviceStatus.getStatus": {
|
|
126228
126359
|
capName: "device-status",
|
|
126229
126360
|
capScope: "device",
|
|
@@ -135060,6 +135191,20 @@ Object.freeze({
|
|
|
135060
135191
|
form: "single",
|
|
135061
135192
|
optional: false
|
|
135062
135193
|
}],
|
|
135194
|
+
"deviceStateRefresh.refresh": [{
|
|
135195
|
+
name: "deviceId",
|
|
135196
|
+
form: "single",
|
|
135197
|
+
optional: false
|
|
135198
|
+
}, {
|
|
135199
|
+
name: "deviceIds",
|
|
135200
|
+
form: "array",
|
|
135201
|
+
optional: false
|
|
135202
|
+
}],
|
|
135203
|
+
"deviceStateRefresh.resubscribe": [{
|
|
135204
|
+
name: "deviceId",
|
|
135205
|
+
form: "single",
|
|
135206
|
+
optional: false
|
|
135207
|
+
}],
|
|
135063
135208
|
"deviceStatus.getStatus": [{
|
|
135064
135209
|
name: "deviceId",
|
|
135065
135210
|
form: "single",
|
|
@@ -139890,4 +140035,4 @@ function resolveCommandHold(cap, method, args, current, option, shown = current)
|
|
|
139890
140035
|
};
|
|
139891
140036
|
}
|
|
139892
140037
|
//#endregion
|
|
139893
|
-
export { DEVICE_TOMBSTONE_RETENTION_MS as $, recordEntriesCapability as $a, asJsonObject as $c, lifecycleJobSchema as $i, scopeKey as $l, builtinAutomationTemplate as $n, storageProviderCapability as $o, evaluateCompositionField as $r, evaluateStatistic as $s, QuantityUnitError as $t, ConditionMirror as A, orderMigrations as Aa, RECORD_BATCH_MAX_BYTES as Ac, isAddonInstanceId as Ai, isEvent as Al, actionSourceCapability as An, sameIdentifiers as Ao, databaseSnapshotCapability as Ar, COMPOSER_ADDON_ID as As, KeychainAuditEntrySchema as At, DERIVED_CAMERA_SILENCED_CAP_NAMES as B, powerSourceCapability as Ba, RecordKindDeclarationSchema as Bc, isInternalActionId as Bi, mapSecretLeaves as Bl, appendTrace as Bn, sharedActuatorFeatures as Bo, deviceExtensionCapability as Br, canonicalStoredBlockTarget as Bs, MigrationMetaSchema as Bt, COMPOSED_ITEM_FIXED_FIELDS as C, normalizeActionUnits as Ca, FilterRequiredError as Cc, heroLayoutCapability as Ci, getDebugInterest as Cl, TagsFieldSchema as Cn, resolveRunnerId as Co, coreBlockIdFromAddonId as Cr, vectorStoreCapability as Cs, HUB_MDNS_SERVICE_TYPE as Ct, CREDENTIAL_TOKEN_AUDIENCE as D, objectInputDeclaresAddonId as Da, NoCallerError as Dc, integrationInstancesCapability as Di, isCommand as Dl, UserRecordSchema as Dn, runSteps as Do, createDeviceExtensionProvider as Dr, workloadCapability as Ds, IDLE_ACTION_STATUS as Dt, CORE_BLOCK_ADDON_PREFIX as E, normalizeUnit as Ea, InvalidRecordError as Ec, instanceCodeHash as Ei, hydrateSchema as El, UNATTRIBUTED_BUCKET_KEY as En, runFanOut as Eo, coverCapability as Er, withLocationMode as Es, HvacModeSchema as Et, DATABASE_SNAPSHOT_SUFFIX as F, petFountainWaterItem as Fa, REMOVE_LEAF as Fc, isBuiltinTemplateId as Fi, isSecretFieldView as Fl, addonSettingsCapability as Fn, searchRank as Fo, defineExtensionSlotProvider as Fr, HISTORY_SLOW_MS as Fs, MIGRATION_API_V1_METHODS as Ft, DEVICE_NONCE_TTL_MS as G, procedureAuthKey as Ga, SECRET_CLEAR as Gc, isVoidInput as Gi, parseJsonObject as Gl, bareAddonId as Gn, siteZoneKey as Go, deviceRunsCapability as Gr, composedDeviceStableId as Gs, PREFERENCES_MAX_VALUE_BYTES as Gt, DEVICE_HISTORY_ENERGY_KEY as H, preconditionOf as Ha, RecordTooLargeError as Hc, isLocationEnabled as Hi, nodePin as Hl, assertStepsOffered as Hn, sharedColorModes as Ho, deviceManagerCapability as Hr, capAppliesToDeviceKind as Hs, NetworkTunnelStartedDataSchema as Ht, DATABASE_SNAPSHOT_TIMEOUT_MS as I, pickAppLinkHub as Ia, RUNTIME_DEFAULTS as Ic, isCollectionArrayMethod as Ii, isSecretMarker as Il, addonWidgetsCapability as In, seedInstanceOnce as Io, deriveBatteryPresence as Ir, HOUR_MS as Is, MINUTES_PER_DAY as It, DEVICE_TEMPLATE_FILTERS as J, proposeRunningThreshold as Ja, UnindexedFilterError as Jc, keychainAdminCapability as Ji, readinessKey as Jl, buildCapabilityLookup as Jn, stableIdMapOf as Jo, deviceStatusCapability as Jr, compositionSliceKey as Js, PetFountainStatusSchema as Jt, DEVICE_SAN_CREDENTIAL_PREFIX as K, processTimeZoneOr as Ka, StoredRecordKindDeclarationSchema as Kc, isWorkloadSettled as Ki, parseJsonUnknown as Kl, brightnessCapability as Kn, snapshotCapability as Ko, deviceSleeps as Kr, compositionFeatureEnabled as Ks, PROPOSAL_MIN_SPAN_MS as Kt, DATA_STORE_DATABASES as L, planComposition as La, ReadinessRegistry as Lc, isCredentialTokenPayload as Li, isSecretMarkerLike as Ll, alertEpisodeId as Ln, selectEngineHostedBlocks as Lo, describeComposableCaps as Lr, HelperMemberSchema as Ls, MOTION_CLOSE_AFTER_MS as Lt, CoreBlockSchema as M, parseColorInput as Ma, RECORD_SECRET_COLLECTION_PREFIX as Mc, isAlertEpisodeSeverity as Mi, isKeychainStoredField as Ml, actionsCapability as Mn, scopesAllowAddon as Mo, declaredSeriesKind as Mr, DAY_MS as Ms, LOG_LEVEL_RANK as Mt, CredentialTokenClaimsSchema as N, parseStreamParamsFormPatch as Na, RECORD_SWEEP_INTERVAL_MS as Nc, isAppLinkBase as Ni, isReadingQuantity as Nl, addonIdOfActionId as Nn, scopesAllowDeviceCap as No, decodeVectorBase64 as Nr, DEFAULT_HISTORY_RETENTION as Ns, LowPowerSleepStatusSchema as Nt, CalendarPreferencesSchema as O, objectInputDeclaresRequiredDeviceId as Oa, PlaintextSecretError as Oc, internalActionId as Oi, isDebugChannelName as Ol, WORKLOAD_TRANSITION_CATEGORY as On, runtimeFieldUnit as Oo, customKeyOfRole as Or, workloadTransition as Os, INTERNAL_ACTION_PREFIX as Ot, DATABASE_SNAPSHOT_PARTIAL_SUFFIX as P, petFountainCapability as Pa, REDACTED_SECRET as Pc, isArrayOutputSchema as Pi, isSecretClear as Pl, addonPagesCapability as Pn, scoreRuntimes as Po, defaultTagColorId as Pr, HISTORY_FAST_MS as Ps, METHOD_ACCESS_MAP as Pt, DEVICE_TEMPLATE_VALUES_CAP as Q, reconcileReportedFeatures as Qa, actionEffect as Qc, legacySweepDone as Qi, ruleFireOfClaim as Ql, buildStreamParamsConfigSchema as Qn, storageOccupancyCapability as Qo, enumerateSchemaFields as Qr, evaluateDerivative as Qs, PreferenceValueSchema as Qt, DAY_NAMES as R, platformProbeCapability as Ra, ReadinessTimeoutError as Rc, isDefaultAppConnectionEndpoint as Ri, isSecretRefOwnedBy as Rl, alertEpisodePayload as Rn, settingsStoreCapability as Ro, describeUnmet as Rr, MINUTE_MS as Rs, MediaPlayerStatusSchema as Rt, CATALOG_LANGS as S, nextTimeBoundaryInMs as Sa, DeviceTransitionSchema as Sc, hasTimeLeaves as Si, formatSecretScope as Sl, TagStyleSchema as Sn, resolveRemoteSource as So, coreBlockComposition as Sr, vectorIndexDimConflictError as Ss, HISTORY_ITEM_CATALOG as St, CORE_BLOCKS_ADDON_ID as T, normalizeTags as Ta, HISTORY_DEFAULT_MIN_INTERVAL_MS as Tc, identifierStrength as Ti, historyUnitFor as Tl, TokenScopeSchema as Tn, resolveTemplateRef as To, coreBlocksCapability as Tr, withDefaultRunning as Ts, HostedWithdrawalGate as Tt, DEVICE_IDENTIFIER_KEYS as U, prepareRecipeUnits as Ua, RecordUniqueViolationError as Uc, isObjectInput as Ui, normalizeNodeId as Ul, authProviderCapability as Un, shortHostname as Uo, deviceOffersActions as Ur, cloneStatefulExpressionMemory as Us, ONE_SHOT_HOLD_MS as Ut, DEVICE_ENROLLMENT_TTL_MS as V, powerSourceLinkOfComposition as Va, RecordNotFoundError as Vc, isKernelDerivedFeature as Vi, nodeIdOfScopedKey as Vl, armRemovalReconcile as Vn, sharedActuatorMethods as Vo, deviceHistoryCapability as Vr, canonicalStoredDeviceType as Vs, NcTaggedRuleKindSchema as Vt, DEVICE_ID_FIELD as W, problemsBlockSave as Wa, RevConflictError as Wc, isSameAddonId as Wi, normalizeSecretOwner as Wl, backupCapability as Wn, siteFor as Wo, deviceRemovalHookCapability as Wr, composedDeviceRef as Ws, PET_FOUNTAIN_WATER_KEY as Wt, DEVICE_TEMPLATE_MAX_OUTPUT as X, readRecipeLiteral as Xa, VocabActionError as Xc, legacyAutoLinkIds as Xi, resolveCapMount as Xl, buildDeviceSignatureMessage as Xn, storageCapability as Xo, enumerateInferenceDevices as Xr, createStatefulExpressionMemory as Xs, PreferenceDeviceIdSchema as Xt, DEVICE_TEMPLATE_MAX_LENGTH as Y, ptzAutotrackCapability as Ya, UnknownRecordKindError as Yc, keychainCapability as Yi, recordSecretRef as Yl, buildDeviceEnrollmentLink as Yn, storageAdminCapability as Yo, deviceTransitionsCapability as Yr, compositionSourceKey as Ys, PowerSourceInfoSchema as Yt, DEVICE_TEMPLATE_THIS_ALIAS as Z, readStoredRemoteConfig as Za, WELL_KNOWN_TAB_MAP as Zc, legacyModeOf as Zi, resolveSecretMarkers as Zl, buildHeroModel as Zn, storageMigrationCapability as Zo, enumerateItemArrayFields as Zr, disarmRoseMemory as Zs, PreferenceNamespaceSchema as Zt, BUILTIN_REMOTE_COMPONENTS as _, migrationsCapability as _a, CALLER_STAMPED_CAPABILITIES as _c, gbToBytes as _i, defineRecordKinds as _l, StorageCleanupJobSchema as _n, resolveHubAddressRoles as _o, compositionFieldKey as _r, validateComposition as _s, FanPresetSchema as _t, EventCategory as _u, AGENT_MDNS_SERVICE_TYPE as a, logDestinationCapability as aa, isForwardInputRef as ac, extractNestedAddonId as ai, buildSecretRef as al, RemoteLayoutPayloadSchema as an, remoteSourceSteps as ao, catalogueIssues as ar, switchStateOfMode as as, DeviceTombstoneSchema as at, toSecretFieldView as au, CAMSTACK_APP_LINK_ORIGIN as b, motionCapability as ba, DEVICE_STATUS_METHOD as bc, groupCommandsCapability as bi, entryBody as bl, StorageMigrationJobSchema as bn, resolveMutate as bo, consumablesCapability as br, valveCapability as bs, GroupCommandResultSchema as bt, ActionError as c, lowPowerSleepCapability as ca, openReset as cc, fanControlCapability as ci, collectSecretMarkerRefs as cl, STORAGE_LOCATION_MODES as cn, replaceRecipeLiteral as co, checkTemplatePayload as cr, templateCapability as cs, EMPTY_REMOTE_ASSUMED_STATE as ct, vocabActionIdFor as cu, ActionTargetResolver as d, mediaPlayerCapability as da, planStatisticTier as dc, featureForwards as di, commandOrigin as dl, SchedulerError as dn, resolveAppConnections as do, collectWhenMirrorSources as dr, timedRunMaxIn as ds, FAN_CAPTURE_FIELDS as dt, COMPOSED_DEVICE_STABLE_ID_PREFIX as du, localDateOf as ea, helperMembers as ec, evaluateStepCondition as ei, asNumber as el, RECORDING_SOURCE_CAMSTACK_ADDON as en, recordsCapability as eo, calendarsCapability as er, streamCatalogCapability as es, DataStoreDatabaseSchema as et, secretTreeFromPaths as eu, ActionVariableSchema as f, mediaPlayerFeaturesOfRoles as fa, statisticCadenceMs as fc, filesystemBrowseCapability as fi, createEvent as fl, SchedulerSchema as fn, resolveBucketMs as fo, colorCapability as fr, timedRunQuickRun as fs, FAN_OSCILLATION_AXES as ft, DeviceFeature as fu, BUILTIN_AUTOMATION_TEMPLATES as g, metricsProviderCapability as ga, BatchTooLargeError as gc, formatMinutes as gi, defineEntryKind as gl, SsoBridgeClaimsSchema as gn, resolveHeroLayout as go, composerCapability as gr, userManagementCapability as gs, FanDirectionSchema as gt, featuresOfBoundCaps as gu, AutomationTemplatePayloadSchema as h, methodRefusal as ha, BaseAddon as hc, formatDeviceRevoker as hi, defineCustomActions as hl, SetOscillationAxisInputSchema as hn, resolveCoreBlockFiles as ho, compileScalarOverride as hr, unmetRequirements as hs, FanControlStatusSchema as ht, errMsg as hu, ACTUATOR_TEMPLATE_IDS as i, lockDoorLinkOfComposition as ia, isEngineHostedHelper as ic, expressionContainsBuiltinCall as ii, auditedFields as il, RemoteAssumedStateSchema as in, remoteLayoutComponentsCapability as io, capUnitResolver as ir, switchCapability as is, DeviceStatusSchema as it, toNodeId as iu, ConsumableItemSchema as j, parseAcceleratorFactsJson as ja, RECORD_DELETE_BATCH as jc, isAlertEpisodeOpen as ji, isInstanceEnabled as jl, actionWaitTotalMs as jn, schedulersCapability as jo, declarationOwnerNodeId as jr, CompositionSchema as js, KeychainResetRecordSchema as jt, CatalogFileSchema as k, occurrenceOn as ka, RECORD_BATCH_MAX as kc, interpolate as ki, isDeviceConfigCap as kl, WorkloadStateSchema as kn, runtimeStatePolicyFor as ko, dataStoreProviderCapability as kr, zoneOnlySite as ks, KEYCHAIN_RESET_TRIGGER_ACTOR as kt, ActionMinDelaySecSchema as l, mayReadLocation as la, openStatistic as lc, fanOutTargets as li, collectZodSecretPaths as ll, STREAM_PROFILE_META as ln, replacedFieldKeys as lo, climateControlCapability as lr, timedRunCapability as ls, EMPTY_REMOTE_CONFIG as lt, vocabCall as lu, AutomationStateDocSchema as m, mergeIdentifiers as ma, wattMillisecondsToKwh as mc, foldSnapshotByFunction as mi, defineAddonMigrations as ml, ServerNameSchema as mn, resolveCoreBlockEntry as mo, compileHelper as mr, toTimings as ms, FIRST_LEVEL_MACRO_CLASSES as mt, DeviceType as mu, ACTION_TARGET_INVALIDATION_EVENTS as n, locationIconKey as na, implementedMethodsOf as nc, evictionPolicyOfLocation as ni, assertTransactScope as nl, ROOT_BUCKET_KEY as nn, reexpandAutomationInstance as no, canonicalIconKey as nr, supportedRuntimes as ns, DeviceIdentifiersSchema as nt, secretViewsOf as nu, AGENT_MDNS_TXT_KEYS as o, logLevelAtMost as oa, isHistoryHelper as oc, extractSourceInfoFromMetadata as oi, collectSecretConfigKeys as ol, RunningStateStatusSchema as on, removeFromTags as oo, checkDeviceAlias as or, tagKey as os, DiscoveryProposalBodySchema as ot, transformSecretWrite as ou, AlertSchema as p, memoizePinnedFfmpeg as pa, toExpressionValue as pc, findChannelSource as pi, customAction as pl, ScopedTokenSchema as pn, resolveCommandHold as po, compareVersions as pr, timedRunSeconds as ps, FAN_OSCILLATION_AXIS_SETTABLE as pt, DeviceRole as pu, DEVICE_SAN_USER_PREFIX as q, projectDeviceRow as qa, TransactRefusedError as qc, kebabToCamel as qi, parseSecretRef as ql, buildActionSteps as qn, splitTranslationRef as qo, deviceStateCapability as qr, compositionItemFieldPath as qs, PackageRequiresSchema as qt, ACTUATOR_METHODS as r, lockControlCapability as ra, integrateReading as rc, expandContainer as ri, assertValidDeclaration as rl, RecordingStatusSchema as rn, remoteCapability as ro, canonicalStoredStepTargets as rr, sweepLegacyEngineRows as rs, DeviceRunSchema as rt, sleep as ru, ALL_CAPABILITY_DEFINITIONS as s, looseSchema as sa, nextLocalMidnight as sc, fanAxisPath as si, collectSecretLeaves as sl, STORAGE_ACCESS_FALLBACK as sn, renameInTags as so, checkRoleAddress as sr, tagsCapability as ss, EMPTY_AUTOMATION_STATE as st, userError as su, ACTION_RUN_MAX_MS as t, localNetworkCapability as ta, historyRetentionFromSettings as tc, evaluateWhenTree as ti, asString$1 as tl, REMOTE_MEDIA_COMMANDS as tn, reducePoints as to, cameraGridLayoutCapability as tr, streamQualityLabel as ts, DeclaredDevices as tt, secretTreeFromSchema as tu, ActionStepSchema as u, mayWriteToLocation as ua, planResetTier as uc, fanPresetsCapability as ui, commandEffect as ul, SWITCH_DEFAULT_OPTIONS as un, resolveActionVariables as uo, collectDeviceTemplates as ur, timedRunLimitOf as us, ExportNameRefusedError as ut, withoutCallerStamp as uu, BaseDevice as v, modeForSwitch as va, DATAPLANE_SECRET_HEADER as vc, generateAutomationBlock as vi, emitDownForOwnedCaps as vl, StorageLocationModeSchema as vn, resolveLocationMode as vo, compositionSourceRefs as vr, validateCustomAddress as vs, FieldClaimModeSchema as vt, COMPOSER_RUNNER_ID as w, normalizeCoreBlockWrite as wa, ForeignSecretMarkerError as wc, hostEngineDevice as wi, historyItemFieldPath as wl, TemplateKindSchema as wn, resolveStepArgs as wo, coreBlockSourceKind as wr, weekdayOfLocalDate as ws, HUB_MDNS_TXT_KEYS as wt, CAP_NAMES_WITH_STATUS as x, nextOccurrence as xa, DeclarationRefusedError as xc, groupTemplate as xi, expandCapMethods as xl, TagNameSchema as xn, resolveNotificationTapAddress as xo, coreBlockAddonId as xr, vectorDimFromBase64 as xs, HISTORY_CATALOG as xt, CAMERA_SWITCH_ORDER as y, modeMayWrite as ya, DEVICE_SETTINGS_CONTRIBUTION_METHODS as yc, generateDeviceAlias as yi, emitReadiness as yl, StorageLocationTypeSchema as yn, resolveMethodAuth as yo, compositionUnionReads as yr, validateSchedulerInput as ys, FieldClaimSchema as yt, DEFAULT_HOLD_OVERRIDE as z, powerSourceActuatorConflicts as za, RecordIntegrationInstances as zc, isEmptyIdentifiers as zi, makeSecretMarker as zl, alertsCapability as zn, settleDeviceFeatures as zo, deviceCredentialsCapability as zr, buildFfmpegArgs as zs, MigrationLedgerEntrySchema as zt };
|
|
140038
|
+
export { DEVICE_TEMPLATE_VALUES_CAP as $, readRecipeLiteral as $a, VocabActionError as $c, legacyAutoLinkIds as $i, resolveCapMount as $l, buildHeroModel as $n, storageCapability as $o, enumerateInferenceDevices as $r, createStatefulExpressionMemory as $s, PreferenceNamespaceSchema as $t, CatalogFileSchema as A, objectInputDeclaresAddonId as Aa, NoCallerError as Ac, integrationInstancesCapability as Ai, isCommand as Al, WORKLOAD_TRANSITION_CATEGORY as An, runSteps as Ao, customKeyOfRole as Ar, workloadCapability as As, KEYCHAIN_RESET_TRIGGER_ACTOR as At, DEFAULT_HOLD_OVERRIDE as B, planComposition as Ba, ReadinessRegistry as Bc, isCredentialTokenPayload as Bi, isSecretMarkerLike as Bl, alertEpisodePayload as Bn, selectEngineHostedBlocks as Bo, describeUnmet as Br, HelperMemberSchema as Bs, MigrationLedgerEntrySchema as Bt, COMMAND_BURST_OFFSETS_MS as C, motionCapability as Ca, DEVICE_STATUS_METHOD as Cc, groupCommandsCapability as Ci, entryBody as Cl, TagNameSchema as Cn, resolveMutate as Co, coreBlockAddonId as Cr, valveCapability as Cs, HISTORY_ITEM_CATALOG as Ct, CORE_BLOCK_ADDON_PREFIX as D, normalizeCoreBlockWrite as Da, ForeignSecretMarkerError as Dc, hostEngineDevice as Di, historyItemFieldPath as Dl, TokenScopeSchema as Dn, resolveStepArgs as Do, coreBlocksCapability as Dr, weekdayOfLocalDate as Ds, HvacModeSchema as Dt, CORE_BLOCKS_ADDON_ID as E, normalizeActionUnits as Ea, FilterRequiredError as Ec, heroLayoutCapability as Ei, getDebugInterest as El, TemplateKindSchema as En, resolveRunnerId as Eo, coreBlockSourceKind as Er, vectorStoreCapability as Es, HostedWithdrawalGate as Et, DATABASE_SNAPSHOT_PARTIAL_SUFFIX as F, parseColorInput as Fa, RECORD_SECRET_COLLECTION_PREFIX as Fc, isAlertEpisodeSeverity as Fi, isKeychainStoredField as Fl, addonIdOfActionId as Fn, scopesAllowAddon as Fo, decodeVectorBase64 as Fr, DAY_MS as Fs, METHOD_ACCESS_MAP as Ft, DEVICE_ID_FIELD as G, preconditionOf as Ga, RecordTooLargeError as Gc, isLocationEnabled as Gi, nodePin as Gl, authProviderCapability as Gn, sharedColorModes as Go, deviceOffersActions as Gr, capAppliesToDeviceKind as Gs, PET_FOUNTAIN_WATER_KEY as Gt, DEVICE_ENROLLMENT_TTL_MS as H, powerSourceActuatorConflicts as Ha, RecordIntegrationInstances as Hc, isEmptyIdentifiers as Hi, makeSecretMarker as Hl, appendTrace as Hn, settleDeviceFeatures as Ho, deviceExtensionCapability as Hr, buildFfmpegArgs as Hs, NcTaggedRuleKindSchema as Ht, DATABASE_SNAPSHOT_SUFFIX as I, parseStreamParamsFormPatch as Ia, RECORD_SWEEP_INTERVAL_MS as Ic, isAppLinkBase as Ii, isReadingQuantity as Il, addonPagesCapability as In, scopesAllowDeviceCap as Io, defaultTagColorId as Ir, DEFAULT_HISTORY_RETENTION as Is, MIGRATION_API_V1_METHODS as It, DEVICE_SAN_USER_PREFIX as J, procedureAuthKey as Ja, SECRET_CLEAR as Jc, isVoidInput as Ji, parseJsonObject as Jl, brightnessCapability as Jn, siteZoneKey as Jo, deviceSleeps as Jr, composedDeviceStableId as Js, PUSH_CONFIRM_WINDOW_MS as Jt, DEVICE_NONCE_TTL_MS as K, prepareRecipeUnits as Ka, RecordUniqueViolationError as Kc, isObjectInput as Ki, normalizeNodeId as Kl, backupCapability as Kn, shortHostname as Ko, deviceRemovalHookCapability as Kr, cloneStatefulExpressionMemory as Ks, PREFERENCES_MAX_VALUE_BYTES as Kt, DATABASE_SNAPSHOT_TIMEOUT_MS as L, petFountainCapability as La, REDACTED_SECRET as Lc, isArrayOutputSchema as Li, isSecretClear as Ll, addonSettingsCapability as Ln, scoreRuntimes as Lo, defineExtensionSlotProvider as Lr, HISTORY_FAST_MS as Ls, MINUTES_PER_DAY as Lt, ConsumableItemSchema as M, occurrenceOn as Ma, RECORD_BATCH_MAX as Mc, interpolate as Mi, isDeviceConfigCap as Ml, actionSourceCapability as Mn, runtimeStatePolicyFor as Mo, databaseSnapshotCapability as Mr, zoneOnlySite as Ms, KeychainResetRecordSchema as Mt, CoreBlockSchema as N, orderMigrations as Na, RECORD_BATCH_MAX_BYTES as Nc, isAddonInstanceId as Ni, isEvent as Nl, actionWaitTotalMs as Nn, sameIdentifiers as No, declarationOwnerNodeId as Nr, COMPOSER_ADDON_ID as Ns, LOG_LEVEL_RANK as Nt, CREDENTIAL_TOKEN_AUDIENCE as O, normalizeTags as Oa, HISTORY_DEFAULT_MIN_INTERVAL_MS as Oc, identifierStrength as Oi, historyUnitFor as Ol, UNATTRIBUTED_BUCKET_KEY as On, resolveTemplateRef as Oo, coverCapability as Or, withDefaultRunning as Os, IDLE_ACTION_STATUS as Ot, CredentialTokenClaimsSchema as P, parseAcceleratorFactsJson as Pa, RECORD_DELETE_BATCH as Pc, isAlertEpisodeOpen as Pi, isInstanceEnabled as Pl, actionsCapability as Pn, schedulersCapability as Po, declaredSeriesKind as Pr, CompositionSchema as Ps, LowPowerSleepStatusSchema as Pt, DEVICE_TEMPLATE_THIS_ALIAS as Q, ptzAutotrackCapability as Qa, UnknownRecordKindError as Qc, keychainCapability as Qi, recordSecretRef as Ql, buildDeviceSignatureMessage as Qn, storageAdminCapability as Qo, effectiveRefreshIntervalMs as Qr, compositionSourceKey as Qs, PreferenceDeviceIdSchema as Qt, DATA_STORE_DATABASES as R, petFountainWaterItem as Ra, REMOVE_LEAF as Rc, isBuiltinTemplateId as Ri, isSecretFieldView as Rl, addonWidgetsCapability as Rn, searchRank as Ro, deriveBatteryPresence as Rr, HISTORY_SLOW_MS as Rs, MOTION_CLOSE_AFTER_MS as Rt, CATALOG_LANGS as S, modeMayWrite as Sa, DEVICE_SETTINGS_CONTRIBUTION_METHODS as Sc, generateDeviceAlias as Si, emitReadiness as Sl, StorageMigrationJobSchema as Sn, resolveMethodAuth as So, consumablesCapability as Sr, validateSchedulerInput as Ss, HISTORY_CATALOG as St, COMPOSER_RUNNER_ID as T, nextTimeBoundaryInMs as Ta, DeviceTransitionSchema as Tc, hasTimeLeaves as Ti, formatSecretScope as Tl, TagsFieldSchema as Tn, resolveRemoteSource as To, coreBlockIdFromAddonId as Tr, vectorIndexDimConflictError as Ts, HUB_MDNS_TXT_KEYS as Tt, DEVICE_HISTORY_ENERGY_KEY as U, powerSourceCapability as Ua, RecordKindDeclarationSchema as Uc, isInternalActionId as Ui, mapSecretLeaves as Ul, armRemovalReconcile as Un, sharedActuatorFeatures as Uo, deviceHistoryCapability as Ur, canonicalStoredBlockTarget as Us, NetworkTunnelStartedDataSchema as Ut, DERIVED_CAMERA_SILENCED_CAP_NAMES as V, platformProbeCapability as Va, ReadinessTimeoutError as Vc, isDefaultAppConnectionEndpoint as Vi, isSecretRefOwnedBy as Vl, alertsCapability as Vn, settingsStoreCapability as Vo, deviceCredentialsCapability as Vr, MINUTE_MS as Vs, MigrationMetaSchema as Vt, DEVICE_IDENTIFIER_KEYS as W, powerSourceLinkOfComposition as Wa, RecordNotFoundError as Wc, isKernelDerivedFeature as Wi, nodeIdOfScopedKey as Wl, assertStepsOffered as Wn, sharedActuatorMethods as Wo, deviceManagerCapability as Wr, canonicalStoredDeviceType as Ws, ONE_SHOT_HOLD_MS as Wt, DEVICE_TEMPLATE_MAX_LENGTH as X, projectDeviceRow as Xa, TransactRefusedError as Xc, kebabToCamel as Xi, parseSecretRef as Xl, buildCapabilityLookup as Xn, splitTranslationRef as Xo, deviceStatusCapability as Xr, compositionItemFieldPath as Xs, PetFountainStatusSchema as Xt, DEVICE_TEMPLATE_FILTERS as Y, processTimeZoneOr as Ya, StoredRecordKindDeclarationSchema as Yc, isWorkloadSettled as Yi, parseJsonUnknown as Yl, buildActionSteps as Yn, snapshotCapability as Yo, deviceStateCapability as Yr, compositionFeatureEnabled as Ys, PackageRequiresSchema as Yt, DEVICE_TEMPLATE_MAX_OUTPUT as Z, proposeRunningThreshold as Za, UnindexedFilterError as Zc, keychainAdminCapability as Zi, readinessKey as Zl, buildDeviceEnrollmentLink as Zn, stableIdMapOf as Zo, deviceTransitionsCapability as Zr, compositionSliceKey as Zs, PowerSourceInfoSchema as Zt, BUILTIN_REMOTE_COMPONENTS as _, mergeIdentifiers as _a, wattMillisecondsToKwh as _c, foldSnapshotByFunction as _i, defineAddonMigrations as _l, SetOscillationAxisInputSchema as _n, resolveCoreBlockEntry as _o, compileScalarOverride as _r, toTimings as _s, FanDirectionSchema as _t, DeviceType as _u, AGENT_MDNS_SERVICE_TYPE as a, locationIconKey as aa, implementedMethodsOf as ac, evictionPolicyOfLocation as ai, assertTransactScope as al, RecordingStatusSchema as an, reexpandAutomationInstance as ao, canonicalStoredStepTargets as ar, supportedRuntimes as as, DeviceStatusSchema as at, secretViewsOf as au, CAMSTACK_APP_LINK_ORIGIN as b, migrationsCapability as ba, CALLER_STAMPED_CAPABILITIES as bc, gbToBytes as bi, defineRecordKinds as bl, StorageLocationModeSchema as bn, resolveHubAddressRoles as bo, compositionSourceRefs as br, validateComposition as bs, FieldClaimSchema as bt, EventCategory as bu, ActionError as c, logDestinationCapability as ca, isForwardInputRef as cc, extractNestedAddonId as ci, buildSecretRef as cl, RunningStateStatusSchema as cn, remoteSourceSteps as co, checkDeviceAlias as cr, switchStateOfMode as cs, EMPTY_AUTOMATION_STATE as ct, toSecretFieldView as cu, ActionTargetResolver as d, lowPowerSleepCapability as da, openReset as dc, fanControlCapability as di, collectSecretMarkerRefs as dl, STREAM_PROFILE_META as dn, replaceRecipeLiteral as do, climateControlCapability as dr, templateCapability as ds, ExportNameRefusedError as dt, vocabActionIdFor as du, legacyModeOf as ea, disarmRoseMemory as ec, enumerateItemArrayFields as ei, WELL_KNOWN_TAB_MAP as el, PreferenceValueSchema as en, readStoredRemoteConfig as eo, buildStreamParamsConfigSchema as er, storageMigrationCapability as es, DEVICE_TOMBSTONE_RETENTION_MS as et, resolveSecretMarkers as eu, ActionVariableSchema as f, mayReadLocation as fa, openStatistic as fc, fanOutTargets as fi, collectZodSecretPaths as fl, SWITCH_DEFAULT_OPTIONS as fn, replacedFieldKeys as fo, collectDeviceTemplates as fr, timedRunCapability as fs, FAN_CAPTURE_FIELDS as ft, vocabCall as fu, BUILTIN_AUTOMATION_TEMPLATES as g, memoizePinnedFfmpeg as ga, toExpressionValue as gc, findChannelSource as gi, customAction as gl, ServerNameSchema as gn, resolveCommandHold as go, compileHelper as gr, timedRunSeconds as gs, FanControlStatusSchema as gt, DeviceRole as gu, AutomationTemplatePayloadSchema as h, mediaPlayerFeaturesOfRoles as ha, statisticCadenceMs as hc, filesystemBrowseCapability as hi, createEvent as hl, ScopedTokenSchema as hn, resolveBucketMs as ho, compareVersions as hr, timedRunQuickRun as hs, FIRST_LEVEL_MACRO_CLASSES as ht, DeviceFeature as hu, ACTUATOR_TEMPLATE_IDS as i, localNetworkCapability as ia, historyRetentionFromSettings as ic, evaluateWhenTree as ii, asString$1 as il, ROOT_BUCKET_KEY as in, reducePoints as io, canonicalIconKey as ir, streamQualityLabel as is, DeviceRunSchema as it, secretTreeFromSchema as iu, ConditionMirror as j, objectInputDeclaresRequiredDeviceId as ja, PlaintextSecretError as jc, internalActionId as ji, isDebugChannelName as jl, WorkloadStateSchema as jn, runtimeFieldUnit as jo, dataStoreProviderCapability as jr, workloadTransition as js, KeychainAuditEntrySchema as jt, CalendarPreferencesSchema as k, normalizeUnit as ka, InvalidRecordError as kc, instanceCodeHash as ki, hydrateSchema as kl, UserRecordSchema as kn, runFanOut as ko, createDeviceExtensionProvider as kr, withLocationMode as ks, INTERNAL_ACTION_PREFIX as kt, ActionMinDelaySecSchema as l, logLevelAtMost as la, isHistoryHelper as lc, extractSourceInfoFromMetadata as li, collectSecretConfigKeys as ll, STORAGE_ACCESS_FALLBACK as ln, removeFromTags as lo, checkRoleAddress as lr, tagKey as ls, EMPTY_REMOTE_ASSUMED_STATE as lt, transformSecretWrite as lu, AutomationStateDocSchema as m, mediaPlayerCapability as ma, planStatisticTier as mc, featureForwards as mi, commandOrigin as ml, SchedulerSchema as mn, resolveAppConnections as mo, colorCapability as mr, timedRunMaxIn as ms, FAN_OSCILLATION_AXIS_SETTABLE as mt, COMPOSED_DEVICE_STABLE_ID_PREFIX as mu, ACTION_TARGET_INVALIDATION_EVENTS as n, lifecycleJobSchema as na, evaluateStatistic as nc, evaluateCompositionField as ni, asJsonObject as nl, RECORDING_SOURCE_CAMSTACK_ADDON as nn, recordEntriesCapability as no, calendarsCapability as nr, storageProviderCapability as ns, DeclaredDevices as nt, scopeKey as nu, AGENT_MDNS_TXT_KEYS as o, lockControlCapability as oa, integrateReading as oc, expandContainer as oi, assertValidDeclaration as ol, RemoteAssumedStateSchema as on, remoteCapability as oo, capUnitResolver as or, sweepLegacyEngineRows as os, DeviceTombstoneSchema as ot, sleep as ou, AlertSchema as p, mayWriteToLocation as pa, planResetTier as pc, fanPresetsCapability as pi, commandEffect as pl, SchedulerError as pn, resolveActionVariables as po, collectWhenMirrorSources as pr, timedRunLimitOf as ps, FAN_OSCILLATION_AXES as pt, withoutCallerStamp as pu, DEVICE_SAN_CREDENTIAL_PREFIX as q, problemsBlockSave as qa, RevConflictError as qc, isSameAddonId as qi, normalizeSecretOwner as ql, bareAddonId as qn, siteFor as qo, deviceRunsCapability as qr, composedDeviceRef as qs, PROPOSAL_MIN_SPAN_MS as qt, ACTUATOR_METHODS as r, localDateOf as ra, helperMembers as rc, evaluateStepCondition as ri, asNumber as rl, REMOTE_MEDIA_COMMANDS as rn, recordsCapability as ro, cameraGridLayoutCapability as rr, streamCatalogCapability as rs, DeviceIdentifiersSchema as rt, secretTreeFromPaths as ru, ALL_CAPABILITY_DEFINITIONS as s, lockDoorLinkOfComposition as sa, isEngineHostedHelper as sc, expressionContainsBuiltinCall as si, auditedFields as sl, RemoteLayoutPayloadSchema as sn, remoteLayoutComponentsCapability as so, catalogueIssues as sr, switchCapability as ss, DiscoveryProposalBodySchema as st, toNodeId as su, ACTION_RUN_MAX_MS as t, legacySweepDone as ta, evaluateDerivative as tc, enumerateSchemaFields as ti, actionEffect as tl, QuantityUnitError as tn, reconcileReportedFeatures as to, builtinAutomationTemplate as tr, storageOccupancyCapability as ts, DataStoreDatabaseSchema as tt, ruleFireOfClaim as tu, ActionStepSchema as u, looseSchema as ua, nextLocalMidnight as uc, fanAxisPath as ui, collectSecretLeaves as ul, STORAGE_LOCATION_MODES as un, renameInTags as uo, checkTemplatePayload as ur, tagsCapability as us, EMPTY_REMOTE_CONFIG as ut, userError as uu, BaseDevice as v, methodRefusal as va, BaseAddon as vc, formatDeviceRevoker as vi, defineCustomActions as vl, SsoBridgeClaimsSchema as vn, resolveCoreBlockFiles as vo, composerCapability as vr, unmetRequirements as vs, FanPresetSchema as vt, errMsg as vu, COMPOSED_ITEM_FIXED_FIELDS as w, nextOccurrence as wa, DeclarationRefusedError as wc, groupTemplate as wi, expandCapMethods as wl, TagStyleSchema as wn, resolveNotificationTapAddress as wo, coreBlockComposition as wr, vectorDimFromBase64 as ws, HUB_MDNS_SERVICE_TYPE as wt, CAP_NAMES_WITH_STATUS as x, modeForSwitch as xa, DATAPLANE_SECRET_HEADER as xc, generateAutomationBlock as xi, emitDownForOwnedCaps as xl, StorageLocationTypeSchema as xn, resolveLocationMode as xo, compositionUnionReads as xr, validateCustomAddress as xs, GroupCommandResultSchema as xt, CAMERA_SWITCH_ORDER as y, metricsProviderCapability as ya, BatchTooLargeError as yc, formatMinutes as yi, defineEntryKind as yl, StorageCleanupJobSchema as yn, resolveHeroLayout as yo, compositionFieldKey as yr, userManagementCapability as ys, FieldClaimModeSchema as yt, featuresOfBoundCaps as yu, DAY_NAMES as z, pickAppLinkHub as za, RUNTIME_DEFAULTS as zc, isCollectionArrayMethod as zi, isSecretMarker as zl, alertEpisodeId as zn, seedInstanceOnce as zo, describeComposableCaps as zr, HOUR_MS as zs, MediaPlayerStatusSchema as zt };
|
|
@@ -1298,7 +1298,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
1298
1298
|
*/
|
|
1299
1299
|
var COMPOSED_DEVICE_STABLE_ID_PREFIX = "composed-";
|
|
1300
1300
|
//#endregion
|
|
1301
|
-
//#region ../types/dist/sleep-
|
|
1301
|
+
//#region ../types/dist/sleep-DO-ayTnk.mjs
|
|
1302
1302
|
/**
|
|
1303
1303
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
1304
1304
|
* window to float samples (D455).
|
|
@@ -13723,6 +13723,17 @@ var CAP_VOCABULARY_BY_NAME = {
|
|
|
13723
13723
|
},
|
|
13724
13724
|
notOperatorFacing: { resync: "device adoption — re-aligning a device with its source is an onboarding step, not an automation action" }
|
|
13725
13725
|
},
|
|
13726
|
+
"device-state-refresh": {
|
|
13727
|
+
scope: "device",
|
|
13728
|
+
noun: {
|
|
13729
|
+
en: "State refresh",
|
|
13730
|
+
it: "Aggiornamento dello stato"
|
|
13731
|
+
},
|
|
13732
|
+
notOperatorFacing: {
|
|
13733
|
+
refresh: "the core schedules state refreshes itself; an operator never asks for one",
|
|
13734
|
+
resubscribe: "the core schedules state refreshes itself; an operator never asks for one"
|
|
13735
|
+
}
|
|
13736
|
+
},
|
|
13726
13737
|
"recording": {
|
|
13727
13738
|
scope: "device",
|
|
13728
13739
|
noun: {
|
|
@@ -17026,6 +17037,7 @@ var CAP_NAMES = Object.freeze([
|
|
|
17026
17037
|
"device-removal-hook",
|
|
17027
17038
|
"device-runs",
|
|
17028
17039
|
"device-state",
|
|
17040
|
+
"device-state-refresh",
|
|
17029
17041
|
"device-status",
|
|
17030
17042
|
"device-transitions",
|
|
17031
17043
|
"dishwasher",
|
|
@@ -74966,6 +74978,110 @@ onChanged: event(zod.z.object({
|
|
|
74966
74978
|
vocabulary: { notOperatorFacing: "the runtime-state mirror every trigger already reads through" }
|
|
74967
74979
|
};
|
|
74968
74980
|
/**
|
|
74981
|
+
* Server-driven device state refresh (D1062): the core decides WHEN a device is
|
|
74982
|
+
* re-read, the integration only knows HOW.
|
|
74983
|
+
*
|
|
74984
|
+
* A provider states its policy where it registers the device's
|
|
74985
|
+
* `device-state-refresh` cap (`ctx.registerNativeCap(cap, provider, {
|
|
74986
|
+
* stateRefresh })`). It reaches the hub by the road the command-hold options
|
|
74987
|
+
* take (D1061): written directly in-process, carried on a forked child's cap
|
|
74988
|
+
* descriptors otherwise. Plain data, wire-safe.
|
|
74989
|
+
*/
|
|
74990
|
+
/** Why the core asks for a refresh. */
|
|
74991
|
+
var StateRefreshReasonSchema = zod.z.enum([
|
|
74992
|
+
"schedule",
|
|
74993
|
+
"command",
|
|
74994
|
+
"burst"
|
|
74995
|
+
]);
|
|
74996
|
+
/**
|
|
74997
|
+
* What arrives without asking: `none` (everything is read), `partial` (some
|
|
74998
|
+
* fields arrive by push, the rest is read on the schedule), `full` (everything
|
|
74999
|
+
* arrives by push — never read on a schedule).
|
|
75000
|
+
*/
|
|
75001
|
+
var StateRefreshPushSchema = zod.z.enum([
|
|
75002
|
+
"none",
|
|
75003
|
+
"partial",
|
|
75004
|
+
"full"
|
|
75005
|
+
]);
|
|
75006
|
+
zod.z.object({
|
|
75007
|
+
/**
|
|
75008
|
+
* The integration instance the device belongs to. Devices of one instance
|
|
75009
|
+
* share one schedule group: a batching provider is asked once for all of
|
|
75010
|
+
* them, and the heartbeat is judged across them.
|
|
75011
|
+
*/
|
|
75012
|
+
integrationId: zod.z.string().min(1),
|
|
75013
|
+
/** The fastest interval the integration can afford for its devices. The core polls at it by default. */
|
|
75014
|
+
minIntervalMs: zod.z.number().int().min(1e3),
|
|
75015
|
+
/**
|
|
75016
|
+
* The operator's per-integration setting, when there is one. It can only SLOW
|
|
75017
|
+
* the cadence: the core polls at `max(minIntervalMs, intervalMs)`.
|
|
75018
|
+
*/
|
|
75019
|
+
intervalMs: zod.z.number().int().positive().optional(),
|
|
75020
|
+
/** One `refresh` call can read every device of the integration at once. */
|
|
75021
|
+
batch: zod.z.boolean(),
|
|
75022
|
+
push: StateRefreshPushSchema,
|
|
75023
|
+
/** Longest silence a push integration may keep before the core re-reads it and asks it to resubscribe. */
|
|
75024
|
+
heartbeatMs: zod.z.number().int().positive().optional(),
|
|
75025
|
+
/**
|
|
75026
|
+
* Bumped by the provider each time its push subscription reconnected on its
|
|
75027
|
+
* own. A change makes the core re-read every device of the integration
|
|
75028
|
+
* (pushes lost while it was down; events may be dropped, D8).
|
|
75029
|
+
*/
|
|
75030
|
+
connectionEpoch: zod.z.number().int().nonnegative().optional()
|
|
75031
|
+
});
|
|
75032
|
+
/** The cadence the core runs a policy at: the declared minimum, slowed (never sped up) by the setting. */
|
|
75033
|
+
function effectiveRefreshIntervalMs(policy) {
|
|
75034
|
+
const setting = policy.intervalMs ?? 0;
|
|
75035
|
+
return Math.max(policy.minIntervalMs, setting);
|
|
75036
|
+
}
|
|
75037
|
+
/** The burst after a command on a read (non-push) device: offsets from the command, in ms. */
|
|
75038
|
+
var COMMAND_BURST_OFFSETS_MS = [3e3, 1e4];
|
|
75039
|
+
/** How long the core waits for a push device to confirm a command before reading it once. */
|
|
75040
|
+
var PUSH_CONFIRM_WINDOW_MS = 2500;
|
|
75041
|
+
/**
|
|
75042
|
+
* device-state-refresh — the HOW of a device's state refresh, called by the
|
|
75043
|
+
* core, which owns the WHEN (D1062).
|
|
75044
|
+
*
|
|
75045
|
+
* The provider registers it per device with its policy
|
|
75046
|
+
* (`registerNativeCap(cap, provider, { stateRefresh })`). The hub's scheduler
|
|
75047
|
+
* calls `refresh` on the schedule, after a command and in the burst that
|
|
75048
|
+
* follows it, and `resubscribe` when a push integration fell silent. The
|
|
75049
|
+
* provider re-reads and writes the slices it already writes; nothing is
|
|
75050
|
+
* returned but completion.
|
|
75051
|
+
*/
|
|
75052
|
+
var DeviceStateRefreshInputSchema = zod.z.object({
|
|
75053
|
+
/** The device the call is routed by (one of `deviceIds`). */
|
|
75054
|
+
deviceId: zod.z.number().int().nonnegative(),
|
|
75055
|
+
/** Every device to re-read: one, or the integration's whole set when the provider batches. */
|
|
75056
|
+
deviceIds: zod.z.array(zod.z.number().int().nonnegative()).min(1),
|
|
75057
|
+
reason: StateRefreshReasonSchema
|
|
75058
|
+
});
|
|
75059
|
+
var DeviceStateResubscribeInputSchema = zod.z.object({ deviceId: zod.z.number().int().nonnegative() });
|
|
75060
|
+
var DeviceStateRefreshResultSchema = zod.z.object({ ok: zod.z.literal(true) });
|
|
75061
|
+
var NOT_OPERATOR_FACING = "the core schedules state refreshes itself; an operator never asks for one";
|
|
75062
|
+
var deviceStateRefreshCapability = {
|
|
75063
|
+
name: "device-state-refresh",
|
|
75064
|
+
scope: "device",
|
|
75065
|
+
deviceNative: true,
|
|
75066
|
+
mode: "singleton",
|
|
75067
|
+
methods: {
|
|
75068
|
+
refresh: method(DeviceStateRefreshInputSchema, DeviceStateRefreshResultSchema, {
|
|
75069
|
+
kind: "mutation",
|
|
75070
|
+
auth: "admin",
|
|
75071
|
+
notOperatorFacing: NOT_OPERATOR_FACING
|
|
75072
|
+
}),
|
|
75073
|
+
resubscribe: method(DeviceStateResubscribeInputSchema, DeviceStateRefreshResultSchema, {
|
|
75074
|
+
kind: "mutation",
|
|
75075
|
+
auth: "admin",
|
|
75076
|
+
notOperatorFacing: NOT_OPERATOR_FACING
|
|
75077
|
+
})
|
|
75078
|
+
},
|
|
75079
|
+
vocabulary: {
|
|
75080
|
+
noun: t("State refresh", "Aggiornamento dello stato"),
|
|
75081
|
+
order: 3247
|
|
75082
|
+
}
|
|
75083
|
+
};
|
|
75084
|
+
/**
|
|
74969
75085
|
* Generic device-level status snapshot. Auto-registered by `BaseDevice`
|
|
74970
75086
|
* for every device, regardless of provider — the kernel needs a uniform
|
|
74971
75087
|
* cap-keyed slice for the basic device flags every consumer expects to
|
|
@@ -114861,6 +114977,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
114861
114977
|
deviceRemovalHookCapability,
|
|
114862
114978
|
deviceRunsCapability,
|
|
114863
114979
|
deviceStateCapability,
|
|
114980
|
+
deviceStateRefreshCapability,
|
|
114864
114981
|
deviceStatusCapability,
|
|
114865
114982
|
deviceTransitionsCapability,
|
|
114866
114983
|
dishwasherCapability,
|
|
@@ -126224,6 +126341,20 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
126224
126341
|
access: "create",
|
|
126225
126342
|
role: "admin"
|
|
126226
126343
|
},
|
|
126344
|
+
"deviceStateRefresh.refresh": {
|
|
126345
|
+
capName: "device-state-refresh",
|
|
126346
|
+
capScope: "device",
|
|
126347
|
+
addonId: null,
|
|
126348
|
+
access: "create",
|
|
126349
|
+
role: "admin"
|
|
126350
|
+
},
|
|
126351
|
+
"deviceStateRefresh.resubscribe": {
|
|
126352
|
+
capName: "device-state-refresh",
|
|
126353
|
+
capScope: "device",
|
|
126354
|
+
addonId: null,
|
|
126355
|
+
access: "create",
|
|
126356
|
+
role: "admin"
|
|
126357
|
+
},
|
|
126227
126358
|
"deviceStatus.getStatus": {
|
|
126228
126359
|
capName: "device-status",
|
|
126229
126360
|
capScope: "device",
|
|
@@ -135060,6 +135191,20 @@ Object.freeze({
|
|
|
135060
135191
|
form: "single",
|
|
135061
135192
|
optional: false
|
|
135062
135193
|
}],
|
|
135194
|
+
"deviceStateRefresh.refresh": [{
|
|
135195
|
+
name: "deviceId",
|
|
135196
|
+
form: "single",
|
|
135197
|
+
optional: false
|
|
135198
|
+
}, {
|
|
135199
|
+
name: "deviceIds",
|
|
135200
|
+
form: "array",
|
|
135201
|
+
optional: false
|
|
135202
|
+
}],
|
|
135203
|
+
"deviceStateRefresh.resubscribe": [{
|
|
135204
|
+
name: "deviceId",
|
|
135205
|
+
form: "single",
|
|
135206
|
+
optional: false
|
|
135207
|
+
}],
|
|
135063
135208
|
"deviceStatus.getStatus": [{
|
|
135064
135209
|
name: "deviceId",
|
|
135065
135210
|
form: "single",
|
|
@@ -140040,6 +140185,12 @@ Object.defineProperty(exports, "CATALOG_LANGS", {
|
|
|
140040
140185
|
return CATALOG_LANGS;
|
|
140041
140186
|
}
|
|
140042
140187
|
});
|
|
140188
|
+
Object.defineProperty(exports, "COMMAND_BURST_OFFSETS_MS", {
|
|
140189
|
+
enumerable: true,
|
|
140190
|
+
get: function() {
|
|
140191
|
+
return COMMAND_BURST_OFFSETS_MS;
|
|
140192
|
+
}
|
|
140193
|
+
});
|
|
140043
140194
|
Object.defineProperty(exports, "COMPOSED_DEVICE_STABLE_ID_PREFIX", {
|
|
140044
140195
|
enumerable: true,
|
|
140045
140196
|
get: function() {
|
|
@@ -140652,6 +140803,12 @@ Object.defineProperty(exports, "PROPOSAL_MIN_SPAN_MS", {
|
|
|
140652
140803
|
return PROPOSAL_MIN_SPAN_MS;
|
|
140653
140804
|
}
|
|
140654
140805
|
});
|
|
140806
|
+
Object.defineProperty(exports, "PUSH_CONFIRM_WINDOW_MS", {
|
|
140807
|
+
enumerable: true,
|
|
140808
|
+
get: function() {
|
|
140809
|
+
return PUSH_CONFIRM_WINDOW_MS;
|
|
140810
|
+
}
|
|
140811
|
+
});
|
|
140655
140812
|
Object.defineProperty(exports, "PackageRequiresSchema", {
|
|
140656
140813
|
enumerable: true,
|
|
140657
140814
|
get: function() {
|
|
@@ -141660,6 +141817,12 @@ Object.defineProperty(exports, "disarmRoseMemory", {
|
|
|
141660
141817
|
return disarmRoseMemory;
|
|
141661
141818
|
}
|
|
141662
141819
|
});
|
|
141820
|
+
Object.defineProperty(exports, "effectiveRefreshIntervalMs", {
|
|
141821
|
+
enumerable: true,
|
|
141822
|
+
get: function() {
|
|
141823
|
+
return effectiveRefreshIntervalMs;
|
|
141824
|
+
}
|
|
141825
|
+
});
|
|
141663
141826
|
Object.defineProperty(exports, "emitDownForOwnedCaps", {
|
|
141664
141827
|
enumerable: true,
|
|
141665
141828
|
get: function() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_wal_maintenance = require("./wal-maintenance-
|
|
2
|
+
const require_wal_maintenance = require("./wal-maintenance-DS2IKwtK.js");
|
|
3
3
|
let node_worker_threads = require("node:worker_threads");
|
|
4
4
|
//#region src/builtins/sqlite-storage/file-host-worker.ts
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as callRecords, C as isFileHostWorkerData, D as RecordsEngine, M as controlTargetOf, O as callControl, S as isFileHostRequest, a as WalMaintenance, b as collectTransferables, d as callMigrate, f as migrateTargetOf, j as callVector, k as callData, l as SqliteSettingsBackend, o as createVectorIndex, s as vectorProviderOf, u as HUB_MIGRATIONS, v as serializeError, w as trustInput } from "./wal-maintenance-
|
|
1
|
+
import { A as callRecords, C as isFileHostWorkerData, D as RecordsEngine, M as controlTargetOf, O as callControl, S as isFileHostRequest, a as WalMaintenance, b as collectTransferables, d as callMigrate, f as migrateTargetOf, j as callVector, k as callData, l as SqliteSettingsBackend, o as createVectorIndex, s as vectorProviderOf, u as HUB_MIGRATIONS, v as serializeError, w as trustInput } from "./wal-maintenance-cASt_sYy.mjs";
|
|
2
2
|
import { parentPort, threadId, workerData } from "node:worker_threads";
|
|
3
3
|
//#region src/builtins/sqlite-storage/file-host-worker.ts
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bl as defineRecordKinds } from "./dist-DBanWvHF.mjs";
|
|
2
2
|
import { C as backdatedNotBefore, S as withUtcTimeEncoding, _ as NameConstraints, a as KeyUsageFlags, c as Pkcs10CertificateRequest, d as SubjectKeyIdentifierExtension, f as X509Certificate$1, g as GeneralSubtrees, h as GeneralSubtree, i as Extension, l as Pkcs10CertificateRequestGenerator, m as cryptoProvider, n as BasicConstraintsExtension, o as KeyUsagesExtension, p as X509CertificateGenerator, r as ExtendedKeyUsageExtension, s as PemConverter, t as AuthorityKeyIdentifierExtension, u as SubjectAlternativeNameExtension, v as GeneralName, x as AsnConvert } from "./x509.es-BRiJgOvu.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { X509Certificate, createHash, createPrivateKey, randomBytes, webcrypto } from "node:crypto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-DEAjZE_-.js");
|
|
3
3
|
const require_x509_es = require("./x509.es-WtnRNyYS.js");
|
|
4
4
|
let zod = require("zod");
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-DEAjZE_-.js");
|
|
3
3
|
const require_x509_es = require("./x509.es-WtnRNyYS.js");
|
|
4
|
-
const require_hub_identity = require("./hub-identity-
|
|
4
|
+
const require_hub_identity = require("./hub-identity-Dy8ZSUuq.js");
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
6
6
|
let _camstack_types_node = require("@camstack/types/node");
|
|
7
7
|
let node_fs = require("node:fs");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as __toESM } from "./chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { uu as userError } from "./dist-DBanWvHF.mjs";
|
|
3
3
|
import { f as X509Certificate$1 } from "./x509.es-BRiJgOvu.mjs";
|
|
4
|
-
import { A as evaluateExistingCert, C as localCaCommonName, F as isConstrainedCa, L as permitsIdentity, S as loadCa, b as generateCa, j as reasonRequiresNewCa, w as collectCertIdentity, x as issueLeaf, z as readNameConstraints } from "./hub-identity-
|
|
4
|
+
import { A as evaluateExistingCert, C as localCaCommonName, F as isConstrainedCa, L as permitsIdentity, S as loadCa, b as generateCa, j as reasonRequiresNewCa, w as collectCertIdentity, x as issueLeaf, z as readNameConstraints } from "./hub-identity-CVv79TVO.mjs";
|
|
5
5
|
import { X509Certificate, createPrivateKey } from "node:crypto";
|
|
6
6
|
import { writeOwnerOnlyFileSync } from "@camstack/types/node";
|
|
7
7
|
import { copyFileSync, existsSync, mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|