@camstack/addon-provider-homeassistant 1.2.148 → 1.2.149

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/dist/addon.js CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_dist = require("./dist-nvulD3Mi.js");
2
+ const require_dist = require("./dist-BHAS4ZKN.js");
3
3
  let node_crypto = require("node:crypto");
4
4
  let node_zlib = require("node:zlib");
5
5
  //#region src/ha-admin-link.ts
package/dist/addon.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as parseAdminBase, A as contactCapability, At as union, B as gasCapability, C as buildAddonRouteProvider, Ct as array, D as climateControlCapability, Dt as object, E as carbonMonoxideCapability, Et as number, G as lockControlCapability, H as humiditySensorCapability, I as enumSensorCapability, J as normalizeUnit, K as mediaPlayerCapability, L as eventEmitterCapability, M as coverCapability, Mt as url, N as deviceAdminLinkCapability, Nt as EventCategory, O as colorCapability, Ot as record, P as deviceAdoptionCapability, R as fanControlCapability, S as brokerCapability, St as _enum, T as buttonCapability, Tt as literal, U as imageCapability, V as humidifierCapability, W as lawnMowerControlCapability, X as notifierCapability, Y as notificationOutputCapability, Z as numericSensorCapability, _ as automationControlCapability, _t as DeviceType, at as smokeCapability, b as binaryCapability, bt as createEvent, ct as temperatureSensorCapability, d as TargetSchema, dt as valveCapability, et as powerMeterCapability, f as accessoriesCapability, ft as vibrationCapability, g as ambientLightSensorCapability, gt as DeviceRole, h as alarmPanelCapability, ht as DeviceFeature, it as scriptRunnerCapability, j as controlCapability, jt as unknown, k as connectivityCapability, kt as string, lt as updateCapability, m as airQualitySensorCapability, mt as weatherCapability, n as BaseDevice, nt as presenceCapability, ot as switchCapability, p as addonRoutesCapability, pt as waterHeaterCapability, q as motionCapability, r as BaseDeviceProvider, rt as pressureSensorCapability, s as EnumSensorDateTimeFormatSchema, st as tamperCapability, tt as prepareNotification, ut as vacuumControlCapability, v as batteryCapability, vt as errMsg, w as buildDeviceAdminUrl, wt as discriminatedUnion, x as brightnessCapability, y as bestLocationMatch, z as floodCapability } from "./dist-DmoYnWid.mjs";
1
+ import { $ as parseAdminBase, A as contactCapability, At as union, B as gasCapability, C as buildAddonRouteProvider, Ct as array, D as climateControlCapability, Dt as object, E as carbonMonoxideCapability, Et as number, G as lockControlCapability, H as humiditySensorCapability, I as enumSensorCapability, J as normalizeUnit, K as mediaPlayerCapability, L as eventEmitterCapability, M as coverCapability, Mt as url, N as deviceAdminLinkCapability, Nt as EventCategory, O as colorCapability, Ot as record, P as deviceAdoptionCapability, R as fanControlCapability, S as brokerCapability, St as _enum, T as buttonCapability, Tt as literal, U as imageCapability, V as humidifierCapability, W as lawnMowerControlCapability, X as notifierCapability, Y as notificationOutputCapability, Z as numericSensorCapability, _ as automationControlCapability, _t as DeviceType, at as smokeCapability, b as binaryCapability, bt as createEvent, ct as temperatureSensorCapability, d as TargetSchema, dt as valveCapability, et as powerMeterCapability, f as accessoriesCapability, ft as vibrationCapability, g as ambientLightSensorCapability, gt as DeviceRole, h as alarmPanelCapability, ht as DeviceFeature, it as scriptRunnerCapability, j as controlCapability, jt as unknown, k as connectivityCapability, kt as string, lt as updateCapability, m as airQualitySensorCapability, mt as weatherCapability, n as BaseDevice, nt as presenceCapability, ot as switchCapability, p as addonRoutesCapability, pt as waterHeaterCapability, q as motionCapability, r as BaseDeviceProvider, rt as pressureSensorCapability, s as EnumSensorDateTimeFormatSchema, st as tamperCapability, tt as prepareNotification, ut as vacuumControlCapability, v as batteryCapability, vt as errMsg, w as buildDeviceAdminUrl, wt as discriminatedUnion, x as brightnessCapability, y as bestLocationMatch, z as floodCapability } from "./dist-CpKTdyca.mjs";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import { brotliCompressSync, deflateSync, gzipSync } from "node:zlib";
4
4
  //#region src/ha-admin-link.ts
