@camstack/addon-admin-ui 1.2.442 → 1.2.443

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 (118) hide show
  1. package/dist/assets/{AddonAssetIcon-BccuV0q0.js → AddonAssetIcon-BZ3nAoxI.js} +1 -1
  2. package/dist/assets/{Addons-kSQ_LfKG.js → Addons-BGWXApJO.js} +2 -2
  3. package/dist/assets/{AdminPage-C_5SnDIL.js → AdminPage-BrNVYSyo.js} +1 -1
  4. package/dist/assets/{AdminSectionedPage-9KWXxykK.js → AdminSectionedPage-Dh0h99mU.js} +1 -1
  5. package/dist/assets/{AiProfiles-jgiZ-hEI.js → AiProfiles-LVK8z9CZ.js} +1 -1
  6. package/dist/assets/{BrokerForm-DzQNeSxm.js → BrokerForm-Ccq1Ih2O.js} +1 -1
  7. package/dist/assets/Build-C_Zu-Je3.js +40 -0
  8. package/dist/assets/{Calendars-Cla89sbi.js → Calendars-1uP96v-V.js} +1 -1
  9. package/dist/assets/{Cluster-eTZjguTx.js → Cluster-BnmZh2Nn.js} +1 -1
  10. package/dist/assets/ClusterStepModel-B6c_UMsA.js +1 -0
  11. package/dist/assets/{CompositionEditor-CJR7m-qo.js → CompositionEditor-joJfcrqc.js} +1 -1
  12. package/dist/assets/{CompositionEditorPage-BgQSiVo8.js → CompositionEditorPage-y89GyEA5.js} +1 -1
  13. package/dist/assets/{Data-xUdBOATt.js → Data-DX8kzB-3.js} +1 -1
  14. package/dist/assets/{DeviceDetail-BxgqCzrO.js → DeviceDetail-B8U3Yepm.js} +2 -2
  15. package/dist/assets/{DeviceDoActionFields-BjVWVHu7.js → DeviceDoActionFields-q6xVAIAa.js} +1 -1
  16. package/dist/assets/{Devices-D9zuTHOW.js → Devices-AoATGKWU.js} +1 -1
  17. package/dist/assets/{EmbedPlayerPage-MXUvBkWX.js → EmbedPlayerPage-Du1J1yTM.js} +1 -1
  18. package/dist/assets/{Identity-0TfWSUca.js → Identity-BOfwyXgX.js} +1 -1
  19. package/dist/assets/IntegrationDetail-DCQjP8LU.js +1 -0
  20. package/dist/assets/{IntegrationHub-CA9MM1oL.js → IntegrationHub-B-RxXA9_.js} +1 -1
  21. package/dist/assets/{Integrations-BbsiTLtO.js → Integrations-CzTceJFE.js} +1 -1
  22. package/dist/assets/{Integrations-BdrRZHfb.js → Integrations-WPdqnrXU.js} +1 -1
  23. package/dist/assets/{Library-B9_Scpen.js → Library-B67zZRsd.js} +1 -1
  24. package/dist/assets/{Locations-DdCSAAsc.js → Locations-HaHa_Fsr.js} +2 -2
  25. package/dist/assets/{Logs-CVR97TYT.js → Logs-D5P4nUT8.js} +1 -1
  26. package/dist/assets/{MaskShapeCanvas-DEZFJVo5.js → MaskShapeCanvas-DImE8rL3.js} +1 -1
  27. package/dist/assets/{MotionZonesSettings-Bwo-3iRG.js → MotionZonesSettings-0CuyxGPc.js} +1 -1
  28. package/dist/assets/{MyAccess-oZ9l9GBy.js → MyAccess-CvUaUk6O.js} +1 -1
  29. package/dist/assets/{Network-CNhaeFmn.js → Network-Cn22Onk0.js} +1 -1
  30. package/dist/assets/{NodeAddonsSettingsPanel-CRyxRlRb.js → NodeAddonsSettingsPanel-D2a6eJdl.js} +1 -1
  31. package/dist/assets/Notifications-DDmcZBvb.js +1 -0
  32. package/dist/assets/{PrivacyMaskSettings-cDl1Qu_T.js → PrivacyMaskSettings-iuZ15_7K.js} +1 -1
  33. package/dist/assets/{Recordings-DycF_b6H.js → Recordings-DDufOAKc.js} +1 -1
  34. package/dist/assets/{ScanNetworkModal-C5RUKriq.js → ScanNetworkModal-DMI4Puj8.js} +1 -1
  35. package/dist/assets/{SceneMonitorEditor-BmaWm_DT.js → SceneMonitorEditor-BeQX-lOK.js} +1 -1
  36. package/dist/assets/{SessionsList-Cu3ZE31w.js → SessionsList-DJQsiJpZ.js} +1 -1
  37. package/dist/assets/{Showroom-ndc_ZezE.js → Showroom-yw0GMHMG.js} +1 -1
  38. package/dist/assets/{System-C_RpKyaA.js → System-CiRePLgR.js} +1 -1
  39. package/dist/assets/{Terminal-BdKedDZS.js → Terminal-BISFdyS_.js} +1 -1
  40. package/dist/assets/{Viewer-LdYt8Q3H.js → Viewer-C9JIf56u.js} +1 -1
  41. package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-DId7Mdzp.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-PnsnCmkC.js} +1 -1
  42. package/dist/assets/{addon-icons-context-BNhm5nij.js → addon-icons-context-Ci899mcp.js} +1 -1
  43. package/dist/assets/{archive-Dj3rQasM.js → archive-LCkF1dZb.js} +1 -1
  44. package/dist/assets/{authed-media-CRKmATDJ.js → authed-media-D_mDMacH.js} +1 -1
  45. package/dist/assets/{bell-off-BxB4ohQe.js → bell-off-GaaNTQY2.js} +1 -1
  46. package/dist/assets/{board-model-Bx9i2Ikh.js → board-model-D4eidiUD.js} +1 -1
  47. package/dist/assets/{boxes-Cyb74Sc2.js → boxes-C5tX31nL.js} +1 -1
  48. package/dist/assets/circle-slash-DB409D2V.js +1 -0
  49. package/dist/assets/client-C7PU3uqv.js +358 -0
  50. package/dist/assets/{cloud-upload-STkEa8On.js → cloud-upload-VkAtqPMg.js} +1 -1
  51. package/dist/assets/crop-CpbGKQ8Q.js +1 -0
  52. package/dist/assets/{device-integration-icon-NmvFHcoT.js → device-integration-icon-DQ-h2aqY.js} +1 -1
  53. package/dist/assets/device-picker-model-BtWCNPPD.js +1 -0
  54. package/dist/assets/dist-D10PjgBb.js +358 -0
  55. package/dist/assets/{dist-CboU_aT5.js → dist-D8lgrNhR.js} +1 -1
  56. package/dist/assets/{eraser-MfKJ-xHy.js → eraser-fzzWtRJk.js} +1 -1
  57. package/dist/assets/{hard-drive-download-DNMTqY2h.js → hard-drive-download-BoCYHTOr.js} +1 -1
  58. package/dist/assets/{history-ohLSkO2A.js → history-CRzL5JIS.js} +1 -1
  59. package/dist/assets/{hostInit-LP6ARUYA.js → hostInit-Cez0g2jV.js} +1 -1
  60. package/dist/assets/i18n-DPnbeqSW.js +1 -0
  61. package/dist/assets/{icons-Bft8hsua.js → icons-C1hjXP2s.js} +1 -1
  62. package/dist/assets/{index-WxoBkjSL.js → index-P4Ykaww9.js} +3 -3
  63. package/dist/assets/{key-LDVs0Hda.js → key-B8BAPcXc.js} +1 -1
  64. package/dist/assets/{key-round-ufq1OhZE.js → key-round-BJ8BVDGZ.js} +1 -1
  65. package/dist/assets/{layers-DMR3HPTk.js → layers-CD_tu1Pc.js} +1 -1
  66. package/dist/assets/{linked-devices-model-BhIH5Kho.js → linked-devices-model-BpLdQSS2.js} +1 -1
  67. package/dist/assets/{list-ordered-iFgP3FdK.js → list-ordered-CV8Mey9J.js} +1 -1
  68. package/dist/assets/{location-owned-usage-ChRB3Z7a.js → location-owned-usage-BWKIfwEv.js} +1 -1
  69. package/dist/assets/{log-in-4wTdM9C2.js → log-in-CssruFII.js} +1 -1
  70. package/dist/assets/{memory-stick-BVZbZTDE.js → memory-stick-CGxsa350.js} +1 -1
  71. package/dist/assets/{message-square-plus-DTEXt10L.js → message-square-plus-CBy6WJpr.js} +1 -1
  72. package/dist/assets/{mf-entry-bootstrap-0-6f3bb22b.js → mf-entry-bootstrap-0-c381d6e5.js} +2 -2
  73. package/dist/assets/{mic-off-BOvuLxyG.js → mic-off-DZ1gYAW7.js} +1 -1
  74. package/dist/assets/{monitor-off-BJJUHiNu.js → monitor-off-CLe0AluZ.js} +1 -1
  75. package/dist/assets/{monitor-smartphone-BaRjkvN9.js → monitor-smartphone-ClAfVDzo.js} +1 -1
  76. package/dist/assets/mount-BtWCNPPD.js +1 -0
  77. package/dist/assets/notification-schedule-field-DZeBBmOz.js +1 -0
  78. package/dist/assets/{player-overlays-CpALjVtS.js → player-overlays-HaJLnfsi.js} +1 -1
  79. package/dist/assets/{recycle-CjrRLz-b.js → recycle-zmChefCS.js} +1 -1
  80. package/dist/assets/remoteEntry-m6BFtz9i.js +1 -0
  81. package/dist/assets/{scan-eye-D35EojCj.js → scan-eye-CMTwtxZj.js} +1 -1
  82. package/dist/assets/{scissors-DreuVKed.js → scissors-BlRdwWP1.js} +1 -1
  83. package/dist/assets/{search-x-DQHP4OCR.js → search-x-CbwcvDCN.js} +1 -1
  84. package/dist/assets/{send-Dta9lxhX.js → send-6r6Ib9OA.js} +1 -1
  85. package/dist/assets/{settings-2-DPZ8CKFD.js → settings-2-BcvvKclK.js} +1 -1
  86. package/dist/assets/{speaker-D95jrOt6.js → speaker-CMJy4ydK.js} +1 -1
  87. package/dist/assets/src-DVZ_yCN-.js +67 -0
  88. package/dist/assets/{timer-reset-EEmenpu7.js → timer-reset-BdRlRB62.js} +1 -1
  89. package/dist/assets/{ungroup-Db4urNO1.js → ungroup-BpleWEEi.js} +1 -1
  90. package/dist/assets/{unlink-6J-SREPz.js → unlink-DKyXFXyJ.js} +1 -1
  91. package/dist/assets/{usb-UiuX4lHP.js → usb-6pnA3ol4.js} +1 -1
  92. package/dist/assets/{use-scenes-feed-xAvk3mdK.js → use-scenes-feed-DaSpiEjT.js} +1 -1
  93. package/dist/assets/{use-stationary-objects-BSuACN9l.js → use-stationary-objects-CMuPPZiU.js} +1 -1
  94. package/dist/assets/useEventInvalidation-BtWCNPPD.js +1 -0
  95. package/dist/assets/{useNodeUrlSelection-itsA69-a.js → useNodeUrlSelection-DKMh9oxh.js} +1 -1
  96. package/dist/assets/user-round-DvLwlL_U.js +1 -0
  97. package/dist/assets/{user-x-BiLr1XcR.js → user-x-BRy73Tug.js} +1 -1
  98. package/dist/assets/{video-DSVienqW.js → video-C_Glztyb.js} +1 -1
  99. package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-BzdoZPn9.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-Bwge-Brs.js} +2 -2
  100. package/dist/index.html +10 -10
  101. package/dist/server/addon.js +256 -24
  102. package/package.json +1 -1
  103. package/dist/assets/Build-DCeob-yZ.js +0 -40
  104. package/dist/assets/ClusterStepModel-8aoPvS-k.js +0 -1
  105. package/dist/assets/IntegrationDetail-e-6OvQx9.js +0 -1
  106. package/dist/assets/Notifications-2cTCf7lp.js +0 -1
  107. package/dist/assets/circle-slash-CJ8sDXES.js +0 -1
  108. package/dist/assets/client-CqoBi3ym.js +0 -358
  109. package/dist/assets/crop-Cvf_bPJF.js +0 -1
  110. package/dist/assets/device-picker-model-2g0u_pQE.js +0 -1
  111. package/dist/assets/dist-yylqec5a.js +0 -358
  112. package/dist/assets/i18n-Bldp2nug.js +0 -1
  113. package/dist/assets/mount-2g0u_pQE.js +0 -1
  114. package/dist/assets/notification-schedule-field-BHhbg0a-.js +0 -1
  115. package/dist/assets/remoteEntry-CgICLtvC.js +0 -1
  116. package/dist/assets/src-CsHgYIi2.js +0 -67
  117. package/dist/assets/useEventInvalidation-2g0u_pQE.js +0 -1
  118. package/dist/assets/user-round-t1eXjuPz.js +0 -1
