@camstack/addon-export-hap 1.2.141 → 1.2.142

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.
@@ -5419,7 +5419,7 @@ var ZodIssueCode = {
5419
5419
  var ZodFirstPartyTypeKind;
5420
5420
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5421
5421
  //#endregion
5422
- //#region ../types/dist/sleep-C-v96WpE.mjs
5422
+ //#region ../types/dist/sleep-gU6hqv4_.mjs
5423
5423
  /**
5424
5424
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5425
5425
  * window to float samples (D455).
@@ -9706,6 +9706,82 @@ var ArchivedDebugNoteQueryInputSchema = object({
9706
9706
  /** Max rows returned, newest-first. */
9707
9707
  limit: number().int().min(1).max(1e3).optional()
9708
9708
  });
9709
+ var TrackRelationKindSchema = _enum(["same-subject", "different-subjects"]);
9710
+ var TrackSideSchema = _enum(["before", "after"]);
9711
+ var TrackPurityValueSchema = _enum(["mixed", "not-a-subject"]);
9712
+ var TrackRelationSchema = object({
9713
+ id: string(),
9714
+ deviceId: number().int(),
9715
+ leftTrackId: string(),
9716
+ rightTrackId: string(),
9717
+ leftSide: TrackSideSchema.nullable(),
9718
+ rightSide: TrackSideSchema.nullable(),
9719
+ relation: TrackRelationKindSchema,
9720
+ presence: literal("continuous").nullable(),
9721
+ leftStartedAt: number().int().nullable(),
9722
+ rightStartedAt: number().int().nullable(),
9723
+ createdAt: number().int(),
9724
+ updatedAt: number().int(),
9725
+ author: string().nullable()
9726
+ });
9727
+ var TrackPuritySchema = object({
9728
+ id: string(),
9729
+ deviceId: number().int(),
9730
+ sourceTrackId: string(),
9731
+ purity: TrackPurityValueSchema,
9732
+ switchAtMs: number().int().nullable(),
9733
+ startedAt: number().int().nullable(),
9734
+ createdAt: number().int(),
9735
+ updatedAt: number().int(),
9736
+ author: string().nullable()
9737
+ });
9738
+ var SetTrackRelationInputSchema = object({
9739
+ deviceId: number().int(),
9740
+ trackId: string().min(1),
9741
+ otherTrackId: string().min(1),
9742
+ relation: TrackRelationKindSchema,
9743
+ presence: literal("continuous").optional(),
9744
+ trackSide: TrackSideSchema.optional(),
9745
+ otherSide: TrackSideSchema.optional()
9746
+ });
9747
+ var ClearTrackRelationInputSchema = object({
9748
+ deviceId: number().int(),
9749
+ trackId: string().min(1),
9750
+ otherTrackId: string().min(1)
9751
+ });
9752
+ var ClearTrackRelationResultSchema = object({ cleared: boolean() });
9753
+ var SetTrackPurityInputSchema = object({
9754
+ deviceId: number().int(),
9755
+ trackId: string().min(1),
9756
+ purity: _enum([
9757
+ "pure",
9758
+ "mixed",
9759
+ "not-a-subject"
9760
+ ]),
9761
+ switchAtMs: number().int().optional()
9762
+ });
9763
+ /** `null` when `pure` cleared the row. */
9764
+ var SetTrackPurityResultSchema = object({ purity: TrackPuritySchema.nullable() });
9765
+ var ListTrackRelationsInputSchema = object({
9766
+ deviceId: number().int(),
9767
+ trackId: string().optional(),
9768
+ since: number().int().optional(),
9769
+ until: number().int().optional(),
9770
+ limit: number().int().min(1).max(5e3).optional()
9771
+ });
9772
+ var ListTrackRelationsResultSchema = object({
9773
+ relations: array(TrackRelationSchema).readonly(),
9774
+ purities: array(TrackPuritySchema).readonly(),
9775
+ truncated: boolean()
9776
+ });
9777
+ _enum([
9778
+ "unknown-track",
9779
+ "cross-device",
9780
+ "self-relation",
9781
+ "contradiction",
9782
+ "switch-outside-track",
9783
+ "switch-needs-mixed"
9784
+ ]);
9709
9785
  /**
9710
9786
  * Ops-log — the durable, append-only operations audit shared by the
9711
9787
  * recordings and events management surfaces.
@@ -12413,6 +12489,68 @@ method(object({
12413
12489
  password: string()
12414
12490
  }), AuthResultSchema.nullable(), { kind: "mutation" }), method(object({ state: string() }), string()), method(record(string(), string()), AuthResultSchema, { kind: "mutation" }), method(object({ token: string() }), AuthResultSchema.nullable());
12415
12491
  /**
12492
+ * How long one snapshot may take end to end: the pinned copy of the whole
12493
+ * database plus `PRAGMA integrity_check` over the copy, on the hub's slowest
12494
+ * disk. ~800 MB at a pessimistic 10 MB/s is under 3 minutes; the bound is
12495
+ * generous because a timeout fails the whole backup run.
12496
+ */
12497
+ var DATABASE_SNAPSHOT_TIMEOUT_MS = 30 * 6e4;
12498
+ /**
12499
+ * The databases an owner snapshots — declared by the OWNER, so a caller never
12500
+ * guesses which file is live from what sits beside it (a cleanly closed
12501
+ * database has no sidecars and is just as owned). Paths are absolute on the
12502
+ * owner's host.
12503
+ */
12504
+ var DatabaseSnapshotTargetsSchema = object({ databases: array(object({ livePath: string() })) });
12505
+ /** One b-tree table of the snapshot and the rows it holds. */
12506
+ var DatabaseSnapshotTableSchema = object({
12507
+ name: string(),
12508
+ rows: number().int().nonnegative()
12509
+ });
12510
+ /**
12511
+ * What the owner wrote. Every path is ABSOLUTE on the owner's host — the
12512
+ * caller pins the call to its own node, so it can read the file; a caller
12513
+ * that finds the path outside its own data root refuses it rather than
12514
+ * archiving something it cannot place.
12515
+ */
12516
+ var DatabaseSnapshotResultSchema = object({
12517
+ /** The live database the snapshot copies. Never to be copied as a file. */
12518
+ livePath: string(),
12519
+ /** The verified copy: `<livePath>` + {@link DATABASE_SNAPSHOT_SUFFIX}. */
12520
+ snapshotPath: string(),
12521
+ sizeBytes: number().int().nonnegative(),
12522
+ pageCount: number().int().nonnegative(),
12523
+ pageSize: number().int().positive(),
12524
+ /**
12525
+ * Every b-tree table with its row count. Read inside the SAME read
12526
+ * transaction the copy was taken from, and found EQUAL on the copy — so
12527
+ * this is the content of the snapshot, not an estimate of the source.
12528
+ */
12529
+ tables: array(DatabaseSnapshotTableSchema),
12530
+ /** Wall time of the pinned copy (row counts included). */
12531
+ copyMs: number().nonnegative(),
12532
+ /** Wall time of the checks on the copy (`integrity_check`, row counts). */
12533
+ verifyMs: number().nonnegative(),
12534
+ /** When the pinned read transaction began (ms epoch) — the snapshot's instant. */
12535
+ takenAt: number()
12536
+ });
12537
+ /**
12538
+ * A snapshot as an ARCHIVE records it (`ArchiveManifest.sqliteSnapshots`):
12539
+ * the same facts, with both paths relative to the archive root (the node's
12540
+ * data dir), because an archive outlives the host that made it.
12541
+ */
12542
+ var ArchiveSqliteSnapshotSchema = DatabaseSnapshotResultSchema.extend({
12543
+ /** Archive-relative path of the live database the archive does NOT carry. */
12544
+ livePath: string(),
12545
+ /** Archive-relative path of the verified copy it carries in its place. */
12546
+ snapshotPath: string()
12547
+ });
12548
+ method(object({}), DatabaseSnapshotTargetsSchema, { auth: "admin" }), method(object({}), DatabaseSnapshotResultSchema, {
12549
+ kind: "mutation",
12550
+ auth: "admin",
12551
+ timeoutMs: DATABASE_SNAPSHOT_TIMEOUT_MS
12552
+ });
12553
+ /**
12416
12554
  * Orchestrator-side destination metadata. The orchestrator computes
12417
12555
  * `id = <addonId>:<subId>` from its provider lookup so consumers
12418
12556
  * (admin UI, restore flow) see one canonical key.
@@ -12523,7 +12661,12 @@ var ArchiveManifestSchema = object({
12523
12661
  locations: array(string()),
12524
12662
  entries: array(ArchiveEntrySchema),
12525
12663
  totalBytes: number(),
12526
- totalFiles: number()
12664
+ totalFiles: number(),
12665
+ /**
12666
+ * Live SQLite databases this archive carries as their OWNER's verified
12667
+ * snapshot instead of as files (D693). Absent on archives made before.
12668
+ */
12669
+ sqliteSnapshots: array(ArchiveSqliteSnapshotSchema).optional()
12527
12670
  });
