@camstack/addon-admin-ui 1.2.101 → 1.2.103

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.
Files changed (111) hide show
  1. package/dist/assets/{AddLocationWizard-BaRS1vSp.js → AddLocationWizard-DaP6_A46.js} +1 -1
  2. package/dist/assets/{AddonCollectionPage-ZXOrokti.js → AddonCollectionPage-nyWYiJDc.js} +1 -1
  3. package/dist/assets/{Addons-Dye82TRM.js → Addons-CWWOTg0U.js} +1 -1
  4. package/dist/assets/{AdminTabs-Bj4P1GYJ.js → AdminTabs-Czxta2mh.js} +1 -1
  5. package/dist/assets/{AiProfiles-DOozhwy_.js → AiProfiles-C0pMBH8I.js} +1 -1
  6. package/dist/assets/{BrokerForm-C0-7inyn.js → BrokerForm-BxTezkNC.js} +1 -1
  7. package/dist/assets/{Build-BYQSYy7F.js → Build-BtEumGI6.js} +1 -1
  8. package/dist/assets/{Capabilities-BNdrW5yr.js → Capabilities-Br7NRp9v.js} +1 -1
  9. package/dist/assets/{CapabilityBadges-C1bMk_7C.js → CapabilityBadges-D0JFygyN.js} +1 -1
  10. package/dist/assets/{Cluster-B8SGnNL3.js → Cluster-CNkXokiW.js} +1 -1
  11. package/dist/assets/Data-Cpi8zlqS.js +1 -0
  12. package/dist/assets/{DetectionIntelligence-B5gdz0kC.js → DetectionIntelligence-D5457LWO.js} +1 -1
  13. package/dist/assets/{DeviceAggregateSection-CNVtSKGy.js → DeviceAggregateSection-CRGubEqf.js} +1 -1
  14. package/dist/assets/{DeviceDetail-fqRbXQOC.js → DeviceDetail-LFXiIuPr.js} +2 -2
  15. package/dist/assets/Devices-Bpwz1iYB.js +1 -0
  16. package/dist/assets/{EmbedPlayerPage-XGlgPJrB.js → EmbedPlayerPage-DGsEdaTJ.js} +1 -1
  17. package/dist/assets/Events-D6kMH49l.js +1 -0
  18. package/dist/assets/{FormBuilder-Bz6uPkMn.js → FormBuilder-ClH7B8PL.js} +1 -1
  19. package/dist/assets/Identity-ESyEdFYd.js +1 -0
  20. package/dist/assets/{IntegrationDetail-CDW7Eu_V.js → IntegrationDetail-BNWu0UHs.js} +1 -1
  21. package/dist/assets/{Integrations-BZJHGp5D.js → Integrations-C3RNkXgq.js} +1 -1
  22. package/dist/assets/{Integrations-_MxWMXKm.js → Integrations-DPNPWp1y.js} +1 -1
  23. package/dist/assets/Logs-Ds0WAXGY.js +1 -0
  24. package/dist/assets/{MotionZonesSettings-rdWjLFCA.js → MotionZonesSettings-B8AShyPC.js} +1 -1
  25. package/dist/assets/{MyAccess-De5E70Mx.js → MyAccess-CE0FuC4H.js} +1 -1
  26. package/dist/assets/{Network-3zKD5uww.js → Network-CC6Uh7my.js} +1 -1
  27. package/dist/assets/{NodeAddonsSettingsPanel-DPLZFO38.js → NodeAddonsSettingsPanel-Bg3Rx-rO.js} +1 -1
  28. package/dist/assets/NodeInferenceDevices-VZSQudL0.js +1 -0
  29. package/dist/assets/{Notifications-DRoRG3NR.js → Notifications-B_Iy7T49.js} +1 -1
  30. package/dist/assets/Pipeline-DUSuuX9E.js +1 -0
  31. package/dist/assets/{Plates-B2O3-4Uk.js → Plates-PiYyE435.js} +1 -1
  32. package/dist/assets/{PrivacyMaskSettings-Bpe_P906.js → PrivacyMaskSettings-Mkjx3Wsl.js} +1 -1
  33. package/dist/assets/{ProviderIcon-B3ZMGpmV.js → ProviderIcon--75xJaei.js} +1 -1
  34. package/dist/assets/Recordings-hKFEsNib.js +1 -0
  35. package/dist/assets/{ScanNetworkModal-C3KwS4Kk.js → ScanNetworkModal-BIf9KytP.js} +1 -1
  36. package/dist/assets/{SceneMonitorEditor-8n1BKUpz.js → SceneMonitorEditor-CjJXkyxy.js} +1 -1
  37. package/dist/assets/Scenes-CcpgVJtX.js +1 -0
  38. package/dist/assets/{Settings-rlvwMnze.js → Settings-DMs9Jd9K.js} +1 -1
  39. package/dist/assets/{Showroom-m8bxoJza.js → Showroom-B9VM3EL0.js} +1 -1
  40. package/dist/assets/{Terminal-BckLeEA9.js → Terminal-CF5uQHom.js} +3 -3
  41. package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-Drdd-pqm.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-DK9B4R7J.js} +1 -1
  42. package/dist/assets/{bell-ring-CZRwj8zz.js → bell-ring-BVWtC7kI.js} +1 -1
  43. package/dist/assets/{boxes-BVJ0-dJL.js → boxes-Qmd6WnZ8.js} +1 -1
  44. package/dist/assets/{build-cluster-graph-DRLmLTvu.js → build-cluster-graph-Bahs_9Ho.js} +1 -1
  45. package/dist/assets/circle-check-big-hqSxF3X3.js +1 -0
  46. package/dist/assets/{circle-x-DmnziSMX.js → circle-x-C150uNWh.js} +1 -1
  47. package/dist/assets/clock-IndoSe_I.js +1 -0
  48. package/dist/assets/{copy-B89T25pr.js → copy-CVW_9pP2.js} +1 -1
  49. package/dist/assets/{debounced-invalidate-kEK1Gvwa.js → debounced-invalidate-C0yrXEMj.js} +1 -1
  50. package/dist/assets/{dist-LO0m0T5x.js → dist-CLok0S8J.js} +1 -1
  51. package/dist/assets/dist-EvnUhZFU.js +349 -0
  52. package/dist/assets/{download-BtY8Mzkb.js → download-DwUIiHtP.js} +1 -1
  53. package/dist/assets/{face-bbox-BZdruwK2.js → face-bbox-CCMxuWbS.js} +1 -1
  54. package/dist/assets/{hostInit-CTUWo00T.js → hostInit-Byx0xNZ7.js} +1 -1
  55. package/dist/assets/index-BlRpxCYM.css +2 -0
  56. package/dist/assets/index-C4ZumSL3.js +4 -0
  57. package/dist/assets/{key-round-CHpqcY9g.js → key-round-lB56F1Ys.js} +1 -1
  58. package/dist/assets/layers-CfdK3HVz.js +1 -0
  59. package/dist/assets/{mf-entry-bootstrap-0-e4f61b9c.js → mf-entry-bootstrap-0-aef68a91.js} +2 -2
  60. package/dist/assets/{pencil-WK7qCbrF.js → pencil-H6Yq51LI.js} +1 -1
  61. package/dist/assets/play-CrKYmytT.js +1 -0
  62. package/dist/assets/{player-overlays-B308H6FT.js → player-overlays-CCLUhzOH.js} +1 -1
  63. package/dist/assets/plus-BzDdzkqf.js +1 -0
  64. package/dist/assets/power-KFh7AhbJ.js +1 -0
  65. package/dist/assets/{radio-DwIVHryI.js → radio-D6LU--aB.js} +1 -1
  66. package/dist/assets/{refresh-cw-ZkEXcNt0.js → refresh-cw-BIuNSTm2.js} +1 -1
  67. package/dist/assets/remoteEntry-B8tBMyi_.js +1 -0
  68. package/dist/assets/rotate-ccw-zJuAaRRf.js +1 -0
  69. package/dist/assets/rotate-cw-CxErjJTg.js +1 -0
  70. package/dist/assets/{send-C4Hp2_AW.js → send-BUWXQB_L.js} +1 -1
  71. package/dist/assets/{server-jri2rxti.js → server-DYvYwfzj.js} +1 -1
  72. package/dist/assets/{shield-qKpb8V3c.js → shield-CBa-_zS9.js} +1 -1
  73. package/dist/assets/{square-check-big-CQJv5PGp.js → square-check-big-CoiR0MrH.js} +1 -1
  74. package/dist/assets/square-z88Fbhnc.js +1 -0
  75. package/dist/assets/{src-CRRfIT-p.js → src-Bnzp_4un.js} +17 -17
  76. package/dist/assets/src-CCyejt1U.js +349 -0
  77. package/dist/assets/{star-Dmj270Gi.js → star-DtLD0XCB.js} +1 -1
  78. package/dist/assets/{undo-2-CL7xnyv-.js → undo-2-BqRjog65.js} +1 -1
  79. package/dist/assets/{upload-DGmWKI7v.js → upload-BPwkcjcA.js} +1 -1
  80. package/dist/assets/{use-scenes-feed-DVrl7-Dv.js → use-scenes-feed-B3mLEcqD.js} +1 -1
  81. package/dist/assets/useEventInvalidation-DyLB_hSC.js +1 -0
  82. package/dist/assets/{video-DtcLus75.js → video-CGa96NMP.js} +1 -1
  83. package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-DqWJTfxv.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-C4zTZRyK.js} +2 -2
  84. package/dist/assets/{wifi-BrXEnGuA.js → wifi-BppHK6Ke.js} +1 -1
  85. package/dist/assets/{zap-LIk0nazc.js → zap-Bj48PE7R.js} +1 -1
  86. package/dist/index.html +6 -6
  87. package/dist/server/addon.js +573 -62
  88. package/package.json +1 -1
  89. package/dist/assets/Data-yTLKGui0.js +0 -1
  90. package/dist/assets/Devices-C4bHXSBW.js +0 -1
  91. package/dist/assets/Events-BM2eUsM0.js +0 -1
  92. package/dist/assets/Identity-pji2asLl.js +0 -1
  93. package/dist/assets/Logs-BgAQkk9B.js +0 -1
  94. package/dist/assets/NodeInferenceDevices-9ldJLPqw.js +0 -1
  95. package/dist/assets/Pipeline-Be00UqWq.js +0 -1
  96. package/dist/assets/Recordings-BXnzReYl.js +0 -1
  97. package/dist/assets/Scenes-Di16PVHl.js +0 -1
  98. package/dist/assets/circle-check-big-wJc69kBE.js +0 -1
  99. package/dist/assets/clock-CBE2-l0s.js +0 -1
  100. package/dist/assets/dist-BMaxdNnd.js +0 -349
  101. package/dist/assets/index-BJ67e-An.js +0 -4
  102. package/dist/assets/index-r1TtJ95R.css +0 -2
  103. package/dist/assets/play-BENacAEi.js +0 -1
  104. package/dist/assets/plus-BA0vJ9nq.js +0 -1
  105. package/dist/assets/power-CaTDknuZ.js +0 -1
  106. package/dist/assets/remoteEntry-DLHq_qsa.js +0 -1
  107. package/dist/assets/rotate-ccw-CCdRDDlj.js +0 -1
  108. package/dist/assets/rotate-cw-CpmhjVGV.js +0 -1
  109. package/dist/assets/square-BPeDflLw.js +0 -1
  110. package/dist/assets/src-CAbNcnj2.js +0 -349
  111. package/dist/assets/useEventInvalidation-BBS5Ap1s.js +0 -1