@@ -5370,7 +5370,7 @@ var ZodIssueCode = {
5370
5370
  var ZodFirstPartyTypeKind;
5371
5371
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5372
5372
  //#endregion
5373
- //#region ../types/dist/sleep-C-v96WpE.mjs
5373
+ //#region ../types/dist/sleep-gU6hqv4_.mjs
5374
5374
  /**
5375
5375
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5376
5376
  * window to float samples (D455).
@@ -7472,7 +7472,59 @@ function errMsg(err) {
7472
7472
  return String(err);
7473
7473
  }
7474
7474
  //#endregion
7475
- //#region ../types/dist/composition-BK-GTFYb.mjs
7475
+ //#region ../types/dist/composition-Dq42XWp0.mjs
7476
+ /**
7477
+ * The ffmpeg build every CamStack node downloads, per platform and arch.
7478
+ *
7479
+ * ## Why a download, on every node, including the container
7480
+ *
7481
+ * The version of ffmpeg used to be CODE: baked into the image, changeable only
7482
+ * by rebuilding and rolling it. Now it is DATA — this file states the release,
7483
+ * and a node that boots with a different one downloads it. Changing ffmpeg is a
7484
+ * framework bump, not an image rebuild.
7485
+ *
7486
+ * It also settles the licence question by removing it. FFmpeg's licence is
7487
+ * chosen at compile time: the core is LGPL 2.1+, `--enable-gpl` makes it GPL
7488
+ * (for x264/x265), `--enable-version3` makes that v3, and `--enable-nonfree`
7489
+ * makes the result undistributable. These are GPL v3 builds, and we do not
7490
+ * distribute them: the user's own node fetches the archive from the project
7491
+ * that publishes it, so we convey no GPL work and inherit none of the
7492
+ * obligations that come with conveying one. That is the whole reason the image
7493
+ * no longer installs ffmpeg at all — not a technical preference.
7494
+ *
7495
+ * ## Why jellyfin-ffmpeg
7496
+ *
7497
+ * One vendor covering linux-amd64, linux-arm64, darwin-arm64 and darwin-x64
7498
+ * from one release, with the widest hardware surface of anything maintained:
7499
+ * VAAPI, QSV, NVENC/NVDEC, AMF, Vulkan, OpenCL and DRM on amd64, plus Rockchip
7500
+ * MPP on arm64. It reaches the vendor libraries through dlopen trampolines,
7501
+ * so the binary is not linked against a driver stack it may not find.
7502
+ *
7503
+ * **What it still needs from the host, measured 2026-09-19.** On the Unraid
7504
+ * HOST, which has no libva, `-vaapi_device` aborts the process outright —
7505
+ * `implib-gen: libva-drm.so.2: failed to load library ... Assertion '0 &&
7506
+ * "Assertion in generated code"' failed`. Inside our container, which installs
7507
+ * libva plus the iHD driver, the same command encodes: verified end to end with
7508
+ * `testsrc → format=nv12,hwupload → h264_vaapi`. So the image drops ffmpeg and
7509
+ * KEEPS the Intel media stack; the drivers are the part a binary cannot bring.
7510
+ *
7511
+ * ## Why each artifact carries a checksum and a claim
7512
+ *
7513
+ * The download is now the only source, so `sha256` is verified before anything
7514
+ * is extracted — jellyfin publishes no checksums on its release assets, so
7515
+ * these are ours, taken at the version bump. And `expectedHwaccels` is what the
7516
+ * build is supposed to be able to do: a binary that probes short of its own
7517
+ * claim is a source that changed under us, which is precisely what went
7518
+ * unnoticed for months when a static build turned out to carry no VAAPI at all
7519
+ * (D536).
7520
+ */
7521
+ /** The pinned jellyfin-ffmpeg release. Changing this is the version change. */
7522
+ var FFMPEG_RELEASE = "8.1.2-5";
7523
+ var BASE = `https://github.com/jellyfin/jellyfin-ffmpeg/releases/download/v${FFMPEG_RELEASE}`;
7524
+ function portable(target) {
7525
+ return `${BASE}/jellyfin-ffmpeg_${FFMPEG_RELEASE}_portable_${target}-gpl.tar.xz`;
7526
+ }
7527
+ portable("linux64"), portable("linuxarm64"), portable("macarm64"), portable("mac64");
7476
7528
  /**
7477
7529
  * LA tabella "quale booleano di questo tipo di device conta come ALTO", e il
7478
7530
  * valutatore puro del suo FRONTE.
@@ -9090,6 +9142,82 @@ var ArchivedDebugNoteQueryInputSchema = object({
9090
9142
  /** Max rows returned, newest-first. */
9091
9143
  limit: number().int().min(1).max(1e3).optional()
9092
9144
  });