12528
12671
  var LocationStatSchema = object({
12529
12672
  name: string(),
@@ -13947,6 +14090,116 @@ var CompositionBlockStateSchema = object({
13947
14090
  reason: string().optional(),
13948
14091
  fields: array(CompositionFieldStateSchema)
13949
14092
  });
14093
+ var ComposerBlockSchema = object({
14094
+ id: string().min(1),
14095
+ name: string().min(1).max(120),
14096
+ enabled: boolean(),
14097
+ updatedAt: number(),
14098
+ composition: CompositionSchema
14099
+ });
14100
+ /**
14101
+ * A stored composition row that no longer PARSES — a schema a release
14102
+ * tightened, a row written by a newer build. Sent by id so the composer keeps
14103
+ * its device as a placeholder and reports the block `failed` naming the parse
14104
+ * error. Leaving it out would read, twice, exactly like a delete (D49).
14105
+ */
14106
+ var ComposerUnreadableBlockSchema = object({
14107
+ id: string().min(1),
14108
+ /** The row's stored name column; null when even that is unreadable (the device keeps the name it has). */
14109
+ name: string().nullable(),
14110
+ /** The parse error, in the operator's words. */
14111
+ error: string()
14112
+ });
14113
+ method(object({
14114
+ /** The shared Blocks integration; null until `core-blocks` has reconciled it. */
14115
+ integrationId: string().nullable(),
14116
+ /** False when the `core_blocks` read failed: then nothing may be withdrawn (D49). */
14117
+ storeLoaded: boolean(),
14118
+ blocks: array(ComposerBlockSchema),
14119
+ /** Operator restarts: rebuild these runtimes and re-resolve their sources. Stores nothing (D62). */
14120
+ restartBlockIds: array(string()),
14121
+ /** Composition rows that exist but do not parse: held, never withdrawn, reported failed. */
14122
+ unreadableBlocks: array(ComposerUnreadableBlockSchema)
14123
+ }), object({
14124
+ blocks: array(object({
14125
+ blockId: string(),
14126
+ status: CompositionRunStatusSchema,
14127
+ reason: string().optional()
14128
+ })),
14129
+ /**
14130
+ * False when the composer declared and withdrew NOTHING (store not loaded,
14131
+ * integration unknown, its own rows unread or read empty once). An empty
14132
+ * apply the caller owes is paid off only by one the composer acted on (D49).
14133
+ */
14134
+ acted: boolean()
14135
+ }), {
14136
+ kind: "mutation",
14137
+ auth: "admin"
14138
+ }), method(object({ blockIds: array(string()) }), object({ states: array(CompositionBlockStateSchema) }), { auth: "admin" });
14139
+ var NUMBER = {
14140
+ kind: "fixed",
14141
+ result: ["number"]
14142
+ };
14143
+ var BOOLEAN = {
14144
+ kind: "fixed",
14145
+ result: ["boolean"]
14146
+ };
14147
+ Object.freeze({
14148
+ min: NUMBER,
14149
+ max: NUMBER,
14150
+ abs: NUMBER,
14151
+ floor: NUMBER,
14152
+ ceil: NUMBER,
14153
+ sqrt: NUMBER,
14154
+ round: NUMBER,
14155
+ pow: NUMBER,
14156
+ clamp: NUMBER,
14157
+ avg: NUMBER,
14158
+ sum: NUMBER,
14159
+ age: NUMBER,
14160
+ convert: NUMBER,
14161
+ coalesce: { kind: "coalesce" },
14162
+ any: BOOLEAN,
14163
+ all: BOOLEAN,
14164
+ within: BOOLEAN,
14165
+ latest: {
14166
+ kind: "fixed",
14167
+ result: ["number", "null"]
14168
+ },
14169
+ number: {
14170
+ kind: "fixed",
14171
+ result: ["number", "null"]
14172
+ },
14173
+ rose: {
14174
+ kind: "fixed",
14175
+ result: ["number", "null"]
14176
+ },
14177
+ count: NUMBER
14178
+ });
14179
+ `${COMPOSED_DEVICE_STABLE_ID_PREFIX}`;
14180
+ /**
14181
+ * What a composition may BUILD on a device type (G2, D676): the caps a new
14182
+ * device of that type, or an existing one that lacks them, can be given. The
14183
+ * blockers are the validator's own refusal codes, and a spec compares this
14184
+ * listing with `planComposition` for every capability — the editor can never
14185
+ * offer a feature the save would refuse for the same reason.
14186
+ */
14187
+ var ComposableFieldSchema = object({
14188
+ path: string(),
14189
+ kind: CompositionFieldKindSchema,
14190
+ nullable: boolean(),
14191
+ required: boolean(),
14192
+ enumValues: array(string()).optional()
14193
+ });
14194
+ var ComposableCapabilitiesSchema = object({ caps: array(object({
14195
+ cap: string(),
14196
+ fields: array(ComposableFieldSchema),
14197
+ /** Present for an item-array cap (`consumables.items`). */
14198
+ itemArray: object({
14199
+ path: string(),
14200
+ keyField: string()
14201
+ }).optional()
14202
+ })) });
13950
14203
  /** Where a block runs. The operator chooses — a block driving a device on an
13951
14204
  * agent is the reason placement is not fixed to the hub. */
13952
14205
  var CoreBlockPlacementSchema = union([literal("hub"), string().min(1)]);
@@ -14111,7 +14364,7 @@ method(object({}), object({ blocks: array(CoreBlockSchema) }), { auth: "admin" }
14111
14364
  }), method(object({ blockId: string() }), CompositionGetReadSchema, { auth: "admin" }), method(object({}), CompositionListReadSchema, { auth: "admin" }), method(object({
14112
14365
  addonId: string().min(1),
14113
14366
  stableId: string().min(1)
14114
- }), CompositionCustomizationReadSchema, { auth: "admin" }), method(object({
14367
+ }), CompositionCustomizationReadSchema, { auth: "admin" }), method(object({ deviceType: _enum(DeviceType) }), ComposableCapabilitiesSchema, { auth: "admin" }), method(object({
14115
14368
  composition: CompositionSchema,
14116
14369
  blockId: string().optional()
14117
14370
  }), CompositionValidationSchema, {
@@ -14119,52 +14372,6 @@ method(object({}), object({ blocks: array(CoreBlockSchema) }), { auth: "admin" }
14119
14372
  auth: "admin",
14120
14373
  access: "view"
14121
14374
  });
14122
- var ComposerBlockSchema = object({
14123
- id: string().min(1),
14124
- name: string().min(1).max(120),
14125
- enabled: boolean(),
14126
- updatedAt: number(),
14127
- composition: CompositionSchema
14128
- });
14129
- /**
14130
- * A stored composition row that no longer PARSES — a schema a release
14131
- * tightened, a row written by a newer build. Sent by id so the composer keeps
14132
- * its device as a placeholder and reports the block `failed` naming the parse
14133
- * error. Leaving it out would read, twice, exactly like a delete (D49).
14134
- */
14135
- var ComposerUnreadableBlockSchema = object({
14136
- id: string().min(1),
14137
- /** The row's stored name column; null when even that is unreadable (the device keeps the name it has). */
14138
- name: string().nullable(),
14139
- /** The parse error, in the operator's words. */
14140
- error: string()
14141
- });
14142
- method(object({
14143
- /** The shared Blocks integration; null until `core-blocks` has reconciled it. */
14144
- integrationId: string().nullable(),
14145
- /** False when the `core_blocks` read failed: then nothing may be withdrawn (D49). */
14146
- storeLoaded: boolean(),
14147
- blocks: array(ComposerBlockSchema),
14148
- /** Operator restarts: rebuild these runtimes and re-resolve their sources. Stores nothing (D62). */
14149
- restartBlockIds: array(string()),
14150
- /** Composition rows that exist but do not parse: held, never withdrawn, reported failed. */
14151
- unreadableBlocks: array(ComposerUnreadableBlockSchema)
14152
- }), object({
14153
- blocks: array(object({
14154
- blockId: string(),
14155
- status: CompositionRunStatusSchema,
14156
- reason: string().optional()
14157
- })),
14158
- /**
14159
- * False when the composer declared and withdrew NOTHING (store not loaded,
14160
- * integration unknown, its own rows unread or read empty once). An empty
14161
- * apply the caller owes is paid off only by one the composer acted on (D49).
14162
- */
14163
- acted: boolean()
14164
- }), {
14165
- kind: "mutation",
14166
- auth: "admin"
14167
- }), method(object({ blockIds: array(string()) }), object({ states: array(CompositionBlockStateSchema) }), { auth: "admin" });
14168
14375
  /**
14169
14376
  * `custom-model-registry` — collection cap exposing operator-registered
14170
14377
  * custom detection models. Each provider (today: `addon-model-studio`)
@@ -16094,6 +16301,138 @@ method(object({
16094
16301
  deviceIds: array(number()).readonly(),
16095
16302
  caps: array(string()).readonly().optional()
16096
16303
  }), record(string(), record(string(), unknown().nullable())));
16304
+ object({
16305
+ /** Ms epoch of the last press. null = never observed since this provider started. */
16306
+ lastPressedAt: number().nullable(),
16307
+ /** Counter since provider start. Resets on reboot. Useful for metrics/debug. */
16308
+ pressCountSinceStart: number()
16309
+ });
16310
+ object({
16311
+ deviceId: number(),
16312
+ timestamp: number()
16313
+ });
16314
+ /**
16315
+ * The `doorbell-source` extension slot's editable value (D648): the camera's
16316
+ * virtual-doorbell trigger devices, exactly what the wrapper's
16317
+ * `doorbellSources` persists (as `{ deviceId }` records).
16318
+ */
16319
+ var DoorbellSourceSlotValueSchema = object({ deviceIds: array(number().int().positive()) });
16320
+ DeviceType.Camera;
16321
+ DeviceType.Button, DeviceType.Camera;
16322
+ var ExtensionSlotIdSchema = _enum(["doorbell-source", "linked-devices"]);
16323
+ DeviceType.Camera, DeviceType.Camera;
16324
+ /** A slot's editable value, discriminated on `slot`. */
16325
+ var ExtensionSlotValueSchema = discriminatedUnion("slot", [DoorbellSourceSlotValueSchema.extend({ slot: literal("doorbell-source") }), LinkedDevicesSlotValueSchema.extend({ slot: literal("linked-devices") })]);
16326
+ DeviceType.Camera;
16327
+ var ExtensionSourceAvailabilitySchema = discriminatedUnion("state", [object({ state: literal("ok") }), object({
16328
+ state: literal("unreachable"),
16329
+ reason: string()
16330
+ })]);
16331
+ /** One provider of slots — the D554 source-listing row. */
16332
+ var ExtensionSourceSchema = object({
16333
+ /** The routing prefix of every `slotRef` this provider serves. */
16334
+ source: string(),
16335
+ label: string(),
16336
+ /** Stamped by the dispatcher from the registry (D557). */
16337
+ addonId: string().optional(),
16338
+ availability: ExtensionSourceAvailabilitySchema
16339
+ });
16340
+ /**
16341
+ * How one picked source stands. `missing` — no such device (deleted, or an id
16342
+ * that never existed); `foreign` — a device the slot's owner cannot read from
16343
+ * (a source owned by another addon); `unavailable` — it exists but is not a
16344
+ * valid source now (a container, which is never a pick). A source in any of
16345
+ * these states is SHOWN, never silently dropped or re-pointed.
16346
+ */
16347
+ var ExtensionSourceHealthSchema = _enum([
16348
+ "ok",
16349
+ "missing",
16350
+ "foreign",
16351
+ "unavailable"
16352
+ ]);
16353
+ var ExtensionSlotSourceSchema = object({
16354
+ deviceId: number().int(),
16355
+ /** The device's name, or null when it could not be resolved (`missing`). */
16356
+ name: string().nullable(),
16357
+ health: ExtensionSourceHealthSchema,
16358
+ detail: string().optional()
16359
+ });
16360
+ /**
16361
+ * A DIFFERENT authority that gates whether the slot's sources do anything —
16362
+ * reported read-only, named, never written through this contract (D62). The
16363
+ * virtual doorbell's sources ring only while the wrapper is bound to the
16364
+ * camera, and that binding belongs to `deviceManager.setWrapperActive`.
16365
+ * `unknown` means the gate could not be read; it is not "inactive" (D315).
16366
+ */
16367
+ var ExtensionSlotActivationSchema = object({
16368
+ state: _enum([
16369
+ "active",
16370
+ "inactive",
16371
+ "unknown"
16372
+ ]),
16373
+ authority: string(),
16374
+ detail: string().optional()
16375
+ });
16376
+ var ExtensionSlotRowSchema = discriminatedUnion("state", [object({
16377
+ state: literal("ok"),
16378
+ /** `<source>:<slotId>` — the routing key for `listCandidates` / `setSlot`. */
16379
+ slotRef: string(),
16380
+ slot: ExtensionSlotIdSchema,
16381
+ /** Names the store written (D62), e.g. `virtual-doorbell:doorbellSources`. */
16382
+ authority: string(),
16383
+ activation: ExtensionSlotActivationSchema.nullable(),
16384
+ value: ExtensionSlotValueSchema,
16385
+ sources: array(ExtensionSlotSourceSchema),
16386
+ /**
16387
+ * Devices the owner links to the host ON ITS OWN, by structure, and that
16388
+ * are therefore not in `value` (D655): a camera's device-tree children, and
16389
+ * the child a picked container stands for (D356 — a container is never a
16390
+ * pick, its children are). Read-only; the editor shows them and may offer
16391
+ * per-device options on them (the linked-devices tracked-event opt-in).
16392
+ * Absent when the owner links nothing beyond the picks, and from an owner
16393
+ * older than D655.
16394
+ */
16395
+ impliedSources: array(ExtensionSlotSourceSchema).optional()
16396
+ }), object({
16397
+ state: literal("unreachable"),
16398
+ addonId: string(),
16399
+ reason: string()
16400
+ })]);
16401
+ var ExtensionCandidatesSchema = object({ candidates: array(object({
16402
+ deviceId: number().int(),
16403
+ name: string(),
16404
+ type: string(),
16405
+ location: string().nullable(),
16406
+ /** The container a child belongs to — "Spotlight 2" alone does not say which. */
16407
+ parentName: string().nullable(),
16408
+ /** Pre-marked by the owner's suggestion rule. NEVER saved on its own (D356). */
16409
+ suggested: boolean(),
16410
+ /** Why it is suggested ("same location"), null when it is not. */
16411
+ reason: string().nullable()
16412
+ })) });
16413
+ /**
16414
+ * What a write did. `none` — applied in place. `host` / `parent` — the owner
16415
+ * reloaded the host (or, for an accessory child, its parent) because the
16416
+ * write changed what the host REGISTERS. A slot never adds a capability to its
16417
+ * host — that is a composition (D663) — so today's owners answer `none`.
16418
+ */
16419
+ var ExtensionSetResultSchema = object({
16420
+ applied: literal(true),
16421
+ reload: _enum([
16422
+ "none",
16423
+ "host",
16424
+ "parent"
16425
+ ])
16426
+ });
16427
+ var ExtensionSlotRefInputSchema = object({
16428
+ deviceId: number().int(),
16429
+ slotRef: string().min(1)
16430
+ });
16431
+ var ExtensionSetSlotInputSchema = ExtensionSlotRefInputSchema.extend({ value: ExtensionSlotValueSchema });
16432
+ method(object({ deviceId: number().int() }), array(ExtensionSourceSchema)), method(object({ deviceId: number().int() }), array(ExtensionSlotRowSchema)), method(ExtensionSlotRefInputSchema, ExtensionCandidatesSchema), method(ExtensionSetSlotInputSchema, ExtensionSetResultSchema, {
16433
+ kind: "mutation",
16434
+ auth: "admin"
16435
+ });
16097
16436
  /**
16098
16437
  * Per-field ownership (D663). A composition may CLAIM fields of a native
16099
16438
  * cap's runtime-state slice on an existing device: `replace` overlays the
@@ -19066,17 +19405,25 @@ var NcScheduleSchema = object({
19066
19405
  */
