@camstack/server 1.2.859 → 1.2.860
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 +10 -0
- package/dist/api/trpc/generated-cap-routers.js +16 -0
- package/dist/core/cluster-update/cluster-update-steps.js +10 -2
- package/dist/server-root/index.js +1125 -45
- package/package.json +16 -9
- package/system/dist/addon-runner.js +76 -1
- package/system/dist/addon-runner.mjs +76 -1
- 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 +32 -23
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +32 -23
- package/system/dist/builtins/device-manager/device-search.d.ts +4 -3
- package/system/dist/builtins/device-manager/removal-fence.d.ts +2 -2
- package/system/dist/builtins/hub-forwarder/index.js +1 -1
- package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/system/dist/builtins/keychain/index.js +4 -4
- package/system/dist/builtins/keychain/index.mjs +4 -4
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
- package/system/dist/builtins/local-auth/local-auth.addon.js +2 -2
- package/system/dist/builtins/local-auth/local-auth.addon.mjs +2 -2
- package/system/dist/builtins/local-network/local-network.addon.js +3 -3
- package/system/dist/builtins/local-network/local-network.addon.mjs +3 -3
- package/system/dist/builtins/loki-logging/index.js +1 -1
- package/system/dist/builtins/loki-logging/index.mjs +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/system/dist/builtins/platform-probe/index.js +1 -1
- package/system/dist/builtins/platform-probe/index.mjs +1 -1
- package/system/dist/builtins/record-entries/index.js +1 -1
- package/system/dist/builtins/record-entries/index.mjs +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/snapshot/index.js +1 -1
- package/system/dist/builtins/snapshot/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/index.js +1 -1
- package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +3 -3
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +3 -3
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/system-config/system-config.addon.js +3 -3
- package/system/dist/builtins/system-config/system-config.addon.mjs +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-B4_fq2JB.mjs → capture-engine-B5OYzCH1.mjs} +1 -1
- package/system/dist/{capture-engine-yhFFC7F8.js → capture-engine-BManwD48.js} +1 -1
- package/system/dist/{composition-sources-BQOEYCJG.mjs → composition-sources-B8hoUx1K.mjs} +1 -1
- package/system/dist/{composition-sources-CKSSe5ny.js → composition-sources-DWu-IL2w.js} +1 -1
- package/system/dist/{constants-dfnEfsX7.js → constants-CUAopsxj.js} +1 -1
- package/system/dist/{constants-h8wJE_8O.mjs → constants-qDKQ7NaY.mjs} +1 -1
- package/system/dist/{device-ca-h54CenJx.mjs → device-ca-BOUTrISA.mjs} +1 -1
- package/system/dist/{device-ca-_o0-3jJ6.js → device-ca-DNrM4Ao-.js} +1 -1
- package/system/dist/{dist-atHH8IeD.mjs → dist-3MQdfUTG.mjs} +254 -71
- package/system/dist/{dist-WEGVb8qV.js → dist-B9Kzw974.js} +259 -70
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/{hub-identity-nIMYA24i.js → hub-identity-BQIE6w3g.js} +1 -1
- package/system/dist/{hub-identity-DLF698tj.mjs → hub-identity-DEbxcoVh.mjs} +1 -1
- package/system/dist/{hub-mdns-ciao-B6ZHStt1.js → hub-mdns-ciao-Bj_RdJiH.js} +2 -2
- package/system/dist/{hub-mdns-ciao-DchpUVAk.mjs → hub-mdns-ciao-BzKGywE2.mjs} +2 -2
- package/system/dist/index.js +84 -9
- package/system/dist/index.mjs +84 -9
- package/system/dist/kernel/moleculer/switch-toggle.d.ts +41 -0
- package/system/dist/{legacy-integration-rows-door-BbaIE1qF.js → legacy-integration-rows-door-CRfEC_HP.js} +1 -1
- package/system/dist/{legacy-integration-rows-door-DBO3ZLmn.mjs → legacy-integration-rows-door-rgL9olef.mjs} +1 -1
- package/system/dist/{rename-composition-block-IIfaFnEl.js → rename-composition-block-Bbt43q6n.js} +1 -1
- package/system/dist/{rename-composition-block-6ISzMLgj.mjs → rename-composition-block-DlgSgxch.mjs} +1 -1
- package/system/dist/{restore-archive-ChRNoqGg.js → restore-archive-DJBACMC0.js} +1 -1
- package/system/dist/{restore-archive-DeDRh7Lf.mjs → restore-archive-aQzQt2Kv.mjs} +82 -82
- package/system/dist/{wal-maintenance-BXj9xnDD.mjs → wal-maintenance-Bu6vjJlR.mjs} +0 -0
- package/system/dist/{wal-maintenance-l3CsKEaJ.js → wal-maintenance-BvIEU1r1.js} +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-B9Kzw974.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 { Bi as logDestinationCapability, Fs as BaseAddon, Pc as defineAddonMigrations, ba as preconditionOf } from "../../dist-3MQdfUTG.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 { Gs as HISTORY_DEFAULT_MIN_INTERVAL_MS, Pl as DeviceType, Wc as historyItemFieldPath } from "./dist-3MQdfUTG.mjs";
|
|
2
2
|
//#region src/builtins/device-history/store/series-registry.ts
|
|
3
3
|
function subjectIdOf(subject) {
|
|
4
4
|
return subject.kind === "device" ? `d:${subject.deviceId}` : `n:${subject.nodeId}`;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_dist = require("./dist-
|
|
1
|
+
const require_dist = require("./dist-B9Kzw974.js");
|
|
2
2
|
//#region src/builtins/device-history/store/series-registry.ts
|
|
3
3
|
function subjectIdOf(subject) {
|
|
4
4
|
return subject.kind === "device" ? `d:${subject.deviceId}` : `n:${subject.nodeId}`;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fl as errMsg, gs as compositionSourceKey } from "./dist-3MQdfUTG.mjs";
|
|
2
2
|
//#region src/builtins/shared/device-state-changed.ts
|
|
3
3
|
/** Structural narrowing helper for untrusted bus payloads. */
|
|
4
4
|
function isRecord(value) {
|
|
@@ -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-B9Kzw974.js").buildSecretRef({
|
|
3
3
|
owner: "system",
|
|
4
4
|
scope: { kind: "global" },
|
|
5
5
|
fieldPath: "meshCaKey"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as DEVICE_SAN_CREDENTIAL_PREFIX,
|
|
1
|
+
import { K as DEVICE_SAN_CREDENTIAL_PREFIX, Tc as buildSecretRef, q as DEVICE_SAN_USER_PREFIX } from "./dist-3MQdfUTG.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
|
|
@@ -1261,7 +1261,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
1261
1261
|
*/
|
|
1262
1262
|
var COMPOSED_DEVICE_STABLE_ID_PREFIX = "composed-";
|
|
1263
1263
|
//#endregion
|
|
1264
|
-
//#region ../types/dist/sleep-
|
|
1264
|
+
//#region ../types/dist/sleep-BCWQQG52.mjs
|
|
1265
1265
|
/**
|
|
1266
1266
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
1267
1267
|
* window to float samples (D455).
|
|
@@ -6736,41 +6736,57 @@ var CAP_VOCABULARY_BY_NAME = {
|
|
|
6736
6736
|
en: "Switch",
|
|
6737
6737
|
it: "Interruttore"
|
|
6738
6738
|
},
|
|
6739
|
-
actions: [
|
|
6740
|
-
|
|
6741
|
-
|
|
6742
|
-
|
|
6743
|
-
|
|
6744
|
-
|
|
6745
|
-
|
|
6746
|
-
|
|
6747
|
-
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
|
|
6751
|
-
|
|
6752
|
-
|
|
6753
|
-
|
|
6754
|
-
|
|
6755
|
-
|
|
6756
|
-
|
|
6757
|
-
id: "switch.off",
|
|
6758
|
-
method: "setState",
|
|
6759
|
-
label: {
|
|
6760
|
-
en: "Turn off",
|
|
6761
|
-
it: "Spegni"
|
|
6739
|
+
actions: [
|
|
6740
|
+
{
|
|
6741
|
+
id: "switch.on",
|
|
6742
|
+
method: "setState",
|
|
6743
|
+
label: {
|
|
6744
|
+
en: "Turn on",
|
|
6745
|
+
it: "Accendi"
|
|
6746
|
+
},
|
|
6747
|
+
phrase: {
|
|
6748
|
+
en: "Turn on {device}",
|
|
6749
|
+
it: "Accendi {device}"
|
|
6750
|
+
},
|
|
6751
|
+
icon: "power",
|
|
6752
|
+
args: { on: true },
|
|
6753
|
+
effect: {
|
|
6754
|
+
field: "on",
|
|
6755
|
+
value: true
|
|
6756
|
+
}
|
|
6762
6757
|
},
|
|
6763
|
-
|
|
6764
|
-
|
|
6765
|
-
|
|
6758
|
+
{
|
|
6759
|
+
id: "switch.off",
|
|
6760
|
+
method: "setState",
|
|
6761
|
+
label: {
|
|
6762
|
+
en: "Turn off",
|
|
6763
|
+
it: "Spegni"
|
|
6764
|
+
},
|
|
6765
|
+
phrase: {
|
|
6766
|
+
en: "Turn off {device}",
|
|
6767
|
+
it: "Spegni {device}"
|
|
6768
|
+
},
|
|
6769
|
+
icon: "power-off",
|
|
6770
|
+
args: { on: false },
|
|
6771
|
+
effect: {
|
|
6772
|
+
field: "on",
|
|
6773
|
+
value: false
|
|
6774
|
+
}
|
|
6766
6775
|
},
|
|
6767
|
-
|
|
6768
|
-
|
|
6769
|
-
|
|
6770
|
-
|
|
6771
|
-
|
|
6776
|
+
{
|
|
6777
|
+
id: "switch.toggle",
|
|
6778
|
+
method: "toggle",
|
|
6779
|
+
label: {
|
|
6780
|
+
en: "Toggle",
|
|
6781
|
+
it: "Commuta"
|
|
6782
|
+
},
|
|
6783
|
+
phrase: {
|
|
6784
|
+
en: "Toggle {device}",
|
|
6785
|
+
it: "Commuta {device}"
|
|
6786
|
+
},
|
|
6787
|
+
icon: "toggle-right"
|
|
6772
6788
|
}
|
|
6773
|
-
|
|
6789
|
+
],
|
|
6774
6790
|
state: [{
|
|
6775
6791
|
kind: "boolean",
|
|
6776
6792
|
field: "on",
|
|
@@ -59735,7 +59751,9 @@ var ClusterUpdateFailureReasonSchema = z.enum([
|
|
|
59735
59751
|
"status-unreadable",
|
|
59736
59752
|
"addon-update-failed",
|
|
59737
59753
|
"addons-not-converged",
|
|
59738
|
-
"interrupted"
|
|
59754
|
+
"interrupted",
|
|
59755
|
+
"timeout-stall",
|
|
59756
|
+
"timeout-ceiling"
|
|
59739
59757
|
]);
|
|
59740
59758
|
var ClusterUpdateStepSchema = z.object({
|
|
59741
59759
|
kind: ClusterUpdateStepKindSchema,
|
|
@@ -63360,9 +63378,17 @@ function forwardSourceRefs(composition) {
|
|
|
63360
63378
|
const refs = composition.features.flatMap((feature, index) => feature.kind === "fields" && compositionFeatureEnabled(feature) ? featureForwards(feature, index).map((forward) => forward.command.source) : []);
|
|
63361
63379
|
return [...new Map(refs.map((ref) => [compositionSourceKey(ref), ref])).values()];
|
|
63362
63380
|
}
|
|
63381
|
+
/**
|
|
63382
|
+
* `switch.toggle` is not a forward. Native-cap registration installs one
|
|
63383
|
+
* default that reads the slice and calls this provider's `setState`, and a
|
|
63384
|
+
* composed switch already forwards `setState`.
|
|
63385
|
+
*/
|
|
63386
|
+
function servedByRegistrationDefault(def, method) {
|
|
63387
|
+
return def.name === "switch" && method === "toggle";
|
|
63388
|
+
}
|
|
63363
63389
|
/** The methods a BUILT cap must give a command: served, and not answered by the composer itself. */
|
|
63364
63390
|
function commandedMethods(def) {
|
|
63365
|
-
return Object.entries(def.methods).filter(([name, m]) => m.systemOnly !== true && def.composedMethods?.[name] === void 0).map(([name]) => name);
|
|
63391
|
+
return Object.entries(def.methods).filter(([name, m]) => m.systemOnly !== true && def.composedMethods?.[name] === void 0 && !servedByRegistrationDefault(def, name)).map(([name]) => name);
|
|
63366
63392
|
}
|
|
63367
63393
|
var NO_INPUT = {
|
|
63368
63394
|
all: /* @__PURE__ */ new Set(),
|
|
@@ -68290,9 +68316,15 @@ function siteZoneKey(label) {
|
|
|
68290
68316
|
return label.trim().toLowerCase();
|
|
68291
68317
|
}
|
|
68292
68318
|
var DeviceSearchRequiresSchema = z.object({
|
|
68293
|
-
/** Capability names the field wants a value of. */
|
|
68294
|
-
caps: z.array(z.string()).readonly(),
|
|
68295
|
-
/**
|
|
68319
|
+
/** Capability names the field wants a value of. Absent when the field wants actions only. */
|
|
68320
|
+
caps: z.array(z.string()).readonly().optional(),
|
|
68321
|
+
/**
|
|
68322
|
+
* Vocabulary action ids (`cover.open`) the device must offer. Compatible means
|
|
68323
|
+
* the device's bindings resolve those actions; `values` stays empty when no
|
|
68324
|
+
* cap was required. `mode` applies the same way as for `caps`.
|
|
68325
|
+
*/
|
|
68326
|
+
actions: z.array(z.string()).readonly().optional(),
|
|
68327
|
+
/** `any` (default): one of the named caps, and one of the named actions, is enough. `all`: every one. */
|
|
68296
68328
|
mode: z.enum(["any", "all"]).optional()
|
|
68297
68329
|
});
|
|
68298
68330
|
var DeviceSearchFiltersSchema = z.object({
|
|
@@ -92135,6 +92167,13 @@ var NcHistoryEntrySchema = z.object({
|
|
|
92135
92167
|
error: z.string().optional(),
|
|
92136
92168
|
subject: NcHistorySubjectSchema,
|
|
92137
92169
|
/**
|
|
92170
|
+
* The title and body actually sent, frozen at delivery. Absent on a row
|
|
92171
|
+
* still pending, a row suppressed before a notification was built, and a
|
|
92172
|
+
* row delivered before this field shipped.
|
|
92173
|
+
*/
|
|
92174
|
+
title: z.string().optional(),
|
|
92175
|
+
body: z.string().optional(),
|
|
92176
|
+
/**
|
|
92138
92177
|
* Ids of the artefacts (still, then gif, then clip) this row's successful
|
|
92139
92178
|
* delivery indexed in the artefact library — a REFERENCE, never the bytes
|
|
92140
92179
|
* (an artefact is often megabytes; this row is durable JSON rewritten on
|
|
@@ -102336,7 +102375,8 @@ var ServerUpdateActionResultSchema = z.object({
|
|
|
102336
102375
|
outcome: ServerUpdateOutcomeSchema.optional(),
|
|
102337
102376
|
/**
|
|
102338
102377
|
* Stable, greppable cause for `refused` / `failed` (the engine's
|
|
102339
|
-
* `UpdateRefusalReason`, `staging-failed`,
|
|
102378
|
+
* `UpdateRefusalReason`, `staging-failed`, `timeout-stall`,
|
|
102379
|
+
* `timeout-ceiling`). `null` on success.
|
|
102340
102380
|
*/
|
|
102341
102381
|
reason: z.string().nullable().optional(),
|
|
102342
102382
|
/**
|
|
@@ -102502,6 +102542,14 @@ var smokeCapability = {
|
|
|
102502
102542
|
}]
|
|
102503
102543
|
}
|
|
102504
102544
|
};
|
|
102545
|
+
var EmailImagePartSchema = z.object({
|
|
102546
|
+
ticket: PeerBytesTicketSchema,
|
|
102547
|
+
mime: z.string().min(1),
|
|
102548
|
+
name: z.string().min(1),
|
|
102549
|
+
contentId: z.string().min(1),
|
|
102550
|
+
placement: z.enum(["inline", "attachment"]),
|
|
102551
|
+
deviceId: z.number().int().nonnegative().optional()
|
|
102552
|
+
});
|
|
102505
102553
|
/**
|
|
102506
102554
|
* `smtp-provider` — pluggable email delivery surface.
|
|
102507
102555
|
*
|
|
@@ -102511,8 +102559,8 @@ var smokeCapability = {
|
|
|
102511
102559
|
* ready provider OR target a specific addonId.
|
|
102512
102560
|
*
|
|
102513
102561
|
* The shape stays small on purpose — `sendEmail` is enough for the
|
|
102514
|
-
* 90% case.
|
|
102515
|
-
*
|
|
102562
|
+
* 90% case. An image is not a byte field on this method (D613): `images`
|
|
102563
|
+
* names `peerBytes` tickets the sender opens and folds into one MIME body.
|
|
102516
102564
|
*/
|
|
102517
102565
|
var EmailAddressSchema = z.email();
|
|
102518
102566
|
/**
|
|
@@ -102539,7 +102587,12 @@ var SendEmailInputSchema = z.object({
|
|
|
102539
102587
|
* for clients that strip HTML — including most spam filters). */
|
|
102540
102588
|
text: z.string(),
|
|
102541
102589
|
/** Optional HTML body. Renders alongside `text` as multi-part. */
|
|
102542
|
-
html: z.string().optional()
|
|
102590
|
+
html: z.string().optional(),
|
|
102591
|
+
/**
|
|
102592
|
+
* Images the caller already offered over `peerBytes`. Absent = a mail with
|
|
102593
|
+
* no image. The sender opens each ticket; one it cannot read is left out.
|
|
102594
|
+
*/
|
|
102595
|
+
images: z.array(EmailImagePartSchema).max(3).optional()
|
|
102543
102596
|
});
|
|
102544
102597
|
var SendEmailResultSchema = z.object({
|
|
102545
102598
|
messageId: z.string(),
|
|
@@ -103976,34 +104029,46 @@ var switchCapability = {
|
|
|
103976
104029
|
DeviceType.Light,
|
|
103977
104030
|
DeviceType.Fan
|
|
103978
104031
|
],
|
|
103979
|
-
methods: {
|
|
103980
|
-
|
|
103981
|
-
|
|
103982
|
-
|
|
103983
|
-
|
|
103984
|
-
|
|
103985
|
-
|
|
103986
|
-
|
|
103987
|
-
|
|
103988
|
-
|
|
103989
|
-
|
|
103990
|
-
|
|
103991
|
-
|
|
103992
|
-
|
|
103993
|
-
|
|
103994
|
-
|
|
103995
|
-
|
|
103996
|
-
|
|
103997
|
-
|
|
103998
|
-
|
|
103999
|
-
|
|
104000
|
-
|
|
104001
|
-
|
|
104002
|
-
|
|
104003
|
-
|
|
104004
|
-
|
|
104005
|
-
|
|
104006
|
-
|
|
104032
|
+
methods: {
|
|
104033
|
+
setState: method(z.object({
|
|
104034
|
+
deviceId: z.number(),
|
|
104035
|
+
on: z.boolean()
|
|
104036
|
+
}), z.void(), {
|
|
104037
|
+
kind: "mutation",
|
|
104038
|
+
auth: "protected",
|
|
104039
|
+
actions: [{
|
|
104040
|
+
id: "switch.on",
|
|
104041
|
+
label: t("Turn on", "Accendi"),
|
|
104042
|
+
phrase: t("Turn on {device}", "Accendi {device}"),
|
|
104043
|
+
icon: "power",
|
|
104044
|
+
effect: {
|
|
104045
|
+
field: "on",
|
|
104046
|
+
value: true
|
|
104047
|
+
},
|
|
104048
|
+
args: { on: true }
|
|
104049
|
+
}, {
|
|
104050
|
+
id: "switch.off",
|
|
104051
|
+
label: t("Turn off", "Spegni"),
|
|
104052
|
+
phrase: t("Turn off {device}", "Spegni {device}"),
|
|
104053
|
+
icon: "power-off",
|
|
104054
|
+
effect: {
|
|
104055
|
+
field: "on",
|
|
104056
|
+
value: false
|
|
104057
|
+
},
|
|
104058
|
+
args: { on: false }
|
|
104059
|
+
}]
|
|
104060
|
+
}),
|
|
104061
|
+
toggle: optionalMethod(z.object({ deviceId: z.number() }), z.void(), {
|
|
104062
|
+
kind: "mutation",
|
|
104063
|
+
auth: "protected",
|
|
104064
|
+
actions: [{
|
|
104065
|
+
id: "switch.toggle",
|
|
104066
|
+
label: t("Toggle", "Commuta"),
|
|
104067
|
+
phrase: t("Toggle {device}", "Commuta {device}"),
|
|
104068
|
+
icon: "toggle-right"
|
|
104069
|
+
}]
|
|
104070
|
+
})
|
|
104071
|
+
},
|
|
104007
104072
|
events: { onStateChanged: {
|
|
104008
104073
|
data: z.object({
|
|
104009
104074
|
deviceId: z.number(),
|
|
@@ -126284,6 +126349,13 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
126284
126349
|
access: "create",
|
|
126285
126350
|
role: "viewer"
|
|
126286
126351
|
},
|
|
126352
|
+
"switch.toggle": {
|
|
126353
|
+
capName: "switch",
|
|
126354
|
+
capScope: "device",
|
|
126355
|
+
addonId: null,
|
|
126356
|
+
access: "create",
|
|
126357
|
+
role: "viewer"
|
|
126358
|
+
},
|
|
126287
126359
|
"system.debugWatch": {
|
|
126288
126360
|
capName: "system",
|
|
126289
126361
|
capScope: "system",
|
|
@@ -127391,6 +127463,83 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
127391
127463
|
role: "admin"
|
|
127392
127464
|
}
|
|
127393
127465
|
});
|
|
127466
|
+
function isBindingList(bindings) {
|
|
127467
|
+
return Array.isArray(bindings);
|
|
127468
|
+
}
|
|
127469
|
+
function capNamesOf(bindings) {
|
|
127470
|
+
const names = [];
|
|
127471
|
+
if (isBindingList(bindings)) {
|
|
127472
|
+
for (const item of bindings) names.push(typeof item === "string" ? item : item.capName);
|
|
127473
|
+
return names;
|
|
127474
|
+
}
|
|
127475
|
+
for (const entry of bindings.entries) names.push(entry.capName);
|
|
127476
|
+
return names;
|
|
127477
|
+
}
|
|
127478
|
+
/** The device-scoped entries the device binds, in the map's order. */
|
|
127479
|
+
function boundEntries(bindings) {
|
|
127480
|
+
const bound = new Set(capNamesOf(bindings));
|
|
127481
|
+
return Object.entries(CAP_VOCABULARY_BY_NAME).filter(([cap, entry]) => bound.has(cap) && entry.scope === "device");
|
|
127482
|
+
}
|
|
127483
|
+
/** The wordings that apply: the type's first, then the role's (a role wins). */
|
|
127484
|
+
function wordingsFor(entry, deviceType, role) {
|
|
127485
|
+
const out = [];
|
|
127486
|
+
const byType = deviceType === void 0 ? void 0 : entry.overrides?.byType?.[deviceType];
|
|
127487
|
+
if (byType !== void 0) out.push(byType);
|
|
127488
|
+
const byRole = role === void 0 || role === null ? void 0 : entry.overrides?.byRole?.[role];
|
|
127489
|
+
if (byRole !== void 0) out.push(byRole);
|
|
127490
|
+
return out;
|
|
127491
|
+
}
|
|
127492
|
+
function actionWording(wordings, id) {
|
|
127493
|
+
return wordings.reduce((acc, w) => ({
|
|
127494
|
+
...acc,
|
|
127495
|
+
...w.actions?.[id]
|
|
127496
|
+
}), {});
|
|
127497
|
+
}
|
|
127498
|
+
function accessOf(cap, method) {
|
|
127499
|
+
return METHOD_ACCESS_MAP[`${kebabToCamel(cap)}.${method}`]?.access;
|
|
127500
|
+
}
|
|
127501
|
+
function resolveAction(cap, action, wordings) {
|
|
127502
|
+
const access = accessOf(cap, action.method);
|
|
127503
|
+
if (access === void 0 || access === "view") return null;
|
|
127504
|
+
const w = actionWording(wordings, action.id);
|
|
127505
|
+
return {
|
|
127506
|
+
id: action.id,
|
|
127507
|
+
cap,
|
|
127508
|
+
method: action.method,
|
|
127509
|
+
label: w.label ?? action.label,
|
|
127510
|
+
phrase: w.phrase ?? action.phrase,
|
|
127511
|
+
icon: w.icon ?? action.icon,
|
|
127512
|
+
args: action.args ?? {},
|
|
127513
|
+
openArgs: action.openArgs ?? [],
|
|
127514
|
+
access
|
|
127515
|
+
};
|
|
127516
|
+
}
|
|
127517
|
+
/**
|
|
127518
|
+
* The actions a device can be made to do, phrased for its type and role.
|
|
127519
|
+
* An action whose method is no longer routable (absent from
|
|
127520
|
+
* METHOD_ACCESS_MAP, or a read) is dropped.
|
|
127521
|
+
*/
|
|
127522
|
+
function actionsForDevice(bindings, deviceType, role) {
|
|
127523
|
+
const out = [];
|
|
127524
|
+
for (const [cap, entry] of boundEntries(bindings)) {
|
|
127525
|
+
const wordings = wordingsFor(entry, deviceType, role);
|
|
127526
|
+
for (const action of entry.actions ?? []) {
|
|
127527
|
+
const resolved = resolveAction(cap, action, wordings);
|
|
127528
|
+
if (resolved !== null) out.push(resolved);
|
|
127529
|
+
}
|
|
127530
|
+
}
|
|
127531
|
+
return out;
|
|
127532
|
+
}
|
|
127533
|
+
/**
|
|
127534
|
+
* Whether a device offers the vocabulary actions, with the same `any` / `all`
|
|
127535
|
+
* rule a cap require uses. An empty list passes. This is the one check the
|
|
127536
|
+
* device search and the command picker share.
|
|
127537
|
+
*/
|
|
127538
|
+
function deviceOffersActions(bindings, actionIds, mode = "any", deviceType) {
|
|
127539
|
+
if (actionIds.length === 0) return true;
|
|
127540
|
+
const offered = new Set(actionsForDevice(bindings, deviceType).map((action) => action.id));
|
|
127541
|
+
return mode === "all" ? actionIds.every((id) => offered.has(id)) : actionIds.some((id) => offered.has(id));
|
|
127542
|
+
}
|
|
127394
127543
|
DeviceFeature.BatteryOperated;
|
|
127395
127544
|
function bound(cap, methods = [], authority = "reported") {
|
|
127396
127545
|
return {
|
|
@@ -130358,6 +130507,12 @@ Object.freeze({
|
|
|
130358
130507
|
form: "single",
|
|
130359
130508
|
optional: false
|
|
130360
130509
|
}],
|
|
130510
|
+
"smtpProvider.sendEmail": [{
|
|
130511
|
+
name: "images",
|
|
130512
|
+
form: "object-array",
|
|
130513
|
+
optional: true,
|
|
130514
|
+
itemField: "deviceId"
|
|
130515
|
+
}],
|
|
130361
130516
|
"snapshot.applyDeviceSettingsPatch": [{
|
|
130362
130517
|
name: "deviceId",
|
|
130363
130518
|
form: "single",
|
|
@@ -130524,6 +130679,11 @@ Object.freeze({
|
|
|
130524
130679
|
form: "single",
|
|
130525
130680
|
optional: false
|
|
130526
130681
|
}],
|
|
130682
|
+
"switch.toggle": [{
|
|
130683
|
+
name: "deviceId",
|
|
130684
|
+
form: "single",
|
|
130685
|
+
optional: false
|
|
130686
|
+
}],
|
|
130527
130687
|
"system.debugWatch": [{
|
|
130528
130688
|
name: "deviceIds",
|
|
130529
130689
|
form: "array",
|
|
@@ -131793,6 +131953,28 @@ var STATE_SUMMARY_VARS = [
|
|
|
131793
131953
|
systemEventKinds: [...SUMMARISABLE],
|
|
131794
131954
|
systemEventDeliveries: ["summary"]
|
|
131795
131955
|
},
|
|
131956
|
+
{
|
|
131957
|
+
name: "offlineCount",
|
|
131958
|
+
label: "Summary: how many went offline",
|
|
131959
|
+
example: "2",
|
|
131960
|
+
group: "system",
|
|
131961
|
+
families: ["rule"],
|
|
131962
|
+
fields: [...RULE_TEXT],
|
|
131963
|
+
kinds: ["system"],
|
|
131964
|
+
systemEventKinds: [...SUMMARISABLE],
|
|
131965
|
+
systemEventDeliveries: ["summary"]
|
|
131966
|
+
},
|
|
131967
|
+
{
|
|
131968
|
+
name: "onlineCount",
|
|
131969
|
+
label: "Summary: how many came back",
|
|
131970
|
+
example: "5",
|
|
131971
|
+
group: "system",
|
|
131972
|
+
families: ["rule"],
|
|
131973
|
+
fields: [...RULE_TEXT],
|
|
131974
|
+
kinds: ["system"],
|
|
131975
|
+
systemEventKinds: [...SUMMARISABLE],
|
|
131976
|
+
systemEventDeliveries: ["summary"]
|
|
131977
|
+
},
|
|
131796
131978
|
{
|
|
131797
131979
|
name: "summaryCount",
|
|
131798
131980
|
label: "Summary: items reported",
|
|
@@ -131834,6 +132016,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
131834
132016
|
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
131835
132017
|
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
131836
132018
|
[...RULE_TEXT],
|
|
132019
|
+
[...RULE_TEXT],
|
|
131837
132020
|
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
131838
132021
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
131839
132022
|
[...RULE_TEXT],
|
|
@@ -133009,4 +133192,4 @@ z.object({
|
|
|
133009
133192
|
commands: z.record(z.string(), z.unknown())
|
|
133010
133193
|
});
|
|
133011
133194
|
//#endregion
|
|
133012
|
-
export { DEVICE_TOMBSTONE_RETENTION_MS as $, resolveTemplateRef as $a, isSecretClear as $c, nextOccurrence as $i, climateControlCapability as $n, DEFAULT_HISTORY_RETENTION as $o, foldSnapshotByFunction as $r, REDACTED_SECRET as $s, RemoteAssumedStateSchema as $t, CatalogFileSchema as A, recordEntriesCapability as Aa, commandOrigin as Ac, keychainCapability as Ai, COMPOSED_DEVICE_STABLE_ID_PREFIX as Al, armRemovalReconcile as An, templateCapability as Ao, deviceManagerCapability as Ar, planStatisticTier as As, LOG_LEVEL_RANK as At, DEFAULT_HOLD_OVERRIDE as B, resolveAppConnections as Ba, expandCapMethods as Bc, logLevelAtMost as Bi, buildDeviceSignatureMessage as Bn, validateCustomAddress as Bo, evaluateStepCondition as Br, DeclarationRefusedError as Bs, PREFERENCES_MAX_VALUE_BYTES as Bt, CATALOG_LANGS as C, processTimeZoneOr as Ca, auditedFields as Cc, isKernelDerivedFeature as Ci, toNodeId as Cl, addonPagesCapability as Cn, storageOccupancyCapability as Co, defineExtensionSlotProvider as Cr, integrateReading as Cs, HUB_MDNS_TXT_KEYS as Ct, CORE_BLOCK_ADDON_PREFIX as D, readRecipeLiteral as Da, collectSecretMarkerRefs as Dc, isVoidInput as Di, vocabActionIdFor as Dl, alertEpisodePayload as Dn, supportedRuntimes as Do, deviceCredentialsCapability as Dr, openReset as Ds, KEYCHAIN_RESET_TRIGGER_ACTOR as Dt, CORE_BLOCKS_ADDON_ID as E, ptzAutotrackCapability as Ea, collectSecretLeaves as Ec, isSameAddonId as Ei, userError as El, alertEpisodeId as En, streamQualityLabel as Eo, describeUnmet as Er, nextLocalMidnight as Es, INTERNAL_ACTION_PREFIX as Et, DATABASE_SNAPSHOT_PARTIAL_SUFFIX as F, remoteLayoutComponentsCapability as Fa, defineEntryKind as Fc, localNetworkCapability as Fi, featuresOfBoundCaps as Fl, batteryCapability as Fn, timedRunSeconds as Fo, deviceTransitionsCapability as Fr, BatchTooLargeError as Fs, MediaPlayerStatusSchema as Ft, DEVICE_NONCE_TTL_MS as G, resolveHubAddressRoles as Ga, hydrateSchema as Gc, mediaPlayerFeaturesOfRoles as Gi, cameraGridLayoutCapability as Gn, vectorStoreCapability as Go, extractNestedAddonId as Gr, InvalidRecordError as Gs, PreferenceDeviceIdSchema as Gt, DEVICE_ENROLLMENT_TTL_MS as H, resolveCoreBlockEntry as Ha, getDebugInterest as Hc, mayReadLocation as Hi, buildStreamParamsConfigSchema as Hn, valveCapability as Ho, evictionPolicyOfLocation as Hr, FilterRequiredError as Hs, PackageRequiresSchema as Ht, DATABASE_SNAPSHOT_SUFFIX as I, remoteSourceSteps as Ia, defineRecordKinds as Ic, locationIconKey as Ii, EventCategory as Il, brightnessCapability as In, toTimings as Io, enumerateInferenceDevices as Ir, CALLER_STAMPED_CAPABILITIES as Is, MigrationLedgerEntrySchema as It, DEVICE_TEMPLATE_FILTERS as J, resolveMutate as Ja, isDeviceConfigCap as Jc, metricsProviderCapability as Ji, capUnitResolver as Jn, withLocationMode as Jo, fanOutTargets as Jr, RECORD_BATCH_MAX as Js, QuantityUnitError as Jt, DEVICE_SAN_CREDENTIAL_PREFIX as K, resolveLocationMode as Ka, isCommand as Kc, memoizePinnedFfmpeg as Ki, canonicalIconKey as Kn, weekdayOfLocalDate as Ko, fanAxisPath as Kr, NoCallerError as Ks, PreferenceNamespaceSchema as Kt, DATABASE_SNAPSHOT_TIMEOUT_MS as L, replaceRecipeLiteral as La, emitDownForOwnedCaps as Lc, lockControlCapability as Li, buildActionSteps as Ln, unmetRequirements as Lo, enumerateItemArrayFields as Lr, DATAPLANE_SECRET_HEADER as Ls, MigrationMetaSchema as Lt, ConsumableItemSchema as M, reducePoints as Ma, customAction as Mc, legacyModeOf as Mi, DeviceRole as Ml, authProviderCapability as Mn, timedRunLimitOf as Mo, deviceRunsCapability as Mr, toExpressionValue as Ms, MIGRATION_API_V1_METHODS as Mt, CoreBlockSchema as N, reexpandAutomationInstance as Na, defineAddonMigrations as Nc, lifecycleJobSchema as Ni, DeviceType as Nl, backupCapability as Nn, timedRunMaxIn as No, deviceStateCapability as Nr, wattMillisecondsToKwh as Ns, MINUTES_PER_DAY as Nt, CREDENTIAL_TOKEN_AUDIENCE as O, readStoredRemoteConfig as Oa, collectZodSecretPaths as Oc, kebabToCamel as Oi, vocabCall as Ol, alertsCapability as On, switchCapability as Oo, deviceExtensionCapability as Or, openStatistic as Os, KeychainAuditEntrySchema as Ot, CredentialTokenClaimsSchema as P, remoteCapability as Pa, defineCustomActions as Pc, localDateOf as Pi, errMsg as Pl, bareAddonId as Pn, timedRunQuickRun as Po, deviceStatusCapability as Pr, BaseAddon as Ps, MOTION_CLOSE_AFTER_MS as Pt, DEVICE_TEMPLATE_VALUES_CAP as Q, resolveStepArgs as Qa, isReadingQuantity as Qc, motionCapability as Qi, checkTemplatePayload as Qn, DAY_MS as Qo, findChannelSource as Qr, RECORD_SWEEP_INTERVAL_MS as Qs, RecordingStatusSchema as Qt, DATA_STORE_DATABASES as R, replacedFieldKeys as Ra, emitReadiness as Rc, lockDoorLinkOfComposition as Ri, buildCapabilityLookup as Rn, userManagementCapability as Ro, enumerateSchemaFields as Rr, DEVICE_SETTINGS_CONTRIBUTION_METHODS as Rs, NetworkTunnelStartedDataSchema as Rt, CAP_NAMES_WITH_STATUS as S, procedureAuthKey as Sa, assertValidDeclaration as Sc, isInternalActionId as Si, sleep as Sl, addonIdOfActionId as Sn, storageMigrationCapability as So, decodeVectorBase64 as Sr, implementedMethodsOf as Ss, HUB_MDNS_SERVICE_TYPE as St, COMPOSER_RUNNER_ID as T, proposeRunningThreshold as Ta, collectSecretConfigKeys as Tc, isObjectInput as Ti, transformSecretWrite as Tl, addonWidgetsCapability as Tn, streamCatalogCapability as To, describeComposableCaps as Tr, isHistoryHelper as Ts, IDLE_ACTION_STATUS as Tt, DEVICE_HISTORY_ENERGY_KEY as U, resolveCoreBlockFiles as Ua, historyItemFieldPath as Uc, mayWriteToLocation as Ui, builtinAutomationTemplate as Un, vectorDimFromBase64 as Uo, expandContainer as Ur, ForeignSecretMarkerError as Us, PetFountainStatusSchema as Ut, DERIVED_CAMERA_SILENCED_CAP_NAMES as V, resolveBucketMs as Va, formatSecretScope as Vc, looseSchema as Vi, buildHeroModel as Vn, validateSchedulerInput as Vo, evaluateWhenTree as Vr, DeviceTransitionSchema as Vs, PROPOSAL_MIN_SPAN_MS as Vt, DEVICE_ID_FIELD as W, resolveHeroLayout as Wa, historyUnitFor as Wc, mediaPlayerCapability as Wi, calendarsCapability as Wn, vectorIndexDimConflictError as Wo, expressionContainsBuiltinCall as Wr, HISTORY_DEFAULT_MIN_INTERVAL_MS as Ws, PowerSourceInfoSchema as Wt, DEVICE_TEMPLATE_MAX_OUTPUT as X, resolveRemoteSource as Xa, isInstanceEnabled as Xc, modeForSwitch as Xi, checkDeviceAlias as Xn, COMPOSER_ADDON_ID as Xo, featureForwards as Xr, RECORD_DELETE_BATCH as Xs, REMOTE_MEDIA_COMMANDS as Xt, DEVICE_TEMPLATE_MAX_LENGTH as Y, resolveNotificationTapAddress as Ya, isEvent as Yc, migrationsCapability as Yi, catalogueIssues as Yn, zoneOnlySite as Yo, fanPresetsCapability as Yr, RECORD_BATCH_MAX_BYTES as Ys, RECORDING_SOURCE_CAMSTACK_ADDON as Yt, DEVICE_TEMPLATE_THIS_ALIAS as Z, resolveRunnerId as Za, isKeychainStoredField as Zc, modeMayWrite as Zi, checkRoleAddress as Zn, CompositionSchema as Zo, filesystemBrowseCapability as Zr, RECORD_SECRET_COLLECTION_PREFIX as Zs, ROOT_BUCKET_KEY as Zt, BUILTIN_REMOTE_COMPONENTS as _, powerSourceCapability as _a, actionEffect as _c, isArrayOutputSchema as _i, ruleFireOfClaim as _l, UNATTRIBUTED_BUCKET_KEY as _n, snapshotCapability as _o, customKeyOfRole as _r, disarmRoseMemory as _s, FieldClaimModeSchema as _t, AGENT_MDNS_SERVICE_TYPE as a, objectInputDeclaresRequiredDeviceId as aa, RecordKindDeclarationSchema as ac, groupCommandsCapability as ai, mapSecretLeaves as al, SchedulerError as an, scopesAllowAddon as ao, composerCapability as ar, buildFfmpegArgs as as, DiscoveryProposalBodySchema as at, CAMERA_SWITCH_ORDER as b, prepareRecipeUnits as ba, asString$1 as bc, isCredentialTokenPayload as bi, secretTreeFromSchema as bl, actionWaitTotalMs as bn, storageAdminCapability as bo, declarationOwnerNodeId as br, helperMembers as bs, HISTORY_CATALOG as bt, ActionError as c, parseAcceleratorFactsJson as ca, RecordUniqueViolationError as cc, heroLayoutCapability as ci, normalizeNodeId as cl, ServerNameSchema as cn, seedInstanceOnce as co, compositionUnionReads as cr, capAppliesToDeviceKind as cs, EMPTY_REMOTE_CONFIG as ct, ActionTargetResolver as d, petFountainCapability as da, StoredRecordKindDeclarationSchema as dc, internalActionId as di, parseJsonUnknown as dl, StorageCleanupJobSchema as dn, sharedActuatorFeatures as do, coreBlockComposition as dr, composedDeviceStableId as ds, FAN_OSCILLATION_AXES as dt, nextTimeBoundaryInMs as ea, REMOVE_LEAF as ec, formatDeviceRevoker as ei, isSecretFieldView as el, RemoteLayoutPayloadSchema as en, runFanOut as eo, collectDeviceTemplates as er, HISTORY_FAST_MS as es, DataStoreDatabaseSchema as et, ActionVariableSchema as f, petFountainWaterItem as fa, TransactRefusedError as fc, interpolate as fi, parseSecretRef as fl, StorageLocationModeSchema as fn, sharedActuatorMethods as fo, coreBlockIdFromAddonId as fr, compositionFeatureEnabled as fs, FAN_OSCILLATION_AXIS_SETTABLE as ft, BUILTIN_AUTOMATION_TEMPLATES as g, powerSourceActuatorConflicts as ga, WELL_KNOWN_TAB_MAP as gc, isAppLinkBase as gi, resolveSecretMarkers as gl, TokenScopeSchema as gn, siteZoneKey as go, createDeviceExtensionProvider as gr, createStatefulExpressionMemory as gs, FanPresetSchema as gt, AutomationTemplatePayloadSchema as h, platformProbeCapability as ha, VocabActionError as hc, isAlertEpisodeSeverity as hi, resolveCapMount as hl, TemplateKindSchema as hn, siteFor as ho, coverCapability as hr, compositionSourceKey as hs, FanDirectionSchema as ht, ACTUATOR_TEMPLATE_IDS as i, objectInputDeclaresAddonId as ia, RecordIntegrationInstances as ic, generateDeviceAlias as ii, makeSecretMarker as il, STREAM_PROFILE_META as in, schedulersCapability as io, compileScalarOverride as ir, MINUTE_MS as is, DeviceTombstoneSchema as it, ConditionMirror as j, recordsCapability as ja, createEvent as jc, legacyAutoLinkIds as ji, DeviceFeature as jl, assertStepsOffered as jn, timedRunCapability as jo, deviceRemovalHookCapability as jr, statisticCadenceMs as js, METHOD_ACCESS_MAP as jt, CalendarPreferencesSchema as k, reconcileReportedFeatures as ka, commandEffect as kc, keychainAdminCapability as ki, withoutCallerStamp as kl, appendTrace as kn, switchStateOfMode as ko, deviceHistoryCapability as kr, planResetTier as ks, KeychainResetRecordSchema as kt, ActionMinDelaySecSchema as l, parseColorInput as la, RevConflictError as lc, instanceCodeHash as li, normalizeSecretOwner as ll, SetOscillationAxisInputSchema as ln, settingsStoreCapability as lo, consumablesCapability as lr, cloneStatefulExpressionMemory as ls, ExportNameRefusedError as lt, AutomationStateDocSchema as m, planComposition as ma, UnknownRecordKindError as mc, isAlertEpisodeOpen as mi, recordSecretRef as ml, StorageMigrationJobSchema as mn, shortHostname as mo, coreBlocksCapability as mr, compositionSliceKey as ms, FanControlStatusSchema as mt, ACTION_TARGET_INVALIDATION_EVENTS as n, normalizeCoreBlockWrite as na, ReadinessRegistry as nc, gbToBytes as ni, isSecretMarkerLike as nl, STORAGE_ACCESS_FALLBACK as nn, runtimeFieldUnit as no, colorCapability as nr, HOUR_MS as ns, DeviceRunSchema as nt, AGENT_MDNS_TXT_KEYS as o, occurrenceOn as oa, RecordNotFoundError as oc, groupTemplate as oi, nodeIdOfScopedKey as ol, SchedulerSchema as on, scopesAllowDeviceCap as oo, compositionFieldKey as or, canonicalStoredBlockTarget as os, EMPTY_AUTOMATION_STATE as ot, AlertSchema as p, pickAppLinkHub as pa, UnindexedFilterError as pc, isAddonInstanceId as pi, readinessKey as pl, StorageLocationTypeSchema as pn, sharedColorModes as po, coreBlockSourceKind as pr, compositionItemFieldPath as ps, FIRST_LEVEL_MACRO_CLASSES as pt, DEVICE_SAN_USER_PREFIX as q, resolveMethodAuth as qa, isDebugChannelName as qc, methodRefusal as qi, canonicalStoredStepTargets as qn, withDefaultRunning as qo, fanControlCapability as qr, PlaintextSecretError as qs, PreferenceValueSchema as qt, ACTUATOR_METHODS as r, normalizeUnit as ra, ReadinessTimeoutError as rc, generateAutomationBlock as ri, isSecretRefOwnedBy as rl, STORAGE_LOCATION_MODES as rn, runtimeStatePolicyFor as ro, compareVersions as rr, HelperMemberSchema as rs, DeviceStatusSchema as rt, ALL_CAPABILITY_DEFINITIONS as s, orderMigrations as sa, RecordTooLargeError as sc, hasTimeLeaves as si, nodePin as sl, ScopedTokenSchema as sn, scoreRuntimes as so, compositionSourceRefs as sr, canonicalStoredDeviceType as ss, EMPTY_REMOTE_ASSUMED_STATE as st, ACTION_RUN_MAX_MS as t, normalizeActionUnits as ta, RUNTIME_DEFAULTS as tc, formatMinutes as ti, isSecretMarker as tl, RunningStateStatusSchema as tn, runSteps as to, collectWhenMirrorSources as tr, HISTORY_SLOW_MS as ts, DeclaredDevices as tt, ActionStepSchema as u, parseStreamParamsFormPatch as ua, SECRET_CLEAR as uc, integrationInstancesCapability as ui, parseJsonObject as ul, SsoBridgeClaimsSchema as un, settleDeviceFeatures as uo, coreBlockAddonId as ur, composedDeviceRef as us, FAN_CAPTURE_FIELDS as ut, BaseDevice as v, powerSourceLinkOfComposition as va, asJsonObject as vc, isBuiltinTemplateId as vi, scopeKey as vl, UserRecordSchema as vn, splitTranslationRef as vo, dataStoreProviderCapability as vr, evaluateDerivative as vs, FieldClaimSchema as vt, COMPOSED_ITEM_FIXED_FIELDS as w, projectDeviceRow as wa, buildSecretRef as wc, isLocationEnabled as wi, toSecretFieldView as wl, addonSettingsCapability as wn, storageProviderCapability as wo, deriveBatteryPresence as wr, isForwardInputRef as ws, HvacModeSchema as wt, CAMSTACK_APP_LINK_ORIGIN as x, problemsBlockSave as xa, assertTransactScope as xc, isDefaultAppConnectionEndpoint as xi, secretViewsOf as xl, actionsCapability as xn, storageCapability as xo, declaredSeriesKind as xr, historyRetentionFromSettings as xs, HISTORY_ITEM_CATALOG as xt, BatteryStatusSchema as y, preconditionOf as ya, asNumber as yc, isCollectionArrayMethod as yi, secretTreeFromPaths as yl, actionSourceCapability as yn, stableIdMapOf as yo, databaseSnapshotCapability as yr, evaluateStatistic as ys, GroupCommandResultSchema as yt, DAY_NAMES as z, resolveActionVariables as za, entryBody as zc, logDestinationCapability as zi, buildDeviceEnrollmentLink as zn, validateComposition as zo, evaluateCompositionField as zr, DEVICE_STATUS_METHOD as zs, PET_FOUNTAIN_WATER_KEY as zt };
|
|
133195
|
+
export { DEVICE_TOMBSTONE_RETENTION_MS as $, resolveStepArgs as $a, isReadingQuantity as $c, motionCapability as $i, climateControlCapability as $n, DAY_MS as $o, findChannelSource as $r, RECORD_SWEEP_INTERVAL_MS as $s, RemoteAssumedStateSchema as $t, CatalogFileSchema as A, reconcileReportedFeatures as Aa, commandEffect as Ac, keychainAdminCapability as Ai, withoutCallerStamp as Al, armRemovalReconcile as An, switchStateOfMode as Ao, deviceManagerCapability as Ar, planResetTier as As, LOG_LEVEL_RANK as At, DEFAULT_HOLD_OVERRIDE as B, resolveActionVariables as Ba, entryBody as Bc, logDestinationCapability as Bi, buildDeviceSignatureMessage as Bn, validateComposition as Bo, evaluateCompositionField as Br, DEVICE_STATUS_METHOD as Bs, PREFERENCES_MAX_VALUE_BYTES as Bt, CATALOG_LANGS as C, procedureAuthKey as Ca, assertValidDeclaration as Cc, isInternalActionId as Ci, sleep as Cl, addonPagesCapability as Cn, storageMigrationCapability as Co, defineExtensionSlotProvider as Cr, implementedMethodsOf as Cs, HUB_MDNS_TXT_KEYS as Ct, CORE_BLOCK_ADDON_PREFIX as D, ptzAutotrackCapability as Da, collectSecretLeaves as Dc, isSameAddonId as Di, userError as Dl, alertEpisodePayload as Dn, streamQualityLabel as Do, deviceCredentialsCapability as Dr, nextLocalMidnight as Ds, KEYCHAIN_RESET_TRIGGER_ACTOR as Dt, CORE_BLOCKS_ADDON_ID as E, proposeRunningThreshold as Ea, collectSecretConfigKeys as Ec, isObjectInput as Ei, transformSecretWrite as El, alertEpisodeId as En, streamCatalogCapability as Eo, describeUnmet as Er, isHistoryHelper as Es, INTERNAL_ACTION_PREFIX as Et, DATABASE_SNAPSHOT_PARTIAL_SUFFIX as F, remoteCapability as Fa, defineCustomActions as Fc, localDateOf as Fi, errMsg as Fl, batteryCapability as Fn, timedRunQuickRun as Fo, deviceStatusCapability as Fr, BaseAddon as Fs, MediaPlayerStatusSchema as Ft, DEVICE_NONCE_TTL_MS as G, resolveHeroLayout as Ga, historyUnitFor as Gc, mediaPlayerCapability as Gi, cameraGridLayoutCapability as Gn, vectorIndexDimConflictError as Go, expressionContainsBuiltinCall as Gr, HISTORY_DEFAULT_MIN_INTERVAL_MS as Gs, PreferenceDeviceIdSchema as Gt, DEVICE_ENROLLMENT_TTL_MS as H, resolveBucketMs as Ha, formatSecretScope as Hc, looseSchema as Hi, buildStreamParamsConfigSchema as Hn, validateSchedulerInput as Ho, evaluateWhenTree as Hr, DeviceTransitionSchema as Hs, PackageRequiresSchema as Ht, DATABASE_SNAPSHOT_SUFFIX as I, remoteLayoutComponentsCapability as Ia, defineEntryKind as Ic, localNetworkCapability as Ii, featuresOfBoundCaps as Il, brightnessCapability as In, timedRunSeconds as Io, deviceTransitionsCapability as Ir, BatchTooLargeError as Is, MigrationLedgerEntrySchema as It, DEVICE_TEMPLATE_FILTERS as J, resolveMethodAuth as Ja, isDebugChannelName as Jc, methodRefusal as Ji, capUnitResolver as Jn, withDefaultRunning as Jo, fanControlCapability as Jr, PlaintextSecretError as Js, QuantityUnitError as Jt, DEVICE_SAN_CREDENTIAL_PREFIX as K, resolveHubAddressRoles as Ka, hydrateSchema as Kc, mediaPlayerFeaturesOfRoles as Ki, canonicalIconKey as Kn, vectorStoreCapability as Ko, extractNestedAddonId as Kr, InvalidRecordError as Ks, PreferenceNamespaceSchema as Kt, DATABASE_SNAPSHOT_TIMEOUT_MS as L, remoteSourceSteps as La, defineRecordKinds as Lc, locationIconKey as Li, EventCategory as Ll, buildActionSteps as Ln, toTimings as Lo, enumerateInferenceDevices as Lr, CALLER_STAMPED_CAPABILITIES as Ls, MigrationMetaSchema as Lt, ConsumableItemSchema as M, recordsCapability as Ma, createEvent as Mc, legacyAutoLinkIds as Mi, DeviceFeature as Ml, authProviderCapability as Mn, timedRunCapability as Mo, deviceRemovalHookCapability as Mr, statisticCadenceMs as Ms, MIGRATION_API_V1_METHODS as Mt, CoreBlockSchema as N, reducePoints as Na, customAction as Nc, legacyModeOf as Ni, DeviceRole as Nl, backupCapability as Nn, timedRunLimitOf as No, deviceRunsCapability as Nr, toExpressionValue as Ns, MINUTES_PER_DAY as Nt, CREDENTIAL_TOKEN_AUDIENCE as O, readRecipeLiteral as Oa, collectSecretMarkerRefs as Oc, isVoidInput as Oi, vocabActionIdFor as Ol, alertsCapability as On, supportedRuntimes as Oo, deviceExtensionCapability as Or, openReset as Os, KeychainAuditEntrySchema as Ot, CredentialTokenClaimsSchema as P, reexpandAutomationInstance as Pa, defineAddonMigrations as Pc, lifecycleJobSchema as Pi, DeviceType as Pl, bareAddonId as Pn, timedRunMaxIn as Po, deviceStateCapability as Pr, wattMillisecondsToKwh as Ps, MOTION_CLOSE_AFTER_MS as Pt, DEVICE_TEMPLATE_VALUES_CAP as Q, resolveRunnerId as Qa, isKeychainStoredField as Qc, modeMayWrite as Qi, checkTemplatePayload as Qn, CompositionSchema as Qo, filesystemBrowseCapability as Qr, RECORD_SECRET_COLLECTION_PREFIX as Qs, RecordingStatusSchema as Qt, DATA_STORE_DATABASES as R, replaceRecipeLiteral as Ra, emitDownForOwnedCaps as Rc, lockControlCapability as Ri, buildCapabilityLookup as Rn, unmetRequirements as Ro, enumerateItemArrayFields as Rr, DATAPLANE_SECRET_HEADER as Rs, NetworkTunnelStartedDataSchema as Rt, CAP_NAMES_WITH_STATUS as S, problemsBlockSave as Sa, assertTransactScope as Sc, isDefaultAppConnectionEndpoint as Si, secretViewsOf as Sl, addonIdOfActionId as Sn, storageCapability as So, decodeVectorBase64 as Sr, historyRetentionFromSettings as Ss, HUB_MDNS_SERVICE_TYPE as St, COMPOSER_RUNNER_ID as T, projectDeviceRow as Ta, buildSecretRef as Tc, isLocationEnabled as Ti, toSecretFieldView as Tl, addonWidgetsCapability as Tn, storageProviderCapability as To, describeComposableCaps as Tr, isForwardInputRef as Ts, IDLE_ACTION_STATUS as Tt, DEVICE_HISTORY_ENERGY_KEY as U, resolveCoreBlockEntry as Ua, getDebugInterest as Uc, mayReadLocation as Ui, builtinAutomationTemplate as Un, valveCapability as Uo, evictionPolicyOfLocation as Ur, FilterRequiredError as Us, PetFountainStatusSchema as Ut, DERIVED_CAMERA_SILENCED_CAP_NAMES as V, resolveAppConnections as Va, expandCapMethods as Vc, logLevelAtMost as Vi, buildHeroModel as Vn, validateCustomAddress as Vo, evaluateStepCondition as Vr, DeclarationRefusedError as Vs, PROPOSAL_MIN_SPAN_MS as Vt, DEVICE_ID_FIELD as W, resolveCoreBlockFiles as Wa, historyItemFieldPath as Wc, mayWriteToLocation as Wi, calendarsCapability as Wn, vectorDimFromBase64 as Wo, expandContainer as Wr, ForeignSecretMarkerError as Ws, PowerSourceInfoSchema as Wt, DEVICE_TEMPLATE_MAX_OUTPUT as X, resolveNotificationTapAddress as Xa, isEvent as Xc, migrationsCapability as Xi, checkDeviceAlias as Xn, zoneOnlySite as Xo, fanPresetsCapability as Xr, RECORD_BATCH_MAX_BYTES as Xs, REMOTE_MEDIA_COMMANDS as Xt, DEVICE_TEMPLATE_MAX_LENGTH as Y, resolveMutate as Ya, isDeviceConfigCap as Yc, metricsProviderCapability as Yi, catalogueIssues as Yn, withLocationMode as Yo, fanOutTargets as Yr, RECORD_BATCH_MAX as Ys, RECORDING_SOURCE_CAMSTACK_ADDON as Yt, DEVICE_TEMPLATE_THIS_ALIAS as Z, resolveRemoteSource as Za, isInstanceEnabled as Zc, modeForSwitch as Zi, checkRoleAddress as Zn, COMPOSER_ADDON_ID as Zo, featureForwards as Zr, RECORD_DELETE_BATCH as Zs, ROOT_BUCKET_KEY as Zt, BUILTIN_REMOTE_COMPONENTS as _, powerSourceActuatorConflicts as _a, WELL_KNOWN_TAB_MAP as _c, isAppLinkBase as _i, resolveSecretMarkers as _l, UNATTRIBUTED_BUCKET_KEY as _n, siteZoneKey as _o, customKeyOfRole as _r, createStatefulExpressionMemory as _s, FieldClaimModeSchema as _t, AGENT_MDNS_SERVICE_TYPE as a, objectInputDeclaresAddonId as aa, RecordIntegrationInstances as ac, generateDeviceAlias as ai, makeSecretMarker as al, SchedulerError as an, schedulersCapability as ao, composerCapability as ar, MINUTE_MS as as, DiscoveryProposalBodySchema as at, CAMERA_SWITCH_ORDER as b, preconditionOf as ba, asNumber as bc, isCollectionArrayMethod as bi, secretTreeFromPaths as bl, actionWaitTotalMs as bn, stableIdMapOf as bo, declarationOwnerNodeId as br, evaluateStatistic as bs, HISTORY_CATALOG as bt, ActionError as c, orderMigrations as ca, RecordTooLargeError as cc, hasTimeLeaves as ci, nodePin as cl, ServerNameSchema as cn, scoreRuntimes as co, compositionUnionReads as cr, canonicalStoredDeviceType as cs, EMPTY_REMOTE_CONFIG as ct, ActionTargetResolver as d, parseStreamParamsFormPatch as da, SECRET_CLEAR as dc, integrationInstancesCapability as di, parseJsonObject as dl, StorageCleanupJobSchema as dn, settleDeviceFeatures as do, coreBlockComposition as dr, composedDeviceRef as ds, FAN_OSCILLATION_AXES as dt, nextOccurrence as ea, REDACTED_SECRET as ec, foldSnapshotByFunction as ei, isSecretClear as el, RemoteLayoutPayloadSchema as en, resolveTemplateRef as eo, collectDeviceTemplates as er, DEFAULT_HISTORY_RETENTION as es, DataStoreDatabaseSchema as et, ActionVariableSchema as f, petFountainCapability as fa, StoredRecordKindDeclarationSchema as fc, internalActionId as fi, parseJsonUnknown as fl, StorageLocationModeSchema as fn, sharedActuatorFeatures as fo, coreBlockIdFromAddonId as fr, composedDeviceStableId as fs, FAN_OSCILLATION_AXIS_SETTABLE as ft, BUILTIN_AUTOMATION_TEMPLATES as g, platformProbeCapability as ga, VocabActionError as gc, isAlertEpisodeSeverity as gi, resolveCapMount as gl, TokenScopeSchema as gn, siteFor as go, createDeviceExtensionProvider as gr, compositionSourceKey as gs, FanPresetSchema as gt, AutomationTemplatePayloadSchema as h, planComposition as ha, UnknownRecordKindError as hc, isAlertEpisodeOpen as hi, recordSecretRef as hl, TemplateKindSchema as hn, shortHostname as ho, coverCapability as hr, compositionSliceKey as hs, FanDirectionSchema as ht, ACTUATOR_TEMPLATE_IDS as i, normalizeUnit as ia, ReadinessTimeoutError as ic, generateAutomationBlock as ii, isSecretRefOwnedBy as il, STREAM_PROFILE_META as in, runtimeStatePolicyFor as io, compileScalarOverride as ir, HelperMemberSchema as is, DeviceTombstoneSchema as it, ConditionMirror as j, recordEntriesCapability as ja, commandOrigin as jc, keychainCapability as ji, COMPOSED_DEVICE_STABLE_ID_PREFIX as jl, assertStepsOffered as jn, templateCapability as jo, deviceOffersActions as jr, planStatisticTier as js, METHOD_ACCESS_MAP as jt, CalendarPreferencesSchema as k, readStoredRemoteConfig as ka, collectZodSecretPaths as kc, kebabToCamel as ki, vocabCall as kl, appendTrace as kn, switchCapability as ko, deviceHistoryCapability as kr, openStatistic as ks, KeychainResetRecordSchema as kt, ActionMinDelaySecSchema as l, parseAcceleratorFactsJson as la, RecordUniqueViolationError as lc, heroLayoutCapability as li, normalizeNodeId as ll, SetOscillationAxisInputSchema as ln, seedInstanceOnce as lo, consumablesCapability as lr, capAppliesToDeviceKind as ls, ExportNameRefusedError as lt, AutomationStateDocSchema as m, pickAppLinkHub as ma, UnindexedFilterError as mc, isAddonInstanceId as mi, readinessKey as ml, StorageMigrationJobSchema as mn, sharedColorModes as mo, coreBlocksCapability as mr, compositionItemFieldPath as ms, FanControlStatusSchema as mt, ACTION_TARGET_INVALIDATION_EVENTS as n, normalizeActionUnits as na, RUNTIME_DEFAULTS as nc, formatMinutes as ni, isSecretMarker as nl, STORAGE_ACCESS_FALLBACK as nn, runSteps as no, colorCapability as nr, HISTORY_SLOW_MS as ns, DeviceRunSchema as nt, AGENT_MDNS_TXT_KEYS as o, objectInputDeclaresRequiredDeviceId as oa, RecordKindDeclarationSchema as oc, groupCommandsCapability as oi, mapSecretLeaves as ol, SchedulerSchema as on, scopesAllowAddon as oo, compositionFieldKey as or, buildFfmpegArgs as os, EMPTY_AUTOMATION_STATE as ot, AlertSchema as p, petFountainWaterItem as pa, TransactRefusedError as pc, interpolate as pi, parseSecretRef as pl, StorageLocationTypeSchema as pn, sharedActuatorMethods as po, coreBlockSourceKind as pr, compositionFeatureEnabled as ps, FIRST_LEVEL_MACRO_CLASSES as pt, DEVICE_SAN_USER_PREFIX as q, resolveLocationMode as qa, isCommand as qc, memoizePinnedFfmpeg as qi, canonicalStoredStepTargets as qn, weekdayOfLocalDate as qo, fanAxisPath as qr, NoCallerError as qs, PreferenceValueSchema as qt, ACTUATOR_METHODS as r, normalizeCoreBlockWrite as ra, ReadinessRegistry as rc, gbToBytes as ri, isSecretMarkerLike as rl, STORAGE_LOCATION_MODES as rn, runtimeFieldUnit as ro, compareVersions as rr, HOUR_MS as rs, DeviceStatusSchema as rt, ALL_CAPABILITY_DEFINITIONS as s, occurrenceOn as sa, RecordNotFoundError as sc, groupTemplate as si, nodeIdOfScopedKey as sl, ScopedTokenSchema as sn, scopesAllowDeviceCap as so, compositionSourceRefs as sr, canonicalStoredBlockTarget as ss, EMPTY_REMOTE_ASSUMED_STATE as st, ACTION_RUN_MAX_MS as t, nextTimeBoundaryInMs as ta, REMOVE_LEAF as tc, formatDeviceRevoker as ti, isSecretFieldView as tl, RunningStateStatusSchema as tn, runFanOut as to, collectWhenMirrorSources as tr, HISTORY_FAST_MS as ts, DeclaredDevices as tt, ActionStepSchema as u, parseColorInput as ua, RevConflictError as uc, instanceCodeHash as ui, normalizeSecretOwner as ul, SsoBridgeClaimsSchema as un, settingsStoreCapability as uo, coreBlockAddonId as ur, cloneStatefulExpressionMemory as us, FAN_CAPTURE_FIELDS as ut, BaseDevice as v, powerSourceCapability as va, actionEffect as vc, isArrayOutputSchema as vi, ruleFireOfClaim as vl, UserRecordSchema as vn, snapshotCapability as vo, dataStoreProviderCapability as vr, disarmRoseMemory as vs, FieldClaimSchema as vt, COMPOSED_ITEM_FIXED_FIELDS as w, processTimeZoneOr as wa, auditedFields as wc, isKernelDerivedFeature as wi, toNodeId as wl, addonSettingsCapability as wn, storageOccupancyCapability as wo, deriveBatteryPresence as wr, integrateReading as ws, HvacModeSchema as wt, CAMSTACK_APP_LINK_ORIGIN as x, prepareRecipeUnits as xa, asString$1 as xc, isCredentialTokenPayload as xi, secretTreeFromSchema as xl, actionsCapability as xn, storageAdminCapability as xo, declaredSeriesKind as xr, helperMembers as xs, HISTORY_ITEM_CATALOG as xt, BatteryStatusSchema as y, powerSourceLinkOfComposition as ya, asJsonObject as yc, isBuiltinTemplateId as yi, scopeKey as yl, actionSourceCapability as yn, splitTranslationRef as yo, databaseSnapshotCapability as yr, evaluateDerivative as ys, GroupCommandResultSchema as yt, DAY_NAMES as z, replacedFieldKeys as za, emitReadiness as zc, lockDoorLinkOfComposition as zi, buildDeviceEnrollmentLink as zn, userManagementCapability as zo, enumerateSchemaFields as zr, DEVICE_SETTINGS_CONTRIBUTION_METHODS as zs, PET_FOUNTAIN_WATER_KEY as zt };
|