9145
+ var TrackRelationKindSchema = _enum(["same-subject", "different-subjects"]);
9146
+ var TrackSideSchema = _enum(["before", "after"]);
9147
+ var TrackPurityValueSchema = _enum(["mixed", "not-a-subject"]);
9148
+ var TrackRelationSchema = object({
9149
+ id: string(),
9150
+ deviceId: number().int(),
9151
+ leftTrackId: string(),
9152
+ rightTrackId: string(),
9153
+ leftSide: TrackSideSchema.nullable(),
9154
+ rightSide: TrackSideSchema.nullable(),
9155
+ relation: TrackRelationKindSchema,
9156
+ presence: literal("continuous").nullable(),
9157
+ leftStartedAt: number().int().nullable(),
9158
+ rightStartedAt: number().int().nullable(),
9159
+ createdAt: number().int(),
9160
+ updatedAt: number().int(),
9161
+ author: string().nullable()
9162
+ });
9163
+ var TrackPuritySchema = object({
9164
+ id: string(),
9165
+ deviceId: number().int(),
9166
+ sourceTrackId: string(),
9167
+ purity: TrackPurityValueSchema,
9168
+ switchAtMs: number().int().nullable(),
9169
+ startedAt: number().int().nullable(),
9170
+ createdAt: number().int(),
9171
+ updatedAt: number().int(),
9172
+ author: string().nullable()
9173
+ });
9174
+ var SetTrackRelationInputSchema = object({
9175
+ deviceId: number().int(),
9176
+ trackId: string().min(1),
9177
+ otherTrackId: string().min(1),
9178
+ relation: TrackRelationKindSchema,
9179
+ presence: literal("continuous").optional(),
9180
+ trackSide: TrackSideSchema.optional(),
9181
+ otherSide: TrackSideSchema.optional()
9182
+ });
9183
+ var ClearTrackRelationInputSchema = object({
9184
+ deviceId: number().int(),
9185
+ trackId: string().min(1),
9186
+ otherTrackId: string().min(1)
9187
+ });
9188
+ var ClearTrackRelationResultSchema = object({ cleared: boolean() });
9189
+ var SetTrackPurityInputSchema = object({
9190
+ deviceId: number().int(),
9191
+ trackId: string().min(1),
9192
+ purity: _enum([
9193
+ "pure",
9194
+ "mixed",
9195
+ "not-a-subject"
9196
+ ]),
9197
+ switchAtMs: number().int().optional()
9198
+ });
9199
+ /** `null` when `pure` cleared the row. */
9200
+ var SetTrackPurityResultSchema = object({ purity: TrackPuritySchema.nullable() });
9201
+ var ListTrackRelationsInputSchema = object({
9202
+ deviceId: number().int(),
9203
+ trackId: string().optional(),
9204
+ since: number().int().optional(),
9205
+ until: number().int().optional(),
9206
+ limit: number().int().min(1).max(5e3).optional()
9207
+ });
9208
+ var ListTrackRelationsResultSchema = object({
9209
+ relations: array(TrackRelationSchema).readonly(),
9210
+ purities: array(TrackPuritySchema).readonly(),
9211
+ truncated: boolean()
9212
+ });
9213
+ _enum([
9214
+ "unknown-track",
9215
+ "cross-device",
9216
+ "self-relation",
9217
+ "contradiction",
9218
+ "switch-outside-track",
9219
+ "switch-needs-mixed"
9220
+ ]);
9093
9221
  /**
9094
9222
  * Ops-log — the durable, append-only operations audit shared by the
9095
9223
  * recordings and events management surfaces.
@@ -13347,6 +13475,70 @@ var CompositionBlockStateSchema = object({
13347
13475
  reason: string().optional(),
13348
13476
  fields: array(CompositionFieldStateSchema)
13349
13477
  });
13478
+ var NUMBER = {
13479
+ kind: "fixed",
13480
+ result: ["number"]
13481
+ };
13482
+ var BOOLEAN = {
13483
+ kind: "fixed",
13484
+ result: ["boolean"]
13485
+ };
13486
+ Object.freeze({
13487
+ min: NUMBER,
13488
+ max: NUMBER,
13489
+ abs: NUMBER,
13490
+ floor: NUMBER,
13491
+ ceil: NUMBER,
13492
+ sqrt: NUMBER,
13493
+ round: NUMBER,
13494
+ pow: NUMBER,
13495
+ clamp: NUMBER,
13496
+ avg: NUMBER,
13497
+ sum: NUMBER,
13498
+ age: NUMBER,
13499
+ convert: NUMBER,
13500
+ coalesce: { kind: "coalesce" },
13501
+ any: BOOLEAN,
13502
+ all: BOOLEAN,
13503
+ within: BOOLEAN,
13504
+ latest: {
13505
+ kind: "fixed",
13506
+ result: ["number", "null"]
13507
+ },
13508
+ number: {
13509
+ kind: "fixed",
13510
+ result: ["number", "null"]
13511
+ },
13512
+ rose: {
13513
+ kind: "fixed",
13514
+ result: ["number", "null"]
13515
+ },
13516
+ count: NUMBER
13517
+ });
13518
+ `${COMPOSED_DEVICE_STABLE_ID_PREFIX}`;
13519
+ /**
13520
+ * What a composition may BUILD on a device type (G2, D676): the caps a new
13521
+ * device of that type, or an existing one that lacks them, can be given. The
13522
+ * blockers are the validator's own refusal codes, and a spec compares this
13523
+ * listing with `planComposition` for every capability — the editor can never
13524
+ * offer a feature the save would refuse for the same reason.
13525
+ */
13526
+ var ComposableFieldSchema = object({
13527
+ path: string(),
13528
+ kind: CompositionFieldKindSchema,
13529
+ nullable: boolean(),
13530
+ required: boolean(),
13531
+ enumValues: array(string()).optional()
13532
+ });
13533
+ var ComposableCapabilitiesSchema = object({ caps: array(object({
13534
+ cap: string(),
13535
+ fields: array(ComposableFieldSchema),
13536
+ /** Present for an item-array cap (`consumables.items`). */
13537
+ itemArray: object({
13538
+ path: string(),
13539
+ keyField: string()
13540
+ }).optional()
13541
+ })) });
13350
13542
  /** Where a block runs. The operator chooses — a block driving a device on an
13351
13543
  * agent is the reason placement is not fixed to the hub. */