19067
19406
  var NcSystemEventDeliveryModeSchema = _enum(["instant", "summary"]);
19068
19407
  /**
19408
+ * How a summary window is SENT (D698): `rule` (absent) = ONE notification with
19409
+ * every section; `section` = one notification per section with something to
19410
+ * say (an unavailable section included), each titled by its section.
19411
+ */
19412
+ var NcStateSummarySplitSchema = _enum(["rule", "section"]);
19413
+ /**
19069
19414
  * `summary`: the rule sends NOTHING per event. When a window of `schedule`
19070
19415
  * CLOSES, it sends one notification with the current state of its kinds
19071
19416
  * (low batteries, consumables to replace, devices offline, updates
19072
- * available, ...), after its own filters. Nothing to report sends nothing.
19417
+ * available, ...), after its own filters — or, with `split: 'section'`
19418
+ * (D698), one notification per section. Nothing to report sends nothing.
19073
19419
  * The schedule is the ordinary `NcSchedule` (weekly windows, IANA timezone,
19074
19420
  * midnight crossing); the send time is each window's END. Refused on the
19075
19421
  * `alarm` family, which stays instant (`systemEventDeliveryProblems`).
19076
19422
  */
19077
19423
  var NcSystemEventDeliverySchema = discriminatedUnion("mode", [object({ mode: literal("instant") }), object({
19078
19424
  mode: literal("summary"),
19079
- schedule: NcScheduleSchema
19425
+ schedule: NcScheduleSchema,
19426
+ split: NcStateSummarySplitSchema.optional()
19080
19427
  })]);
