@camstack/server 1.2.730 → 1.2.731
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 +8 -0
- package/dist/api/core/server-management.provider.js +10 -3
- package/dist/api/trpc/generated-cap-mounts.js +2 -1
- package/dist/api/trpc/generated-cap-routers.js +1801 -1777
- package/dist/boot/boot-config.js +2 -46
- package/dist/launch-args.js +72 -34
- package/dist/main.js +2 -1
- package/package.json +17 -17
- package/system/dist/addon-utils.mjs +1 -1
- package/system/dist/{agent-https-DZq8uf8L.mjs → agent-https-AJPmB73W.mjs} +1 -1
- package/system/dist/{agent-https-C8Gz2jjS.js → agent-https-CLJhq0GZ.js} +1 -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 +4 -4
- 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 +5 -5
- 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 +5 -5
- 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 +3 -3
- package/system/dist/builtins/composer/composer.addon.mjs +3 -3
- 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 +2 -2
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +2 -2
- 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 +1 -1
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +1 -1
- 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 +3 -3
- package/system/dist/builtins/keychain/index.mjs +3 -3
- 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 +5 -5
- package/system/dist/builtins/local-network/local-network.addon.js +2 -2
- package/system/dist/builtins/local-network/local-network.addon.mjs +2 -2
- 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 +10 -10
- package/system/dist/builtins/platform-probe/index.js +1 -1
- package/system/dist/builtins/platform-probe/index.mjs +10 -10
- 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 +20 -20
- 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 +2 -2
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +2 -2
- 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 +115 -115
- package/system/dist/builtins/winston-logging/index.js +1 -1
- package/system/dist/builtins/winston-logging/index.mjs +1 -1
- package/system/dist/{composition-sources-hokiaS3J.js → composition-sources-BNBlJAgu.js} +1 -1
- package/system/dist/{composition-sources-4M_NnTnV.mjs → composition-sources-D-S2hhdw.mjs} +1 -1
- package/system/dist/{constants-B0L3suFC.js → constants-CKwdQTnw.js} +1 -1
- package/system/dist/{constants-DTVU00LZ.mjs → constants-DmithOex.mjs} +1 -1
- package/system/dist/{coral-accelerators-DBlgWB8k.mjs → coral-accelerators-BW3OcrLD.mjs} +6 -6
- package/system/dist/{custom-action-registry-oHl1xltx.mjs → custom-action-registry-BIJZBObd.mjs} +37 -37
- package/system/dist/{device-ca-C_y2GrU5.mjs → device-ca-D-Cvxobt.mjs} +1 -1
- package/system/dist/{device-ca-DaTT1Y9v.js → device-ca-TbdQfW4d.js} +1 -1
- package/system/dist/{dist-B3S0ruBa.js → dist-dQKZfa3-.js} +174 -15
- package/system/dist/{dist-9lvgpcnm.mjs → dist-yrk6fm65.mjs} +174 -15
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/{hub-mdns-ciao-xgLfZIVx.mjs → hub-mdns-ciao-Cae5VWUc.mjs} +2 -2
- package/system/dist/{hub-mdns-ciao-Dkw38L-g.js → hub-mdns-ciao-DP3_GNZw.js} +2 -2
- package/system/dist/index.d.ts +1 -1
- package/system/dist/index.js +19 -9
- package/system/dist/index.mjs +230 -221
- package/system/dist/kernel/heap-watch.d.ts +7 -2
- package/system/dist/{restore-archive-cxnuWxQM.mjs → restore-archive-BJ5gxMvf.mjs} +94 -94
- package/system/dist/{restore-archive-orP6eHBd.js → restore-archive-X9c_wEBY.js} +1 -1
- package/system/dist/{retention-Me4u6zMp.mjs → retention-DBrdAv12.mjs} +1 -1
- package/system/dist/{retention-CB2cyW9k.js → retention-DRT2wUyB.js} +1 -1
- package/system/dist/{wal-maintenance-De7Ifvph.mjs → wal-maintenance-Bi4yImEY.mjs} +0 -0
- package/system/dist/{wal-maintenance-_PXj626-.js → wal-maintenance-hsgNGrjh.js} +0 -0
- package/system/package.json +4 -1
|
@@ -1162,7 +1162,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
1162
1162
|
return DeviceRole;
|
|
1163
1163
|
}({});
|
|
1164
1164
|
//#endregion
|
|
1165
|
-
//#region ../types/dist/sleep-
|
|
1165
|
+
//#region ../types/dist/sleep-B-vp7x15.mjs
|
|
1166
1166
|
/**
|
|
1167
1167
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
1168
1168
|
* window to float samples (D455).
|
|
@@ -5902,6 +5902,7 @@ var CAP_NAMES = Object.freeze([
|
|
|
5902
5902
|
"device-status",
|
|
5903
5903
|
"dishwasher",
|
|
5904
5904
|
"display-palette",
|
|
5905
|
+
"do-not-disturb",
|
|
5905
5906
|
"doorbell",
|
|
5906
5907
|
"embedding-encoder",
|
|
5907
5908
|
"enum-sensor",
|
|
@@ -6661,6 +6662,10 @@ Object.freeze({
|
|
|
6661
6662
|
"valueType": "string"
|
|
6662
6663
|
}
|
|
6663
6664
|
],
|
|
6665
|
+
"do-not-disturb": [{
|
|
6666
|
+
"path": "enabled",
|
|
6667
|
+
"valueType": "boolean"
|
|
6668
|
+
}],
|
|
6664
6669
|
"doorbell": [{
|
|
6665
6670
|
"path": "lastPressedAt",
|
|
6666
6671
|
"valueType": "number"
|
|
@@ -18465,6 +18470,33 @@ var APPLIANCE_CAP_VOCABULARY = {
|
|
|
18465
18470
|
}
|
|
18466
18471
|
]
|
|
18467
18472
|
},
|
|
18473
|
+
"do-not-disturb": {
|
|
18474
|
+
scope: "device",
|
|
18475
|
+
noun: t("Do not disturb", "Non disturbare"),
|
|
18476
|
+
actions: [{
|
|
18477
|
+
id: "dnd.on",
|
|
18478
|
+
method: "setEnabled",
|
|
18479
|
+
label: t("Do not disturb on", "Attiva Non disturbare"),
|
|
18480
|
+
phrase: t("Turn on Do not disturb on {device}", "Attiva Non disturbare su {device}"),
|
|
18481
|
+
icon: "bell-off",
|
|
18482
|
+
args: { enabled: true }
|
|
18483
|
+
}, {
|
|
18484
|
+
id: "dnd.off",
|
|
18485
|
+
method: "setEnabled",
|
|
18486
|
+
label: t("Do not disturb off", "Disattiva Non disturbare"),
|
|
18487
|
+
phrase: t("Turn off Do not disturb on {device}", "Disattiva Non disturbare su {device}"),
|
|
18488
|
+
icon: "bell",
|
|
18489
|
+
args: { enabled: false }
|
|
18490
|
+
}],
|
|
18491
|
+
state: [{
|
|
18492
|
+
kind: "boolean",
|
|
18493
|
+
field: "enabled",
|
|
18494
|
+
label: t("Do not disturb", "Non disturbare"),
|
|
18495
|
+
whenTrue: t("When Do not disturb turns on on {device}", "Quando {device} attiva Non disturbare"),
|
|
18496
|
+
whenFalse: t("When Do not disturb turns off on {device}", "Quando {device} disattiva Non disturbare"),
|
|
18497
|
+
icon: "bell-off"
|
|
18498
|
+
}]
|
|
18499
|
+
},
|
|
18468
18500
|
update: {
|
|
18469
18501
|
scope: "device",
|
|
18470
18502
|
noun: t("Firmware update", "Aggiornamento firmware"),
|
|
@@ -41259,14 +41291,16 @@ var DeviceIsLeafSchema = zod.z.object({
|
|
|
41259
41291
|
});
|
|
41260
41292
|
/**
|
|
41261
41293
|
* True when the camera currently has a PARKED object matching `subjects` in at
|
|
41262
|
-
* least one of `zones
|
|
41294
|
+
* least one of `zones` (`minCount` of them, default one). Reads the zone-analytics snapshot through the same
|
|
41263
41295
|
* mirror as every other state leaf, so a dropped event never decides it (D49).
|
|
41264
41296
|
*/
|
|
41265
41297
|
var StationaryPresentLeafSchema = zod.z.object({
|
|
41266
41298
|
kind: zod.z.literal("stationary-present"),
|
|
41267
41299
|
deviceId: zod.z.number().int().nonnegative(),
|
|
41268
41300
|
subjects: zod.z.array(StationarySubjectSchema).min(1).optional(),
|
|
41269
|
-
zones: zod.z.array(zod.z.string().min(1)).min(1).optional()
|
|
41301
|
+
zones: zod.z.array(zod.z.string().min(1)).min(1).optional(),
|
|
41302
|
+
/** How many matching parked objects must be there; absent means one. */
|
|
41303
|
+
minCount: zod.z.number().int().positive().optional()
|
|
41270
41304
|
});
|
|
41271
41305
|
/**
|
|
41272
41306
|
* The escape hatch: the bounded expression engine over named device bindings.
|
|
@@ -41818,6 +41852,28 @@ function convertLegacyRecipe(legacy) {
|
|
|
41818
41852
|
* it. The output type is always the new one.
|
|
41819
41853
|
*/
|
|
41820
41854
|
var AutomationRecipeSchema = zod.z.union([CurrentAutomationRecipeSchema, LegacyAutomationRecipeSchema.transform(convertLegacyRecipe)]);
|
|
41855
|
+
var DETECTION_DESCRIPTIONS = {
|
|
41856
|
+
deviceId: "the camera that saw it",
|
|
41857
|
+
className: "what it saw",
|
|
41858
|
+
trackId: "the track",
|
|
41859
|
+
score: "how sure the detector was",
|
|
41860
|
+
label: "the label it matched (a name, a plate), empty when none"
|
|
41861
|
+
};
|
|
41862
|
+
var STATIONARY_DESCRIPTIONS = {
|
|
41863
|
+
deviceId: "the camera that saw it",
|
|
41864
|
+
className: "what it saw",
|
|
41865
|
+
zones: "the zones it is in",
|
|
41866
|
+
phase: "appeared or departed",
|
|
41867
|
+
entryId: "the stopped object"
|
|
41868
|
+
};
|
|
41869
|
+
function describe$1(descriptions) {
|
|
41870
|
+
return Object.entries(descriptions).map(([name, description]) => ({
|
|
41871
|
+
name,
|
|
41872
|
+
description
|
|
41873
|
+
}));
|
|
41874
|
+
}
|
|
41875
|
+
describe$1(DETECTION_DESCRIPTIONS);
|
|
41876
|
+
describe$1(STATIONARY_DESCRIPTIONS);
|
|
41821
41877
|
/**
|
|
41822
41878
|
* Evaluating an automation's condition tree against the ConditionMirror.
|
|
41823
41879
|
*
|
|
@@ -42042,17 +42098,25 @@ function judgeStationaryPresent(cond, reader) {
|
|
|
42042
42098
|
why: `no parked objects on device ${cond.deviceId}`
|
|
42043
42099
|
};
|
|
42044
42100
|
const zones = reader.read(cond.deviceId, ZONE_ANALYTICS_CAP, "zones");
|
|
42101
|
+
const matching = [];
|
|
42045
42102
|
for (const obj of parked) {
|
|
42046
42103
|
if (cond.subjects !== void 0 && !anySubjectMatches(cond.subjects, { className: obj.className }).matches) continue;
|
|
42047
42104
|
if (cond.zones !== void 0) {
|
|
42048
42105
|
const inZones = zonesOfParked(zones, obj.id);
|
|
42049
42106
|
if (!cond.zones.some((z) => inZones.includes(z))) continue;
|
|
42050
42107
|
}
|
|
42051
|
-
|
|
42052
|
-
pass: true,
|
|
42053
|
-
why: `parked ${obj.className} (${obj.id}) on device ${cond.deviceId}`
|
|
42054
|
-
};
|
|
42108
|
+
matching.push(obj);
|
|
42055
42109
|
}
|
|
42110
|
+
const needed = cond.minCount ?? 1;
|
|
42111
|
+
const first = matching[0];
|
|
42112
|
+
if (first !== void 0 && matching.length >= needed) return {
|
|
42113
|
+
pass: true,
|
|
42114
|
+
why: needed === 1 ? `parked ${first.className} (${first.id}) on device ${cond.deviceId}` : `${matching.length} parked matching on device ${cond.deviceId} (need ${needed})`
|
|
42115
|
+
};
|
|
42116
|
+
if (matching.length > 0) return {
|
|
42117
|
+
pass: false,
|
|
42118
|
+
why: `only ${matching.length} of ${needed} needed parked objects match on device ${cond.deviceId}`
|
|
42119
|
+
};
|
|
42056
42120
|
return {
|
|
42057
42121
|
pass: false,
|
|
42058
42122
|
why: `${parked.length} parked on device ${cond.deviceId}, none matching the class/zone filter`
|
|
@@ -52167,7 +52231,7 @@ async function runFanOut(calls, invoke) {
|
|
|
52167
52231
|
}
|
|
52168
52232
|
/**
|
|
52169
52233
|
* Cap history catalog, projected from every `*.cap.ts` `history` block.
|
|
52170
|
-
*
|
|
52234
|
+
* 43 caps with series (81 series), 36 caps answered `'none'`.
|
|
52171
52235
|
* Field keys are `runtimeState` paths (`a.b` into fixed objects only).
|
|
52172
52236
|
*/
|
|
52173
52237
|
var HISTORY_CATALOG = {
|
|
@@ -52310,6 +52374,7 @@ var HISTORY_CATALOG = {
|
|
|
52310
52374
|
"doorOpen": { kind: "boolean" },
|
|
52311
52375
|
"powerOn": { kind: "boolean" }
|
|
52312
52376
|
},
|
|
52377
|
+
"do-not-disturb": { "enabled": { kind: "boolean" } },
|
|
52313
52378
|
"enum-sensor": { "value": {
|
|
52314
52379
|
kind: "enum",
|
|
52315
52380
|
skipWhenSet: "timestamp"
|
|
@@ -59188,6 +59253,49 @@ var displayPaletteCapability = {
|
|
|
59188
59253
|
})
|
|
59189
59254
|
}
|
|
59190
59255
|
};
|
|
59256
|
+
/**
|
|
59257
|
+
* do-not-disturb - whether a speaker or display holds back its own sounds
|
|
59258
|
+
* (announcements, notifications, alarms) until the operator lets it speak again.
|
|
59259
|
+
*
|
|
59260
|
+
* It is NOT part of `media-player`: a player is about what it plays and how
|
|
59261
|
+
* loud, while Do Not Disturb is a household switch the vendor keeps per device.
|
|
59262
|
+
* `enabled` is null when the vendor has not said (never a guess of `false`).
|
|
59263
|
+
*/
|
|
59264
|
+
var DoNotDisturbStatusSchema = zod.z.object({
|
|
59265
|
+
/** True while Do Not Disturb is on; null when unknown. */
|
|
59266
|
+
enabled: zod.z.boolean().nullable().meta({ label: "Do not disturb" }),
|
|
59267
|
+
/** Ms epoch of the last read or write that set `enabled`. */
|
|
59268
|
+
lastChangedAt: zod.z.number()
|
|
59269
|
+
});
|
|
59270
|
+
var doNotDisturbCapability = {
|
|
59271
|
+
name: "do-not-disturb",
|
|
59272
|
+
scope: "device",
|
|
59273
|
+
deviceNative: true,
|
|
59274
|
+
mode: "singleton",
|
|
59275
|
+
deviceTypes: [DeviceType.MediaPlayer],
|
|
59276
|
+
methods: { setEnabled: method(zod.z.object({
|
|
59277
|
+
deviceId: zod.z.number().int(),
|
|
59278
|
+
enabled: zod.z.boolean()
|
|
59279
|
+
}), zod.z.void(), {
|
|
59280
|
+
kind: "mutation",
|
|
59281
|
+
auth: "protected"
|
|
59282
|
+
}) },
|
|
59283
|
+
status: {
|
|
59284
|
+
schema: DoNotDisturbStatusSchema,
|
|
59285
|
+
kind: "push"
|
|
59286
|
+
},
|
|
59287
|
+
runtimeState: DoNotDisturbStatusSchema,
|
|
59288
|
+
/**
|
|
59289
|
+
* Runtime-state durability: **session** - the vendor owns the switch and the
|
|
59290
|
+
* device re-reads it on the next poll, so a restored value would only be stale.
|
|
59291
|
+
*
|
|
59292
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
59293
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
59294
|
+
*/
|
|
59295
|
+
durability: "session",
|
|
59296
|
+
/** History (D850): when Do Not Disturb was switched on and off. */
|
|
59297
|
+
history: { fields: { enabled: { kind: "boolean" } } }
|
|
59298
|
+
};
|
|
59191
59299
|
/** Pulse override: a rising edge advances `lastPressedAt` and the press count. */
|
|
59192
59300
|
var doorbellCustomize = {
|
|
59193
59301
|
version: 1,
|
|
@@ -62093,6 +62201,14 @@ var LlmGenerateBaseInputSchema = zod.z.object({
|
|
|
62093
62201
|
topP: zod.z.number().min(0).max(1).optional(),
|
|
62094
62202
|
/** Per-call override of the profile default (top-k sampling). */
|
|
62095
62203
|
topK: zod.z.number().int().positive().optional(),
|
|
62204
|
+
/** Per-call override of `profile.reasoningEffort`. Sent only to a kind whose
|
|
62205
|
+
* descriptor offers the field; a kind that does not never sends it. */
|
|
62206
|
+
reasoningEffort: zod.z.enum([
|
|
62207
|
+
"off",
|
|
62208
|
+
"low",
|
|
62209
|
+
"medium",
|
|
62210
|
+
"high"
|
|
62211
|
+
]).optional(),
|
|
62096
62212
|
/** Per-call override of `profile.timeoutMs` — the total generation bound. */
|
|
62097
62213
|
timeoutMs: zod.z.number().int().positive().optional(),
|
|
62098
62214
|
/** Per-call override; beats both the consumer table and the profile. */
|
|
@@ -62426,7 +62542,10 @@ var LlmProfileKindSchema = zod.z.string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a
|
|
|
62426
62542
|
var LlmModelFeaturesSchema = zod.z.object({
|
|
62427
62543
|
vision: zod.z.boolean(),
|
|
62428
62544
|
tools: zod.z.boolean(),
|
|
62429
|
-
streaming: zod.z.boolean()
|
|
62545
|
+
streaming: zod.z.boolean(),
|
|
62546
|
+
/** Whether the model thinks before it answers. `null` = the endpoint does not
|
|
62547
|
+
* say; an editor then still offers the switch (unknown is not "no"). */
|
|
62548
|
+
reasoning: zod.z.boolean().nullable().optional()
|
|
62430
62549
|
});
|
|
62431
62550
|
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
62432
62551
|
var LlmModelInfoSchema = zod.z.object({
|
|
@@ -84682,9 +84801,17 @@ var ServerUpdateActionResultSchema = zod.z.object({
|
|
|
84682
84801
|
*/
|
|
84683
84802
|
requiredAddonUpdates: zod.z.array(RequiredAddonUpdateSchema).optional()
|
|
84684
84803
|
});
|
|
84685
|
-
var LaunchOverridesSchema = zod.z.object({
|
|
84686
|
-
/** The persisted heap ceiling in MB, or `null` when none is set. */
|
|
84687
|
-
heapMb: zod.z.number().int().nullable()
|
|
84804
|
+
var LaunchOverridesSchema = zod.z.object({
|
|
84805
|
+
/** The persisted heap ceiling in MB, or `null` when none is set. */
|
|
84806
|
+
heapMb: zod.z.number().int().nullable(),
|
|
84807
|
+
/** The persisted hub-main RSS budget in MB, or `null` when none is set. */
|
|
84808
|
+
rssBudgetMb: zod.z.number().int().nullable()
|
|
84809
|
+
});
|
|
84810
|
+
var SetLaunchOverridesInputSchema = zod.z.object({
|
|
84811
|
+
heapMb: zod.z.number().int().min(512).max(65536).nullable(),
|
|
84812
|
+
/** Omitted keeps the stored budget; `null` clears it. */
|
|
84813
|
+
rssBudgetMb: zod.z.number().int().min(512).max(65536).nullable().optional()
|
|
84814
|
+
});
|
|
84688
84815
|
var SetLaunchOverridesResultSchema = LaunchOverridesSchema.extend({
|
|
84689
84816
|
/** Always true: the override is read at launch, not by the running process. */
|
|
84690
84817
|
restartRequired: zod.z.boolean() });
|
|
@@ -84747,11 +84874,12 @@ var serverManagementCapability = {
|
|
|
84747
84874
|
*/
|
|
84748
84875
|
getLaunchOverrides: method(zod.z.void(), LaunchOverridesSchema, { auth: "admin" }),
|
|
84749
84876
|
/**
|
|
84750
|
-
* Set
|
|
84877
|
+
* Set or clear (`null`) the node's heap-ceiling (`heapMb`) and hub-main RSS
|
|
84878
|
+
* budget (`rssBudgetMb`) overrides; the budget wins over its env. It is
|
|
84751
84879
|
* written on the node itself and applies at the NEXT launch — restart the
|
|
84752
84880
|
* node (`restartServer`) for it to take effect.
|
|
84753
84881
|
*/
|
|
84754
|
-
setLaunchOverrides: method(
|
|
84882
|
+
setLaunchOverrides: method(SetLaunchOverridesInputSchema, SetLaunchOverridesResultSchema, {
|
|
84755
84883
|
kind: "mutation",
|
|
84756
84884
|
auth: "admin"
|
|
84757
84885
|
})
|
|
@@ -90450,6 +90578,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
90450
90578
|
deviceStatusCapability,
|
|
90451
90579
|
dishwasherCapability,
|
|
90452
90580
|
displayPaletteCapability,
|
|
90581
|
+
doNotDisturbCapability,
|
|
90453
90582
|
doorbellCapability,
|
|
90454
90583
|
embeddingEncoderCapability,
|
|
90455
90584
|
enumSensorCapability,
|
|
@@ -92227,6 +92356,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
92227
92356
|
deviceDiscovery: deviceDiscoveryCapability,
|
|
92228
92357
|
deviceStatus: deviceStatusCapability,
|
|
92229
92358
|
dishwasher: dishwasherCapability,
|
|
92359
|
+
doNotDisturb: doNotDisturbCapability,
|
|
92230
92360
|
doorbell: doorbellCapability,
|
|
92231
92361
|
enumSensor: enumSensorCapability,
|
|
92232
92362
|
eventEmitter: eventEmitterCapability,
|
|
@@ -96466,6 +96596,20 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
96466
96596
|
access: "create",
|
|
96467
96597
|
role: "admin"
|
|
96468
96598
|
},
|
|
96599
|
+
"doNotDisturb.getStatus": {
|
|
96600
|
+
capName: "do-not-disturb",
|
|
96601
|
+
capScope: "device",
|
|
96602
|
+
addonId: null,
|
|
96603
|
+
access: "view",
|
|
96604
|
+
role: "viewer"
|
|
96605
|
+
},
|
|
96606
|
+
"doNotDisturb.setEnabled": {
|
|
96607
|
+
capName: "do-not-disturb",
|
|
96608
|
+
capScope: "device",
|
|
96609
|
+
addonId: null,
|
|
96610
|
+
access: "create",
|
|
96611
|
+
role: "viewer"
|
|
96612
|
+
},
|
|
96469
96613
|
"doorbell.getStatus": {
|
|
96470
96614
|
capName: "doorbell",
|
|
96471
96615
|
capScope: "device",
|
|
@@ -103747,6 +103891,7 @@ var CAP_NAMES_WITH_STATUS = [
|
|
|
103747
103891
|
"device-export",
|
|
103748
103892
|
"device-status",
|
|
103749
103893
|
"dishwasher",
|
|
103894
|
+
"do-not-disturb",
|
|
103750
103895
|
"doorbell",
|
|
103751
103896
|
"enum-sensor",
|
|
103752
103897
|
"event-emitter",
|
|
@@ -104742,6 +104887,16 @@ Object.freeze({
|
|
|
104742
104887
|
form: "single",
|
|
104743
104888
|
optional: false
|
|
104744
104889
|
}],
|
|
104890
|
+
"doNotDisturb.getStatus": [{
|
|
104891
|
+
name: "deviceId",
|
|
104892
|
+
form: "single",
|
|
104893
|
+
optional: false
|
|
104894
|
+
}],
|
|
104895
|
+
"doNotDisturb.setEnabled": [{
|
|
104896
|
+
name: "deviceId",
|
|
104897
|
+
form: "single",
|
|
104898
|
+
optional: false
|
|
104899
|
+
}],
|
|
104745
104900
|
"doorbell.getStatus": [{
|
|
104746
104901
|
name: "deviceId",
|
|
104747
104902
|
form: "single",
|
|
@@ -106760,7 +106915,7 @@ Object.freeze({
|
|
|
106760
106915
|
});
|
|
106761
106916
|
/**
|
|
106762
106917
|
* Per-cap runtime-state policy, projected from every `*.cap.ts` that declares
|
|
106763
|
-
* `runtimeState`.
|
|
106918
|
+
* `runtimeState`. 80 caps: 39 `restored`, 41 `session`.
|
|
106764
106919
|
*
|
|
106765
106920
|
* A cap absent from this map has no runtime-state slice at all. A cap PRESENT
|
|
106766
106921
|
* with `durability: 'session'` has one and has decided not to keep it.
|
|
@@ -106850,6 +107005,10 @@ var RUNTIME_STATE_POLICY = {
|
|
|
106850
107005
|
durability: "session",
|
|
106851
107006
|
volatileFields: []
|
|
106852
107007
|
},
|
|
107008
|
+
"do-not-disturb": {
|
|
107009
|
+
durability: "session",
|
|
107010
|
+
volatileFields: []
|
|
107011
|
+
},
|
|
106853
107012
|
"doorbell": {
|
|
106854
107013
|
durability: "restored",
|
|
106855
107014
|
volatileFields: []
|
|
@@ -1162,7 +1162,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
1162
1162
|
return DeviceRole;
|
|
1163
1163
|
}({});
|
|
1164
1164
|
//#endregion
|
|
1165
|
-
//#region ../types/dist/sleep-
|
|
1165
|
+
//#region ../types/dist/sleep-B-vp7x15.mjs
|
|
1166
1166
|
/**
|
|
1167
1167
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
1168
1168
|
* window to float samples (D455).
|
|
@@ -5902,6 +5902,7 @@ var CAP_NAMES = Object.freeze([
|
|
|
5902
5902
|
"device-status",
|
|
5903
5903
|
"dishwasher",
|
|
5904
5904
|
"display-palette",
|
|
5905
|
+
"do-not-disturb",
|
|
5905
5906
|
"doorbell",
|
|
5906
5907
|
"embedding-encoder",
|
|
5907
5908
|
"enum-sensor",
|
|
@@ -6661,6 +6662,10 @@ Object.freeze({
|
|
|
6661
6662
|
"valueType": "string"
|
|
6662
6663
|
}
|
|
6663
6664
|
],
|
|
6665
|
+
"do-not-disturb": [{
|
|
6666
|
+
"path": "enabled",
|
|
6667
|
+
"valueType": "boolean"
|
|
6668
|
+
}],
|
|
6664
6669
|
"doorbell": [{
|
|
6665
6670
|
"path": "lastPressedAt",
|
|
6666
6671
|
"valueType": "number"
|
|
@@ -18465,6 +18470,33 @@ var APPLIANCE_CAP_VOCABULARY = {
|
|
|
18465
18470
|
}
|
|
18466
18471
|
]
|
|
18467
18472
|
},
|
|
18473
|
+
"do-not-disturb": {
|
|
18474
|
+
scope: "device",
|
|
18475
|
+
noun: t("Do not disturb", "Non disturbare"),
|
|
18476
|
+
actions: [{
|
|
18477
|
+
id: "dnd.on",
|
|
18478
|
+
method: "setEnabled",
|
|
18479
|
+
label: t("Do not disturb on", "Attiva Non disturbare"),
|
|
18480
|
+
phrase: t("Turn on Do not disturb on {device}", "Attiva Non disturbare su {device}"),
|
|
18481
|
+
icon: "bell-off",
|
|
18482
|
+
args: { enabled: true }
|
|
18483
|
+
}, {
|
|
18484
|
+
id: "dnd.off",
|
|
18485
|
+
method: "setEnabled",
|
|
18486
|
+
label: t("Do not disturb off", "Disattiva Non disturbare"),
|
|
18487
|
+
phrase: t("Turn off Do not disturb on {device}", "Disattiva Non disturbare su {device}"),
|
|
18488
|
+
icon: "bell",
|
|
18489
|
+
args: { enabled: false }
|
|
18490
|
+
}],
|
|
18491
|
+
state: [{
|
|
18492
|
+
kind: "boolean",
|
|
18493
|
+
field: "enabled",
|
|
18494
|
+
label: t("Do not disturb", "Non disturbare"),
|
|
18495
|
+
whenTrue: t("When Do not disturb turns on on {device}", "Quando {device} attiva Non disturbare"),
|
|
18496
|
+
whenFalse: t("When Do not disturb turns off on {device}", "Quando {device} disattiva Non disturbare"),
|
|
18497
|
+
icon: "bell-off"
|
|
18498
|
+
}]
|
|
18499
|
+
},
|
|
18468
18500
|
update: {
|
|
18469
18501
|
scope: "device",
|
|
18470
18502
|
noun: t("Firmware update", "Aggiornamento firmware"),
|
|
@@ -41259,14 +41291,16 @@ var DeviceIsLeafSchema = z.object({
|
|
|
41259
41291
|
});
|
|
41260
41292
|
/**
|
|
41261
41293
|
* True when the camera currently has a PARKED object matching `subjects` in at
|
|
41262
|
-
* least one of `zones
|
|
41294
|
+
* least one of `zones` (`minCount` of them, default one). Reads the zone-analytics snapshot through the same
|
|
41263
41295
|
* mirror as every other state leaf, so a dropped event never decides it (D49).
|
|
41264
41296
|
*/
|
|
41265
41297
|
var StationaryPresentLeafSchema = z.object({
|
|
41266
41298
|
kind: z.literal("stationary-present"),
|
|
41267
41299
|
deviceId: z.number().int().nonnegative(),
|
|
41268
41300
|
subjects: z.array(StationarySubjectSchema).min(1).optional(),
|
|
41269
|
-
zones: z.array(z.string().min(1)).min(1).optional()
|
|
41301
|
+
zones: z.array(z.string().min(1)).min(1).optional(),
|
|
41302
|
+
/** How many matching parked objects must be there; absent means one. */
|
|
41303
|
+
minCount: z.number().int().positive().optional()
|
|
41270
41304
|
});
|
|
41271
41305
|
/**
|
|
41272
41306
|
* The escape hatch: the bounded expression engine over named device bindings.
|
|
@@ -41818,6 +41852,28 @@ function convertLegacyRecipe(legacy) {
|
|
|
41818
41852
|
* it. The output type is always the new one.
|
|
41819
41853
|
*/
|
|
41820
41854
|
var AutomationRecipeSchema = z.union([CurrentAutomationRecipeSchema, LegacyAutomationRecipeSchema.transform(convertLegacyRecipe)]);
|
|
41855
|
+
var DETECTION_DESCRIPTIONS = {
|
|
41856
|
+
deviceId: "the camera that saw it",
|
|
41857
|
+
className: "what it saw",
|
|
41858
|
+
trackId: "the track",
|
|
41859
|
+
score: "how sure the detector was",
|
|
41860
|
+
label: "the label it matched (a name, a plate), empty when none"
|
|
41861
|
+
};
|
|
41862
|
+
var STATIONARY_DESCRIPTIONS = {
|
|
41863
|
+
deviceId: "the camera that saw it",
|
|
41864
|
+
className: "what it saw",
|
|
41865
|
+
zones: "the zones it is in",
|
|
41866
|
+
phase: "appeared or departed",
|
|
41867
|
+
entryId: "the stopped object"
|
|
41868
|
+
};
|
|
41869
|
+
function describe$1(descriptions) {
|
|
41870
|
+
return Object.entries(descriptions).map(([name, description]) => ({
|
|
41871
|
+
name,
|
|
41872
|
+
description
|
|
41873
|
+
}));
|
|
41874
|
+
}
|
|
41875
|
+
describe$1(DETECTION_DESCRIPTIONS);
|
|
41876
|
+
describe$1(STATIONARY_DESCRIPTIONS);
|
|
41821
41877
|
/**
|
|
41822
41878
|
* Evaluating an automation's condition tree against the ConditionMirror.
|
|
41823
41879
|
*
|
|
@@ -42042,17 +42098,25 @@ function judgeStationaryPresent(cond, reader) {
|
|
|
42042
42098
|
why: `no parked objects on device ${cond.deviceId}`
|
|
42043
42099
|
};
|
|
42044
42100
|
const zones = reader.read(cond.deviceId, ZONE_ANALYTICS_CAP, "zones");
|
|
42101
|
+
const matching = [];
|
|
42045
42102
|
for (const obj of parked) {
|
|
42046
42103
|
if (cond.subjects !== void 0 && !anySubjectMatches(cond.subjects, { className: obj.className }).matches) continue;
|
|
42047
42104
|
if (cond.zones !== void 0) {
|
|
42048
42105
|
const inZones = zonesOfParked(zones, obj.id);
|
|
42049
42106
|
if (!cond.zones.some((z) => inZones.includes(z))) continue;
|
|
42050
42107
|
}
|
|
42051
|
-
|
|
42052
|
-
pass: true,
|
|
42053
|
-
why: `parked ${obj.className} (${obj.id}) on device ${cond.deviceId}`
|
|
42054
|
-
};
|
|
42108
|
+
matching.push(obj);
|
|
42055
42109
|
}
|
|
42110
|
+
const needed = cond.minCount ?? 1;
|
|
42111
|
+
const first = matching[0];
|
|
42112
|
+
if (first !== void 0 && matching.length >= needed) return {
|
|
42113
|
+
pass: true,
|
|
42114
|
+
why: needed === 1 ? `parked ${first.className} (${first.id}) on device ${cond.deviceId}` : `${matching.length} parked matching on device ${cond.deviceId} (need ${needed})`
|
|
42115
|
+
};
|
|
42116
|
+
if (matching.length > 0) return {
|
|
42117
|
+
pass: false,
|
|
42118
|
+
why: `only ${matching.length} of ${needed} needed parked objects match on device ${cond.deviceId}`
|
|
42119
|
+
};
|
|
42056
42120
|
return {
|
|
42057
42121
|
pass: false,
|
|
42058
42122
|
why: `${parked.length} parked on device ${cond.deviceId}, none matching the class/zone filter`
|
|
@@ -52167,7 +52231,7 @@ async function runFanOut(calls, invoke) {
|
|
|
52167
52231
|
}
|
|
52168
52232
|
/**
|
|
52169
52233
|
* Cap history catalog, projected from every `*.cap.ts` `history` block.
|
|
52170
|
-
*
|
|
52234
|
+
* 43 caps with series (81 series), 36 caps answered `'none'`.
|
|
52171
52235
|
* Field keys are `runtimeState` paths (`a.b` into fixed objects only).
|
|
52172
52236
|
*/
|
|
52173
52237
|
var HISTORY_CATALOG = {
|
|
@@ -52310,6 +52374,7 @@ var HISTORY_CATALOG = {
|
|
|
52310
52374
|
"doorOpen": { kind: "boolean" },
|
|
52311
52375
|
"powerOn": { kind: "boolean" }
|
|
52312
52376
|
},
|
|
52377
|
+
"do-not-disturb": { "enabled": { kind: "boolean" } },
|
|
52313
52378
|
"enum-sensor": { "value": {
|
|
52314
52379
|
kind: "enum",
|
|
52315
52380
|
skipWhenSet: "timestamp"
|
|
@@ -59188,6 +59253,49 @@ var displayPaletteCapability = {
|
|
|
59188
59253
|
})
|
|
59189
59254
|
}
|
|
59190
59255
|
};
|
|
59256
|
+
/**
|
|
59257
|
+
* do-not-disturb - whether a speaker or display holds back its own sounds
|
|
59258
|
+
* (announcements, notifications, alarms) until the operator lets it speak again.
|
|
59259
|
+
*
|
|
59260
|
+
* It is NOT part of `media-player`: a player is about what it plays and how
|
|
59261
|
+
* loud, while Do Not Disturb is a household switch the vendor keeps per device.
|
|
59262
|
+
* `enabled` is null when the vendor has not said (never a guess of `false`).
|
|
59263
|
+
*/
|
|
59264
|
+
var DoNotDisturbStatusSchema = z.object({
|
|
59265
|
+
/** True while Do Not Disturb is on; null when unknown. */
|
|
59266
|
+
enabled: z.boolean().nullable().meta({ label: "Do not disturb" }),
|
|
59267
|
+
/** Ms epoch of the last read or write that set `enabled`. */
|
|
59268
|
+
lastChangedAt: z.number()
|
|
59269
|
+
});
|
|
59270
|
+
var doNotDisturbCapability = {
|
|
59271
|
+
name: "do-not-disturb",
|
|
59272
|
+
scope: "device",
|
|
59273
|
+
deviceNative: true,
|
|
59274
|
+
mode: "singleton",
|
|
59275
|
+
deviceTypes: [DeviceType.MediaPlayer],
|
|
59276
|
+
methods: { setEnabled: method(z.object({
|
|
59277
|
+
deviceId: z.number().int(),
|
|
59278
|
+
enabled: z.boolean()
|
|
59279
|
+
}), z.void(), {
|
|
59280
|
+
kind: "mutation",
|
|
59281
|
+
auth: "protected"
|
|
59282
|
+
}) },
|
|
59283
|
+
status: {
|
|
59284
|
+
schema: DoNotDisturbStatusSchema,
|
|
59285
|
+
kind: "push"
|
|
59286
|
+
},
|
|
59287
|
+
runtimeState: DoNotDisturbStatusSchema,
|
|
59288
|
+
/**
|
|
59289
|
+
* Runtime-state durability: **session** - the vendor owns the switch and the
|
|
59290
|
+
* device re-reads it on the next poll, so a restored value would only be stale.
|
|
59291
|
+
*
|
|
59292
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
59293
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
59294
|
+
*/
|
|
59295
|
+
durability: "session",
|
|
59296
|
+
/** History (D850): when Do Not Disturb was switched on and off. */
|
|
59297
|
+
history: { fields: { enabled: { kind: "boolean" } } }
|
|
59298
|
+
};
|
|
59191
59299
|
/** Pulse override: a rising edge advances `lastPressedAt` and the press count. */
|
|
59192
59300
|
var doorbellCustomize = {
|
|
59193
59301
|
version: 1,
|
|
@@ -62093,6 +62201,14 @@ var LlmGenerateBaseInputSchema = z.object({
|
|
|
62093
62201
|
topP: z.number().min(0).max(1).optional(),
|
|
62094
62202
|
/** Per-call override of the profile default (top-k sampling). */
|
|
62095
62203
|
topK: z.number().int().positive().optional(),
|
|
62204
|
+
/** Per-call override of `profile.reasoningEffort`. Sent only to a kind whose
|
|
62205
|
+
* descriptor offers the field; a kind that does not never sends it. */
|
|
62206
|
+
reasoningEffort: z.enum([
|
|
62207
|
+
"off",
|
|
62208
|
+
"low",
|
|
62209
|
+
"medium",
|
|
62210
|
+
"high"
|
|
62211
|
+
]).optional(),
|
|
62096
62212
|
/** Per-call override of `profile.timeoutMs` — the total generation bound. */
|
|
62097
62213
|
timeoutMs: z.number().int().positive().optional(),
|
|
62098
62214
|
/** Per-call override; beats both the consumer table and the profile. */
|
|
@@ -62426,7 +62542,10 @@ var LlmProfileKindSchema = z.string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind
|
|
|
62426
62542
|
var LlmModelFeaturesSchema = z.object({
|
|
62427
62543
|
vision: z.boolean(),
|
|
62428
62544
|
tools: z.boolean(),
|
|
62429
|
-
streaming: z.boolean()
|
|
62545
|
+
streaming: z.boolean(),
|
|
62546
|
+
/** Whether the model thinks before it answers. `null` = the endpoint does not
|
|
62547
|
+
* say; an editor then still offers the switch (unknown is not "no"). */
|
|
62548
|
+
reasoning: z.boolean().nullable().optional()
|
|
62430
62549
|
});
|
|
62431
62550
|
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
62432
62551
|
var LlmModelInfoSchema = z.object({
|
|
@@ -84682,9 +84801,17 @@ var ServerUpdateActionResultSchema = z.object({
|
|
|
84682
84801
|
*/
|
|
84683
84802
|
requiredAddonUpdates: z.array(RequiredAddonUpdateSchema).optional()
|
|
84684
84803
|
});
|
|
84685
|
-
var LaunchOverridesSchema = z.object({
|
|
84686
|
-
/** The persisted heap ceiling in MB, or `null` when none is set. */
|
|
84687
|
-
heapMb: z.number().int().nullable()
|
|
84804
|
+
var LaunchOverridesSchema = z.object({
|
|
84805
|
+
/** The persisted heap ceiling in MB, or `null` when none is set. */
|
|
84806
|
+
heapMb: z.number().int().nullable(),
|
|
84807
|
+
/** The persisted hub-main RSS budget in MB, or `null` when none is set. */
|
|
84808
|
+
rssBudgetMb: z.number().int().nullable()
|
|
84809
|
+
});
|
|
84810
|
+
var SetLaunchOverridesInputSchema = z.object({
|
|
84811
|
+
heapMb: z.number().int().min(512).max(65536).nullable(),
|
|
84812
|
+
/** Omitted keeps the stored budget; `null` clears it. */
|
|
84813
|
+
rssBudgetMb: z.number().int().min(512).max(65536).nullable().optional()
|
|
84814
|
+
});
|
|
84688
84815
|
var SetLaunchOverridesResultSchema = LaunchOverridesSchema.extend({
|
|
84689
84816
|
/** Always true: the override is read at launch, not by the running process. */
|
|
84690
84817
|
restartRequired: z.boolean() });
|
|
@@ -84747,11 +84874,12 @@ var serverManagementCapability = {
|
|
|
84747
84874
|
*/
|
|
84748
84875
|
getLaunchOverrides: method(z.void(), LaunchOverridesSchema, { auth: "admin" }),
|
|
84749
84876
|
/**
|
|
84750
|
-
* Set
|
|
84877
|
+
* Set or clear (`null`) the node's heap-ceiling (`heapMb`) and hub-main RSS
|
|
84878
|
+
* budget (`rssBudgetMb`) overrides; the budget wins over its env. It is
|
|
84751
84879
|
* written on the node itself and applies at the NEXT launch — restart the
|
|
84752
84880
|
* node (`restartServer`) for it to take effect.
|
|
84753
84881
|
*/
|
|
84754
|
-
setLaunchOverrides: method(
|
|
84882
|
+
setLaunchOverrides: method(SetLaunchOverridesInputSchema, SetLaunchOverridesResultSchema, {
|
|
84755
84883
|
kind: "mutation",
|
|
84756
84884
|
auth: "admin"
|
|
84757
84885
|
})
|
|
@@ -90450,6 +90578,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
90450
90578
|
deviceStatusCapability,
|
|
90451
90579
|
dishwasherCapability,
|
|
90452
90580
|
displayPaletteCapability,
|
|
90581
|
+
doNotDisturbCapability,
|
|
90453
90582
|
doorbellCapability,
|
|
90454
90583
|
embeddingEncoderCapability,
|
|
90455
90584
|
enumSensorCapability,
|
|
@@ -92227,6 +92356,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
92227
92356
|
deviceDiscovery: deviceDiscoveryCapability,
|
|
92228
92357
|
deviceStatus: deviceStatusCapability,
|
|
92229
92358
|
dishwasher: dishwasherCapability,
|
|
92359
|
+
doNotDisturb: doNotDisturbCapability,
|
|
92230
92360
|
doorbell: doorbellCapability,
|
|
92231
92361
|
enumSensor: enumSensorCapability,
|
|
92232
92362
|
eventEmitter: eventEmitterCapability,
|
|
@@ -96466,6 +96596,20 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
96466
96596
|
access: "create",
|
|
96467
96597
|
role: "admin"
|
|
96468
96598
|
},
|
|
96599
|
+
"doNotDisturb.getStatus": {
|
|
96600
|
+
capName: "do-not-disturb",
|
|
96601
|
+
capScope: "device",
|
|
96602
|
+
addonId: null,
|
|
96603
|
+
access: "view",
|
|
96604
|
+
role: "viewer"
|
|
96605
|
+
},
|
|
96606
|
+
"doNotDisturb.setEnabled": {
|
|
96607
|
+
capName: "do-not-disturb",
|
|
96608
|
+
capScope: "device",
|
|
96609
|
+
addonId: null,
|
|
96610
|
+
access: "create",
|
|
96611
|
+
role: "viewer"
|
|
96612
|
+
},
|
|
96469
96613
|
"doorbell.getStatus": {
|
|
96470
96614
|
capName: "doorbell",
|
|
96471
96615
|
capScope: "device",
|
|
@@ -103747,6 +103891,7 @@ var CAP_NAMES_WITH_STATUS = [
|
|
|
103747
103891
|
"device-export",
|
|
103748
103892
|
"device-status",
|
|
103749
103893
|
"dishwasher",
|
|
103894
|
+
"do-not-disturb",
|
|
103750
103895
|
"doorbell",
|
|
103751
103896
|
"enum-sensor",
|
|
103752
103897
|
"event-emitter",
|
|
@@ -104742,6 +104887,16 @@ Object.freeze({
|
|
|
104742
104887
|
form: "single",
|
|
104743
104888
|
optional: false
|
|
104744
104889
|
}],
|
|
104890
|
+
"doNotDisturb.getStatus": [{
|
|
104891
|
+
name: "deviceId",
|
|
104892
|
+
form: "single",
|
|
104893
|
+
optional: false
|
|
104894
|
+
}],
|
|
104895
|
+
"doNotDisturb.setEnabled": [{
|
|
104896
|
+
name: "deviceId",
|
|
104897
|
+
form: "single",
|
|
104898
|
+
optional: false
|
|
104899
|
+
}],
|
|
104745
104900
|
"doorbell.getStatus": [{
|
|
104746
104901
|
name: "deviceId",
|
|
104747
104902
|
form: "single",
|
|
@@ -106760,7 +106915,7 @@ Object.freeze({
|
|
|
106760
106915
|
});
|
|
106761
106916
|
/**
|
|
106762
106917
|
* Per-cap runtime-state policy, projected from every `*.cap.ts` that declares
|
|
106763
|
-
* `runtimeState`.
|
|
106918
|
+
* `runtimeState`. 80 caps: 39 `restored`, 41 `session`.
|
|
106764
106919
|
*
|
|
106765
106920
|
* A cap absent from this map has no runtime-state slice at all. A cap PRESENT
|
|
106766
106921
|
* with `durability: 'session'` has one and has decided not to keep it.
|
|
@@ -106850,6 +107005,10 @@ var RUNTIME_STATE_POLICY = {
|
|
|
106850
107005
|
durability: "session",
|
|
106851
107006
|
volatileFields: []
|
|
106852
107007
|
},
|
|
107008
|
+
"do-not-disturb": {
|
|
107009
|
+
durability: "session",
|
|
107010
|
+
volatileFields: []
|
|
107011
|
+
},
|
|
106853
107012
|
"doorbell": {
|
|
106854
107013
|
durability: "restored",
|
|
106855
107014
|
volatileFields: []
|