13352
13544
  var CoreBlockPlacementSchema = union([literal("hub"), string().min(1)]);
@@ -13511,7 +13703,7 @@ method(object({}), object({ blocks: array(CoreBlockSchema) }), { auth: "admin" }
13511
13703
  }), method(object({ blockId: string() }), CompositionGetReadSchema, { auth: "admin" }), method(object({}), CompositionListReadSchema, { auth: "admin" }), method(object({
13512
13704
  addonId: string().min(1),
13513
13705
  stableId: string().min(1)
13514
- }), CompositionCustomizationReadSchema, { auth: "admin" }), method(object({
13706
+ }), CompositionCustomizationReadSchema, { auth: "admin" }), method(object({ deviceType: _enum(DeviceType) }), ComposableCapabilitiesSchema, { auth: "admin" }), method(object({
13515
13707
  composition: CompositionSchema,
13516
13708
  blockId: string().optional()
13517
13709
  }), CompositionValidationSchema, {
@@ -19009,8 +19201,14 @@ var NcSensorTransitionSchema = _enum(["raised", "cleared"]);
19009
19201
  /** Admin-zone membership condition (zone IDs as stamped by the ZoneEngine). */
19010
19202
  var NcZoneConditionSchema = object({
19011
19203
  ids: array(string().min(1)).min(1),
19012
- /** Quantifier over `ids` — at least one / every one visited. */
19013
- match: _enum(["any", "all"]).default("any")
19204
+ /**
19205
+ * LEGACY quantifier over `ids`. Absent = `any` (at least one visited), which
19206
+ * is what both editors mean and all they write since D690: "all of" was
19207
+ * removed from the editors because on an immediate rule it asked one
19208
+ * detection to stand in every zone at once. Still ACCEPTED, and `all` still
19209
+ * evaluated, so a stored rule keeps parsing and meaning what it meant.
19210
+ */
19211
+ match: _enum(["any", "all"]).optional()
19014
19212
  });
19015
19213
  /**
19016
19214
  * The P1 condition set — a flat AND of groups; absent group = pass;
@@ -20901,7 +21099,7 @@ function cameraSensorRefKey(ref) {
20901
21099
  }
20902
21100
  /** CS-1 accepts exactly one mode; CS-2 (D673) widens it to confirm / replace. */
20903
21101
  var CameraSensorsModeSchema = _enum(["in-addition"]);
20904
- object({
21102
+ var CameraSensorsConfigSchema = object({
20905
21103
  mode: CameraSensorsModeSchema,
20906
21104
  sensors: array(CameraSensorRefSchema).min(1).max(8)
20907
21105
  }).superRefine((value, ctx) => {
@@ -22806,7 +23004,8 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
22806
23004
  trackIds: array(string()).min(1)
22807
23005
  }), object({
22808
23006
  deleted: number().int(),
22809
- failed: array(string()).readonly()
23007
+ failed: array(string()).readonly(),
23008
+ sparedMediaIds: array(number().int()).readonly().optional()
22810
23009
  }), {
22811
23010
  kind: "mutation",
22812
23011
  auth: "admin"
@@ -22815,7 +23014,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
22815
23014
  deviceId: number(),
22816
23015
  trackId: string(),
22817
23016
  flags: TrackFlagsPatchSchema
22818
- }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(BirthDecisionQueryInputSchema, array(BirthDecisionRecordSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
23017
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(SetTrackRelationInputSchema, TrackRelationSchema, { kind: "mutation" }), method(ClearTrackRelationInputSchema, ClearTrackRelationResultSchema, { kind: "mutation" }), method(SetTrackPurityInputSchema, SetTrackPurityResultSchema, { kind: "mutation" }), method(ListTrackRelationsInputSchema, ListTrackRelationsResultSchema, { kind: "query" }), method(BirthDecisionQueryInputSchema, array(BirthDecisionRecordSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
22819
23018
  kind: "query",
22820
23019
  auth: "admin"
22821
23020
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -25013,7 +25212,64 @@ var NodeInferenceDevicesSchema = object({
25013
25212
  reachable: boolean(),
25014
25213
  devices: array(NodeInferenceDeviceSchema).readonly()
25015
25214
  });
25016
- method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
25215
+ /**
25216
+ * Pipeline Orchestrator capability — global load balancer + camera dispatcher.
25217
+ *
25218
+ * Lives on the hub. Tracks the camera-to-agent assignment map, listens to
25219
+ * device lifecycle events, queries each runner's capacity + hardware
25220
+ * profile, and dispatches `attachCamera` / `detachCamera` cap calls to the
25221
+ * appropriate runner instances. Persists assignments via the multi-level
25222
+ * settings store so they survive hub restarts.
25223
+ *
25224
+ * Strictly the control plane: never sees a frame, never calls inference,
25225
+ * never drains queues. The runner does that work locally on each agent.
25226
+ */
25227
+ /**
25228
+ * The input of `setCameraSensors` (G5, D676): the ONE typed write path of a
25229
+ * camera's attached sensors (D672). `config: null` removes the attachment —
25230
+ * the camera reads `not-configured` again, never `unreadable`.
25231
+ */
25232
+ var SetCameraSensorsInputSchema = object({
25233
+ deviceId: number().int().nonnegative(),
25234
+ /** `null` removes the attachment: the camera goes back to `not-configured`. */
25235
+ config: CameraSensorsConfigSchema.nullable()
25236
+ });
25237
+ /**
25238
+ * Why an early occupancy look (D691) was not scheduled.
25239
+ *
25240
+ * - `unknown-camera` — no session was ever dispatched for it, so there is no
25241
+ * node and no config to attach a burst with.
25242
+ * - `out-of-range` — the ask is negative or further out than the orchestrator
25243
+ * will hold a timer for; the parked-object cadence is the answer there.
25244
+ * - `no-burst-producer` — this build has no burst producer at all.
25245
+ * - `already-looked` — this camera's ONE early look since its last session has
25246
+ * been spent. A look's own burst can re-arm a flickering flip, and a look
25247
+ * per arm would chain a burst every ~30 s forever (review H2); the next
25248
+ * real session re-arms the budget.
25249
+ */
25250
+ var OccupancyLookRefusalSchema = _enum([
25251
+ "unknown-camera",
25252
+ "out-of-range",
25253
+ "no-burst-producer",
25254
+ "already-looked"
25255
+ ]);
25256
+ method(object({
25257
+ deviceId: number().int().nonnegative(),
25258
+ /** How long from NOW until the pending flip's sustain window ends. RELATIVE,
25259
+ * so the caller's clock and the orchestrator's never have to agree. */
25260
+ afterMs: number().finite(),
25261
+ /** Why, for the log. */
25262
+ reason: string()
25263
+ }), object({
25264
+ scheduled: boolean(),
25265
+ /** When `scheduled`: how long until the burst is dialled. */
25266
+ dueInMs: number().optional(),
25267
+ /** When not `scheduled`: why. */
25268
+ refusedBecause: OccupancyLookRefusalSchema.optional()
25269
+ }), {
25270
+ kind: "mutation",
25271
+ auth: "admin"
25272
+ }), method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
25017
25273
  kind: "mutation",
25018
25274
  auth: "admin"
25019
25275
  }), method(StorageMigrationLeaseInputSchema, object({ resumed: literal(true) }), {
@@ -25167,7 +25423,10 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
25167
25423
  }), CameraSwitchGroupSchema, {
25168
25424
  kind: "mutation",
25169
25425
  auth: "admin"
25170
- }), method(object({ deviceId: number() }), CameraStatusSchema), method(object({ deviceIds: array(number()).optional() }), array(CameraStatusSchema).readonly()), method(_void(), DiskReconcileJobSchema, {
25426
+ }), method(object({ deviceId: number() }), CameraStatusSchema), method(object({ deviceIds: array(number()).optional() }), array(CameraStatusSchema).readonly()), method(SetCameraSensorsInputSchema, object({ success: literal(true) }), {
25427
+ kind: "mutation",
25428
+ auth: "admin"
25429
+ }), method(_void(), DiskReconcileJobSchema, {
25171
25430
  kind: "mutation",
25172
25431
  auth: "admin"
25173
25432
  }), method(_void(), DiskReconcileJobSchema, { auth: "admin" }), method(_void(), array(PipelineTemplateSchema).readonly()), method(object({
@@ -38840,47 +39099,6 @@ var zoneRulesCapability = {
38840
39099
  */
38841
39100
  durability: "restored"
38842
39101
  };
38843
- var NUMBER = {
38844
- kind: "fixed",
38845
- result: ["number"]
38846
- };
38847
- var BOOLEAN = {
38848
- kind: "fixed",
38849
- result: ["boolean"]
38850
- };
38851
- Object.freeze({
38852
- min: NUMBER,
38853
- max: NUMBER,
38854
- abs: NUMBER,
38855
- floor: NUMBER,
38856
- ceil: NUMBER,
38857
- sqrt: NUMBER,
38858
- round: NUMBER,
38859
- pow: NUMBER,
38860
- clamp: NUMBER,
38861
- avg: NUMBER,
38862
- sum: NUMBER,
38863
- age: NUMBER,
38864
- convert: NUMBER,
38865
- coalesce: { kind: "coalesce" },
38866
- any: BOOLEAN,
38867
- all: BOOLEAN,
38868
- within: BOOLEAN,
38869
- latest: {
38870
- kind: "fixed",
38871
- result: ["number", "null"]
38872
- },
38873
- number: {
38874
- kind: "fixed",
38875
- result: ["number", "null"]
38876
- },
38877
- rose: {
38878
- kind: "fixed",
38879
- result: ["number", "null"]
38880
- },
38881
- count: NUMBER
38882
- });
38883
- `${COMPOSED_DEVICE_STABLE_ID_PREFIX}`;
38884
39102
  /**
38885
39103
  * Accessory device helpers — shared across drivers.
38886
39104
  *
@@ -42826,6 +43044,12 @@ Object.freeze({
42826
43044
  addonId: null,
42827
43045
  access: "view"
42828
43046
  },
43047
+ "coreBlocks.listComposableCaps": {
43048
+ capName: "core-blocks",
43049
+ capScope: "system",
43050
+ addonId: null,
43051
+ access: "view"
43052
+ },
42829
43053
  "coreBlocks.listCompositions": {
42830
43054
  capName: "core-blocks",
42831
43055
  capScope: "system",
@@ -45640,6 +45864,12 @@ Object.freeze({
45640
45864
  addonId: null,
45641
45865
  access: "create"
45642
45866
  },
45867
+ "pipelineAnalytics.clearTrackRelation": {
45868
+ capName: "pipeline-analytics",
45869
+ capScope: "device",
45870
+ addonId: null,
45871
+ access: "delete"
45872
+ },
45643
45873
  "pipelineAnalytics.clearTracks": {
45644
45874
  capName: "pipeline-analytics",
45645
45875
  capScope: "device",
@@ -45892,6 +46122,12 @@ Object.freeze({
45892
46122
  addonId: null,
45893
46123
  access: "view"
45894
46124
  },
46125
+ "pipelineAnalytics.listTrackRelations": {
46126
+ capName: "pipeline-analytics",
46127
+ capScope: "device",
46128
+ addonId: null,
46129
+ access: "view"
46130
+ },
45895
46131
  "pipelineAnalytics.listTracks": {
45896
46132
  capName: "pipeline-analytics",
45897
46133
  capScope: "device",
@@ -46006,6 +46242,18 @@ Object.freeze({
46006
46242
  addonId: null,
46007
46243
  access: "create"
46008
46244
  },
46245
+ "pipelineAnalytics.setTrackPurity": {
46246
+ capName: "pipeline-analytics",
46247
+ capScope: "device",
46248
+ addonId: null,
46249
+ access: "create"
46250
+ },
46251
+ "pipelineAnalytics.setTrackRelation": {
46252
+ capName: "pipeline-analytics",
46253
+ capScope: "device",
46254
+ addonId: null,
46255
+ access: "create"
46256
+ },
46009
46257
  "pipelineAnalytics.startStorageMigrationMove": {
46010
46258
  capName: "pipeline-analytics",
46011
46259
  capScope: "device",
@@ -46444,6 +46692,12 @@ Object.freeze({
46444
46692
  addonId: null,
46445
46693
  access: "delete"
46446
46694
  },
46695
+ "pipelineOrchestrator.requestOccupancyLook": {
46696
+ capName: "pipeline-orchestrator",
46697
+ capScope: "system",
46698
+ addonId: null,
46699
+ access: "create"
46700
+ },
46447
46701
  "pipelineOrchestrator.resetNodePipelineDefaults": {
46448
46702
  capName: "pipeline-orchestrator",
46449
46703
  capScope: "system",
@@ -46510,6 +46764,12 @@ Object.freeze({
46510
46764
  addonId: null,
46511
46765
  access: "create"
46512
46766
  },
46767
+ "pipelineOrchestrator.setCameraSensors": {
46768
+ capName: "pipeline-orchestrator",
46769
+ capScope: "system",
46770
+ addonId: null,
46771
+ access: "create"
46772
+ },
46513
46773
  "pipelineOrchestrator.setCameraStepOverride": {
46514
46774
  capName: "pipeline-orchestrator",
46515
46775
  capScope: "system",
@@ -49920,6 +50180,11 @@ Object.freeze({
49920
50180
  form: "single",
49921
50181
  optional: false
49922
50182
  }],
50183
+ "pipelineAnalytics.clearTrackRelation": [{
50184
+ name: "deviceId",
50185
+ form: "single",
50186
+ optional: false
50187
+ }],
49923
50188
  "pipelineAnalytics.clearTracks": [{
49924
50189
  name: "deviceId",
49925
50190
  form: "single",
@@ -50070,6 +50335,11 @@ Object.freeze({
50070
50335
  form: "single",
50071
50336
  optional: false
50072
50337
  }],
50338
+ "pipelineAnalytics.listTrackRelations": [{
50339
+ name: "deviceId",
50340
+ form: "single",
50341
+ optional: false
50342
+ }],
50073
50343
  "pipelineAnalytics.listTracks": [{
50074
50344
  name: "deviceId",
50075
50345
  form: "single",
@@ -50140,6 +50410,16 @@ Object.freeze({
50140
50410
  form: "single",
50141
50411
  optional: false
50142
50412
  }],
50413
+ "pipelineAnalytics.setTrackPurity": [{
50414
+ name: "deviceId",
50415
+ form: "single",
50416
+ optional: false
50417
+ }],
50418
+ "pipelineAnalytics.setTrackRelation": [{
50419
+ name: "deviceId",
50420
+ form: "single",
50421
+ optional: false
50422
+ }],
50143
50423
  "pipelineAnalytics.wipeAllAnalytics": [{
50144
50424
  name: "deviceId",
50145
50425
  form: "single",
@@ -50210,6 +50490,11 @@ Object.freeze({
50210
50490
  form: "single",
50211
50491
  optional: false
50212
50492
  }],
50493
+ "pipelineOrchestrator.requestOccupancyLook": [{
50494
+ name: "deviceId",
50495
+ form: "single",
50496
+ optional: false
50497
+ }],
50213
50498
  "pipelineOrchestrator.resolvePipeline": [{
50214
50499
  name: "deviceId",
50215
50500
  form: "single",
@@ -50220,6 +50505,11 @@ Object.freeze({
50220
50505
  form: "single",
50221
50506
  optional: false
50222
50507
  }],
50508
+ "pipelineOrchestrator.setCameraSensors": [{
50509
+ name: "deviceId",
50510
+ form: "single",
50511
+ optional: false
50512
+ }],
50223
50513
  "pipelineOrchestrator.setCameraStepOverride": [{
50224
50514
  name: "deviceId",
50225
50515
  form: "single",
@@ -51649,6 +51939,37 @@ var STATE_SUMMARY_VARS = [
51649
51939
  [...RULE_TEXT],
51650
51940
  ...STATE_SUMMARY_VARS
51651
51941
  ];
51942
+ new Set([
51943
+ "disarmed",
51944
+ "armed_home",
51945
+ "armed_away",
51946
+ "armed_night",
51947
+ "armed_vacation",
51948
+ "armed_custom_bypass",
51949
+ "arming",
51950
+ "disarming",
51951
+ "pending",
51952
+ "triggered",
51953
+ "open",
51954
+ "opening",
51955
+ "closing",
51956
+ "closed",
51957
+ "stopped",
51958
+ "locked",
51959
+ "unlocked",
51960
+ "locking",
51961
+ "unlocking",
51962
+ "jammed",
51963
+ "on",
51964
+ "off",
51965
+ "home",
51966
+ "not_home",
51967
+ "matched",
51968
+ "diverged",
51969
+ "unknown",
51970
+ "latched",
51971
+ "live"
51972
+ ]);
51652
51973
  /**
51653
51974
  * TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
51654
51975
  *