19081
19428
  /** Fuzzy plate matcher — OCR noise makes exact match useless (spec row 12/13). */
19082
19429
  var NcPlateMatcherSchema = object({
@@ -19216,8 +19563,14 @@ var NcSensorTransitionSchema = _enum(["raised", "cleared"]);
19216
19563
  /** Admin-zone membership condition (zone IDs as stamped by the ZoneEngine). */
19217
19564
  var NcZoneConditionSchema = object({
19218
19565
  ids: array(string().min(1)).min(1),
19219
- /** Quantifier over `ids` — at least one / every one visited. */
19220
- match: _enum(["any", "all"]).default("any")
19566
+ /**
19567
+ * LEGACY quantifier over `ids`. Absent = `any` (at least one visited), which
19568
+ * is what both editors mean and all they write since D690: "all of" was
19569
+ * removed from the editors because on an immediate rule it asked one
19570
+ * detection to stand in every zone at once. Still ACCEPTED, and `all` still
19571
+ * evaluated, so a stored rule keeps parsing and meaning what it meant.
19572
+ */
19573
+ match: _enum(["any", "all"]).optional()
19221
19574
  });
19222
19575
  /**
19223
19576
  * The P1 condition set — a flat AND of groups; absent group = pass;
@@ -19721,10 +20074,12 @@ var NcMediaPolicySchema = object({
19721
20074
  /**
19722
20075
  * Cooldown GRANULARITY over the subject's class — how much a fired
19723
20076
  * notification suppresses.
19724
- * - `shared` (default, and the absent value) — one window for the whole
19725
- * rule/scope: a cat silences the next dog for `cooldownSec`.
19726
- * - `per-class` — an independent window per detected class, so cat→dog fires
19727
- * at once and cat→cat still waits.
20077
+ * - `per-class` (default, and the absent value since 2026-10-01 — D36) — an
20078
+ * independent window per detected class: cat→dog fires at once, cat→cat
20079
+ * still waits.
20080
+ * - `shared` — one window for the whole rule/scope: a cat silences the next
20081
+ * dog for `cooldownSec`. Only written when an operator picks it; it is no
20082
+ * longer what an unset rule means.
19728
20083
  *
19729
20084
  * AUDIO subjects are ALWAYS per-class regardless of this setting: a scream
19730
20085
  * must not be swallowed by a bark's window (the precedent this generalizes —
@@ -19739,8 +20094,11 @@ var NcThrottleSchema = object({
19739
20094
  /**
19740
20095
  * Class granularity of the cooldown key. Optional rather than defaulted:
19741
20096
  * a Zod default does NOT run on the addon→addon cap path, so a persisted
19742
- * rule authored before this field simply carries none — and the engine
19743
- * reads absent as `shared`, the pre-existing behaviour.
20097
+ * rule authored before this field simply carries none. The engine used to
20098
+ * read absent as `shared` (D36); since 2026-10-01 it reads absent as
20099
+ * `per-class` — the operator's default — and only an explicit `shared`
20100
+ * still means `shared`. See `cooldownKey` / `keysPerClass` in the rule
20101
+ * engine, and D36's dated note.
19744
20102
  */
19745
20103
  granularity: NcThrottleGranularitySchema.optional()
19746
20104
  });
