@camstack/server 1.2.898 → 1.2.900
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 +12 -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 +1944 -1870
- package/dist/core/addon/hub-addon-api.js +1 -0
- package/dist/core/moleculer/moleculer.service.js +1 -0
- package/package.json +10 -15
- 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/composition-api.d.ts +37 -1
- package/system/dist/builtins/core-blocks/core-blocks.addon.d.ts +14 -0
- package/system/dist/builtins/core-blocks/core-blocks.addon.js +516 -7
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +516 -7
- package/system/dist/builtins/core-blocks/link-contributions.d.ts +85 -0
- package/system/dist/builtins/core-blocks/power-source-service.d.ts +25 -1
- 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-identifiers-action.d.ts +8 -0
- package/system/dist/builtins/device-manager/device-identity-index.d.ts +56 -2
- package/system/dist/builtins/device-manager/device-manager.addon.d.ts +1 -0
- package/system/dist/builtins/device-manager/device-manager.addon.js +1329 -84
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +1316 -84
- package/system/dist/builtins/device-manager/device-meta-types.d.ts +9 -1
- package/system/dist/builtins/device-manager/device-provider-context.d.ts +3 -0
- package/system/dist/builtins/device-manager/device-row-store.d.ts +4 -2
- package/system/dist/builtins/device-manager/device-state-mirror.d.ts +7 -0
- package/system/dist/builtins/device-manager/identity-link-reconciler.d.ts +66 -0
- package/system/dist/builtins/device-manager/identity-links-store.d.ts +22 -0
- package/system/dist/builtins/device-manager/record-kinds.d.ts +2 -1
- 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-BWS0KTbm.js → capture-engine-B3csK2sW.js} +1 -1
- package/system/dist/{capture-engine-DBQDaDxJ.mjs → capture-engine-CCAzcezv.mjs} +1 -1
- package/system/dist/{composition-sources-CGUWmf-T.mjs → composition-sources-BX7u-Hdf.mjs} +1 -1
- package/system/dist/{composition-sources-CDOW1dnY.js → composition-sources-Bkbk5Oh5.js} +1 -1
- package/system/dist/{constants-BwrRoq-j.js → constants-BqxCksdV.js} +1 -1
- package/system/dist/{constants-BmrLkwZs.mjs → constants-_bOm_ae5.mjs} +1 -1
- package/system/dist/{device-ca-BGgZXEto.mjs → device-ca-DRqN1P5Y.mjs} +1 -1
- package/system/dist/{device-ca-DiuwWyZY.js → device-ca-KNx_DazP.js} +1 -1
- package/system/dist/{dist-CCd8IeIU.js → dist-BNrIzdrJ.js} +514 -7
- package/system/dist/{dist-D7t8wLTF.mjs → dist-S-zGcCEr.mjs} +455 -8
- 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-DSdbZxeR.mjs} +1 -1
- package/system/dist/{hub-identity-G_ZdyPpc.js → hub-identity-pN0LtUhx.js} +1 -1
- package/system/dist/{hub-mdns-ciao-CKD4EgkG.js → hub-mdns-ciao-GafEbDm8.js} +2 -2
- package/system/dist/{hub-mdns-ciao-D5RxSMrH.mjs → hub-mdns-ciao-wAcv5VBY.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--186Wij_.mjs} +1 -1
- package/system/dist/{legacy-integration-rows-door-BgCl68ek.js → legacy-integration-rows-door-B1swGb0r.js} +1 -1
- package/system/dist/{rename-composition-block-DNO3mNEO.mjs → rename-composition-block-Cf5syiM4.mjs} +1 -1
- package/system/dist/{rename-composition-block-2Z2ED7Og.js → rename-composition-block-gJ_4GdHr.js} +1 -1
- package/system/dist/{restore-archive-2L5TymvF.mjs → restore-archive-D7UwwT1L.mjs} +82 -82
- package/system/dist/{restore-archive-CZkQO8t3.js → restore-archive-DXi9iBay.js} +1 -1
- package/system/dist/{wal-maintenance-YjDJ73Qd.js → wal-maintenance-BA9XNPvt.js} +0 -0
- package/system/dist/{wal-maintenance-BMYe_n18.mjs → wal-maintenance-s3KdED98.mjs} +0 -0
- package/system/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import "node:crypto";
|
|
3
|
-
//#region ../types/dist/event-category-
|
|
3
|
+
//#region ../types/dist/event-category-7P4A3bYA.mjs
|
|
4
4
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
5
5
|
EventCategory["SystemBoot"] = "system.boot";
|
|
6
6
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -231,6 +231,20 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
231
231
|
* dropped) — consumers MUST also gate on the device record's `probed` flag.
|
|
232
232
|
*/
|
|
233
233
|
EventCategory["DeviceReady"] = "device.ready";
|
|
234
|
+
/**
|
|
235
|
+
* An identity link (D1063) became `linked` — auto on strong evidence or
|
|
236
|
+
* confirmed by the operator — or a confirmed link's evidence came back. Telemetry: the `identity-links` record is the
|
|
237
|
+
* truth, and core-blocks reconciles its contributions from it as well.
|
|
238
|
+
* Payload: `IdentityLinkEventPayload`.
|
|
239
|
+
*/
|
|
240
|
+
EventCategory["IdentityLinkCreated"] = "identity-link.created";
|
|
241
|
+
/**
|
|
242
|
+
* A `linked` identity link stopped acting: its evidence is gone (an auto link
|
|
243
|
+
* is deleted; an operator-confirmed one stays `linked`, flagged
|
|
244
|
+
* `evidenceGone`, and no longer acts), a side was removed, or the operator
|
|
245
|
+
* unlinked it. Payload: `IdentityLinkEventPayload` with `reason`.
|
|
246
|
+
*/
|
|
247
|
+
EventCategory["IdentityLinkLost"] = "identity-link.lost";
|
|
234
248
|
EventCategory["IntegrationEnabled"] = "integration.enabled";
|
|
235
249
|
EventCategory["IntegrationDisabled"] = "integration.disabled";
|
|
236
250
|
EventCategory["IntegrationDeleted"] = "integration.deleted";
|
|
@@ -1298,7 +1312,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
1298
1312
|
*/
|
|
1299
1313
|
var COMPOSED_DEVICE_STABLE_ID_PREFIX = "composed-";
|
|
1300
1314
|
//#endregion
|
|
1301
|
-
//#region ../types/dist/sleep-
|
|
1315
|
+
//#region ../types/dist/sleep-C9eelFbV.mjs
|
|
1302
1316
|
/**
|
|
1303
1317
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
1304
1318
|
* window to float samples (D455).
|
|
@@ -13723,6 +13737,17 @@ var CAP_VOCABULARY_BY_NAME = {
|
|
|
13723
13737
|
},
|
|
13724
13738
|
notOperatorFacing: { resync: "device adoption — re-aligning a device with its source is an onboarding step, not an automation action" }
|
|
13725
13739
|
},
|
|
13740
|
+
"device-state-refresh": {
|
|
13741
|
+
scope: "device",
|
|
13742
|
+
noun: {
|
|
13743
|
+
en: "State refresh",
|
|
13744
|
+
it: "Aggiornamento dello stato"
|
|
13745
|
+
},
|
|
13746
|
+
notOperatorFacing: {
|
|
13747
|
+
refresh: "the core schedules state refreshes itself; an operator never asks for one",
|
|
13748
|
+
resubscribe: "the core schedules state refreshes itself; an operator never asks for one"
|
|
13749
|
+
}
|
|
13750
|
+
},
|
|
13726
13751
|
"recording": {
|
|
13727
13752
|
scope: "device",
|
|
13728
13753
|
noun: {
|
|
@@ -17026,6 +17051,7 @@ var CAP_NAMES = Object.freeze([
|
|
|
17026
17051
|
"device-removal-hook",
|
|
17027
17052
|
"device-runs",
|
|
17028
17053
|
"device-state",
|
|
17054
|
+
"device-state-refresh",
|
|
17029
17055
|
"device-status",
|
|
17030
17056
|
"device-transitions",
|
|
17031
17057
|
"dishwasher",
|
|
@@ -19733,7 +19759,7 @@ function sleep(ms) {
|
|
|
19733
19759
|
return new Promise((resolve) => setTimeout(resolve, Math.max(0, ms)));
|
|
19734
19760
|
}
|
|
19735
19761
|
//#endregion
|
|
19736
|
-
//#region ../types/dist/implemented-methods-
|
|
19762
|
+
//#region ../types/dist/implemented-methods-DXeNAPAS.mjs
|
|
19737
19763
|
var AUDIO_ENCODER_BY_CODEC = {
|
|
19738
19764
|
opus: "libopus",
|
|
19739
19765
|
aac: "aac",
|
|
@@ -22408,6 +22434,8 @@ var CompositionItemEntrySchema = z.object({
|
|
|
22408
22434
|
*/
|
|
22409
22435
|
reset: CompositionForwardCommandSchema.optional()
|
|
22410
22436
|
});
|
|
22437
|
+
/** Which identity link added a feature (D1063). */
|
|
22438
|
+
var CompositionContributedBySchema = z.object({ linkId: z.string().min(1) });
|
|
22411
22439
|
var CompositionFieldsFeatureSchema = z.object({
|
|
22412
22440
|
kind: z.literal("fields"),
|
|
22413
22441
|
cap: z.string().min(1),
|
|
@@ -22419,7 +22447,14 @@ var CompositionFieldsFeatureSchema = z.object({
|
|
|
22419
22447
|
*/
|
|
22420
22448
|
items: z.record(z.string().regex(COMPOSITION_ITEM_KEY_RE), CompositionItemEntrySchema).refine((items) => Object.keys(items).length <= 16, { message: `at most 16 items` }).optional(),
|
|
22421
22449
|
/** Method name → what serves it. Only a BUILT capability takes commands (D967). */
|
|
22422
|
-
commands: z.record(z.string().min(1), CompositionCommandTargetSchema).optional()
|
|
22450
|
+
commands: z.record(z.string().min(1), CompositionCommandTargetSchema).optional(),
|
|
22451
|
+
/**
|
|
22452
|
+
* Provenance only (D1063): the identity link that added this feature. The
|
|
22453
|
+
* source ref stays in `fields`; `enabled` stays the operator's switch. An
|
|
22454
|
+
* operator edit of the source drops the stamp and the feature becomes the
|
|
22455
|
+
* operator's; a lost link removes only stamped features.
|
|
22456
|
+
*/
|
|
22457
|
+
contributedBy: CompositionContributedBySchema.optional()
|
|
22423
22458
|
});
|
|
22424
22459
|
/** RESERVED for slice 3: a media / data-plane cap, whole, from one source. */
|
|
22425
22460
|
var CompositionPassthroughFeatureSchema = z.object({
|
|
@@ -62554,7 +62589,8 @@ var CompositionProblemCodeSchema = z.enum([
|
|
|
62554
62589
|
"command-source-unknown",
|
|
62555
62590
|
"command-input-unknown",
|
|
62556
62591
|
"command-input-missing",
|
|
62557
|
-
"power-source-is-actuator"
|
|
62592
|
+
"power-source-is-actuator",
|
|
62593
|
+
"link-contribution-removed"
|
|
62558
62594
|
]);
|
|
62559
62595
|
/** One refusal, named (D391). `path` points into the composition, e.g. `features[0].fields.temperature`. */
|
|
62560
62596
|
var CompositionProblemSchema = z.object({
|
|
@@ -68499,7 +68535,9 @@ var PowerSourceRefusalReasonSchema = z.enum([
|
|
|
68499
68535
|
"switch-call-failed",
|
|
68500
68536
|
"switch-options-unreadable",
|
|
68501
68537
|
"not-settable",
|
|
68502
|
-
"switch-is-actuator"
|
|
68538
|
+
"switch-is-actuator",
|
|
68539
|
+
"link-lost",
|
|
68540
|
+
"link-unknown"
|
|
68503
68541
|
]);
|
|
68504
68542
|
var PowerSourceActionResultSchema = z.discriminatedUnion("accepted", [z.object({ accepted: z.literal(true) }), z.object({
|
|
68505
68543
|
accepted: z.literal(false),
|
|
@@ -68694,7 +68732,8 @@ function powerSourceLinkOfComposition(composition, blockId) {
|
|
|
68694
68732
|
return {
|
|
68695
68733
|
device,
|
|
68696
68734
|
switch: read.source,
|
|
68697
|
-
offSeconds: normalizeOffSeconds(storedOffSeconds(composition))
|
|
68735
|
+
offSeconds: normalizeOffSeconds(storedOffSeconds(composition)),
|
|
68736
|
+
...feature.contributedBy === void 0 ? {} : { contributedBy: feature.contributedBy }
|
|
68698
68737
|
};
|
|
68699
68738
|
}
|
|
68700
68739
|
var ACTUATOR_CAP = "switch";
|
|
@@ -71921,6 +71960,119 @@ var IdentityCandidatesSchema = z.discriminatedUnion("status", [z.object({
|
|
|
71921
71960
|
pairs: z.array(IdentityCandidatePairSchema).readonly(),
|
|
71922
71961
|
undeclaredDeviceIds: z.array(z.number().int()).readonly()
|
|
71923
71962
|
})]);
|
|
71963
|
+
var IdentityLinkKindSchema = z.enum(["same-device", "poe-power"]);
|
|
71964
|
+
/**
|
|
71965
|
+
* - `proposed` — one strong key matched: waits for the operator;
|
|
71966
|
+
* - `linked` — confirmed by the operator, or auto-linked on strong evidence;
|
|
71967
|
+
* - `dismissed` — the operator said no (or unlinked): sticky, never re-proposed.
|
|
71968
|
+
*/
|
|
71969
|
+
var IdentityLinkStateSchema = z.enum([
|
|
71970
|
+
"proposed",
|
|
71971
|
+
"linked",
|
|
71972
|
+
"dismissed"
|
|
71973
|
+
]);
|
|
71974
|
+
/** Who decided the current state: the matcher (`auto`) or the operator. */
|
|
71975
|
+
var IdentityLinkOriginSchema = z.enum(["auto", "operator"]);
|
|
71976
|
+
/** One side: the device ref that survives re-registration, plus its current numeric id. */
|
|
71977
|
+
var IdentityLinkSideSchema = z.object({
|
|
71978
|
+
addonId: z.string().min(1),
|
|
71979
|
+
stableId: z.string().min(1),
|
|
71980
|
+
deviceId: z.number().int()
|
|
71981
|
+
});
|
|
71982
|
+
/** The stored body of one `identity-links` record. */
|
|
71983
|
+
var IdentityLinkBodySchema = z.object({
|
|
71984
|
+
kind: IdentityLinkKindSchema,
|
|
71985
|
+
a: IdentityLinkSideSchema,
|
|
71986
|
+
b: IdentityLinkSideSchema,
|
|
71987
|
+
state: IdentityLinkStateSchema,
|
|
71988
|
+
origin: IdentityLinkOriginSchema,
|
|
71989
|
+
/** The identifiers that matched when the link was last evaluated, ordered by key then value. */
|
|
71990
|
+
evidence: z.array(IdentityMatchedKeySchema).readonly(),
|
|
71991
|
+
/** An operator-confirmed link whose evidence no longer matches: kept, flagged. */
|
|
71992
|
+
evidenceGone: z.literal(true).optional(),
|
|
71993
|
+
createdAt: z.number().int().nonnegative(),
|
|
71994
|
+
decidedAt: z.number().int().nonnegative().optional()
|
|
71995
|
+
});
|
|
71996
|
+
var IdentityLinkSchema = IdentityLinkBodySchema.extend({ id: z.string().min(1) });
|
|
71997
|
+
/** The one table of link kinds. */
|
|
71998
|
+
var IDENTITY_LINK_KINDS = {
|
|
71999
|
+
"same-device": {
|
|
72000
|
+
directional: false,
|
|
72001
|
+
attachingRole: null,
|
|
72002
|
+
contributions: []
|
|
72003
|
+
},
|
|
72004
|
+
"poe-power": {
|
|
72005
|
+
directional: true,
|
|
72006
|
+
attachingRole: DeviceRole.PoePort,
|
|
72007
|
+
contributions: [{
|
|
72008
|
+
cap: "power-source",
|
|
72009
|
+
targetId: "switch",
|
|
72010
|
+
host: "b",
|
|
72011
|
+
source: "a",
|
|
72012
|
+
sourceCap: "switch",
|
|
72013
|
+
sourceField: "on"
|
|
72014
|
+
}]
|
|
72015
|
+
}
|
|
72016
|
+
};
|
|
72017
|
+
/** Whether the attaching side of `kind` may be a device of `aRole`. */
|
|
72018
|
+
function identityLinkSidesRefusal(kind, aRole) {
|
|
72019
|
+
const required = IDENTITY_LINK_KINDS[kind].attachingRole;
|
|
72020
|
+
if (required === null) return null;
|
|
72021
|
+
return aRole === required ? null : "attaching-side-role";
|
|
72022
|
+
}
|
|
72023
|
+
function refKey(ref) {
|
|
72024
|
+
return `${ref.addonId}/${ref.stableId}`;
|
|
72025
|
+
}
|
|
72026
|
+
/**
|
|
72027
|
+
* The record id of a link: `<kind>:<refA>|<refB>`. A symmetric kind sorts the
|
|
72028
|
+
* two refs, so either order names one row; a directional kind keeps `a` first.
|
|
72029
|
+
*/
|
|
72030
|
+
function identityLinkId(kind, a, b) {
|
|
72031
|
+
const x = refKey(a);
|
|
72032
|
+
const y = refKey(b);
|
|
72033
|
+
if (IDENTITY_LINK_KINDS[kind].directional || x <= y) return `${kind}:${x}|${y}`;
|
|
72034
|
+
return `${kind}:${y}|${x}`;
|
|
72035
|
+
}
|
|
72036
|
+
/**
|
|
72037
|
+
* The answer of `device-manager.listIdentityLinks`. `not-loaded` until the
|
|
72038
|
+
* links have been read — never an empty list (D315).
|
|
72039
|
+
*/
|
|
72040
|
+
var IdentityLinksReadSchema = z.discriminatedUnion("status", [z.object({
|
|
72041
|
+
status: z.literal("not-loaded"),
|
|
72042
|
+
reason: z.string()
|
|
72043
|
+
}), z.object({
|
|
72044
|
+
status: z.literal("answered"),
|
|
72045
|
+
links: z.array(IdentityLinkSchema).readonly()
|
|
72046
|
+
})]);
|
|
72047
|
+
/** Why an operator decision on a link was refused. */
|
|
72048
|
+
var IdentityLinkDecisionRefusalSchema = z.enum([
|
|
72049
|
+
"not-loaded",
|
|
72050
|
+
"unknown-link",
|
|
72051
|
+
"wrong-state"
|
|
72052
|
+
]);
|
|
72053
|
+
/** The answer of `confirmIdentityLink` / `dismissIdentityLink` / `unlinkIdentity`. */
|
|
72054
|
+
var IdentityLinkDecisionSchema = z.discriminatedUnion("ok", [z.object({
|
|
72055
|
+
ok: z.literal(true),
|
|
72056
|
+
link: IdentityLinkSchema
|
|
72057
|
+
}), z.object({
|
|
72058
|
+
ok: z.literal(false),
|
|
72059
|
+
reason: IdentityLinkDecisionRefusalSchema,
|
|
72060
|
+
message: z.string()
|
|
72061
|
+
})]);
|
|
72062
|
+
/** Why a link was lost. */
|
|
72063
|
+
var IdentityLinkLostReasonSchema = z.enum([
|
|
72064
|
+
"evidence-gone",
|
|
72065
|
+
"device-removed",
|
|
72066
|
+
"operator-unlinked"
|
|
72067
|
+
]);
|
|
72068
|
+
z.object({
|
|
72069
|
+
linkId: z.string(),
|
|
72070
|
+
kind: IdentityLinkKindSchema,
|
|
72071
|
+
aDeviceId: z.number().int(),
|
|
72072
|
+
bDeviceId: z.number().int(),
|
|
72073
|
+
origin: IdentityLinkOriginSchema,
|
|
72074
|
+
reason: IdentityLinkLostReasonSchema.optional()
|
|
72075
|
+
});
|
|
71924
72076
|
var DeviceSearchRequiresSchema = z.object({
|
|
71925
72077
|
/** Capability names the field wants a value of. Absent when the field wants actions only. */
|
|
71926
72078
|
caps: z.array(z.string()).readonly().optional(),
|
|
@@ -72487,6 +72639,11 @@ var DeviceInfoSchema = z.object({
|
|
|
72487
72639
|
* the owning provider via `setIdentifiers`; read-only for the operator.
|
|
72488
72640
|
* Absent ⇒ the provider declared none. */
|
|
72489
72641
|
identifiers: DeviceIdentifiersSchema.optional(),
|
|
72642
|
+
/** The identity of the device at the far end of this device's physical
|
|
72643
|
+
* link (D1059 amended by D1063) — a PoE port's wired client. Written only by
|
|
72644
|
+
* the owning provider via `setAttachedIdentifiers`; it never makes the two
|
|
72645
|
+
* devices the same device. Absent ⇒ none declared. */
|
|
72646
|
+
attachedIdentifiers: DeviceIdentifiersSchema.optional(),
|
|
72490
72647
|
/** Optional upstream-system identity + rendering envelope. See
|
|
72491
72648
|
* `SourceInfo` in `packages/types/src/device/source-info.ts`. */
|
|
72492
72649
|
sourceInfo: SourceInfoSchema.optional(),
|
|
@@ -72655,6 +72812,8 @@ var DeviceMetaSchema = z.object({
|
|
|
72655
72812
|
metadata: z.record(z.string(), z.unknown()).nullable().optional(),
|
|
72656
72813
|
/** Provider-declared identifiers (D1059). See `DeviceMeta.identifiers`. */
|
|
72657
72814
|
identifiers: DeviceIdentifiersSchema.optional(),
|
|
72815
|
+
/** The far end of the device's physical link (D1063). See `DeviceMeta.attachedIdentifiers`. */
|
|
72816
|
+
attachedIdentifiers: DeviceIdentifiersSchema.optional(),
|
|
72658
72817
|
/** Optional upstream-system identity + rendering envelope. See
|
|
72659
72818
|
* `SourceInfo`. Present when the device has been persisted with a
|
|
72660
72819
|
* non-synthetic source identifier (HA entities, vendor MAC, …);
|
|
@@ -73168,6 +73327,46 @@ var deviceManagerCapability = {
|
|
|
73168
73327
|
kind: "query",
|
|
73169
73328
|
auth: "admin"
|
|
73170
73329
|
}),
|
|
73330
|
+
/** Declare the identity of the device at the FAR END of this device's
|
|
73331
|
+
* physical link (D1063 amending D1059) — a PoE port's wired client: its MAC,
|
|
73332
|
+
* its IP. Same owner check, normalisation and merge as `setIdentifiers`
|
|
73333
|
+
* (`unread` keeps the stored value), its own column. It never makes the two
|
|
73334
|
+
* devices the same device: it feeds directional identity links only. */
|
|
73335
|
+
setAttachedIdentifiers: method(z.object({
|
|
73336
|
+
deviceId: z.number(),
|
|
73337
|
+
identifiers: DeviceIdentifiersSchema.nullable(),
|
|
73338
|
+
/** Kinds the provider tried to read and could not: their stored value is kept. */
|
|
73339
|
+
unread: z.array(DeviceIdentifierKeySchema).optional()
|
|
73340
|
+
}), z.void(), {
|
|
73341
|
+
kind: "mutation",
|
|
73342
|
+
auth: "admin"
|
|
73343
|
+
}),
|
|
73344
|
+
/** Identity links (D1063): `proposed`, `linked` and `dismissed` relations
|
|
73345
|
+
* between devices of different integrations, decided from their declared
|
|
73346
|
+
* identifiers. With `deviceId`, only the links naming that device.
|
|
73347
|
+
* `not-loaded` until the links have been read — never an empty list. */
|
|
73348
|
+
listIdentityLinks: method(z.object({ deviceId: z.number().int().optional() }), IdentityLinksReadSchema, {
|
|
73349
|
+
kind: "query",
|
|
73350
|
+
auth: "admin"
|
|
73351
|
+
}),
|
|
73352
|
+
/** Confirm a `proposed` link: it becomes `linked` by the operator and its
|
|
73353
|
+
* default contributions are added. Refused by name when the link is unknown
|
|
73354
|
+
* or not `proposed`. */
|
|
73355
|
+
confirmIdentityLink: method(z.object({ linkId: z.string().min(1) }), IdentityLinkDecisionSchema, {
|
|
73356
|
+
kind: "mutation",
|
|
73357
|
+
auth: "admin"
|
|
73358
|
+
}),
|
|
73359
|
+
/** Dismiss a `proposed` link: sticky, never proposed again. */
|
|
73360
|
+
dismissIdentityLink: method(z.object({ linkId: z.string().min(1) }), IdentityLinkDecisionSchema, {
|
|
73361
|
+
kind: "mutation",
|
|
73362
|
+
auth: "admin"
|
|
73363
|
+
}),
|
|
73364
|
+
/** Unlink a `linked` link: it becomes `dismissed` (sticky) and its stamped
|
|
73365
|
+
* contributions are removed. */
|
|
73366
|
+
unlinkIdentity: method(z.object({ linkId: z.string().min(1) }), IdentityLinkDecisionSchema, {
|
|
73367
|
+
kind: "mutation",
|
|
73368
|
+
auth: "admin"
|
|
73369
|
+
}),
|
|
73171
73370
|
/** Operator-curated location registry. Returns the union of:
|
|
73172
73371
|
* (1) labels persisted in the registry via `addLocation`, and
|
|
73173
73372
|
* (2) labels currently in use on at least one device's
|
|
@@ -74966,6 +75165,110 @@ onChanged: event(z.object({
|
|
|
74966
75165
|
vocabulary: { notOperatorFacing: "the runtime-state mirror every trigger already reads through" }
|
|
74967
75166
|
};
|
|
74968
75167
|
/**
|
|
75168
|
+
* Server-driven device state refresh (D1062): the core decides WHEN a device is
|
|
75169
|
+
* re-read, the integration only knows HOW.
|
|
75170
|
+
*
|
|
75171
|
+
* A provider states its policy where it registers the device's
|
|
75172
|
+
* `device-state-refresh` cap (`ctx.registerNativeCap(cap, provider, {
|
|
75173
|
+
* stateRefresh })`). It reaches the hub by the road the command-hold options
|
|
75174
|
+
* take (D1061): written directly in-process, carried on a forked child's cap
|
|
75175
|
+
* descriptors otherwise. Plain data, wire-safe.
|
|
75176
|
+
*/
|
|
75177
|
+
/** Why the core asks for a refresh. */
|
|
75178
|
+
var StateRefreshReasonSchema = z.enum([
|
|
75179
|
+
"schedule",
|
|
75180
|
+
"command",
|
|
75181
|
+
"burst"
|
|
75182
|
+
]);
|
|
75183
|
+
/**
|
|
75184
|
+
* What arrives without asking: `none` (everything is read), `partial` (some
|
|
75185
|
+
* fields arrive by push, the rest is read on the schedule), `full` (everything
|
|
75186
|
+
* arrives by push — never read on a schedule).
|
|
75187
|
+
*/
|
|
75188
|
+
var StateRefreshPushSchema = z.enum([
|
|
75189
|
+
"none",
|
|
75190
|
+
"partial",
|
|
75191
|
+
"full"
|
|
75192
|
+
]);
|
|
75193
|
+
z.object({
|
|
75194
|
+
/**
|
|
75195
|
+
* The integration instance the device belongs to. Devices of one instance
|
|
75196
|
+
* share one schedule group: a batching provider is asked once for all of
|
|
75197
|
+
* them, and the heartbeat is judged across them.
|
|
75198
|
+
*/
|
|
75199
|
+
integrationId: z.string().min(1),
|
|
75200
|
+
/** The fastest interval the integration can afford for its devices. The core polls at it by default. */
|
|
75201
|
+
minIntervalMs: z.number().int().min(1e3),
|
|
75202
|
+
/**
|
|
75203
|
+
* The operator's per-integration setting, when there is one. It can only SLOW
|
|
75204
|
+
* the cadence: the core polls at `max(minIntervalMs, intervalMs)`.
|
|
75205
|
+
*/
|
|
75206
|
+
intervalMs: z.number().int().positive().optional(),
|
|
75207
|
+
/** One `refresh` call can read every device of the integration at once. */
|
|
75208
|
+
batch: z.boolean(),
|
|
75209
|
+
push: StateRefreshPushSchema,
|
|
75210
|
+
/** Longest silence a push integration may keep before the core re-reads it and asks it to resubscribe. */
|
|
75211
|
+
heartbeatMs: z.number().int().positive().optional(),
|
|
75212
|
+
/**
|
|
75213
|
+
* Bumped by the provider each time its push subscription reconnected on its
|
|
75214
|
+
* own. A change makes the core re-read every device of the integration
|
|
75215
|
+
* (pushes lost while it was down; events may be dropped, D8).
|
|
75216
|
+
*/
|
|
75217
|
+
connectionEpoch: z.number().int().nonnegative().optional()
|
|
75218
|
+
});
|
|
75219
|
+
/** The cadence the core runs a policy at: the declared minimum, slowed (never sped up) by the setting. */
|
|
75220
|
+
function effectiveRefreshIntervalMs(policy) {
|
|
75221
|
+
const setting = policy.intervalMs ?? 0;
|
|
75222
|
+
return Math.max(policy.minIntervalMs, setting);
|
|
75223
|
+
}
|
|
75224
|
+
/** The burst after a command on a read (non-push) device: offsets from the command, in ms. */
|
|
75225
|
+
var COMMAND_BURST_OFFSETS_MS = [3e3, 1e4];
|
|
75226
|
+
/** How long the core waits for a push device to confirm a command before reading it once. */
|
|
75227
|
+
var PUSH_CONFIRM_WINDOW_MS = 2500;
|
|
75228
|
+
/**
|
|
75229
|
+
* device-state-refresh — the HOW of a device's state refresh, called by the
|
|
75230
|
+
* core, which owns the WHEN (D1062).
|
|
75231
|
+
*
|
|
75232
|
+
* The provider registers it per device with its policy
|
|
75233
|
+
* (`registerNativeCap(cap, provider, { stateRefresh })`). The hub's scheduler
|
|
75234
|
+
* calls `refresh` on the schedule, after a command and in the burst that
|
|
75235
|
+
* follows it, and `resubscribe` when a push integration fell silent. The
|
|
75236
|
+
* provider re-reads and writes the slices it already writes; nothing is
|
|
75237
|
+
* returned but completion.
|
|
75238
|
+
*/
|
|
75239
|
+
var DeviceStateRefreshInputSchema = z.object({
|
|
75240
|
+
/** The device the call is routed by (one of `deviceIds`). */
|
|
75241
|
+
deviceId: z.number().int().nonnegative(),
|
|
75242
|
+
/** Every device to re-read: one, or the integration's whole set when the provider batches. */
|
|
75243
|
+
deviceIds: z.array(z.number().int().nonnegative()).min(1),
|
|
75244
|
+
reason: StateRefreshReasonSchema
|
|
75245
|
+
});
|
|
75246
|
+
var DeviceStateResubscribeInputSchema = z.object({ deviceId: z.number().int().nonnegative() });
|
|
75247
|
+
var DeviceStateRefreshResultSchema = z.object({ ok: z.literal(true) });
|
|
75248
|
+
var NOT_OPERATOR_FACING = "the core schedules state refreshes itself; an operator never asks for one";
|
|
75249
|
+
var deviceStateRefreshCapability = {
|
|
75250
|
+
name: "device-state-refresh",
|
|
75251
|
+
scope: "device",
|
|
75252
|
+
deviceNative: true,
|
|
75253
|
+
mode: "singleton",
|
|
75254
|
+
methods: {
|
|
75255
|
+
refresh: method(DeviceStateRefreshInputSchema, DeviceStateRefreshResultSchema, {
|
|
75256
|
+
kind: "mutation",
|
|
75257
|
+
auth: "admin",
|
|
75258
|
+
notOperatorFacing: NOT_OPERATOR_FACING
|
|
75259
|
+
}),
|
|
75260
|
+
resubscribe: method(DeviceStateResubscribeInputSchema, DeviceStateRefreshResultSchema, {
|
|
75261
|
+
kind: "mutation",
|
|
75262
|
+
auth: "admin",
|
|
75263
|
+
notOperatorFacing: NOT_OPERATOR_FACING
|
|
75264
|
+
})
|
|
75265
|
+
},
|
|
75266
|
+
vocabulary: {
|
|
75267
|
+
noun: t("State refresh", "Aggiornamento dello stato"),
|
|
75268
|
+
order: 3247
|
|
75269
|
+
}
|
|
75270
|
+
};
|
|
75271
|
+
/**
|
|
74969
75272
|
* Generic device-level status snapshot. Auto-registered by `BaseDevice`
|
|
74970
75273
|
* for every device, regardless of provider — the kernel needs a uniform
|
|
74971
75274
|
* cap-keyed slice for the basic device flags every consumer expects to
|
|
@@ -114861,6 +115164,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
114861
115164
|
deviceRemovalHookCapability,
|
|
114862
115165
|
deviceRunsCapability,
|
|
114863
115166
|
deviceStateCapability,
|
|
115167
|
+
deviceStateRefreshCapability,
|
|
114864
115168
|
deviceStatusCapability,
|
|
114865
115169
|
deviceTransitionsCapability,
|
|
114866
115170
|
dishwasherCapability,
|
|
@@ -117713,6 +118017,62 @@ function lockDoorLinkOfComposition(composition) {
|
|
|
117713
118017
|
}
|
|
117714
118018
|
SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
|
|
117715
118019
|
String.raw`rose\(active(\d+), changed(\d+), (\d+(?:\.\d+)?)\)`;
|
|
118020
|
+
var catalog$3 = CAP_CUSTOMIZE_CATALOG;
|
|
118021
|
+
function scalarTargets(cap) {
|
|
118022
|
+
return (catalog$3[cap]?.targets ?? []).filter((target) => target.cardinality === "scalar" && target.path !== void 0);
|
|
118023
|
+
}
|
|
118024
|
+
/** How many scalar targets the cap declares: above one, the cap's feature is shared. */
|
|
118025
|
+
function scalarTargetCount(cap) {
|
|
118026
|
+
return scalarTargets(cap).length;
|
|
118027
|
+
}
|
|
118028
|
+
function valuePath(target) {
|
|
118029
|
+
return target.path ?? target.id;
|
|
118030
|
+
}
|
|
118031
|
+
function ownedPaths(target) {
|
|
118032
|
+
return [valuePath(target), ...(target.companions ?? []).map((companion) => companion.path)];
|
|
118033
|
+
}
|
|
118034
|
+
function find(cap, targetId) {
|
|
118035
|
+
return scalarTargets(cap).find((target) => target.id === targetId) ?? null;
|
|
118036
|
+
}
|
|
118037
|
+
/** The feature without its identity-link stamp. */
|
|
118038
|
+
function unstamped(feature) {
|
|
118039
|
+
const { contributedBy, ...rest } = feature;
|
|
118040
|
+
return contributedBy === void 0 ? feature : rest;
|
|
118041
|
+
}
|
|
118042
|
+
function without(fields, paths) {
|
|
118043
|
+
return Object.fromEntries(Object.entries(fields).filter(([path]) => !paths.has(path)));
|
|
118044
|
+
}
|
|
118045
|
+
/**
|
|
118046
|
+
* The cap's feature with `compiled` (one target's own feature) merged in. A cap
|
|
118047
|
+
* with one scalar target is replaced whole, as before.
|
|
118048
|
+
*/
|
|
118049
|
+
function mergeScalarTarget(current, compiled, cap, targetId) {
|
|
118050
|
+
const target = find(cap, targetId);
|
|
118051
|
+
if (current === null || target === null || scalarTargetCount(cap) < 2) return compiled;
|
|
118052
|
+
const kept = without(current.fields, new Set(ownedPaths(target)));
|
|
118053
|
+
return {
|
|
118054
|
+
...unstamped(current),
|
|
118055
|
+
...compiled,
|
|
118056
|
+
fields: {
|
|
118057
|
+
...kept,
|
|
118058
|
+
...compiled.fields
|
|
118059
|
+
}
|
|
118060
|
+
};
|
|
118061
|
+
}
|
|
118062
|
+
/** The cap's feature without `targetId`'s paths; null when no target value is left. */
|
|
118063
|
+
function removeScalarTarget(current, cap, targetId) {
|
|
118064
|
+
if (current === null) return null;
|
|
118065
|
+
const target = find(cap, targetId);
|
|
118066
|
+
if (target === null || scalarTargetCount(cap) < 2) return null;
|
|
118067
|
+
const stillAssigned = scalarTargets(cap).filter((row) => row.id !== targetId).filter((row) => current.fields[valuePath(row)] !== void 0);
|
|
118068
|
+
if (stillAssigned.length === 0) return null;
|
|
118069
|
+
const needed = new Set(stillAssigned.flatMap((row) => ownedPaths(row)));
|
|
118070
|
+
const drop = new Set(ownedPaths(target).filter((path) => !needed.has(path)));
|
|
118071
|
+
return {
|
|
118072
|
+
...unstamped(current),
|
|
118073
|
+
fields: without(current.fields, drop)
|
|
118074
|
+
};
|
|
118075
|
+
}
|
|
117716
118076
|
DeviceRole.BinarySensor, DeviceRole.MotionSensor;
|
|
117717
118077
|
new Set(CAP_NAMES);
|
|
117718
118078
|
function isUnfilledRequiredProblem(problem) {
|
|
@@ -118498,6 +118858,20 @@ var BaseDevice = class {
|
|
|
118498
118858
|
}, raw, options);
|
|
118499
118859
|
}
|
|
118500
118860
|
/**
|
|
118861
|
+
* Declare the identity of the device at the FAR END of this device's physical
|
|
118862
|
+
* link (D1063): a PoE port's wired client. Same normalisation, `unread`
|
|
118863
|
+
* rule and owner check as {@link declareIdentifiers}, written through
|
|
118864
|
+
* `device-manager.setAttachedIdentifiers`. It never makes the two devices the
|
|
118865
|
+
* same device. Best-effort: never throws.
|
|
118866
|
+
*/
|
|
118867
|
+
async declareAttachedIdentifiers(raw, options) {
|
|
118868
|
+
return declareDeviceIdentifiers({
|
|
118869
|
+
deviceId: this.id,
|
|
118870
|
+
logger: this.ctx.logger,
|
|
118871
|
+
writer: this.ctx.api.deviceManager?.setAttachedIdentifiers
|
|
118872
|
+
}, raw, options);
|
|
118873
|
+
}
|
|
118874
|
+
/**
|
|
118501
118875
|
* Re-publish the device's current `features` array to the persisted
|
|
118502
118876
|
* meta blob. Drivers call this after a probe finishes when the live
|
|
118503
118877
|
* `features` getter has gained new flags (e.g. `hasIntercom` flips
|
|
@@ -125342,6 +125716,13 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
125342
125716
|
access: "create",
|
|
125343
125717
|
role: "admin"
|
|
125344
125718
|
},
|
|
125719
|
+
"deviceManager.confirmIdentityLink": {
|
|
125720
|
+
capName: "device-manager",
|
|
125721
|
+
capScope: "system",
|
|
125722
|
+
addonId: null,
|
|
125723
|
+
access: "create",
|
|
125724
|
+
role: "admin"
|
|
125725
|
+
},
|
|
125345
125726
|
"deviceManager.createDevice": {
|
|
125346
125727
|
capName: "device-manager",
|
|
125347
125728
|
capScope: "system",
|
|
@@ -125391,6 +125772,13 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
125391
125772
|
access: "create",
|
|
125392
125773
|
role: "admin"
|
|
125393
125774
|
},
|
|
125775
|
+
"deviceManager.dismissIdentityLink": {
|
|
125776
|
+
capName: "device-manager",
|
|
125777
|
+
capScope: "system",
|
|
125778
|
+
addonId: null,
|
|
125779
|
+
access: "create",
|
|
125780
|
+
role: "admin"
|
|
125781
|
+
},
|
|
125394
125782
|
"deviceManager.enable": {
|
|
125395
125783
|
capName: "device-manager",
|
|
125396
125784
|
capScope: "system",
|
|
@@ -125587,6 +125975,13 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
125587
125975
|
access: "view",
|
|
125588
125976
|
role: "admin"
|
|
125589
125977
|
},
|
|
125978
|
+
"deviceManager.listIdentityLinks": {
|
|
125979
|
+
capName: "device-manager",
|
|
125980
|
+
capScope: "system",
|
|
125981
|
+
addonId: null,
|
|
125982
|
+
access: "view",
|
|
125983
|
+
role: "admin"
|
|
125984
|
+
},
|
|
125590
125985
|
"deviceManager.listLocationDescriptions": {
|
|
125591
125986
|
capName: "device-manager",
|
|
125592
125987
|
capScope: "system",
|
|
@@ -125783,6 +126178,13 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
125783
126178
|
access: "create",
|
|
125784
126179
|
role: "admin"
|
|
125785
126180
|
},
|
|
126181
|
+
"deviceManager.setAttachedIdentifiers": {
|
|
126182
|
+
capName: "device-manager",
|
|
126183
|
+
capScope: "system",
|
|
126184
|
+
addonId: null,
|
|
126185
|
+
access: "create",
|
|
126186
|
+
role: "admin"
|
|
126187
|
+
},
|
|
125786
126188
|
"deviceManager.setChildLayout": {
|
|
125787
126189
|
capName: "device-manager",
|
|
125788
126190
|
capScope: "system",
|
|
@@ -125944,6 +126346,13 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
125944
126346
|
access: "create",
|
|
125945
126347
|
role: "admin"
|
|
125946
126348
|
},
|
|
126349
|
+
"deviceManager.unlinkIdentity": {
|
|
126350
|
+
capName: "device-manager",
|
|
126351
|
+
capScope: "system",
|
|
126352
|
+
addonId: null,
|
|
126353
|
+
access: "delete",
|
|
126354
|
+
role: "admin"
|
|
126355
|
+
},
|
|
125947
126356
|
"deviceManager.updateConfig": {
|
|
125948
126357
|
capName: "device-manager",
|
|
125949
126358
|
capScope: "system",
|
|
@@ -126224,6 +126633,20 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
126224
126633
|
access: "create",
|
|
126225
126634
|
role: "admin"
|
|
126226
126635
|
},
|
|
126636
|
+
"deviceStateRefresh.refresh": {
|
|
126637
|
+
capName: "device-state-refresh",
|
|
126638
|
+
capScope: "device",
|
|
126639
|
+
addonId: null,
|
|
126640
|
+
access: "create",
|
|
126641
|
+
role: "admin"
|
|
126642
|
+
},
|
|
126643
|
+
"deviceStateRefresh.resubscribe": {
|
|
126644
|
+
capName: "device-state-refresh",
|
|
126645
|
+
capScope: "device",
|
|
126646
|
+
addonId: null,
|
|
126647
|
+
access: "create",
|
|
126648
|
+
role: "admin"
|
|
126649
|
+
},
|
|
126227
126650
|
"deviceStatus.getStatus": {
|
|
126228
126651
|
capName: "device-status",
|
|
126229
126652
|
capScope: "device",
|
|
@@ -134816,6 +135239,11 @@ Object.freeze({
|
|
|
134816
135239
|
form: "array",
|
|
134817
135240
|
optional: true
|
|
134818
135241
|
}],
|
|
135242
|
+
"deviceManager.listIdentityLinks": [{
|
|
135243
|
+
name: "deviceId",
|
|
135244
|
+
form: "single",
|
|
135245
|
+
optional: true
|
|
135246
|
+
}],
|
|
134819
135247
|
"deviceManager.loadConfig": [{
|
|
134820
135248
|
name: "deviceId",
|
|
134821
135249
|
form: "single",
|
|
@@ -134866,6 +135294,11 @@ Object.freeze({
|
|
|
134866
135294
|
form: "single",
|
|
134867
135295
|
optional: false
|
|
134868
135296
|
}],
|
|
135297
|
+
"deviceManager.setAttachedIdentifiers": [{
|
|
135298
|
+
name: "deviceId",
|
|
135299
|
+
form: "single",
|
|
135300
|
+
optional: false
|
|
135301
|
+
}],
|
|
134869
135302
|
"deviceManager.setChildLayout": [{
|
|
134870
135303
|
name: "deviceId",
|
|
134871
135304
|
form: "single",
|
|
@@ -135060,6 +135493,20 @@ Object.freeze({
|
|
|
135060
135493
|
form: "single",
|
|
135061
135494
|
optional: false
|
|
135062
135495
|
}],
|
|
135496
|
+
"deviceStateRefresh.refresh": [{
|
|
135497
|
+
name: "deviceId",
|
|
135498
|
+
form: "single",
|
|
135499
|
+
optional: false
|
|
135500
|
+
}, {
|
|
135501
|
+
name: "deviceIds",
|
|
135502
|
+
form: "array",
|
|
135503
|
+
optional: false
|
|
135504
|
+
}],
|
|
135505
|
+
"deviceStateRefresh.resubscribe": [{
|
|
135506
|
+
name: "deviceId",
|
|
135507
|
+
form: "single",
|
|
135508
|
+
optional: false
|
|
135509
|
+
}],
|
|
135063
135510
|
"deviceStatus.getStatus": [{
|
|
135064
135511
|
name: "deviceId",
|
|
135065
135512
|
form: "single",
|
|
@@ -139890,4 +140337,4 @@ function resolveCommandHold(cap, method, args, current, option, shown = current)
|
|
|
139890
140337
|
};
|
|
139891
140338
|
}
|
|
139892
140339
|
//#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 };
|
|
140340
|
+
export { DEVICE_TEMPLATE_VALUES_CAP as $, problemsBlockSave as $a, RecordUniqueViolationError as $c, isVoidInput as $i, normalizeNodeId as $l, buildCapabilityLookup as $n, shortHostname as $o, deviceStatusCapability as $r, cloneStatefulExpressionMemory as $s, PetFountainStatusSchema as $t, CatalogFileSchema as A, nextOccurrence as Aa, DEVICE_STATUS_METHOD as Ac, hostEngineDevice as Ai, entryBody as Al, TokenScopeSchema as An, resolveMutate as Ao, coreBlocksCapability as Ar, valveCapability as As, IDLE_ACTION_STATUS as At, DEFAULT_HOLD_OVERRIDE as B, parseAcceleratorFactsJson as Ba, RECORD_BATCH_MAX_BYTES as Bc, isAlertEpisodeSeverity as Bi, isEvent as Bl, addonSettingsCapability as Bn, sameIdentifiers as Bo, defineExtensionSlotProvider as Br, COMPOSER_ADDON_ID as Bs, MINUTES_PER_DAY as Bt, COMMAND_BURST_OFFSETS_MS as C, mergeScalarTarget as Ca, toExpressionValue as Cc, gbToBytes as Ci, customAction as Cl, StorageLocationModeSchema as Cn, resolveCommandHold as Co, compositionSourceRefs as Cr, timedRunSeconds as Cs, HISTORY_CATALOG as Ct, DeviceRole as Cu, CORE_BLOCK_ADDON_PREFIX as D, modeForSwitch as Da, CALLER_STAMPED_CAPABILITIES as Dc, groupTemplate as Di, defineRecordKinds as Dl, TagStyleSchema as Dn, resolveHubAddressRoles as Do, coreBlockComposition as Dr, validateComposition as Ds, HostedWithdrawalGate as Dt, EventCategory as Du, CORE_BLOCKS_ADDON_ID as E, migrationsCapability as Ea, BatchTooLargeError as Ec, groupCommandsCapability as Ei, defineEntryKind as El, TagNameSchema as En, resolveHeroLayout as Eo, coreBlockAddonId as Er, userManagementCapability as Es, HUB_MDNS_TXT_KEYS as Et, featuresOfBoundCaps as Eu, DATABASE_SNAPSHOT_PARTIAL_SUFFIX as F, normalizeUnit as Fa, HISTORY_DEFAULT_MIN_INTERVAL_MS as Fc, integrationInstancesCapability as Fi, historyUnitFor as Fl, actionSourceCapability as Fn, resolveTemplateRef as Fo, databaseSnapshotCapability as Fr, withDefaultRunning as Fs, KeychainResetRecordSchema as Ft, DEVICE_ID_FIELD as G, pickAppLinkHub as Ga, REMOVE_LEAF as Gc, isCredentialTokenPayload as Gi, isSecretFieldView as Gl, appendTrace as Gn, searchRank as Go, deviceExtensionCapability as Gr, HISTORY_SLOW_MS as Gs, NcTaggedRuleKindSchema as Gt, DEVICE_ENROLLMENT_TTL_MS as H, parseStreamParamsFormPatch as Ha, RECORD_SECRET_COLLECTION_PREFIX as Hc, isArrayOutputSchema as Hi, isKeychainStoredField as Hl, alertEpisodeId as Hn, scopesAllowAddon as Ho, describeComposableCaps as Hr, DAY_MS as Hs, MediaPlayerStatusSchema as Ht, DATABASE_SNAPSHOT_SUFFIX as I, objectInputDeclaresAddonId as Ia, InvalidRecordError as Ic, internalActionId as Ii, hydrateSchema as Il, actionWaitTotalMs as In, runFanOut as Io, declarationOwnerNodeId as Ir, withLocationMode as Is, LOG_LEVEL_RANK as It, DEVICE_SAN_USER_PREFIX as J, powerSourceActuatorConflicts as Ja, ReadinessTimeoutError as Jc, isInternalActionId as Ji, isSecretRefOwnedBy as Jl, authProviderCapability as Jn, settingsStoreCapability as Jo, deviceOffersActions as Jr, MINUTE_MS as Js, PET_FOUNTAIN_WATER_KEY as Jt, DEVICE_NONCE_TTL_MS as K, planComposition as Ka, RUNTIME_DEFAULTS as Kc, isDefaultAppConnectionEndpoint as Ki, isSecretMarker as Kl, armRemovalReconcile as Kn, seedInstanceOnce as Ko, deviceHistoryCapability as Kr, HOUR_MS as Ks, NetworkTunnelStartedDataSchema as Kt, DATABASE_SNAPSHOT_TIMEOUT_MS as L, objectInputDeclaresRequiredDeviceId as La, NoCallerError as Lc, interpolate as Li, isCommand as Ll, actionsCapability as Ln, runSteps as Lo, declaredSeriesKind as Lr, workloadCapability as Ls, LowPowerSleepStatusSchema as Lt, ConsumableItemSchema as M, normalizeActionUnits as Ma, DeviceTransitionSchema as Mc, identityLinkId as Mi, formatSecretScope as Ml, UserRecordSchema as Mn, resolveRemoteSource as Mo, createDeviceExtensionProvider as Mr, vectorIndexDimConflictError as Ms, IdentityLinkBodySchema as Mt, CoreBlockSchema as N, normalizeCoreBlockWrite as Na, FilterRequiredError as Nc, identityLinkSidesRefusal as Ni, getDebugInterest as Nl, WORKLOAD_TRANSITION_CATEGORY as Nn, resolveRunnerId as No, customKeyOfRole as Nr, vectorStoreCapability as Ns, KEYCHAIN_RESET_TRIGGER_ACTOR as Nt, CREDENTIAL_TOKEN_AUDIENCE as O, modeMayWrite as Oa, DATAPLANE_SECRET_HEADER as Oc, hasTimeLeaves as Oi, emitDownForOwnedCaps as Ol, TagsFieldSchema as On, resolveLocationMode as Oo, coreBlockIdFromAddonId as Or, validateCustomAddress as Os, HvacModeSchema as Ot, CredentialTokenClaimsSchema as P, normalizeTags as Pa, ForeignSecretMarkerError as Pc, instanceCodeHash as Pi, historyItemFieldPath as Pl, WorkloadStateSchema as Pn, resolveStepArgs as Po, dataStoreProviderCapability as Pr, weekdayOfLocalDate as Ps, KeychainAuditEntrySchema as Pt, DEVICE_TEMPLATE_THIS_ALIAS as Q, prepareRecipeUnits as Qa, RecordTooLargeError as Qc, isSameAddonId as Qi, nodePin as Ql, buildActionSteps as Qn, sharedColorModes as Qo, deviceStateCapability as Qr, capAppliesToDeviceKind as Qs, PackageRequiresSchema as Qt, DATA_STORE_DATABASES as R, occurrenceOn as Ra, PlaintextSecretError as Rc, isAddonInstanceId as Ri, isDebugChannelName as Rl, addonIdOfActionId as Rn, runtimeFieldUnit as Ro, decodeVectorBase64 as Rr, workloadTransition as Rs, METHOD_ACCESS_MAP as Rt, CATALOG_LANGS as S, mergeIdentifiers as Sa, statisticCadenceMs as Sc, formatMinutes as Si, createEvent as Sl, StorageCleanupJobSchema as Sn, resolveBucketMs as So, compositionFieldKey as Sr, timedRunQuickRun as Ss, GroupCommandResultSchema as St, DeviceFeature as Su, COMPOSER_RUNNER_ID as T, metricsProviderCapability as Ta, BaseAddon as Tc, generateDeviceAlias as Ti, defineCustomActions as Tl, StorageMigrationJobSchema as Tn, resolveCoreBlockFiles as To, consumablesCapability as Tr, unmetRequirements as Ts, HUB_MDNS_SERVICE_TYPE as Tt, errMsg as Tu, DEVICE_HISTORY_ENERGY_KEY as U, petFountainCapability as Ua, RECORD_SWEEP_INTERVAL_MS as Uc, isBuiltinTemplateId as Ui, isReadingQuantity as Ul, alertEpisodePayload as Un, scopesAllowDeviceCap as Uo, describeUnmet as Ur, DEFAULT_HISTORY_RETENTION as Us, MigrationLedgerEntrySchema as Ut, DERIVED_CAMERA_SILENCED_CAP_NAMES as V, parseColorInput as Va, RECORD_DELETE_BATCH as Vc, isAppLinkBase as Vi, isInstanceEnabled as Vl, addonWidgetsCapability as Vn, schedulersCapability as Vo, deriveBatteryPresence as Vr, CompositionSchema as Vs, MOTION_CLOSE_AFTER_MS as Vt, DEVICE_IDENTIFIER_KEYS as W, petFountainWaterItem as Wa, REDACTED_SECRET as Wc, isCollectionArrayMethod as Wi, isSecretClear as Wl, alertsCapability as Wn, scoreRuntimes as Wo, deviceCredentialsCapability as Wr, HISTORY_FAST_MS as Ws, MigrationMetaSchema as Wt, DEVICE_TEMPLATE_MAX_LENGTH as X, powerSourceLinkOfComposition as Xa, RecordKindDeclarationSchema as Xc, isLocationEnabled as Xi, mapSecretLeaves as Xl, bareAddonId as Xn, sharedActuatorFeatures as Xo, deviceRunsCapability as Xr, canonicalStoredBlockTarget as Xs, PROPOSAL_MIN_SPAN_MS as Xt, DEVICE_TEMPLATE_FILTERS as Y, powerSourceCapability as Ya, RecordIntegrationInstances as Yc, isKernelDerivedFeature as Yi, makeSecretMarker as Yl, backupCapability as Yn, settleDeviceFeatures as Yo, deviceRemovalHookCapability as Yr, buildFfmpegArgs as Ys, PREFERENCES_MAX_VALUE_BYTES as Yt, DEVICE_TEMPLATE_MAX_OUTPUT as Z, preconditionOf as Za, RecordNotFoundError as Zc, isObjectInput as Zi, nodeIdOfScopedKey as Zl, brightnessCapability as Zn, sharedActuatorMethods as Zo, deviceSleeps as Zr, canonicalStoredDeviceType as Zs, PUSH_CONFIRM_WINDOW_MS as Zt, BUILTIN_REMOTE_COMPONENTS as _, mayReadLocation as _a, nextLocalMidnight as _c, featureForwards as _i, collectSecretLeaves as _l, SchedulerSchema as _n, renameInTags as _o, colorCapability as _r, tagsCapability as _s, FanControlStatusSchema as _t, userError as _u, AGENT_MDNS_SERVICE_TYPE as a, legacyModeOf as aa, compositionSourceKey as ac, evaluateCompositionField as ai, UnknownRecordKindError as al, RECORDING_SOURCE_CAMSTACK_ADDON as an, readRecipeLiteral as ao, calendarsCapability as ar, storageAdminCapability as as, DeviceRunSchema as at, recordSecretRef as au, CAMSTACK_APP_LINK_ORIGIN as b, mediaPlayerFeaturesOfRoles as ba, planResetTier as bc, foldSnapshotByFunction as bi, commandEffect as bl, SetOscillationAxisInputSchema as bn, resolveActionVariables as bo, compileScalarOverride as br, timedRunLimitOf as bs, FieldClaimModeSchema as bt, withoutCallerStamp as bu, ActionError as c, localDateOf as ca, evaluateDerivative as cc, evictionPolicyOfLocation as ci, actionEffect as cl, RecordingStatusSchema as cn, recordEntriesCapability as co, canonicalStoredStepTargets as cr, storageOccupancyCapability as cs, DiscoveryProposalBodySchema as ct, ruleFireOfClaim as cu, ActionTargetResolver as d, lockControlCapability as da, historyRetentionFromSettings as dc, extractNestedAddonId as di, asString$1 as dl, RunningStateStatusSchema as dn, reexpandAutomationInstance as do, checkDeviceAlias as dr, streamQualityLabel as ds, EMPTY_REMOTE_CONFIG as dt, secretTreeFromSchema as du, isWorkloadSettled as ea, composedDeviceRef as ec, deviceTransitionsCapability as ei, RevConflictError as el, PowerSourceInfoSchema as en, procedureAuthKey as eo, buildDeviceEnrollmentLink as er, siteFor as es, DEVICE_TOMBSTONE_RETENTION_MS as et, normalizeSecretOwner as eu, ActionVariableSchema as f, lockDoorLinkOfComposition as fa, implementedMethodsOf as fc, extractSourceInfoFromMetadata as fi, assertTransactScope as fl, STORAGE_ACCESS_FALLBACK as fn, remoteCapability as fo, checkRoleAddress as fr, supportedRuntimes as fs, ExportNameRefusedError as ft, secretViewsOf as fu, BUILTIN_AUTOMATION_TEMPLATES as g, lowPowerSleepCapability as ga, isHistoryHelper as gc, fanPresetsCapability as gi, collectSecretConfigKeys as gl, SchedulerError as gn, removeScalarTarget as go, collectWhenMirrorSources as gr, tagKey as gs, FIRST_LEVEL_MACRO_CLASSES as gt, transformSecretWrite as gu, AutomationTemplatePayloadSchema as h, looseSchema as ha, isForwardInputRef as hc, fanOutTargets as hi, buildSecretRef as hl, SWITCH_DEFAULT_OPTIONS as hn, removeFromTags as ho, collectDeviceTemplates as hr, switchStateOfMode as hs, FAN_OSCILLATION_AXIS_SETTABLE as ht, toSecretFieldView as hu, ACTUATOR_TEMPLATE_IDS as i, legacyAutoLinkIds as ia, compositionSliceKey as ic, enumerateSchemaFields as ii, UnindexedFilterError as il, QuantityUnitError as in, ptzAutotrackCapability as io, builtinAutomationTemplate as ir, stableIdMapOf as is, DeviceIdentifiersSchema as it, readinessKey as iu, ConditionMirror as j, nextTimeBoundaryInMs as ja, DeclarationRefusedError as jc, identifierStrength as ji, expandCapMethods as jl, UNATTRIBUTED_BUCKET_KEY as jn, resolveNotificationTapAddress as jo, coverCapability as jr, vectorDimFromBase64 as js, INTERNAL_ACTION_PREFIX as jt, CalendarPreferencesSchema as k, motionCapability as ka, DEVICE_SETTINGS_CONTRIBUTION_METHODS as kc, heroLayoutCapability as ki, emitReadiness as kl, TemplateKindSchema as kn, resolveMethodAuth as ko, coreBlockSourceKind as kr, validateSchedulerInput as ks, IDENTITY_LINK_KINDS as kt, ActionMinDelaySecSchema as l, localNetworkCapability as la, evaluateStatistic as lc, expandContainer as li, asJsonObject as ll, RemoteAssumedStateSchema as ln, recordsCapability as lo, capUnitResolver as lr, storageProviderCapability as ls, EMPTY_AUTOMATION_STATE as lt, scopeKey as lu, AutomationStateDocSchema as m, logLevelAtMost as ma, isEngineHostedHelper as mc, fanControlCapability as mi, auditedFields as ml, STREAM_PROFILE_META as mn, remoteSourceSteps as mo, climateControlCapability as mr, switchCapability as ms, FAN_OSCILLATION_AXES as mt, toNodeId as mu, ACTION_TARGET_INVALIDATION_EVENTS as n, keychainAdminCapability as na, compositionFeatureEnabled as nc, enumerateInferenceDevices as ni, StoredRecordKindDeclarationSchema as nl, PreferenceNamespaceSchema as nn, projectDeviceRow as no, buildHeroModel as nr, snapshotCapability as ns, DeclaredDevices as nt, parseJsonUnknown as nu, AGENT_MDNS_TXT_KEYS as o, legacySweepDone as oa, createStatefulExpressionMemory as oc, evaluateStepCondition as oi, VocabActionError as ol, REMOTE_MEDIA_COMMANDS as on, readStoredRemoteConfig as oo, cameraGridLayoutCapability as or, storageCapability as os, DeviceStatusSchema as ot, resolveCapMount as ou, AlertSchema as p, logDestinationCapability as pa, integrateReading as pc, fanAxisPath as pi, assertValidDeclaration as pl, STORAGE_LOCATION_MODES as pn, remoteLayoutComponentsCapability as po, checkTemplatePayload as pr, sweepLegacyEngineRows as ps, FAN_CAPTURE_FIELDS as pt, sleep as pu, DEVICE_SAN_CREDENTIAL_PREFIX as q, platformProbeCapability as qa, ReadinessRegistry as qc, isEmptyIdentifiers as qi, isSecretMarkerLike as ql, assertStepsOffered as qn, selectEngineHostedBlocks as qo, deviceManagerCapability as qr, HelperMemberSchema as qs, ONE_SHOT_HOLD_MS as qt, ACTUATOR_METHODS as r, keychainCapability as ra, compositionItemFieldPath as rc, enumerateItemArrayFields as ri, TransactRefusedError as rl, PreferenceValueSchema as rn, proposeRunningThreshold as ro, buildStreamParamsConfigSchema as rr, splitTranslationRef as rs, DeviceIdentifierKeySchema as rt, parseSecretRef as ru, ALL_CAPABILITY_DEFINITIONS as s, lifecycleJobSchema as sa, disarmRoseMemory as sc, evaluateWhenTree as si, WELL_KNOWN_TAB_MAP as sl, ROOT_BUCKET_KEY as sn, reconcileReportedFeatures as so, canonicalIconKey as sr, storageMigrationCapability as ss, DeviceTombstoneSchema as st, resolveSecretMarkers as su, ACTION_RUN_MAX_MS as t, kebabToCamel as ta, composedDeviceStableId as tc, effectiveRefreshIntervalMs as ti, SECRET_CLEAR as tl, PreferenceDeviceIdSchema as tn, processTimeZoneOr as to, buildDeviceSignatureMessage as tr, siteZoneKey as ts, DataStoreDatabaseSchema as tt, parseJsonObject as tu, ActionStepSchema as u, locationIconKey as ua, helperMembers as uc, expressionContainsBuiltinCall as ui, asNumber as ul, RemoteLayoutPayloadSchema as un, reducePoints as uo, catalogueIssues as ur, streamCatalogCapability as us, EMPTY_REMOTE_ASSUMED_STATE as ut, secretTreeFromPaths as uu, BaseDevice as v, mayWriteToLocation as va, openReset as vc, filesystemBrowseCapability as vi, collectSecretMarkerRefs as vl, ScopedTokenSchema as vn, replaceRecipeLiteral as vo, compareVersions as vr, templateCapability as vs, FanDirectionSchema as vt, vocabActionIdFor as vu, COMPOSED_ITEM_FIXED_FIELDS as w, methodRefusal as wa, wattMillisecondsToKwh as wc, generateAutomationBlock as wi, defineAddonMigrations as wl, StorageLocationTypeSchema as wn, resolveCoreBlockEntry as wo, compositionUnionReads as wr, toTimings as ws, HISTORY_ITEM_CATALOG as wt, DeviceType as wu, CAP_NAMES_WITH_STATUS as x, memoizePinnedFfmpeg as xa, planStatisticTier as xc, formatDeviceRevoker as xi, commandOrigin as xl, SsoBridgeClaimsSchema as xn, resolveAppConnections as xo, composerCapability as xr, timedRunMaxIn as xs, FieldClaimSchema as xt, COMPOSED_DEVICE_STABLE_ID_PREFIX as xu, CAMERA_SWITCH_ORDER as y, mediaPlayerCapability as ya, openStatistic as yc, findChannelSource as yi, collectZodSecretPaths as yl, ServerNameSchema as yn, replacedFieldKeys as yo, compileHelper as yr, timedRunCapability as ys, FanPresetSchema as yt, vocabCall as yu, DAY_NAMES as z, orderMigrations as za, RECORD_BATCH_MAX as zc, isAlertEpisodeOpen as zi, isDeviceConfigCap as zl, addonPagesCapability as zn, runtimeStatePolicyFor as zo, defaultTagColorId as zr, zoneOnlySite as zs, MIGRATION_API_V1_METHODS as zt };
|