@@ -7529,6 +7529,66 @@ var OpsLogQueryInputSchema = object({
7529
7529
  /** Max rows returned, newest-first. */
7530
7530
  limit: number().int().min(1).max(1e3).optional()
7531
7531
  });
7532
+ var LabelDefinitionSchema = object({
7533
+ id: string(),
7534
+ name: string(),
7535
+ category: string().optional(),
7536
+ description: string().optional(),
7537
+ icon: string().optional()
7538
+ });
7539
+ /** Detection-macro targets a catalog `classMap` may resolve to. */
7540
+ var CLASS_MAP_MACRO_TARGETS = [
7541
+ "person",
7542
+ "vehicle",
7543
+ "animal",
7544
+ "package"
7545
+ ];
7546
+ /**
7547
+ * Le macro classi di PRIMO LIVELLO: quelle che un object detector emette e che
7548
+ * un operatore può selezionare.
7549
+ *
7550
+ * Sono le tre offerte dallo step `object-detection`
7551
+ * (`addon-pipeline/src/detection-pipeline/registry/step-definitions.ts`,
7552
+ * `enabledMacroClasses`). `package` sta in {@link CLASS_MAP_MACRO_TARGETS} e in
7553
+ * `MACRO_LABELS` — è una macro vera — ma NON qui: appartiene allo step
7554
+ * `package-detection`, la cui abilitazione è guidata dalle zone, e offrire la
7555
+ * stessa parola due volte ha già fatto accendere a un operatore il proxy COCO
7556
+ * (suitcase/backpack/handbag) lasciando spento il detector dedicato.
7557
+ *
7558
+ * UNA lista. Prima di oggi le stesse tre erano scritte a mano nell'offerta
7559
+ * dello step e una seconda volta come union `FirstLevelMacro`
7560
+ * (`types/detection.ts`); una terza copia per il trigger di registrazione
7561
+ * (`RecordingTriggers.objectClasses`) avrebbe reso invisibile la divergenza
7562
+ * successiva.
7563
+ */
7564
+ var FIRST_LEVEL_MACRO_CLASSES = [
7565
+ "person",
7566
+ "vehicle",
7567
+ "animal"
7568
+ ];
7569
+ /**
7570
+ * Wire schema for a per-model CATALOG classMap override
7571
+ * (`ModelCatalogEntry.classMap` / `ModelConvertMetadata.classMap`) —
7572
+ * restricted to {@link CLASS_MAP_MACRO_TARGETS}, the only macros the
7573
+ * detection pipeline executor actually routes.
7574
+ *
7575
+ * This is deliberately a DIFFERENT, narrower shape than the general-purpose
7576
+ * `ClassMapDefinition` interface above (e.g. `IDetectionAddon.getClassMap()`
7577
+ * and the audio `YAMNET_TO_MACRO` catalog both use macro targets outside this
7578
+ * enum) — the two used to share the name `ClassMapDefinition`/
7579
+ * `ClassMapDefinitionSchema`, which made the schema-type-twin guard
7580
+ * (`scripts/check-schema-type-twins.ts`) flag them as a duplicated shape. They
7581
+ * are not: it is two different concepts colliding on a name. Keep this type
7582
+ * under its own name rather than reusing `ClassMapDefinition` — reusing it
7583
+ * would either narrow every `ClassMapDefinition` consumer to the four
7584
+ * detection macros (breaking `YAMNET_TO_MACRO`) or drop the validation this
7585
+ * schema exists for (see the "rejects a classMap whose target is not a
7586
+ * detection macro" test in `model-catalog-schema.test.ts`).
7587
+ */
7588
+ var DetectionCatalogClassMapSchema = object({
7589
+ mapping: record(string(), _enum(CLASS_MAP_MACRO_TARGETS)),
7590
+ preserveOriginal: boolean()
7591
+ });
7532
7592
  /**
7533
7593
  * Numeric day-of-week: 0 = Sunday … 6 = Saturday (matches `Date.getDay`).
7534
7594
  * Named `RecordingWeekday` to avoid collision with the string-union
@@ -7551,10 +7611,55 @@ var RecordingStorageModeSchema = _enum([
7551
7611
  "events",
7552
7612
  "continuous"
7553
7613
  ]);
7614
+ /**
7615
+ * Le macro classi che possono aprire una finestra di registrazione — le stesse
7616
+ * tre offerte dallo step `object-detection`, da UNA lista
7617
+ * ({@link FIRST_LEVEL_MACRO_CLASSES}).
7618
+ */
7619
+ var RecordingObjectTriggerClassSchema = _enum(FIRST_LEVEL_MACRO_CLASSES);
7620
+ /**
7621
+ * True quando `values` non ripete un elemento.
7622
+ *
7623
+ * Un duplicato non è innocuo: ogni voce di `objectClasses` / `sensorDeviceIds`
7624
+ * diventa una SORGENTE in `bandTriggerSources`, e la stessa sorgente due volte
7625
+ * conterebbe due volte le sue finestre in `segmentMissedByMs`.
7626
+ */
7627
+ var noDuplicates = (values) => new Set(values).size === values.length;
7554
7628
  /** Which detectors trigger an `events`-mode band. */