@@ -20064,11 +20422,23 @@ var NcStateSummaryPreviewSectionSchema = object({
20064
20422
  reason: string().optional()
20065
20423
  });
20066
20424
  /**
20425
+ * One notification a previewed summary would send (D698): the whole summary on
20426
+ * a `rule` split (no `section`), one section's on a `section` split.
20427
+ */
20428
+ var NcStateSummaryPreviewRowSchema = object({
20429
+ section: string().optional(),
20430
+ /** The section's name on a per-section row; every reported section's, joined, on a combined one. */
20431
+ title: string(),
20432
+ text: string(),
20433
+ count: number().int().nonnegative()
20434
+ });
20435
+ /**
20067
20436
  * The summary a rule would send now. `empty` = nothing to report and every
20068
20437
  * section read: such a summary is NOT sent. `dropped` counts the open states
20069
20438
  * the rule's own filters (or a camera mute) left out, by reason.
20070
20439
  * `excludedGroups` names the kind groups selected that have no state to report
20071
- * (backups & exports).
20440
+ * (backups & exports). `split` and `rows` (D698) say how it would be sent —
20441
+ * optional, so an older hub's answer still parses.
20072
20442
  */
20073
20443
  var NcStateSummaryPreviewSchema = object({
20074
20444
  empty: boolean(),
@@ -20076,7 +20446,9 @@ var NcStateSummaryPreviewSchema = object({
20076
20446
  text: string(),
20077
20447
  sections: array(NcStateSummaryPreviewSectionSchema),
20078
20448
  dropped: record(string(), number().int().nonnegative()),
20079
- excludedGroups: array(string())
20449
+ excludedGroups: array(string()),
20450
+ split: NcStateSummarySplitSchema.optional(),
20451
+ rows: array(NcStateSummaryPreviewRowSchema).optional()
20080
20452
  });
20081
20453
  var NcTestResultSchema = object({
20082
20454
  recordId: string(),
@@ -21092,7 +21464,7 @@ function cameraSensorRefKey(ref) {
21092
21464
  }
21093
21465
  /** CS-1 accepts exactly one mode; CS-2 (D673) widens it to confirm / replace. */
21094
21466
  var CameraSensorsModeSchema = _enum(["in-addition"]);
21095
- object({
21467
+ var CameraSensorsConfigSchema = object({
21096
21468
  mode: CameraSensorsModeSchema,
21097
21469
  sensors: array(CameraSensorRefSchema).min(1).max(8)
21098
21470
  }).superRefine((value, ctx) => {
@@ -22997,7 +23369,8 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
22997
23369
  trackIds: array(string()).min(1)
22998
23370
  }), object({
22999
23371
  deleted: number().int(),
23000
- failed: array(string()).readonly()
23372
+ failed: array(string()).readonly(),
23373
+ sparedMediaIds: array(number().int()).readonly().optional()
23001
23374
  }), {
23002
23375
  kind: "mutation",
23003
23376
  auth: "admin"
@@ -23006,7 +23379,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
23006
23379
  deviceId: number(),
23007
23380
  trackId: string(),
23008
23381
  flags: TrackFlagsPatchSchema
23009
- }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(BirthDecisionQueryInputSchema, array(BirthDecisionRecordSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
23382
+ }), 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, {
23010
23383
  kind: "query",
23011
23384
  auth: "admin"
23012
23385
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -25164,7 +25537,64 @@ var NodeInferenceDevicesSchema = object({
25164
25537
  reachable: boolean(),
25165
25538
  devices: array(NodeInferenceDeviceSchema).readonly()
25166
25539
  });
25167
- method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
25540
+ /**
25541
+ * Pipeline Orchestrator capability — global load balancer + camera dispatcher.
25542
+ *
25543
+ * Lives on the hub. Tracks the camera-to-agent assignment map, listens to
25544
+ * device lifecycle events, queries each runner's capacity + hardware
25545
+ * profile, and dispatches `attachCamera` / `detachCamera` cap calls to the
25546
+ * appropriate runner instances. Persists assignments via the multi-level
25547
+ * settings store so they survive hub restarts.
25548
+ *
25549
+ * Strictly the control plane: never sees a frame, never calls inference,
25550
+ * never drains queues. The runner does that work locally on each agent.
25551
+ */
25552
+ /**
25553
+ * The input of `setCameraSensors` (G5, D676): the ONE typed write path of a
25554
+ * camera's attached sensors (D672). `config: null` removes the attachment —
25555
+ * the camera reads `not-configured` again, never `unreadable`.
25556
+ */
25557
+ var SetCameraSensorsInputSchema = object({
25558
+ deviceId: number().int().nonnegative(),
25559
+ /** `null` removes the attachment: the camera goes back to `not-configured`. */
25560
+ config: CameraSensorsConfigSchema.nullable()
25561
+ });
25562
+ /**
25563
+ * Why an early occupancy look (D691) was not scheduled.
25564
+ *
25565
+ * - `unknown-camera` — no session was ever dispatched for it, so there is no
25566
+ * node and no config to attach a burst with.
25567
+ * - `out-of-range` — the ask is negative or further out than the orchestrator
25568
+ * will hold a timer for; the parked-object cadence is the answer there.
25569
+ * - `no-burst-producer` — this build has no burst producer at all.
25570
+ * - `already-looked` — this camera's ONE early look since its last session has
25571
+ * been spent. A look's own burst can re-arm a flickering flip, and a look
25572
+ * per arm would chain a burst every ~30 s forever (review H2); the next
25573
+ * real session re-arms the budget.
25574
+ */
25575
+ var OccupancyLookRefusalSchema = _enum([
25576
+ "unknown-camera",
25577
+ "out-of-range",
25578
+ "no-burst-producer",
25579
+ "already-looked"
25580
+ ]);
25581
+ method(object({
25582
+ deviceId: number().int().nonnegative(),
25583
+ /** How long from NOW until the pending flip's sustain window ends. RELATIVE,
25584
+ * so the caller's clock and the orchestrator's never have to agree. */
25585
+ afterMs: number().finite(),
25586
+ /** Why, for the log. */
25587
+ reason: string()
25588
+ }), object({
25589
+ scheduled: boolean(),
25590
+ /** When `scheduled`: how long until the burst is dialled. */
25591
+ dueInMs: number().optional(),
25592
+ /** When not `scheduled`: why. */
25593
+ refusedBecause: OccupancyLookRefusalSchema.optional()
25594
+ }), {
25595
+ kind: "mutation",
25596
+ auth: "admin"
25597
+ }), method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
25168
25598
  kind: "mutation",
25169
25599
  auth: "admin"
25170
25600
  }), method(StorageMigrationLeaseInputSchema, object({ resumed: literal(true) }), {
@@ -25318,7 +25748,10 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
25318
25748
  }), CameraSwitchGroupSchema, {
25319
25749
  kind: "mutation",
25320
25750
  auth: "admin"
25321
- }), method(object({ deviceId: number() }), CameraStatusSchema), method(object({ deviceIds: array(number()).optional() }), array(CameraStatusSchema).readonly()), method(_void(), DiskReconcileJobSchema, {
25751
+ }), method(object({ deviceId: number() }), CameraStatusSchema), method(object({ deviceIds: array(number()).optional() }), array(CameraStatusSchema).readonly()), method(SetCameraSensorsInputSchema, object({ success: literal(true) }), {
25752
+ kind: "mutation",
25753
+ auth: "admin"
25754
+ }), method(_void(), DiskReconcileJobSchema, {
25322
25755
  kind: "mutation",
25323
25756
  auth: "admin"
25324
25757
  }), method(_void(), DiskReconcileJobSchema, { auth: "admin" }), method(_void(), array(PipelineTemplateSchema).readonly()), method(object({
@@ -27687,138 +28120,6 @@ var videoclipsCapability = {
27687
28120
  })
27688
28121
  }
27689
28122
  };
27690
- object({
27691
- /** Ms epoch of the last press. null = never observed since this provider started. */
27692
- lastPressedAt: number().nullable(),
27693
- /** Counter since provider start. Resets on reboot. Useful for metrics/debug. */
27694
- pressCountSinceStart: number()
27695
- });
27696
- object({
27697
- deviceId: number(),
27698
- timestamp: number()
27699
- });
27700
- /**
27701
- * The `doorbell-source` extension slot's editable value (D648): the camera's
27702
- * virtual-doorbell trigger devices, exactly what the wrapper's
27703
- * `doorbellSources` persists (as `{ deviceId }` records).
27704
- */
27705
- var DoorbellSourceSlotValueSchema = object({ deviceIds: array(number().int().positive()) });
27706
- DeviceType.Camera;
27707
- DeviceType.Button, DeviceType.Camera;
27708
- var ExtensionSlotIdSchema = _enum(["doorbell-source", "linked-devices"]);
27709
- DeviceType.Camera, DeviceType.Camera;
27710
- /** A slot's editable value, discriminated on `slot`. */
27711
- var ExtensionSlotValueSchema = discriminatedUnion("slot", [DoorbellSourceSlotValueSchema.extend({ slot: literal("doorbell-source") }), LinkedDevicesSlotValueSchema.extend({ slot: literal("linked-devices") })]);
27712
- DeviceType.Camera;
27713
- var ExtensionSourceAvailabilitySchema = discriminatedUnion("state", [object({ state: literal("ok") }), object({
27714
- state: literal("unreachable"),
27715
- reason: string()
27716
- })]);
27717
- /** One provider of slots — the D554 source-listing row. */
27718
- var ExtensionSourceSchema = object({
27719
- /** The routing prefix of every `slotRef` this provider serves. */
27720
- source: string(),
27721
- label: string(),
27722
- /** Stamped by the dispatcher from the registry (D557). */
27723
- addonId: string().optional(),
27724
- availability: ExtensionSourceAvailabilitySchema
27725
- });
27726
- /**
27727
- * How one picked source stands. `missing` — no such device (deleted, or an id
27728
- * that never existed); `foreign` — a device the slot's owner cannot read from
27729
- * (a source owned by another addon); `unavailable` — it exists but is not a
27730
- * valid source now (a container, which is never a pick). A source in any of
27731
- * these states is SHOWN, never silently dropped or re-pointed.
27732
- */
27733
- var ExtensionSourceHealthSchema = _enum([
27734
- "ok",
27735
- "missing",
27736
- "foreign",
27737
- "unavailable"
27738
- ]);
27739
- var ExtensionSlotSourceSchema = object({
27740
- deviceId: number().int(),
27741
- /** The device's name, or null when it could not be resolved (`missing`). */
27742
- name: string().nullable(),
27743
- health: ExtensionSourceHealthSchema,
27744
- detail: string().optional()
27745
- });
27746
- /**
27747
- * A DIFFERENT authority that gates whether the slot's sources do anything —
27748
- * reported read-only, named, never written through this contract (D62). The
27749
- * virtual doorbell's sources ring only while the wrapper is bound to the
27750
- * camera, and that binding belongs to `deviceManager.setWrapperActive`.
27751
- * `unknown` means the gate could not be read; it is not "inactive" (D315).
27752
- */
27753
- var ExtensionSlotActivationSchema = object({
27754
- state: _enum([
27755
- "active",
27756
- "inactive",
27757
- "unknown"
27758
- ]),
27759
- authority: string(),
27760
- detail: string().optional()
27761
- });
27762
- var ExtensionSlotRowSchema = discriminatedUnion("state", [object({
27763
- state: literal("ok"),
27764
- /** `<source>:<slotId>` — the routing key for `listCandidates` / `setSlot`. */
27765
- slotRef: string(),
27766
- slot: ExtensionSlotIdSchema,
27767
- /** Names the store written (D62), e.g. `virtual-doorbell:doorbellSources`. */
27768
- authority: string(),
27769
- activation: ExtensionSlotActivationSchema.nullable(),
27770
- value: ExtensionSlotValueSchema,
27771
- sources: array(ExtensionSlotSourceSchema),
27772
- /**
27773
- * Devices the owner links to the host ON ITS OWN, by structure, and that
27774
- * are therefore not in `value` (D655): a camera's device-tree children, and
27775
- * the child a picked container stands for (D356 — a container is never a
27776
- * pick, its children are). Read-only; the editor shows them and may offer
27777
- * per-device options on them (the linked-devices tracked-event opt-in).
27778
- * Absent when the owner links nothing beyond the picks, and from an owner
27779
- * older than D655.
27780
- */
27781
- impliedSources: array(ExtensionSlotSourceSchema).optional()
27782
- }), object({
27783
- state: literal("unreachable"),
27784
- addonId: string(),
27785
- reason: string()
27786
- })]);
27787
- var ExtensionCandidatesSchema = object({ candidates: array(object({
27788
- deviceId: number().int(),
27789
- name: string(),
27790
- type: string(),
27791
- location: string().nullable(),
27792
- /** The container a child belongs to — "Spotlight 2" alone does not say which. */
27793
- parentName: string().nullable(),
27794
- /** Pre-marked by the owner's suggestion rule. NEVER saved on its own (D356). */
27795
- suggested: boolean(),
27796
- /** Why it is suggested ("same location"), null when it is not. */
27797
- reason: string().nullable()
27798
- })) });
27799
- /**
27800
- * What a write did. `none` — applied in place. `host` / `parent` — the owner
27801
- * reloaded the host (or, for an accessory child, its parent) because the
27802
- * write changed what the host REGISTERS. A slot never adds a capability to its
27803
- * host — that is a composition (D663) — so today's owners answer `none`.
27804
- */
27805
- var ExtensionSetResultSchema = object({
27806
- applied: literal(true),
27807
- reload: _enum([
27808
- "none",
27809
- "host",
27810
- "parent"
27811
- ])
27812
- });
27813
- var ExtensionSlotRefInputSchema = object({
27814
- deviceId: number().int(),
27815
- slotRef: string().min(1)
27816
- });
27817
- var ExtensionSetSlotInputSchema = ExtensionSlotRefInputSchema.extend({ value: ExtensionSlotValueSchema });
27818
- method(object({ deviceId: number().int() }), array(ExtensionSourceSchema)), method(object({ deviceId: number().int() }), array(ExtensionSlotRowSchema)), method(ExtensionSlotRefInputSchema, ExtensionCandidatesSchema), method(ExtensionSetSlotInputSchema, ExtensionSetResultSchema, {
27819
- kind: "mutation",
27820
- auth: "admin"
27821
- });
27822
28123
  /**
27823
28124
  * Optional client-side hints sent at session creation to help the provider
27824
28125
  * pick the best native source. All fields optional — a viewer that knows
@@ -36473,47 +36774,6 @@ DeviceType.Camera, method(object({
36473
36774
  detection: array(ZoneRuleSchema).readonly(),
36474
36775
  package: array(ZoneRuleSchema).readonly()
36475
36776
  });
36476
- var NUMBER = {
36477
- kind: "fixed",
36478
- result: ["number"]
36479
- };
36480
- var BOOLEAN = {
36481
- kind: "fixed",
36482
- result: ["boolean"]
36483
- };
36484
- Object.freeze({
36485
- min: NUMBER,
36486
- max: NUMBER,
36487
- abs: NUMBER,
36488
- floor: NUMBER,
36489
- ceil: NUMBER,
36490
- sqrt: NUMBER,
36491
- round: NUMBER,
36492
- pow: NUMBER,
36493
- clamp: NUMBER,
36494
- avg: NUMBER,
36495
- sum: NUMBER,
36496
- age: NUMBER,
36497
- convert: NUMBER,
36498
- coalesce: { kind: "coalesce" },
36499
- any: BOOLEAN,
36500
- all: BOOLEAN,
36501
- within: BOOLEAN,
36502
- latest: {
36503
- kind: "fixed",
36504
- result: ["number", "null"]
36505
- },
36506
- number: {
36507
- kind: "fixed",
36508
- result: ["number", "null"]
36509
- },
36510
- rose: {
36511
- kind: "fixed",
36512
- result: ["number", "null"]
36513
- },
36514
- count: NUMBER
36515
- });
36516
- `${COMPOSED_DEVICE_STABLE_ID_PREFIX}`;
36517
36777
  /**
36518
36778
  * Accessory device helpers — shared across drivers.
36519
36779
  *
@@ -38936,6 +39196,12 @@ Object.freeze({
38936
39196
  addonId: null,
38937
39197
  access: "view"
38938
39198
  },
39199
+ "coreBlocks.listComposableCaps": {
39200
+ capName: "core-blocks",
39201
+ capScope: "system",
39202
+ addonId: null,
39203
+ access: "view"
39204
+ },
38939
39205
  "coreBlocks.listCompositions": {
38940
39206
  capName: "core-blocks",
38941
39207
  capScope: "system",
@@ -39014,6 +39280,18 @@ Object.freeze({
39014
39280
  addonId: null,
39015
39281
  access: "view"
39016
39282
  },
39283
+ "databaseSnapshot.listDatabases": {
39284
+ capName: "database-snapshot",
39285
+ capScope: "system",
39286
+ addonId: null,
39287
+ access: "view"
39288
+ },
39289
+ "databaseSnapshot.writeSnapshot": {
39290
+ capName: "database-snapshot",
39291
+ capScope: "system",
39292
+ addonId: null,
39293
+ access: "create"
39294
+ },
39017
39295
  "dataStoreProvider.aggregate": {
39018
39296
  capName: "data-store-provider",
39019
39297
  capScope: "system",
@@ -41750,6 +42028,12 @@ Object.freeze({
41750
42028
  addonId: null,
41751
42029
  access: "create"
41752
42030
  },
42031
+ "pipelineAnalytics.clearTrackRelation": {
42032
+ capName: "pipeline-analytics",
42033
+ capScope: "device",
42034
+ addonId: null,
42035
+ access: "delete"
42036
+ },
41753
42037
  "pipelineAnalytics.clearTracks": {
41754
42038
  capName: "pipeline-analytics",
41755
42039
  capScope: "device",
@@ -42002,6 +42286,12 @@ Object.freeze({
42002
42286
  addonId: null,
42003
42287
  access: "view"
42004
42288
  },
42289
+ "pipelineAnalytics.listTrackRelations": {
42290
+ capName: "pipeline-analytics",
42291
+ capScope: "device",
42292
+ addonId: null,
42293
+ access: "view"
42294
+ },
42005
42295
  "pipelineAnalytics.listTracks": {
42006
42296
  capName: "pipeline-analytics",
42007
42297
  capScope: "device",
@@ -42116,6 +42406,18 @@ Object.freeze({
42116
42406
  addonId: null,
42117
42407
  access: "create"
42118
42408
  },
42409
+ "pipelineAnalytics.setTrackPurity": {
42410
+ capName: "pipeline-analytics",
42411
+ capScope: "device",
42412
+ addonId: null,
42413
+ access: "create"
42414
+ },
42415
+ "pipelineAnalytics.setTrackRelation": {
42416
+ capName: "pipeline-analytics",
42417
+ capScope: "device",
42418
+ addonId: null,
42419
+ access: "create"
42420
+ },
42119
42421
  "pipelineAnalytics.startStorageMigrationMove": {
42120
42422
  capName: "pipeline-analytics",
42121
42423
  capScope: "device",
@@ -42554,6 +42856,12 @@ Object.freeze({
42554
42856
  addonId: null,
42555
42857
  access: "delete"
42556
42858
  },
42859
+ "pipelineOrchestrator.requestOccupancyLook": {
42860
+ capName: "pipeline-orchestrator",
42861
+ capScope: "system",
42862
+ addonId: null,
42863
+ access: "create"
42864
+ },
42557
42865
  "pipelineOrchestrator.resetNodePipelineDefaults": {
42558
42866
  capName: "pipeline-orchestrator",
42559
42867
  capScope: "system",
@@ -42620,6 +42928,12 @@ Object.freeze({
42620
42928
  addonId: null,
42621
42929
  access: "create"
42622
42930
  },
42931
+ "pipelineOrchestrator.setCameraSensors": {
42932
+ capName: "pipeline-orchestrator",
42933
+ capScope: "system",
42934
+ addonId: null,
42935
+ access: "create"
42936
+ },
42623
42937
  "pipelineOrchestrator.setCameraStepOverride": {
42624
42938
  capName: "pipeline-orchestrator",
42625
42939
  capScope: "system",
@@ -46030,6 +46344,11 @@ Object.freeze({
46030
46344
  form: "single",
46031
46345
  optional: false
46032
46346
  }],
46347
+ "pipelineAnalytics.clearTrackRelation": [{
46348
+ name: "deviceId",
46349
+ form: "single",
46350
+ optional: false
46351
+ }],
46033
46352
  "pipelineAnalytics.clearTracks": [{
46034
46353
  name: "deviceId",
46035
46354
  form: "single",
@@ -46180,6 +46499,11 @@ Object.freeze({
46180
46499
  form: "single",
46181
46500
  optional: false
46182
46501
  }],
46502
+ "pipelineAnalytics.listTrackRelations": [{
46503
+ name: "deviceId",
46504
+ form: "single",
46505
+ optional: false
46506
+ }],
46183
46507
  "pipelineAnalytics.listTracks": [{
46184
46508
  name: "deviceId",
46185
46509
  form: "single",
@@ -46250,6 +46574,16 @@ Object.freeze({
46250
46574
  form: "single",
46251
46575
  optional: false
46252
46576
  }],
46577
+ "pipelineAnalytics.setTrackPurity": [{
46578
+ name: "deviceId",
46579
+ form: "single",
46580
+ optional: false
46581
+ }],
46582
+ "pipelineAnalytics.setTrackRelation": [{
46583
+ name: "deviceId",
46584
+ form: "single",
46585
+ optional: false
46586
+ }],
46253
46587
  "pipelineAnalytics.wipeAllAnalytics": [{
46254
46588
  name: "deviceId",
46255
46589
  form: "single",
@@ -46320,6 +46654,11 @@ Object.freeze({
46320
46654
  form: "single",
46321
46655
  optional: false
46322
46656
  }],
46657
+ "pipelineOrchestrator.requestOccupancyLook": [{
46658
+ name: "deviceId",
46659
+ form: "single",
46660
+ optional: false
46661
+ }],
46323
46662
  "pipelineOrchestrator.resolvePipeline": [{
46324
46663
  name: "deviceId",
46325
46664
  form: "single",
@@ -46330,6 +46669,11 @@ Object.freeze({
46330
46669
  form: "single",
46331
46670
  optional: false
46332
46671
  }],
46672
+ "pipelineOrchestrator.setCameraSensors": [{
46673
+ name: "deviceId",
46674
+ form: "single",
46675
+ optional: false
46676
+ }],
46333
46677
  "pipelineOrchestrator.setCameraStepOverride": [{
46334
46678
  name: "deviceId",
46335
46679
  form: "single",
@@ -47476,6 +47820,18 @@ var STATE_SUMMARY_VARS = [
47476
47820
  systemEventKinds: [...SUMMARISABLE],
47477
47821
  systemEventDeliveries: ["summary"]
47478
47822
  },
47823
+ {
47824
+ name: "summarySection",
47825
+ label: "Summary: this section",
47826
+ description: "The section a per-section summary row is about (D698); on a summary sent as one message, every section it reports, comma-separated.",
47827
+ example: "Batterie scariche",
47828
+ group: "system",
47829
+ families: ["rule"],
47830
+ fields: [...RULE_TEXT],
47831
+ kinds: ["system"],
47832
+ systemEventKinds: [...SUMMARISABLE],
47833
+ systemEventDeliveries: ["summary"]
47834
+ },
47479
47835
  ...STATE_SUMMARY_SECTION_VARS.map((v) => ({
47480
47836
  name: v.name,
47481
47837
  label: v.label,
@@ -47552,6 +47908,37 @@ var STATE_SUMMARY_VARS = [
47552
47908
  [...RULE_TEXT],
47553
47909
  ...STATE_SUMMARY_VARS
47554
47910
  ];
47911
+ new Set([
47912
+ "disarmed",
47913
+ "armed_home",
47914
+ "armed_away",
47915
+ "armed_night",
47916
+ "armed_vacation",
47917
+ "armed_custom_bypass",
47918
+ "arming",
47919
+ "disarming",
47920
+ "pending",
47921
+ "triggered",
47922
+ "open",
47923
+ "opening",
47924
+ "closing",
47925
+ "closed",
47926
+ "stopped",
47927
+ "locked",
47928
+ "unlocked",
47929
+ "locking",
47930
+ "unlocking",
47931
+ "jammed",
47932
+ "on",
47933
+ "off",
47934
+ "home",
47935
+ "not_home",
47936
+ "matched",
47937
+ "diverged",
47938
+ "unknown",
47939
+ "latched",
47940
+ "live"
47941
+ ]);
47555
47942
  /**
47556
47943
  * TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
47557
47944
  *