@@ -5415,7 +5415,7 @@ var ZodIssueCode = {
5415
5415
  var ZodFirstPartyTypeKind;
5416
5416
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5417
5417
  //#endregion
5418
- //#region ../types/dist/sleep-yKL5gfrH.mjs
5418
+ //#region ../types/dist/sleep-BSuCCFjf.mjs
5419
5419
  /**
5420
5420
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5421
5421
  * window to float samples (D455).
@@ -16826,7 +16826,19 @@ var DeviceHistorySubjectSchema = discriminatedUnion("kind", [object({
16826
16826
  kind: literal("node"),
16827
16827
  nodeId: string().min(1)
16828
16828
  })]);
16829
+ /**
16830
+ * `enum` stores a STATE as the ordinal of its value in the series' value list
16831
+ * (`DeviceHistorySeriesInfo.values`, append-only, so an ordinal never changes
16832
+ * meaning); a rollup keeps the time spent in each state (`states`).
16833
+ */
16829
16834
  var DeviceHistoryKindSchema = _enum([
16835
+ "gauge",
16836
+ "counter",
16837
+ "boolean",
16838
+ "enum"
16839
+ ]);
16840
+ /** What a PRODUCER may declare. `enum` is cap-only: its value list is the cap field's. */
16841
+ var DeviceHistoryProducerKindSchema = _enum([
16830
16842
  "gauge",
16831
16843
  "counter",
16832
16844
  "boolean"
@@ -16863,7 +16875,13 @@ var SeriesInfoSchema = object({
16863
16875
  /** `null` is unknown (a `unitFrom` series whose device does not state a unit right now), never a guess. */
16864
16876
  unit: string().nullable(),
16865
16877
  displayName: string(),
16866
- source: _enum(["cap", "addon"]),
16878
+ source: _enum([
16879
+ "cap",
16880
+ "addon",
16881
+ "derived"
16882
+ ]),
16883
+ /** `enum`: the value of each ordinal (index = ordinal); `null` for every other kind. */
16884
+ values: array(string()).readonly().nullable(),
16867
16885
  firstTs: number(),
16868
16886
  lastTs: number()
16869
16887
  });
@@ -16877,17 +16895,31 @@ var QueryPointSchema = object({
16877
16895
  twMean: number().nullable(),
16878
16896
  min: number(),
16879
16897
  max: number(),
16880
- /** `null` is unknown, never zero (D393). */
16881
- last: number().nullable()
16898
+ /** `null` is unknown, never zero (D393). For an `enum` series: the ordinal of {@link state}. */
16899
+ last: number().nullable(),
16900
+ /**
16901
+ * The increase over the point: a `counter`'s growth since the previous point
16902
+ * or bucket (a drop is a reset, counted from zero), and for
16903
+ * {@link DEVICE_HISTORY_ENERGY_KEY} the kWh used in the bucket. `null` for
16904
+ * every other kind, and when it cannot be known.
16905
+ */
16906
+ delta: number().nullable(),
16907
+ /** `enum`: the state in force at the end of the point (the name of `last`); `null` otherwise. */
16908
+ state: string().nullable(),
16909
+ /** `enum` rollup: milliseconds spent in each state inside the bucket; `null` for raw points and other kinds. */
16910
+ states: record(string(), number()).nullable()
16882
16911
  });
16883
16912
  var QuerySeriesSchema = object({
16884
16913
  scope: string(),
16885
16914
  /** The last point STRICTLY BEFORE `from` in the chosen tier, so a step chart can start at the held value. */
16886
16915
  before: object({
16887
16916
  t: number(),
16888
- value: number().nullable()
16917
+ value: number().nullable(),
16918
+ state: string().nullable()
16889
16919
  }).nullable(),
16890
- points: array(QueryPointSchema).readonly()
16920
+ points: array(QueryPointSchema).readonly(),
16921
+ /** A derived key: the stored key its points were computed from; `null` for a stored series. */
16922
+ derivedFrom: string().nullable()
16891
16923
  });
16892
16924
  /** The window part of a query, shared by the device and node forms. */
16893
16925
  var QueryWindowShape = {
@@ -16903,6 +16935,23 @@ var QueryResultSchema = object({
16903
16935
  series: array(QuerySeriesSchema).readonly(),
16904
16936
  truncated: boolean()
16905
16937
  });
16938
+ /** One read of a batch: a device's key or a node's key (exactly one subject). */
16939
+ var QueryManyItemSchema = union([object({
16940
+ deviceId: number().int(),
16941
+ key: string(),
16942
+ scope: string().optional()
16943
+ }), object({
16944
+ forNodeId: string().min(1),
16945
+ key: string(),
16946
+ scope: string().optional()
16947
+ })]);
16948
+ var QueryManyEntrySchema = discriminatedUnion("ok", [object({
16949
+ ok: literal(true),
16950
+ result: QueryResultSchema
16951
+ }), object({
16952
+ ok: literal(false),
16953
+ error: string()
16954
+ })]);
16906
16955
  var TierStatusSchema = object({
16907
16956
  tier: DeviceHistoryResolutionSchema,
16908
16957
  /** `null` until the first background count answered. */
@@ -16958,16 +17007,22 @@ var DeviceHistoryStatusSchema = object({
16958
17007
  lastRefreshAt: number().nullable()
16959
17008
  })
16960
17009
  });
16961
- method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ nodeId: string().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
17010
+ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ forNodeId: string().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
16962
17011
  deviceId: number().int(),
16963
17012
  ...QueryWindowShape
16964
17013
  }), QueryResultSchema), method(object({
16965
- nodeId: string().min(1),
17014
+ forNodeId: string().min(1),
16966
17015
  ...QueryWindowShape
16967
17016
  }), QueryResultSchema, { auth: "admin" }), method(object({
17017
+ items: array(QueryManyItemSchema).min(1).max(24),
17018
+ from: QueryWindowShape.from,
17019
+ to: QueryWindowShape.to,
17020
+ resolution: QueryWindowShape.resolution,
17021
+ maxPoints: QueryWindowShape.maxPoints
17022
+ }), object({ results: array(QueryManyEntrySchema).readonly() }), { auth: "admin" }), method(object({
16968
17023
  name: string().regex(/^[a-z0-9-]+$/),
16969
17024
  subjectKind: _enum(["device", "node"]),
16970
- kind: DeviceHistoryKindSchema,
17025
+ kind: DeviceHistoryProducerKindSchema,
16971
17026
  unit: string().optional(),
16972
17027
  displayName: string().min(1),
16973
17028
  ingest: _enum(["points", "buckets"])
@@ -39984,14 +40039,106 @@ var LogEntrySchema = object({
39984
40039
  meta: record(string(), unknown()).optional(),
39985
40040
  tags: record(string(), string()).optional()
39986
40041
  });
39987
- method(LogEntrySchema, _void(), { kind: "mutation" }), method(object({
39988
- scope: array(string()).optional(),
40042
+ /**
40043
+ * A history READ against one destination (D898).
40044
+ *
40045
+ * Every filter is applied by the PROVIDER, before the limit — a filter the
40046
+ * browser applied after the limit is what made a rare device's lines
40047
+ * unreachable behind a busy one's. `before` / `after` are cursors the provider
40048
+ * minted (opaque to everyone else): a file position for the rotated files, a
40049
+ * nanosecond timestamp for Loki.
40050
+ *
40051
+ * A read is BOUNDED by `budgetMs`: a filter that matches nothing on a 30-day
40052
+ * store answers `done: false` with the cursor it reached and the bytes it
40053
+ * scanned, and the caller decides whether to go on. That is what makes a long
40054
+ * scan show progress and stop when asked — `cancelRead` ends the slice in
40055
+ * flight, and not asking for the next slice ends the scan.
40056
+ */
40057
+ var LogReadQuerySchema = object({
40058
+ /** Correlates `cancelRead`. Caller-chosen, unique per in-flight read. */
40059
+ requestId: string().min(1).max(64).optional(),
40060
+ /** The device the line is about (`tags.deviceId`, numeric). */
40061
+ deviceId: number().int().optional(),
40062
+ /**
40063
+ * The emitting addon — bare manifest id; `@<version>` / `::<sub>` suffixes
40064
+ * match. Not `addonId`: a cap router reads that name as "which provider".
40065
+ */
40066
+ fromAddonId: string().min(1).max(200).optional(),
40067
+ /**
40068
+ * The emitting node: matches the agent that emitted the line, the node
40069
+ * itself, or a worker under it (`<agent>/<runner>`) — the `agentId`
40070
+ * semantics of `matchesLogTags`. Not `nodeId`: a cap router reads that
40071
+ * name as "which node's provider".
40072
+ */
40073
+ fromNodeId: string().min(1).max(200).optional(),
40074
+ /** Any other tag, exact match (AND). */
40075
+ tags: record(string(), union([string(), number()])).optional(),
40076
+ /** Severity FLOOR: this level and above. */
39989
40077
  level: LogLevelSchema.optional(),
39990
- since: date().optional(),
39991
- until: date().optional(),
39992
- limit: number().optional(),
39993
- tags: record(string(), string()).optional()
39994
- }), array(LogEntrySchema).readonly());
40078
+ /** Case-insensitive substring over message, scope, tag values and meta values. */
40079
+ text: string().min(1).max(200).optional(),
40080
+ /** Epoch ms, inclusive. */
40081
+ since: number().optional(),
40082
+ /** Epoch ms, inclusive. */
40083
+ until: number().optional(),
40084
+ /** Older than this cursor (exclusive). Absent with `after` absent ⇒ from the newest. */
40085
+ before: string().min(1).max(1024).optional(),
40086
+ /** Newer than this cursor (exclusive). */
40087
+ after: string().min(1).max(1024).optional(),
40088
+ limit: number().int().min(1).max(1e3).optional(),
40089
+ /** Wall-clock bound of this slice. The provider caps it. */
40090
+ budgetMs: number().int().min(50).max(1e4).optional()
40091
+ });
40092
+ var LogReadResultSchema = object({
40093
+ /** Newest first. */
40094
+ entries: array(object({
40095
+ /** `<bootId>.<seq>` minted by the emitting LogManager — the dedupe key. */
40096
+ id: string().optional(),
40097
+ /** Epoch ms. */
40098
+ timestamp: number(),
40099
+ level: LogLevelSchema,
40100
+ scope: string().optional(),
40101
+ message: string(),
40102
+ tags: record(string(), union([string(), number()])).optional(),
40103
+ meta: record(string(), unknown()).optional()
40104
+ })),
40105
+ /** Pass as `before` for the next older page; null when nothing older exists. */
40106
+ nextBefore: string().nullable(),
40107
+ /** Pass as `after` to read what arrived since; null when unknown. */
40108
+ nextAfter: string().nullable(),
40109
+ /** Bytes this slice read (files) or received (remote). Progress, not a promise. */
40110
+ scannedBytes: number().int().nonnegative(),
40111
+ /**
40112
+ * True when the scan in this direction reached the end of the store.
40113
+ * False with fewer than `limit` entries means the budget ran out first —
40114
+ * call again with `nextBefore` to go on.
40115
+ */
40116
+ done: boolean(),
40117
+ /** True when `cancelRead` ended this slice early. */
40118
+ cancelled: boolean().optional()
40119
+ });
40120
+ var LogReadCapabilitiesSchema = object({
40121
+ /** False ⇒ this destination only ships lines (console, forwarder, an unconfigured Loki). */
40122
+ readable: boolean(),
40123
+ /** Why not, when `readable` is false — rendered next to the source. */
40124
+ reason: string().nullable(),
40125
+ /** Filters the provider applies itself. A false one is applied by nobody. */
40126
+ filters: object({
40127
+ deviceId: boolean(),
40128
+ addonId: boolean(),
40129
+ nodeId: boolean(),
40130
+ tags: boolean(),
40131
+ level: boolean(),
40132
+ text: boolean(),
40133
+ timeRange: boolean()
40134
+ }),
40135
+ /** How far back the store reaches, when the provider knows (days). */
40136
+ retentionDays: number().nullable()
40137
+ });
40138
+ method(LogEntrySchema, _void(), { kind: "mutation" }), optionalMethod(_void(), LogReadCapabilitiesSchema, { auth: "admin" }), optionalMethod(LogReadQuerySchema, LogReadResultSchema, { auth: "admin" }), optionalMethod(object({ requestId: string().min(1).max(64) }), object({ cancelled: boolean() }), {
40139
+ kind: "mutation",
40140
+ auth: "admin"
40141
+ });
39995
40142
  /**
39996
40143
  * `login-method` — collection cap through which auth addons contribute
39997
40144
  * their pre-auth login surfaces to the login page. This is the SINGLE,
@@ -42547,6 +42694,33 @@ var NcRuleTargetSchema = object({
42547
42694
  params: record(string(), unknown()).optional()
42548
42695
  });
42549
42696
  /**
42697
+ * WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
42698
+ *
42699
+ * Every mode starts from the same CLEAN source frame of the trigger moment
42700
+ * (keyFrame → sceneFrame → lastSceneFrame, narrowed to the trigger instant and
42701
+ * to the zone that fired the rule) and renders it once at send time:
42702
+ * - `scene-boxes` — the whole scene, the subject outlined thick in the accent
42703
+ * colour and every OTHER track visible at that instant outlined thin, each
42704
+ * labelled with class and confidence ("dog 87%").
42705
+ * - `crop` — the subject cut out of that frame around its box at that instant.
42706
+ * - `clean` — the whole scene with nothing drawn on it.
42707
+ * - `none` — no picture.
42708
+ *
42709
+ * A mode that cannot be honoured (no box at that instant, a photograph with no
42710
+ * tracked subject) ships `clean` and names the reason in the log, per camera.
42711
+ * It replaces the `attach` × `frame` × `zoneCrop` triple, which let one rule
42712
+ * ship a crop on one event and a boxed scene on the next depending on which
42713
+ * stored kind had landed.
42714
+ */
42715
+ var NcMediaImageSchema = _enum([
42716
+ "scene-boxes",
42717
+ "crop",
42718
+ "clean",
42719
+ "none"
42720
+ ]);
42721
+ /**
42722
+ * @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
42723
+ *
42550
42724
  * Media attachment policy (P1 still-image subset).
42551
42725
  * - `best` — the best AVAILABLE subject image at dispatch time (D-3).
42552
42726
  * - `best-matching` — the media that explains WHY the rule fired: a rule
@@ -42560,6 +42734,8 @@ var NcRuleTargetSchema = object({
42560
42734
  * - `none` — no attachment.
42561
42735
  */
42562
42736
  /**
42737
+ * @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
42738
+ *
42563
42739
  * WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
42564
42740
  * conflate it with the selection strategy and betray the request: asking for
42565
42741
  * the clean scene frame on an object-event owner used to start at
@@ -42588,16 +42764,29 @@ var NcMediaFrameSchema = _enum([
42588
42764
  */
42589
42765
  var NcLinkedCameraModeSchema = _enum(["mosaic", "each"]);
42590
42766
  var NcMediaPolicySchema = object({
42767
+ /**
42768
+ * The picture — see {@link NcMediaImageSchema}. Absent on a rule nobody has
42769
+ * saved since D897: `normalizeNcMediaPolicy` derives it from the legacy
42770
+ * triple below, at load and at every write, and the store keeps only this.
42771
+ */
42772
+ image: NcMediaImageSchema.optional(),
42773
+ /**
42774
+ * Draw the zone that FIRED the rule on the picture (`scene-boxes` / `clean`;
42775
+ * a `crop` never shows it). Valid only on a rule whose trigger is a zone —
42776
+ * `conditions.zones` or an occupancy zone — and refused on save otherwise.
42777
+ * Replaces `zoneCrop`.
42778
+ */
42779
+ showTriggerZone: boolean().optional(),
42780
+ /** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
42591
42781
  attach: _enum([
42592
42782
  "best",
42593
42783
  "best-matching",
42594
42784
  "keyFrame",
42595
42785
  "none"
42596
- ]).default("best"),
42597
- /** What the still shows. Absent = `cropped` (the historical `best` shape). */
42786
+ ]).optional(),
42787
+ /** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
42598
42788
  frame: NcMediaFrameSchema.optional(),
42599
- /** Crop the attached still to the rule's condition-zone bbox (padded) —
42600
- * "show me the ZONE", not the whole scene or the subject crop. */
42789
+ /** @deprecated D897 — folded into `image: 'clean'` + `showTriggerZone` on save. */
42601
42790
  zoneCrop: boolean().optional(),
42602
42791
  /**
42603
42792
  * Also attach a short GIF cut from the stream broker's clip ring around the
@@ -42769,7 +42958,9 @@ var NcRuleInputSchema = object({
42769
42958
  * targets.
42770
42959
  */
42771
42960
  targetUsers: array(string()).optional(),
42772
- media: NcMediaPolicySchema.default({ attach: "best" }),
42961
+ /** Absent = the kind's default picture (`resolveNcMediaImage`): the subject crop for a
42962
+ * detection, the clean scene for a sensor or a sound. Set explicitly on save (D897). */
42963
+ media: NcMediaPolicySchema.default({}),
42773
42964
  throttle: NcThrottleSchema.default({
42774
42965
  cooldownSec: 60,
42775
42966
  scope: "rule-device"
@@ -43706,13 +43897,37 @@ var NcAlarmModeOpeningsSchema = object({
43706
43897
  /** Covered devices whose state could not be read (D49): neither open nor closed. */
43707
43898
  unknown: array(number().int())
43708
43899
  });
43900
+ /**
43901
+ * One alarm INPUT — a (rule, device) pair — the operator bypassed until the
43902
+ * next disarm ("Bypass this input until disarm" on a trigger notification, or
43903
+ * `nc.bypassAlarmInput`). Reported so an armed alarm with a silenced input
43904
+ * never looks fully armed (D62: off must never look like broken).
43905
+ */
43906
+ var NcAlarmInputBypassViewSchema = object({
43907
+ ruleId: string(),
43908
+ /** The rule's current name (its frozen name when the rule is gone). */
43909
+ ruleName: string(),
43910
+ /** The input: the sensor of the match, else its camera. */
43911
+ deviceId: number().int(),
43912
+ /** The input's current name. */
43913
+ name: string(),
43914
+ /** When it was bypassed (ms epoch). */
43915
+ since: number(),
43916
+ /** Triggers from this input dropped since. */
43917
+ dropped: number().int().min(0)
43918
+ });
43709
43919
  var NcAlarmLiveSchema = object({
43710
43920
  state: AlarmStateSchema,
43711
43921
  /** The mode being armed into (exit delay) or held; null when disarmed. */
43712
43922
  targetMode: AlarmArmModeSchema.nullable(),
43713
43923
  availableModes: array(AlarmArmModeSchema),
43714
43924
  openings: array(NcAlarmModeOpeningsSchema),
43715
- exclusions: array(NcAlarmExclusionViewSchema)
43925
+ exclusions: array(NcAlarmExclusionViewSchema),
43926
+ /**
43927
+ * Inputs bypassed for the rest of this arm session; cleared on disarm.
43928
+ * Defaulted so an older hub answer still parses (as "none known").
43929
+ */
43930
+ bypassedInputs: array(NcAlarmInputBypassViewSchema).default([])
43716
43931
  });
43717
43932
  var NcAlarmConfigSchema = object({
43718
43933
  /**
@@ -65351,7 +65566,19 @@ Object.freeze({
65351
65566
  addonId: null,
65352
65567
  access: "view"
65353
65568
  },
65354
- "logDestination.query": {
65569
+ "logDestination.cancelRead": {
65570
+ capName: "log-destination",
65571
+ capScope: "system",
65572
+ addonId: null,
65573
+ access: "create"
65574
+ },
65575
+ "logDestination.describeRead": {
65576
+ capName: "log-destination",
65577
+ capScope: "system",
65578
+ addonId: null,
65579
+ access: "view"
65580
+ },
65581
+ "logDestination.read": {
65355
65582
  capName: "log-destination",
65356
65583
  capScope: "system",
65357
65584
  addonId: null,
@@ -71358,6 +71585,11 @@ Object.freeze({
71358
71585
  form: "single",
71359
71586
  optional: false
71360
71587
  }],
71588
+ "logDestination.read": [{
71589
+ name: "deviceId",
71590
+ form: "single",
71591
+ optional: true
71592
+ }],
71361
71593
  "mediaPlayer.getStatus": [{
71362
71594
  name: "deviceId",
71363
71595
  form: "single",
@@ -74180,7 +74412,7 @@ var AdminUIAddon = class extends BaseAddon {
74180
74412
  capability: adminUiCapability,
74181
74413
  provider: {
74182
74414
  getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
74183
- getVersion: async () => ({ version: "1.2.442" })
74415
+ getVersion: async () => ({ version: "1.2.443" })
74184
74416
  }
74185
74417
  }];
74186
74418
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-admin-ui",
3
- "version": "1.2.442",
3
+ "version": "1.2.443",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Admin UI — Vite frontend build and server-side addon",