7555
7629
  var RecordingTriggersSchema = object({
7556
7630
  motion: boolean().optional(),
7557
- audioThresholdDbfs: number().optional()
7631
+ audioThresholdDbfs: number().optional(),
7632
+ /**
7633
+ * Le macro classi la cui detection apre una finestra. ASSENTE = la sorgente
7634
+ * non è ascoltata; un array VUOTO è rifiutato, perché "banda events, trigger
7635
+ * object acceso, nessuna classe" è la stessa forma "abilitata e non registra
7636
+ * nulla, per sempre" contro cui è scritto `eventsBandCanEverDemand`.
7637
+ *
7638
+ * Il segnale letto è GIÀ FILTRATO: solo detection `source: 'pipeline'`, cioè
7639
+ * quelle che hanno attraversato `enabledMacroClasses`, i
7640
+ * `minConfidence<Macro>` e il full-frame guard. L'AI a bordo camera
7641
+ * (`source: 'onboard'`) non attraversa nessuno di quei gate e NON apre
7642
+ * finestre — vedi `recorder/object-trigger.ts`.
7643
+ */
7644
+ objectClasses: array(RecordingObjectTriggerClassSchema).min(1).refine(noDuplicates, { message: "objectClasses must not repeat a class" }).optional(),
7645
+ /**
7646
+ * I device LINKED il cui FRONTE ALTO apre una finestra. Assente = la sorgente
7647
+ * non è ascoltata; un array vuoto è rifiutato per la stessa ragione di
7648
+ * `objectClasses`.
7649
+ *
7650
+ * Sono id di device SORGENTE, non camere: la banda li nomina, quindi il
7651
+ * percorso caldo (`DeviceStateChanged`, a ritmo di bus su tutta la flotta)
7652
+ * non fa RPC. L'OFFERTA da cui l'operatore li sceglie è un'altra domanda, e
7653
+ * si risolve con `deviceManager.getLinkedDevices` + `getBindingsBatch` per
7654
+ * device (D12) — mai un elenco globale di cap.
7655
+ *
7656
+ * Cosa vuol dire "alto" dipende dal TIPO di device e non è deciso qui:
7657
+ * `SOURCE_CAP_ACTIVE_FIELD` (`catalogs/sensor-active-state.ts`) è LA tabella,
7658
+ * la stessa che il virtual-doorbell usa dal 2026-08-05. Ed è il FRONTE, non
7659
+ * il livello: un contatto trovato già aperto al riavvio del runner non fa
7660
+ * registrare.
7661
+ */
7662
+ sensorDeviceIds: array(number().int().positive()).min(1).max(16).refine(noDuplicates, { message: "sensorDeviceIds must not repeat a device" }).optional()
7558
7663
  });
7559
7664
  /**
7560
7665
  * Mode of a single recording band — the recorder per-band vocabulary.
@@ -8006,41 +8111,6 @@ var DecoderSessionConfigSchema = object({
8006
8111
  */
8007
8112
  debug: boolean().optional()
8008
8113
  });
8009
- var LabelDefinitionSchema = object({
8010
- id: string(),
8011
- name: string(),
8012
- category: string().optional(),
8013
- description: string().optional(),
8014
- icon: string().optional()
8015
- });
8016
- /**
8017
- * Wire schema for a per-model CATALOG classMap override
8018
- * (`ModelCatalogEntry.classMap` / `ModelConvertMetadata.classMap`) —
8019
- * restricted to {@link CLASS_MAP_MACRO_TARGETS}, the only macros the
8020
- * detection pipeline executor actually routes.
8021
- *
8022
- * This is deliberately a DIFFERENT, narrower shape than the general-purpose
8023
- * `ClassMapDefinition` interface above (e.g. `IDetectionAddon.getClassMap()`
8024
- * and the audio `YAMNET_TO_MACRO` catalog both use macro targets outside this
8025
- * enum) — the two used to share the name `ClassMapDefinition`/
8026
- * `ClassMapDefinitionSchema`, which made the schema-type-twin guard
8027
- * (`scripts/check-schema-type-twins.ts`) flag them as a duplicated shape. They
8028
- * are not: it is two different concepts colliding on a name. Keep this type
8029
- * under its own name rather than reusing `ClassMapDefinition` — reusing it
8030
- * would either narrow every `ClassMapDefinition` consumer to the four
8031
- * detection macros (breaking `YAMNET_TO_MACRO`) or drop the validation this
8032
- * schema exists for (see the "rejects a classMap whose target is not a
8033
- * detection macro" test in `model-catalog-schema.test.ts`).
8034
- */
8035
- var DetectionCatalogClassMapSchema = object({
8036
- mapping: record(string(), _enum([
8037
- "person",
8038
- "vehicle",
8039
- "animal",
8040
- "package"
8041
- ])),
8042
- preserveOriginal: boolean()
8043
- });
8044
8114
  var MODEL_FORMATS = [
8045
8115
  "onnx",
8046
8116
  "coreml",
@@ -15483,7 +15553,23 @@ var NcHistoryEntrySchema = object({
15483
15553
  updatedAt: number(),
15484
15554
  /** Failure detail — present on a `dead` row. */
15485
15555
  error: string().optional(),
15486
- subject: NcHistorySubjectSchema
15556
+ subject: NcHistorySubjectSchema,
15557
+ /**
15558
+ * Ids of the artefacts (still, then gif, then clip) this row's successful
15559
+ * delivery indexed in the artefact library — a REFERENCE, never the bytes
15560
+ * (an artefact is often megabytes; this row is durable JSON rewritten on
15561
+ * every delivery attempt). Absent on a row still pending/dead, a row
15562
+ * delivered before this field shipped, or a wiring with no artefact index.
15563
+ *
15564
+ * Resolve one to a fetchable URL with `resolveArtifactUrl` — an id
15565
+ * outlives any one URL's TTL, so a caller mints a fresh link on demand
15566
+ * rather than trusting one frozen at delivery time. `resolveArtifactUrl`
15567
+ * also answers `null` for an id whose artefact has since expired past the
15568
+ * retained shelf's own age bound — the degrade a caller (the Home
15569
+ * Assistant export) must render as "no image right now", never as a
15570
+ * broken link.
15571
+ */
15572
+ artifactIds: array(string().min(1)).optional()
15487
15573
  });
15488
15574
  /**
15489
15575
  * Query filter for `getHistory` (spec §4.2). Every field is a narrowing
@@ -15710,7 +15796,7 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
15710
15796
  }), method(object({}), object({
15711
15797
  catalog: array(NcConditionDescriptorSchema),
15712
15798
  taxonomy: NcTaxonomySchema.optional()
15713
- })), method(object({ filter: NcHistoryFilterSchema.default({ limit: 100 }) }), object({ entries: array(NcHistoryEntrySchema) }), { auth: "admin" }), method(object({}), object({ snoozes: array(NcSnoozeSchema) }), { caller: "required" }), method(object({ snooze: NcSnoozeInputSchema }), object({ snooze: NcSnoozeSchema }), {
15799
+ })), method(object({ filter: NcHistoryFilterSchema.default({ limit: 100 }) }), object({ entries: array(NcHistoryEntrySchema) }), { auth: "admin" }), method(object({ artifactId: string().min(1) }), object({ url: string().nullable() }), { auth: "admin" }), method(object({}), object({ snoozes: array(NcSnoozeSchema) }), { caller: "required" }), method(object({ snooze: NcSnoozeInputSchema }), object({ snooze: NcSnoozeSchema }), {
15714
15800
  kind: "mutation",
15715
15801
  caller: "required"
15716
15802
  }), method(object({ snoozeId: string() }), object({ success: literal(true) }), {
@@ -20798,7 +20884,7 @@ var lifecycleJobSchema = object({
20798
20884
  * `useAddonsOnAddonLogs`, etc. flow through the same codegen pipeline
20799
20885
  * as every other cap.
20800
20886
  */
20801
- var LogLevelSchema$1 = _enum([
20887
+ var LogLevelSchema$2 = _enum([
20802
20888
  "debug",
20803
20889
  "info",
20804
20890
  "warn",
@@ -21005,7 +21091,7 @@ var CustomActionInputSchema = object({
21005
21091
  method(_void(), array(AddonListItemSchema).readonly()), method(object({
21006
21092
  addonId: string(),
21007
21093
  limit: number().min(1).max(500).default(100),
21008
- level: LogLevelSchema$1.optional()
21094
+ level: LogLevelSchema$2.optional()
21009
21095
  }), array(LogQueryEntrySchema)), method(_void(), array(InstalledPackageSchema).readonly()), method(object({
21010
21096
  packageName: string(),
21011
21097
  version: string().optional()
@@ -21103,7 +21189,7 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
21103
21189
  auth: "admin"
21104
21190
  }), method(object({
21105
21191
  addonId: string(),
21106
- level: LogLevelSchema$1.optional()
21192
+ level: LogLevelSchema$2.optional()
21107
21193
  }), LogStreamEntrySchema, { kind: "subscription" });
21108
21194
  object({
21109
21195
  /** Carbon dioxide concentration in ppm. */
@@ -22097,6 +22183,35 @@ var FaceFilterEnum = _enum([
22097
22183
  "identified",
22098
22184
  "all"
22099
22185
  ]);
22186
+ /**
22187
+ * What a `listRecentFaces` page is ORDERED BY.
22188
+ *
22189
+ * - `timestamp` — when the face was seen. The historical (and default) order.
22190
+ * - `suggestionConfidence` — {@link FaceInfo.suggestedMatchScore}, the peak
22191
+ * cosine of the face's SUGGESTED identity. This is the "review by certainty"
22192
+ * order: it puts the suggestions an operator can confirm with one tap at the
22193
+ * top, and it is the reason this enum exists — a client that ranked a capped
22194
+ * page client-side was ranking the newest N, never the most certain N.
22195
+ *
22196
+ * A row with NO suggestion (`suggestedMatchScore` absent — a legacy row, an
22197
+ * auto-assigned face, or a face below the suggestion band) has no certainty to
22198
+ * compare. Under `suggestionConfidence` it sorts **LAST, in BOTH directions**
22199
+ * — flipping the direction reorders the rows that HAVE a certainty and never
22200
+ * floods the page with the ones that do not. `addon-post-analysis`'s
22201
+ * `store/face-sort.ts` is the single implementation, tiebreaks newest-first
22202
+ * then by faceId, and is what makes this a total order instead of the
22203
+ * backend's NULL-collation accident.
22204
+ */
22205
+ var FaceSortFieldEnum = _enum(["timestamp", "suggestionConfidence"]);
22206
+ var FaceSortDirectionEnum = _enum(["asc", "desc"]);
22207
+ /** One suggested group of look-alike UNASSIGNED faces. Ids only — an embedding
22208
+ * never leaves the server. */
22209
+ var FaceClusterSchema = object({
22210
+ faceIds: array(string()).readonly(),
22211
+ representativeFaceId: string(),
22212
+ size: number().int(),
22213
+ cohesion: number()
22214
+ });
22100
22215
  var MediaFileLiteSchema$1 = object({
22101
22216
  key: string(),
22102
22217
  kind: string(),
@@ -22143,24 +22258,72 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
22143
22258
  kind: "mutation",
22144
22259
  auth: "admin"
22145
22260
  }), method(object({
22146
- /** Restrict to one camera. Absent keeps the cluster-wide gallery view. */
22261
+ /**
22262
+ * Restrict to ONE camera. Absent keeps the cluster-wide gallery view.
22263
+ *
22264
+ * The legacy single-camera form, kept verbatim for every caller that
22265
+ * already sends it. A caller that wants a SET sends {@link deviceIds}
22266
+ * instead — never both: `deviceIds` is the authority whenever it is
22267
+ * present, and this field is then ignored rather than unioned, so
22268
+ * there is exactly one answer to "which cameras did I ask for".
22269
+ */
22147
22270
  deviceId: number().int().optional(),
22271
+ /**
22272
+ * Restrict to a SET of cameras — the review UI's camera filter, which
22273
+ * until now had to fetch the cluster-wide page and drop rows in the
22274
+ * client (so the `limit` it asked for was spent on cameras it was
22275
+ * about to discard).
22276
+ *
22277
+ * An **empty array reads NOTHING** — `[]` is an empty page, never
22278
+ * "every camera". A request for no devices is a request, not an
22279
+ * omission; same contract as `deviceManager.listFleet` and
22280
+ * `pipelineAnalytics.listRecentTracks`.
22281
+ *
22282
+ * Absent (`undefined`) is the omission, and keeps the cluster-wide view.
22283
+ */
22284
+ deviceIds: array(number().int()).optional(),
22148
22285
  limit: number().int().positive().optional(),
22149
22286
  filter: FaceFilterEnum.optional(),
22150
22287
  /**
22151
- * Inline the base64 crop on every row. Default `true` — the existing
22152
- * behaviour, kept so no caller breaks.
22288
+ * Window lower bound on {@link FaceInfo.timestamp}, INCLUSIVE.
22289
+ * Absent means no lower bound.
22290
+ */
22291
+ since: number().int().optional(),
22292
+ /**
22293
+ * Window upper bound on {@link FaceInfo.timestamp}, INCLUSIVE.
22294
+ * Absent means no upper bound.
22295
+ */
22296
+ until: number().int().optional(),
22297
+ /**
22298
+ * Order the page by time or by suggestion certainty. Default
22299
+ * `'timestamp'` — the historical order, unchanged for every caller
22300
+ * that does not ask.
22153
22301
  *
22154
- * Set `false` once the caller renders {@link FaceInfo.cropUrl}: that
22155
- * drops ~2.87 MiB per 500-row page to a few KiB of metadata and lets
22156
- * the browser cache the images.
22302
+ * See {@link FaceSortFieldEnum} for what a row with no suggestion
22303
+ * does under `'suggestionConfidence'`.
22157
22304
  *
22158
- * **This is an INPUT field, so it does not reach the addon until the
22159
- * next train.** The hub router validates cap inputs against its own
22160
- * compiled Zod, which strips a key it does not know verified today
22161
- * on the OUTPUT side, where an additive field DOES arrive immediately
22162
- * (`Track.hasFace`). Until the train ships, sending `false` is
22163
- * harmless and simply keeps the crops inline.
22305
+ * Cost note: `'timestamp'` is served by the `(deviceId, timestamp)`
22306
+ * index and stops reading as soon as `limit` rows have PASSED the
22307
+ * filter. `'suggestionConfidence'` cannot stop earlythe most
22308
+ * certain row may be the oldest so it walks the window. Narrow it
22309
+ * with {@link since} / {@link until}.
22310
+ */
22311
+ sortBy: FaceSortFieldEnum.optional(),
22312
+ /** Sort direction for {@link sortBy}. Default `'desc'`. */
22313
+ sortDirection: FaceSortDirectionEnum.optional(),
22314
+ /**
22315
+ * Inline the base64 crop on every row.
22316
+ *
22317
+ * Default `false` since the 2026-08-25 inversion — see
22318
+ * `include-crops-default.ts`, which is the ONE place that resolves
22319
+ * this for every gallery, and which records why the inline shape had
22320
+ * to become the one you ASK for (60 457 ms → UDS timeout at 500 rows).
22321
+ * The doc here used to still say `true`; it was wrong, and a leftover
22322
+ * that describes the old design reads as permission to rely on it.
22323
+ *
22324
+ * Nothing loses its image: the row carries {@link FaceInfo.cropUrl},
22325
+ * which the browser fetches off the `event-media` plane in parallel,
22326
+ * cached and ETagged.
22164
22327
  */
22165
22328
  includeCrops: boolean().optional()
22166
22329
  }).optional(), array(FaceInfoSchema).readonly()), method(object({
@@ -22196,13 +22359,39 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
22196
22359
  }), method(object({
22197
22360
  threshold: number().min(0).max(1).optional(),
22198
22361
  minClusterSize: number().int().min(2).optional(),
22199
- limit: number().int().positive().optional()
22200
- }).optional(), array(object({
22201
- faceIds: array(string()).readonly(),
22202
- representativeFaceId: string(),
22203
- size: number().int(),
22204
- cohesion: number()
22205
- })).readonly());
22362
+ /**
22363
+ * Cap on the number of CLUSTERS returned. Renamed from `limit`,
22364
+ * which read as though it bounded the work — it never did.
22365
+ *
22366
+ * Wins over {@link limit} when both are sent.
22367
+ */
22368
+ maxClusters: number().int().positive().optional(),
22369
+ /**
22370
+ * @deprecated Ambiguous name for {@link maxClusters} — it cuts the
22371
+ * RESULT, not the scan. Kept so existing callers keep working; send
22372
+ * `maxClusters` (and, if you care about cost, {@link maxFacesScanned}).
22373
+ */
22374
+ limit: number().int().positive().optional(),
22375
+ /**
22376
+ * Cap on the number of unassigned faces READ AND CLUSTERED — the
22377
+ * POOL, not the result.
22378
+ *
22379
+ * This is the knob {@link maxClusters} was mistaken for. Clustering
22380
+ * used to read every unassigned face on the hub no matter what the
22381
+ * caller asked for, because the only bound cut the finished clusters
22382
+ * afterwards; a UI showing a window of 100 paid for a scan of the
22383
+ * whole corpus, on an addon whose disk is under contention.
22384
+ *
22385
+ * The pool is the NEWEST matching faces first — the same order the
22386
+ * gallery shows — so a bound here shortens the horizon, it does not
22387
+ * sample it randomly.
22388
+ *
22389
+ * Default: 1 000 (`FACE_SWEEP_PAGE`, exactly one store page). Chosen
22390
+ * so the live corpus — 372 face rows — is unaffected while the
22391
+ * unbounded scan can never come back as the table grows.
22392
+ */
22393
+ maxFacesScanned: number().int().positive().optional()
22394
+ }).optional(), array(FaceClusterSchema).readonly());
22206
22395
  /**
22207
22396
  * Fan-control cap. Models HA `fan.*` entity-specific surfaces:
22208
22397
  * speed percentage, preset modes, ceiling-fan direction, and
@@ -25002,6 +25191,39 @@ var ReadGopBytesResultSchema = object({
25002
25191
  /** Media ms the returned fragment covers. */
25003
25192
  gopDurMs: number()
25004
25193
  });
25194
+ /**
25195
+ * A time WINDOW of one finalized segment, cut by byte range — the multi-GOP
25196
+ * twin of {@link ReadGopBytesResultSchema}'s single instant. Built for the
25197
+ * replay clip's `recording` source (`docs/design/plans/2026-08-26-replay-clip-su-pipeline.md`):
25198
+ * a replay needs several seconds of native pixels, not one frame.
25199
+ *
25200
+ * `ok.data` is standalone-demuxable, same as a GOP read. `ok.reachesRequestedEnd`
25201
+ * is `false` when the returned bytes were cut short by the read's own safety
25202
+ * byte cap before covering `[fromMs, toMs)` — a truncation, reported, not a
25203
+ * silently shorter answer. `spans-multiple-segments` is a REFUSAL, not a
25204
+ * degradation: a window whose end falls past the covering segment would need
25205
+ * bytes stitched from a second segment file (its own `ftyp`+`moov`), which is
25206
+ * not one standalone-demuxable stream — the caller's answer is to request a
25207
+ * shorter window or one aligned to a single segment, not to receive spliced
25208
+ * bytes nothing has proven decodable.
25209
+ */
25210
+ var ReadWindowBytesResultSchema = discriminatedUnion("kind", [object({
25211
+ kind: literal("ok"),
25212
+ data: _instanceof(Uint8Array),
25213
+ /** Absolute epoch ms of the returned bytes' first sample — at or before
25214
+ * the requested `fromMs` (anchored on the nearest keyframe). */
25215
+ gopStartMs: number(),
25216
+ /** Media ms the returned bytes cover, from `gopStartMs`. */
25217
+ gopDurMs: number(),
25218
+ /** `false` ⇒ the safety byte cap cut the read short before it reached
25219
+ * the requested `toMs`; the caller got fewer frames than asked for. */
25220
+ reachesRequestedEnd: boolean()
25221
+ }), object({
25222
+ kind: literal("spans-multiple-segments"),
25223
+ /** Where the covering segment's own footage runs out — informational,
25224
+ * not a retry hint (retrying the same window would refuse again). */
25225
+ segmentEndMs: number()
25226
+ })]);
25005
25227
  method(object({
25006
25228
  deviceId: number(),
25007
25229
  fromMs: number(),
@@ -25052,6 +25274,15 @@ method(object({
25052
25274
  }), ReadGopBytesResultSchema, {
25053
25275
  kind: "query",
25054
25276
  auth: "admin"
25277
+ }), method(object({
25278
+ deviceId: number(),
25279
+ profile: string(),
25280
+ startMs: number(),
25281
+ fromMs: number(),
25282
+ toMs: number()
25283
+ }), ReadWindowBytesResultSchema, {
25284
+ kind: "query",
25285
+ auth: "admin"
25055
25286
  }), method(object({
25056
25287
  deviceId: number(),
25057
25288
  config: RecordingConfigSchema
@@ -25883,6 +26114,211 @@ var SetSiteLocationInputSchema = object({
25883
26114
  latitude: number().min(-90).max(90),
25884
26115
  longitude: number().min(-180).max(180)
25885
26116
  }).nullable();
26117
+ /**
26118
+ * One `(procedure, user-agent, ip, principal)` tuple of the HTTP request
26119
+ * census. `principal` is the DERIVED identity (`apocaliss92 (admin)`,
26120
+ * `scoped:1a2b3c4d (scoped-token)`, `anonymous`) that the tRPC error log
26121
+ * already prints - never a token, never an `Authorization` header.
26122
+ */
26123
+ var RequestCensusGroupSchema = object({
26124
+ procedure: string(),
26125
+ userAgent: string(),
26126
+ ip: string(),
26127
+ principal: string(),
26128
+ calls: number(),
26129
+ perMin: number()
26130
+ });
26131
+ /**
26132
+ * A procedure's TOTAL over the window, across every caller.
26133
+ *
26134
+ * This block, not the group list, is what answers "did these calls arrive over
26135
+ * HTTP at all". A total far BELOW what a store-side census counted over the
26136
+ * same window excludes the HTTP plane, which is a result, not a failure.
26137
+ */
26138
+ var RequestCensusProcedureSchema = object({
26139
+ procedure: string(),
26140
+ calls: number(),
26141
+ perMin: number()
26142
+ });
26143
+ /**
26144
+ * The census as an operator sees it.
26145
+ *
26146
+ * `persisted` is the honest answer to "will this survive the restart I am
26147
+ * about to do": the arm deadline is written to `system-settings` so a window
26148
+ * armed now can measure the NEXT boot, and a write that failed must not look
26149
+ * like one that succeeded.
26150
+ */
26151
+ var RequestCensusStatusSchema = object({
26152
+ armed: boolean(),
26153
+ /** How long the current - or just-closed - window collected, in ms. */
26154
+ elapsedMs: number(),
26155
+ /** The window actually armed, after the server clamped the request. */
26156
+ windowMs: number(),
26157
+ /** Epoch ms the window closes at. 0 when disarmed. */
26158
+ armedUntilMs: number(),
26159
+ httpRequests: number(),
26160
+ batchedRequests: number(),
26161
+ /**
26162
+ * Procedure invocations. Higher than `httpRequests` whenever tRPC batching
26163
+ * is in play (`?batch=1` carries several procedures in one request); this is
26164
+ * the number comparable with a store-side call count.
26165
+ */
26166
+ procedureCalls: number(),
26167
+ /**
26168
+ * tRPC WebSocket connections opened during the window. NOT calls - the WS
26169
+ * transport resolves one context per connection - but the number that says
26170
+ * whether a plane this census cannot see was busy while HTTP was quiet.
26171
+ */
26172
+ wsConnections: number(),
26173
+ distinctGroups: number(),
26174
+ /** Calls counted in the totals whose group attribution was shed at the
26175
+ * cardinality bound. */
26176
+ unattributedCalls: number(),
26177
+ procedures: array(RequestCensusProcedureSchema).readonly(),
26178
+ groups: array(RequestCensusGroupSchema).readonly()
26179
+ }).extend({ persisted: boolean() });
26180
+ /** Severity vocabulary. Mirrors `LogLevel` in `interfaces/logging.ts`. */
26181
+ var LogLevelSchema$1 = _enum([
26182
+ "debug",
26183
+ "info",
26184
+ "warn",
26185
+ "error"
26186
+ ]);
26187
+ /**
26188
+ * The diagnostics that can be ARMED for a window. Exactly one today.
26189
+ *
26190
+ * A diagnostic is anything whose cost is only worth paying while a question is
26191
+ * open. It never persists as a boolean: see {@link DiagnosticWindowSchema}.
26192
+ */
26193
+ var DiagnosticIdSchema = _enum(["request-census"]);
26194
+ /**
26195
+ * The layers of the level hierarchy, general → specific. The most specific
26196
+ * layer that carries an explicit value wins.
26197
+ *
26198
+ * `component` is DECLARED and not yet resolvable: the per-component channels
26199
+ * are a later slice of the same plan, and a `levelSource` enum that has to
26200
+ * grow later would force every consumer of this document to change with it.
26201
+ * Nothing returns `component` today.
26202
+ */
26203
+ var LoggingScopeKindSchema = _enum([
26204
+ "cluster",
26205
+ "node",
26206
+ "component"
26207
+ ]);
26208
+ /** Where an effective level came from. `default` = nothing is set anywhere. */
26209
+ var LoggingLevelSourceSchema = _enum([
26210
+ "default",
26211
+ "cluster",
26212
+ "node",
26213
+ "component"
26214
+ ]);
26215
+ /**
26216
+ * One layer of the hierarchy as it actually STANDS.
26217
+ *
26218
+ * `level: null` is the whole reason this array is returned: it is the
26219
+ * difference between "this node is at `info` because I decided it" and
26220
+ * "...because it inherits". An operator who clears an override believing they
26221
+ * are clearing an inherited value has been handed the same defect as the two
26222
+ * contradicting knobs this document exists to remove, moved one floor up.
26223
+ */
26224
+ var LoggingLevelLayerSchema = object({
26225
+ scope: LoggingScopeKindSchema,
26226
+ /** The node this layer speaks for; `null` on the cluster layer. */
26227
+ nodeId: string().nullable(),
26228
+ /** Explicitly set here, or `null` when this layer inherits. */
26229
+ level: LogLevelSchema$1.nullable()
26230
+ });
26231
+ /** What a line is judged against, and WHICH layer decided it. */
26232
+ var LoggingEffectiveSchema = object({
26233
+ level: LogLevelSchema$1,
26234
+ levelSource: LoggingLevelSourceSchema
26235
+ });
26236
+ /** Every layer, general → specific. Never collapsed into the effective value. */
26237
+ var LoggingExplicitSchema = object({ layers: array(LoggingLevelLayerSchema).readonly() });
26238
+ /**
26239
+ * An armed diagnostic, with its DEADLINE.
26240
+ *
26241
+ * The shape of ADR-0244: what is stored is a deadline and never a flag, so a
26242
+ * diagnostic somebody forgot expires by itself, and a boot-window measurement
26243
+ * survives the restart it exists to measure. `remainingMs` is 0 whenever
26244
+ * `armed` is false — a window is never reported as slightly expired.
26245
+ */
26246
+ var DiagnosticWindowSchema = object({
26247
+ id: DiagnosticIdSchema,
26248
+ armed: boolean(),
26249
+ /** Epoch ms the window closes at. 0 when disarmed. */
26250
+ armedUntilMs: number(),
26251
+ /** Ms left before it expires on its own. 0 when disarmed. */
26252
+ remainingMs: number(),
26253
+ /** Whether the stored deadline is the one the live diagnostic is running —
26254
+ * i.e. whether this window would survive a restart. */
26255
+ persisted: boolean()
26256
+ });
26257
+ /**
26258
+ * `armMs: 0` DISARMS. Any positive value arms for that long, clamped by the
26259
+ * server — there is no maximum here on purpose: a bound repeated in a schema
26260
+ * is a second knob that disagrees with the first the day one of them moves.
26261
+ */
26262
+ var DiagnosticWindowPatchSchema = object({
26263
+ id: DiagnosticIdSchema,
26264
+ armMs: number().int().min(0),
26265
+ /** Cadence of the diagnostic's aggregated report line. Clamped by the server. */
26266
+ reportEveryMs: number().int().positive().optional()
26267
+ });
26268
+ /**
26269
+ * A PATCH, and patches MERGE.
26270
+ *
26271
+ * A field absent from the patch is left exactly as it was — arming a
26272
+ * diagnostic never resets a level, and setting a level never disarms a window.
26273
+ * The provider must not reconstruct the document as `{ ...snapshot, ...patch }`:
26274
+ * `setAll` already merges, and rebuilding the object is how an absent field
26275
+ * turns into an erased one.
26276
+ */
26277
+ var LoggingSettingsPatchSchema = object({
26278
+ /**
26279
+ * Absent leaves the level untouched. `null` CLEARS the explicit value at the
26280
+ * addressed scope so it inherits again. A value sets it.
26281
+ */
26282
+ level: LogLevelSchema$1.nullable().optional(),
26283
+ /**
26284
+ * Only the diagnostics NAMED here change. An armed window that is not listed
26285
+ * keeps running — a patch is never a full replacement.
26286
+ */
26287
+ diagnostics: array(DiagnosticWindowPatchSchema).readonly().optional()
26288
+ });
26289
+ /**
26290
+ * Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
26291
+ *
26292
+ * Deliberately NOT called `nodeId`: that key is reserved on every cap method
26293
+ * input — the generated router strips it and uses it to resolve the PROVIDER
26294
+ * on that node (`resolveProvider(cap, nodeId, …)`). A document about
26295
+ * `agent-1` addressed as `nodeId` would be forwarded to agent-1 and answered
26296
+ * by an agent that holds no cluster document at all. The hub is the single
26297
+ * authority over the whole hierarchy and answers for every layer, so the
26298
+ * layer selector needs a name the transport does not already own.
26299
+ */
26300
+ var GetLoggingSettingsInputSchema = object({ scopeNodeId: string().optional() });
26301
+ var SetLoggingSettingsInputSchema = object({
26302
+ scopeNodeId: string().optional(),
26303
+ patch: LoggingSettingsPatchSchema
26304
+ });
26305
+ /**
26306
+ * The whole document, as read and as returned after every write.
26307
+ *
26308
+ * `persisted: false` means the settings store could not be read or written.
26309
+ * The in-memory mirror still governs behaviour and is unchanged by the
26310
+ * failure — a read that fails neither switches a level nor disarms a window
26311
+ * (D49) — but the operator is told that what they are looking at would not
26312
+ * survive a restart.
26313
+ */
26314
+ var LoggingSettingsStateSchema = object({
26315
+ /** The layer this document was read at. `null` = the cluster layer. */
26316
+ scopeNodeId: string().nullable(),
26317
+ effective: LoggingEffectiveSchema,
26318
+ explicit: LoggingExplicitSchema,
26319
+ activeWindows: array(DiagnosticWindowSchema).readonly(),
26320
+ persisted: boolean()
26321
+ });
25886
26322
  method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), method(_void(), FeatureManifestSchema), method(_void(), array(NetworkAddressSchema).readonly()), method(_void(), unknown().nullable(), { auth: "admin" }), method(record(string(), unknown()), _null(), {
25887
26323
  kind: "mutation",
25888
26324
  auth: "admin"
@@ -25895,6 +26331,9 @@ method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), met
25895
26331
  }), method(_void(), SiteLocationStatusSchema, {
25896
26332
  kind: "mutation",
25897
26333
  auth: "admin"
26334
+ }), method(_void(), RequestCensusStatusSchema, { auth: "admin" }), method(GetLoggingSettingsInputSchema, LoggingSettingsStateSchema, { auth: "admin" }), method(SetLoggingSettingsInputSchema, LoggingSettingsStateSchema, {
26335
+ kind: "mutation",
26336
+ auth: "admin"
25898
26337
  });
25899
26338
  object({
25900
26339
  /** True when the device's tamper switch / case-open contact is
@@ -29470,6 +29909,12 @@ Object.freeze({
29470
29909
  addonId: null,
29471
29910
  access: "view"
29472
29911
  },
29912
+ "notificationRules.resolveArtifactUrl": {
29913
+ capName: "notification-rules",
29914
+ capScope: "system",
29915
+ addonId: null,
29916
+ access: "view"
29917
+ },
29473
29918
  "notificationRules.setAlarmConfig": {
29474
29919
  capName: "notification-rules",
29475
29920
  capScope: "system",
@@ -30874,6 +31319,12 @@ Object.freeze({
30874
31319
  addonId: null,
30875
31320
  access: "view"
30876
31321
  },
31322
+ "recording.readWindowBytes": {
31323
+ capName: "recording",
31324
+ capScope: "system",
31325
+ addonId: null,
31326
+ access: "view"
31327
+ },
30877
31328
  "recording.refreshStorageLocationsForMigration": {
30878
31329
  capName: "recording",
30879
31330
  capScope: "system",
@@ -31714,6 +32165,18 @@ Object.freeze({
31714
32165
  addonId: null,
31715
32166
  access: "create"
31716
32167
  },
32168
+ "system.getLoggingSettings": {
32169
+ capName: "system",
32170
+ capScope: "system",
32171
+ addonId: null,
32172
+ access: "view"
32173
+ },
32174
+ "system.getRequestCensus": {
32175
+ capName: "system",
32176
+ capScope: "system",
32177
+ addonId: null,
32178
+ access: "view"
32179
+ },
31717
32180
  "system.getRetentionConfig": {
31718
32181
  capName: "system",
31719
32182
  capScope: "system",
@@ -31744,6 +32207,12 @@ Object.freeze({
31744
32207
  addonId: null,
31745
32208
  access: "view"
31746
32209
  },
32210
+ "system.setLoggingSettings": {
32211
+ capName: "system",
32212
+ capScope: "system",
32213
+ addonId: null,
32214
+ access: "create"
32215
+ },
31747
32216
  "system.setRetentionConfig": {
31748
32217
  capName: "system",
31749
32218
  capScope: "system",
@@ -32899,6 +33368,10 @@ Object.freeze({
32899
33368
  name: "deviceId",
32900
33369
  form: "single",
32901
33370
  optional: true
33371
+ }, {
33372
+ name: "deviceIds",
33373
+ form: "array",
33374
+ optional: true
32902
33375
  }],
32903
33376
  "fanControl.setDirection": [{
32904
33377
  name: "deviceId",
@@ -33704,6 +34177,11 @@ Object.freeze({
33704
34177
  form: "single",
33705
34178
  optional: false
33706
34179
  }],
34180
+ "recording.readWindowBytes": [{
34181
+ name: "deviceId",
34182
+ form: "single",
34183
+ optional: false
34184
+ }],
33707
34185
  "recording.relocateFootage": [{
33708
34186
  name: "deviceId",
33709
34187
  form: "single",
@@ -34504,7 +34982,38 @@ object({
34504
34982
  * fallback — i.e. the pre-2026-08-13 miss profile. Set it there only to
34505
34983
  * reproduce that.
34506
34984
  */
34507
- tileBudgetMb: number().int().min(0).max(1024)
34985
+ tileBudgetMb: number().int().min(0).max(1024),
34986
+ /**
34987
+ * RAM ceiling per decode worker, in MB, for the SCENE TILES — one
34988
+ * JPEG-encoded copy of the WHOLE native frame, cut in the same instant as the
34989
+ * subject tiles, on frames that detected something.
34990
+ *
34991
+ * It exists because a subject tile cannot answer a FULL-FRAME request:
34992
+ * containment is strict by design, so the native `keyFrame`, the detail
34993
+ * plane's `frameJpeg` rung and the display-crop fallback had no rung at all
34994
+ * below the hold. Measured on the live cluster: 23.3% of key-frame captures
34995
+ * missed, 95.7% of them with `worker-lease-gone` — the raster released one
34996
+ * frame-time after delivery, with the request only p50 367 ms behind it.
34997
+ *
34998
+ * Sizing, and why this is a budget and not a duration: a scene tile is
34999
+ * ~1.5-2.5 MB at 4K (against ~23.75 MB for the raster it was cut from and
35000
+ * ~60-120 KB for a subject tile), and it is cut ~0.4 times a second per busy
35001
+ * camera — only detection-bearing frames get one. 48 MB is therefore ~20-30
35002
+ * frames, i.e. the store's 30 s TTL binds at the steady state and the budget
35003
+ * binds only through a detection burst, where it still covers well past the
35004
+ * measured p90 ask age of 4.3 s. Holding the RASTERS for the same window
35005
+ * would be ~498 MB per camera and ~6 GB at peak concurrency — the OOM this
35006
+ * whole shape exists to avoid.
35007
+ *
35008
+ * A SEPARATE ceiling from `tileBudgetMb` on purpose: a scene tile is ~20× a
35009
+ * subject tile, so one shared budget would let a busy camera's key frames
35010
+ * evict the face/plate tiles the recognisers depend on. Two budgets make that
35011
+ * impossible rather than unlikely. `0` DISABLES scene tiles and restores the
35012
+ * pre-existing behaviour, where a late full-frame request had nothing but the
35013
+ * ≤640 RAM raster — which the `keyFrame` gate rejects, so in practice it had
35014
+ * nothing.
35015
+ */
35016
+ sceneBudgetMb: number().int().min(0).max(1024)
34508
35017
  });
34509
35018
  /**
34510
35019
  * The values in force when the operator has set nothing.
@@ -34520,12 +35029,14 @@ var DEFAULT_NATIVE_LEASE_SETTINGS = {
34520
35029
  budgetMb: 1024,
34521
35030
  activityMs: 15e3,
34522
35031
  tileBudgetMb: 64,
35032
+ sceneBudgetMb: 48,
34523
35033
  admission: "inferred"
34524
35034
  };
34525
35035
  DEFAULT_NATIVE_LEASE_SETTINGS.holdFrames;
34526
35036
  DEFAULT_NATIVE_LEASE_SETTINGS.budgetMb;
34527
35037
  DEFAULT_NATIVE_LEASE_SETTINGS.activityMs;
34528
35038
  DEFAULT_NATIVE_LEASE_SETTINGS.tileBudgetMb;
35039
+ DEFAULT_NATIVE_LEASE_SETTINGS.sceneBudgetMb;
34529
35040
  DEFAULT_NATIVE_LEASE_SETTINGS.admission;
34530
35041
  var MB = 1024 * 1024;
34531
35042
  1024 * MB, 3072 * MB;
@@ -34548,7 +35059,7 @@ var AdminUIAddon = class extends BaseAddon {
34548
35059
  capability: adminUiCapability,
34549
35060
  provider: {
34550
35061
  getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
34551
- getVersion: async () => ({ version: "1.2.101" })
35062
+ getVersion: async () => ({ version: "1.2.103" })
34552
35063
  }
34553
35064
  }];
34554
35065
  }