@camstack/addon-admin-ui 1.2.349 → 1.2.351

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 (110) hide show
  1. package/dist/assets/{AddonCollectionPage-jXCbcMZu.js → AddonCollectionPage-BwMkNEOp.js} +1 -1
  2. package/dist/assets/Addons-80LT7Kq1.js +4 -0
  3. package/dist/assets/{AdminTabs-DcYKYXzK.js → AdminTabs-CLXyClcg.js} +1 -1
  4. package/dist/assets/AiProfiles-ChIr3l8J.js +3 -0
  5. package/dist/assets/{BrokerForm-rRXdhvBg.js → BrokerForm-DGnvvf1S.js} +1 -1
  6. package/dist/assets/Build-ByqfAJAw.js +40 -0
  7. package/dist/assets/{Calendars-BhTVLKHz.js → Calendars-B4BPsOl1.js} +1 -1
  8. package/dist/assets/{Capabilities-CvhnCl7c.js → Capabilities-70q-pu5f.js} +1 -1
  9. package/dist/assets/Cluster-2DoknXyA.js +11 -0
  10. package/dist/assets/ClusterStepModel-B-xVF7M9.js +1 -0
  11. package/dist/assets/{CompositionEditor-gkHb7ZT2.js → CompositionEditor-DewhGunb.js} +1 -1
  12. package/dist/assets/{CompositionEditorPage-UrJerX9A.js → CompositionEditorPage-DTanATOp.js} +1 -1
  13. package/dist/assets/{Data-CRMaoAvA.js → Data-ovpjy5aC.js} +1 -1
  14. package/dist/assets/DetectionIntelligence-CJMGXsWL.js +1 -0
  15. package/dist/assets/DeviceDetail-BuLCyjcK.js +2 -0
  16. package/dist/assets/{DeviceDoActionFields-Qp-mdQoy.js → DeviceDoActionFields-DBwevgKK.js} +1 -1
  17. package/dist/assets/{Devices-D0X5ZMil.js → Devices-DvSDZeG9.js} +1 -1
  18. package/dist/assets/{EmbedPlayerPage-BCohm6GU.js → EmbedPlayerPage-enhtADF7.js} +1 -1
  19. package/dist/assets/Events-Dv_1XIVc.js +1 -0
  20. package/dist/assets/Identity-Cc3G2Fa0.js +1 -0
  21. package/dist/assets/IntegrationDetail-DSqCZO4S.js +1 -0
  22. package/dist/assets/Integrations-Beb2EhOS.js +1 -0
  23. package/dist/assets/Integrations-DYhW5V60.js +1 -0
  24. package/dist/assets/Locations-BNBOCArW.js +3 -0
  25. package/dist/assets/{Logs-4q8jFD5i.js → Logs-CScz1BkD.js} +1 -1
  26. package/dist/assets/{MotionZonesSettings-M2UAaOLw.js → MotionZonesSettings-aDMRPb0C.js} +1 -1
  27. package/dist/assets/MyAccess-bpwJEqEY.js +2 -0
  28. package/dist/assets/Network-Bx7uEVdz.js +1 -0
  29. package/dist/assets/NodeAddonsSettingsPanel-BgxOJU3d.js +1 -0
  30. package/dist/assets/Notifications-ML8zmn39.js +1 -0
  31. package/dist/assets/Plates-DIoGtVsY.js +1 -0
  32. package/dist/assets/{PrivacyMaskSettings-8lVg2P1M.js → PrivacyMaskSettings-DFTAA5dg.js} +1 -1
  33. package/dist/assets/Recordings-CoOwir1H.js +1 -0
  34. package/dist/assets/{ScanNetworkModal-B59h5xvq.js → ScanNetworkModal-BPZGLiZQ.js} +1 -1
  35. package/dist/assets/{SceneMonitorEditor-B1E8n6ou.js → SceneMonitorEditor-rhbNHUiH.js} +1 -1
  36. package/dist/assets/{Scenes-CR29v0gZ.js → Scenes-B6vGKWeX.js} +1 -1
  37. package/dist/assets/{Settings-BvzufFl5.js → Settings-PKIvMwLh.js} +1 -1
  38. package/dist/assets/{Showroom-BnjdRdKN.js → Showroom-CiPParUW.js} +1 -1
  39. package/dist/assets/{Terminal-aUzk1uKX.js → Terminal-yp9gTtPT.js} +2 -2
  40. package/dist/assets/{Viewer-M6qlWxs9.js → Viewer-CrwFaVq7.js} +1 -1
  41. package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-BsOXjLIp.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-Cc2A3Ptb.js} +1 -1
  42. package/dist/assets/{archive-D-Y4i_R_.js → archive-D5jN_xRr.js} +1 -1
  43. package/dist/assets/{authed-media-_X4FXSBp.js → authed-media-DIbw4JLn.js} +1 -1
  44. package/dist/assets/{boxes-DXM8dtQJ.js → boxes-Cz0W-SHm.js} +1 -1
  45. package/dist/assets/circle-slash-tZFznooZ.js +1 -0
  46. package/dist/assets/client-DWiaUxRQ.js +357 -0
  47. package/dist/assets/crop-B8tpwR6u.js +1 -0
  48. package/dist/assets/debounced-invalidate-BhgMMKYH.js +1 -0
  49. package/dist/assets/{device-integration-icon-BXFJAjbm.js → device-integration-icon-BnWP0LSQ.js} +1 -1
  50. package/dist/assets/device-picker-model-D1aOGj40.js +1 -0
  51. package/dist/assets/{dist-BoA-02Ta.js → dist-BvHPU1Ls.js} +1 -1
  52. package/dist/assets/dist-brqlsTXV.js +357 -0
  53. package/dist/assets/face-bbox--pttun6Q.js +1 -0
  54. package/dist/assets/{hard-drive-download-DI78Qxnu.js → hard-drive-download-DvX0zc41.js} +1 -1
  55. package/dist/assets/{hostInit-CjZNBAf2.js → hostInit-BxEpkmct.js} +1 -1
  56. package/dist/assets/index-Buq71VHG.js +4 -0
  57. package/dist/assets/index-CFu9bpWo.css +2 -0
  58. package/dist/assets/{layers-BYuVbzVs.js → layers-CTxykl5p.js} +1 -1
  59. package/dist/assets/{location-owned-usage-Bj5-khSs.js → location-owned-usage-CV2yEH4j.js} +1 -1
  60. package/dist/assets/{mf-entry-bootstrap-0-ea91eb80.js → mf-entry-bootstrap-0-9f9ea6de.js} +2 -2
  61. package/dist/assets/mount-D1aOGj40.js +1 -0
  62. package/dist/assets/notification-schedule-field-CQPEDiDO.js +1 -0
  63. package/dist/assets/{player-overlays-BddRivLE.js → player-overlays-CrKWnjLj.js} +1 -1
  64. package/dist/assets/remoteEntry-BFpE5_8_.js +1 -0
  65. package/dist/assets/{send-CyJGX9-U.js → send-SN1L0Kiz.js} +1 -1
  66. package/dist/assets/{settings-2-BOGh_wO6.js → settings-2-BY8TSBhz.js} +1 -1
  67. package/dist/assets/src-Bkpo8B0D.js +67 -0
  68. package/dist/assets/{use-scenes-feed-B4UtvXrE.js → use-scenes-feed-Dwp-15g8.js} +1 -1
  69. package/dist/assets/{use-stationary-objects-QRm4Gn4u.js → use-stationary-objects-CCknD3DG.js} +1 -1
  70. package/dist/assets/useEventInvalidation-D1aOGj40.js +1 -0
  71. package/dist/assets/{useNodeUrlSelection-BDv33pGy.js → useNodeUrlSelection-NjZtQ6mH.js} +1 -1
  72. package/dist/assets/user-round-DCIxbUZ9.js +1 -0
  73. package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-C2YrzRgM.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-Cok7af3G.js} +2 -2
  74. package/dist/index.html +8 -8
  75. package/dist/server/addon.js +100 -329
  76. package/package.json +1 -1
  77. package/dist/assets/Addons-rr7aue1z.js +0 -1
  78. package/dist/assets/AiProfiles-CxBtibtD.js +0 -3
  79. package/dist/assets/Build-Tu52RNi0.js +0 -40
  80. package/dist/assets/Cluster-Bq5YAagB.js +0 -11
  81. package/dist/assets/ClusterStepModel-BXuKvfKQ.js +0 -1
  82. package/dist/assets/DetectionIntelligence-hpln0NzF.js +0 -1
  83. package/dist/assets/DeviceDetail-DA9kIkj-.js +0 -2
  84. package/dist/assets/Events-DJqXUhGE.js +0 -1
  85. package/dist/assets/Identity-CMHAJE1i.js +0 -1
  86. package/dist/assets/IntegrationDetail-D6CPV8I0.js +0 -1
  87. package/dist/assets/Integrations-C3v7m_pV.js +0 -1
  88. package/dist/assets/Integrations-CrSI1y99.js +0 -1
  89. package/dist/assets/Locations-BXxpBY8V.js +0 -3
  90. package/dist/assets/MyAccess-Brzl2xif.js +0 -2
  91. package/dist/assets/Network-UpHA2zPn.js +0 -1
  92. package/dist/assets/NodeAddonsSettingsPanel-D7Ope1My.js +0 -1
  93. package/dist/assets/Notifications-3jCEMiJT.js +0 -1
  94. package/dist/assets/Plates-DnKm0uO5.js +0 -1
  95. package/dist/assets/Recordings-C8Dz8QdA.js +0 -1
  96. package/dist/assets/circle-slash-Bh6ndID4.js +0 -1
  97. package/dist/assets/client-BVesZTvN.js +0 -357
  98. package/dist/assets/debounced-invalidate-On21l1Xj.js +0 -1
  99. package/dist/assets/device-picker-model-Br0xkUVQ.js +0 -1
  100. package/dist/assets/dist-CXTK9bJc.js +0 -357
  101. package/dist/assets/face-bbox-3mjLW0O1.js +0 -1
  102. package/dist/assets/index-DP2qgRL_.css +0 -2
  103. package/dist/assets/index-NHwA6Zmb.js +0 -4
  104. package/dist/assets/mount-Br0xkUVQ.js +0 -1
  105. package/dist/assets/notification-schedule-field-Bho2AfCu.js +0 -1
  106. package/dist/assets/remoteEntry-CJLM9B1W.js +0 -1
  107. package/dist/assets/square-check-big-CpCHNAfP.js +0 -1
  108. package/dist/assets/src-DnQxdAYg.js +0 -67
  109. package/dist/assets/useEventInvalidation-Br0xkUVQ.js +0 -1
  110. package/dist/assets/user-round-1jRRPQok.js +0 -1
@@ -1,6 +1,6 @@
1
1
  import path from "node:path";
2
2
  import { fileURLToPath } from "node:url";
3
- //#region ../types/dist/event-category-BGmz_oxW.mjs
3
+ //#region ../types/dist/event-category-B_0XEcLF.mjs
4
4
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
5
5
  EventCategory["SystemBoot"] = "system.boot";
6
6
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -501,15 +501,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
501
501
  EventCategory["AgentWsDisconnected"] = "agent.ws.disconnected";
502
502
  EventCategory["AgentBackupActivated"] = "agent.backup.activated";
503
503
  EventCategory["OrchestrationSettingsUpdated"] = "orchestration.settings-updated";
504
- /**
505
- * Per-agent hwaccel preference changed (user override set, cleared, or
506
- * re-probed). Observability event — decoders pull the current pref at
507
- * `createSession`, so running sessions keep their current backend until
508
- * they rotate naturally (camera add/remove, stream restart). Future
509
- * work can wire a listener in stream-broker that force-rotates live
510
- * sessions; for now this event powers logs + admin-UI toast feedback.
511
- */
512
- EventCategory["PipelineAgentHwaccelChanged"] = "pipeline.agent-hwaccel-changed";
513
504
  EventCategory["MotionAnalysis"] = "detection.motion-analysis";
514
505
  /** All raw motion zones from CCL before minArea filter — for UI debug overlay. */
515
506
  EventCategory["MotionZonesRaw"] = "detection.motion-zones-raw";
@@ -5380,7 +5371,7 @@ var ZodIssueCode = {
5380
5371
  var ZodFirstPartyTypeKind;
5381
5372
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5382
5373
  //#endregion
5383
- //#region ../types/dist/sleep-DAJ9Er57.mjs
5374
+ //#region ../types/dist/sleep-BNeXenvr.mjs
5384
5375
  /**
5385
5376
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5386
5377
  * window to float samples (D455).
@@ -6746,32 +6737,12 @@ object({
6746
6737
  audioCodec: string().optional(),
6747
6738
  metadata: record(string(), unknown()).readonly().optional()
6748
6739
  });
6749
- var EncodedPacketSchema = object({
6750
- type: _enum(["video", "audio"]),
6751
- data: _instanceof(Uint8Array),
6752
- pts: number(),
6753
- dts: number(),
6754
- keyframe: boolean(),
6755
- codec: string()
6756
- });
6757
- var DecodedFrameSchema = object({
6758
- data: _instanceof(Uint8Array),
6759
- width: number(),
6760
- height: number(),
6761
- format: _enum([
6762
- "jpeg",
6763
- "rgb",
6764
- "bgr",
6765
- "yuv420",
6766
- "gray"
6767
- ]),
6768
- timestamp: number()
6769
- });
6770
6740
  /**
6771
6741
  * Wire schema for `FrameHandle` — a zero-pixel, serialisable reference to a
6772
6742
  * frame in a shared-memory ring (Phase 5 / D9). Mirrors the `FrameHandle` TS
6773
- * interface in `interfaces/frame-handle.ts` field-for-field so a decoder cap
6774
- * method (`pullHandles`) can carry handles over tRPC / Moleculer.
6743
+ * interface in `interfaces/frame-handle.ts` field-for-field so a cap method
6744
+ * (the runner's native-crop and pipeline-executor inputs) can carry handles
6745
+ * over tRPC / Moleculer.
6775
6746
  *
6776
6747
  * The `satisfies` assertion below pins this schema to the interface: if a
6777
6748
  * field is added to / removed from `FrameHandle` without a matching schema
@@ -6797,50 +6768,6 @@ var FrameHandleSchema = object({
6797
6768
  slotCount: number().int().positive()
6798
6769
  });
6799
6770
  /**
6800
- * Pixel format a frame-handle subscriber can request from the broker
6801
- * (Phase 5 / D9). The packed, raster subset of `FrameFormat` — the formats a
6802
- * `frameSink: 'shm'` decoder session can write into a `FrameRing` slot.
6803
- * `jpeg` is excluded: a variable-length stream is not a fixed-stride ring
6804
- * payload, and no decoded-frame consumer requests it over the shm plane.
6805
- */
6806
- var FrameHandleFormatSchema = _enum([
6807
- "rgb",
6808
- "bgr",
6809
- "yuv420",
6810
- "gray"
6811
- ]);
6812
- /**
6813
- * Input for `stream-broker.subscribeFrames` (Phase 5 / D9). A consumer asks the
6814
- * broker for a `FrameHandle` stream of one `format`; the broker maintains one
6815
- * shared-memory ring per `(brokerId, format)` actually requested, so a `gray`
6816
- * subscriber (motion) and an `rgb` subscriber (detection) each read the format
6817
- * they asked for with no broker-side conversion.
6818
- */
6819
- var SubscribeFramesInputSchema = object({
6820
- brokerId: string(),
6821
- format: FrameHandleFormatSchema,
6822
- /**
6823
- * Optional reader-side cadence hint in frames per second. The broker does
6824
- * NOT throttle — latest-wins ring reads drop frames implicitly for a slow
6825
- * consumer. The value is echoed back in `SubscribeFramesResult.maxFps` so
6826
- * the consumer can pace its own `pullFrameHandles` polling.
6827
- */
6828
- maxFps: number().positive().optional(),
6829
- /** Short caller-identity tag (`motion`, `detection`, …) for diagnostics. */
6830
- tag: string().optional()
6831
- });
6832
- /**
6833
- * Result of `stream-broker.subscribeFrames`. The consumer then polls
6834
- * `pullFrameHandles({ subscriptionId, maxCount })` and feeds each returned
6835
- * `FrameHandle` to a `FrameRingReader`.
6836
- */
6837
- var SubscribeFramesResultSchema = object({
6838
- /** Opaque id the consumer passes to `pullFrameHandles` / `unsubscribeFrames`. */
6839
- subscriptionId: string(),
6840
- /** Reader-side cadence hint (frames/s) — echoes `SubscribeFramesInput.maxFps`. */
6841
- maxFps: number().nonnegative()
6842
- });
6843
- /**
6844
6771
  * Wire schema for a decoded audio chunk (Phase 5 / D9). Mirrors the
6845
6772
  * `DecodedAudioChunk` TS interface in `interfaces/stream-broker.ts`: PCM
6846
6773
  * sample bytes plus the track parameters a consumer needs to interpret them.
@@ -6848,8 +6775,8 @@ var SubscribeFramesResultSchema = object({
6848
6775
  * Audio chunks are tiny (a ~500ms AudioCodecSession window is a few KB of
6849
6776
  * Float32 PCM), so unlike video frames they ship their bytes INLINE over
6850
6777
  * tRPC / Moleculer — no shared-memory plane. `data` is typed `Uint8Array`
6851
- * (the wire-serialisable supertype of `Buffer`) to match `DecodedFrameSchema`
6852
- * / `EncodedPacketSchema`'s precedent; a `Buffer` is assignable to it.
6778
+ * (the wire-serialisable supertype of `Buffer`); a `Buffer` is assignable to
6779
+ * it.
6853
6780
  */
6854
6781
  var AudioChunkFormatSchema = _enum(AUDIO_CHUNK_FORMATS);
6855
6782
  var DecodedAudioChunkSchema = object({
@@ -6867,11 +6794,10 @@ var DecodedAudioChunkSchema = object({
6867
6794
  format: AudioChunkFormatSchema.optional()
6868
6795
  });
6869
6796
  /**
6870
- * Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9). The
6871
- * handle-free, ship-bytes-inline analogue of `subscribeFrames`: a consumer
6872
- * asks the broker for the decoded audio-chunk stream of one broker; the
6873
- * broker keeps a per-subscription bounded FIFO queue the consumer drains via
6874
- * `pullAudioChunks`.
6797
+ * Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9). Audio ships
6798
+ * its bytes inline: a consumer asks the broker for the decoded audio-chunk
6799
+ * stream of one broker; the broker keeps a per-subscription bounded FIFO queue
6800
+ * the consumer drains via `pullAudioChunks`.
6875
6801
  */
6876
6802
  var SubscribeAudioChunksInputSchema = object({
6877
6803
  brokerId: string(),
@@ -6902,9 +6828,7 @@ var BrokerStatsSchema = object({
6902
6828
  "stopped"
6903
6829
  ]),
6904
6830
  inputFps: number(),
6905
- decodeFps: number(),
6906
6831
  encodedSubscribers: number(),
6907
- decodedSubscribers: number(),
6908
6832
  uptimeMs: number(),
6909
6833
  bitrateKbps: number(),
6910
6834
  idrIntervalMs: number(),
@@ -6917,14 +6841,6 @@ var BrokerStatsSchema = object({
6917
6841
  preBufferMs: number(),
6918
6842
  preBufferPackets: number(),
6919
6843
  /**
6920
- * Moleculer node id of the decoder provider currently servicing this
6921
- * stream's decoded subscribers. `null` until the deferred decoder is
6922
- * created (no decoded clients yet, or codec not detected). Surfaces the
6923
- * runtime decoder placement so the UI can show "Decoder: <agent>" without
6924
- * a separate cap call per broker.
6925
- */
6926
- decoderNodeId: string().nullable(),
6927
- /**
6928
6844
  * Detected audio track parameters from the RTSP DESCRIBE / SDP. `null`
6929
6845
  * when the stream has no audio track or the broker is in cold start.
6930
6846
  * `supported = false` means the codec was detected but the local
@@ -10264,70 +10180,6 @@ var StorageLocationDeclarationSchema = object({
10264
10180
  "backup"
10265
10181
  ]).optional()
10266
10182
  });
10267
- var DecoderStatsSchema = object({
10268
- inputFps: number(),
10269
- outputFps: number(),
10270
- avgDecodeTimeMs: number(),
10271
- droppedFrames: number(),
10272
- /**
10273
- * Pull-mode adaptive-fps telemetry (optional — only pull sessions run the
10274
- * lag-driven controller; push sessions omit these). `lagMs` is the EWMA of
10275
- * the decoder's real-time drift (rising = falling behind live); `adaptiveFps`
10276
- * is the current lag-throttled emit rate (≤ `effectiveFps` ceiling).
10277
- */
10278
- lagMs: number().optional(),
10279
- effectiveFps: number().optional(),
10280
- adaptiveFps: number().optional()
10281
- });
10282
- var DecoderSessionConfigSchema = object({
10283
- codec: string(),
10284
- maxFps: number().default(0),
10285
- outputFormat: _enum([
10286
- "jpeg",
10287
- "rgb",
10288
- "bgr",
10289
- "yuv420",
10290
- "gray"
10291
- ]).default("jpeg"),
10292
- scale: number().default(1),
10293
- width: number().optional(),
10294
- height: number().optional(),
10295
- /**
10296
- * Identifier of the camera this decoder session serves. Optional
10297
- * because the cap is generic (any caller could request decode), but
10298
- * stream-broker passes it so decoder logs include `deviceId` for
10299
- * per-camera filtering when diagnosing failures (e.g. node-av
10300
- * sendPacket errors on a single hung camera).
10301
- */
10302
- deviceId: number().int().nonnegative().optional(),
10303
- /**
10304
- * Free-form tag for log scoping. Stream-broker uses
10305
- * `broker:<deviceId>/<profile>`. Decoder session logger surfaces it
10306
- * on every line so `grep tag=broker:5/high` filters one camera
10307
- * profile cleanly.
10308
- */
10309
- tag: string().optional(),
10310
- /**
10311
- * Where the session delivers decoded frames (Phase 5 / D9):
10312
- *
10313
- * - `'callback'` (default) — the legacy pixel path: decoded frames are
10314
- * buffered as `DecodedFrame`s and drained via `pullFrames`.
10315
- * - `'shm'` — the shared-memory frame plane: decoded frames are written
10316
- * into an OS shared-memory ring and drained as zero-pixel
10317
- * `FrameHandle`s via `pullHandles`. A session is one mode or the
10318
- * other — `pullFrames` returns nothing for an `'shm'` session and
10319
- * `pullHandles` returns nothing for a `'callback'` session.
10320
- */
10321
- frameSink: _enum(["callback", "shm"]).default("callback"),
10322
- /**
10323
- * Per-camera decoder DEBUG facility. When `true`, a pull-mode session emits
10324
- * a throttled (~1Hz) structured `decoder debug` line (effective/adaptive fps,
10325
- * real-time lag, dropped-frame delta, avg decode time, hwaccel). Mirrors the
10326
- * stream-broker's `streamingDebug` gate — off by default so production logs
10327
- * stay quiet and the emit path pays zero per-frame cost when disabled.
10328
- */
10329
- debug: boolean().optional()
10330
- });
10331
10183
  /**
10332
10184
  * Per-component log CHANNELS — the gate a hot path consults, and the registry
10333
10185
  * an addon declares its channels in.
@@ -12474,13 +12326,6 @@ var BrokerRtspClientSchema = object({
12474
12326
  lastRtpAt: number(),
12475
12327
  bytesSent: number()
12476
12328
  });
12477
- var BrokerDecodedClientSchema = object({
12478
- tag: string(),
12479
- subscribedAt: number(),
12480
- maxFps: number(),
12481
- framesDelivered: number(),
12482
- framesDropped: number()
12483
- });
12484
12329
  var BrokerAudioClientSchema = object({
12485
12330
  tag: string(),
12486
12331
  subscribedAt: number(),
@@ -12572,7 +12417,6 @@ var BrokerEncodedClientSchema = object({
12572
12417
  });
12573
12418
  var BrokerClientsSchema = object({
12574
12419
  rtsp: array(BrokerRtspClientSchema).readonly(),
12575
- decoded: array(BrokerDecodedClientSchema).readonly(),
12576
12420
  audio: array(BrokerAudioClientSchema).readonly(),
12577
12421
  encoded: array(BrokerEncodedClientSchema).readonly(),
12578
12422
  pipeClients: number(),
@@ -12941,11 +12785,7 @@ method(object({
12941
12785
  auth: "admin"
12942
12786
  }), method(object({ brokerId: string() }), BrokerClientsSchema), method(object({
12943
12787
  brokerId: string(),
12944
- channel: _enum([
12945
- "rtsp",
12946
- "decoded",
12947
- "audio"
12948
- ]),
12788
+ channel: _enum(["rtsp", "audio"]),
12949
12789
  handle: string()
12950
12790
  }), object({ killed: boolean() }), {
12951
12791
  kind: "mutation",
@@ -12980,10 +12820,7 @@ method(object({
12980
12820
  }), method(SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, { kind: "mutation" }), method(object({
12981
12821
  subscriptionId: string(),
12982
12822
  maxCount: number().int().positive().default(8)
12983
- }), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(SubscribeFramesInputSchema, SubscribeFramesResultSchema, { kind: "mutation" }), method(object({
12984
- subscriptionId: string(),
12985
- maxCount: number().int().positive().default(4)
12986
- }), array(FrameHandleSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
12823
+ }), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
12987
12824
  brokerId: string(),
12988
12825
  seconds: number().min(0).max(30)
12989
12826
  }), _void(), {
@@ -14140,54 +13977,12 @@ id: union([string(), number()]) }), {
14140
13977
  kind: "mutation",
14141
13978
  auth: "admin"
14142
13979
  });
14143
- /**
14144
- * shm ring usage stats for a `frameSink: 'shm'` decoder session —
14145
- * exposed via `decoder.getShmStats` so downstream consumers can
14146
- * observe ring pressure (slot count, byte budget, hit/miss ratio).
14147
- */
14148
- var ShmRingStatsSchema = object({
14149
- sessionId: string(),
14150
- slotCount: number().int(),
14151
- slotByteLength: number().int(),
14152
- segmentBytes: number().int(),
14153
- budgetMb: number().int(),
14154
- framesWritten: number().int(),
14155
- getFrameHits: number().int(),
14156
- getFrameMisses: number().int()
14157
- });
14158
- method(object({ codec: string() }), boolean()), method(_void(), object({
13980
+ method(_void(), object({
14159
13981
  id: string(),
14160
13982
  name: string(),
14161
- isPullMode: boolean().optional(),
14162
- priority: number().optional(),
14163
13983
  hwaccel: string().optional(),
14164
13984
  probedBestHwaccel: string().optional()
14165
- })), method(DecoderSessionConfigSchema, object({
14166
- sessionId: string(),
14167
- nodeId: string()
14168
- })), method(object({ sessionId: string() }), _void()), method(object({
14169
- sessionId: string(),
14170
- packet: EncodedPacketSchema
14171
- }), _void()), method(object({
14172
- sessionId: string(),
14173
- url: string()
14174
- }), _void()), method(object({
14175
- sessionId: string(),
14176
- maxCount: number().default(1),
14177
- waitMs: number().optional()
14178
- }), array(DecodedFrameSchema)), method(object({
14179
- sessionId: string(),
14180
- maxCount: number().default(1),
14181
- waitMs: number().optional()
14182
- }), array(FrameHandleSchema)), method(object({ handle: FrameHandleSchema }), DecodedFrameSchema.nullable()), method(object({ sessionId: string() }), ShmRingStatsSchema.nullable()), method(object({
14183
- sessionId: string(),
14184
- config: DecoderSessionConfigSchema.partial()
14185
- }), _void()), method(object({ sessionId: string() }), DecoderStatsSchema), method(_void(), array(object({
14186
- sessionId: string(),
14187
- codec: string(),
14188
- outputFormat: string(),
14189
- createdAtMs: number()
14190
- })).readonly()), method(_void(), object({ backend: string() }), {
13985
+ })), method(_void(), object({ backend: string() }), {
14191
13986
  kind: "mutation",
14192
13987
  auth: "admin"
14193
13988
  });
@@ -21207,8 +21002,8 @@ Object.freeze(Object.fromEntries([{
21207
21002
  var CLUSTER_STEP_SETTING_FIELDS = [{
21208
21003
  stepId: "face-embedding",
21209
21004
  key: "minLandmarkFaceSize",
21210
- label: "Min face size for recognition (detection px)",
21211
- description: "Refuse to embed a face smaller than this IN THE DETECTION FRAME. Applies to every node — the enrolled gallery is one index, and two admission floors would fill it from two policies. 0 disables the gate.",
21005
+ label: "Min face size to embed (detection-frame px)",
21006
+ description: "Faces smaller than this in the small frame the detector sees are not embedded, so they can never be recognised. Below it the face cannot be aligned reliably and a bad embedding matches everyone. Same value on every node. 0 = no limit.",
21212
21007
  type: "slider",
21213
21008
  min: 0,
21214
21009
  max: 64,
@@ -24881,14 +24676,15 @@ var RunnerLocalLoadSchema = object({
24881
24676
  * Per-inference-device live load (multi-device C4). One entry per deviceKey
24882
24677
  * this runner currently has attached cameras on, so the orchestrator's second
24883
24678
  * `balance()` pass (over a node's devices) weights on real per-pool session
24884
- * counts. Empty on single-device / pre-multi-device runners. `queueDepthTotal`
24885
- * per device is 0 until the pool backlog gets a public accessor (follow-up).
24679
+ * counts. Empty on single-device / pre-multi-device runners. There is no
24680
+ * per-device queue depth: the inference pool's backlog has no accessor, and
24681
+ * a field that always read 0 was removed rather than shown as a measurement
24682
+ * (D762).
24886
24683
  */
24887
24684
  devices: array(object({
24888
24685
  deviceKey: string(),
24889
24686
  backend: string(),
24890
- attachedCameras: number(),
24891
- queueDepthTotal: number()
24687
+ attachedCameras: number()
24892
24688
  })).default([]),
24893
24689
  /** Hardware capability flags reported by this node. */
24894
24690
  hardware: object({
@@ -25211,7 +25007,10 @@ var PipelineAssignmentSchema = object({
25211
25007
  });
25212
25008
  /**
25213
25009
  * Per-agent load summary surfaced to the load balancer + dashboards.
25214
- * Aggregated from each runner's `getLocalLoad` cap call.
25010
+ * Aggregated from each runner's `getLocalLoad` cap call. In the
25011
+ * `getAgentLoad` report, a single-device node's default-pool sessions (no
25012
+ * `deviceKey`) are credited to its one eligible device in `load.devices` —
25013
+ * the default pool IS that device (D745); the balancer's census stays raw.
25215
25014
  */
25216
25015
  var AgentLoadSummarySchema = object({
25217
25016
  nodeId: string(),
@@ -25300,8 +25099,14 @@ var CameraBrokerStatusSchema = object({
25300
25099
  width: number(),
25301
25100
  height: number(),
25302
25101
  subscribers: number(),
25303
- inFps: number(),
25304
- outFps: number()
25102
+ /**
25103
+ * Encoded packets/s the broker receives from the camera. null when the
25104
+ * broker's stats read failed — unknown, never 0 (a 0 here reads as a stall).
25105
+ * There is no output rate: decoding runs in the session decode workers, not
25106
+ * in the broker, so the broker's own decoded-frame rate is 0 on every live
25107
+ * camera and is not served (D758).
25108
+ */
25109
+ inFps: number().nullable()
25305
25110
  })).readonly(),
25306
25111
  webrtcSessions: number(),
25307
25112
  rtspRestream: boolean()
@@ -27987,8 +27792,6 @@ var WebrtcStreamChoiceSchema = object({
27987
27792
  ]).nullable(),
27988
27793
  /** Input FPS from the camera (null for adaptive). */
27989
27794
  inputFps: number().nullable(),
27990
- /** Decoded FPS (null for adaptive). */
27991
- decodeFps: number().nullable(),
27992
27795
  /** Bitrate in kbps (null for adaptive). */
27993
27796
  bitrateKbps: number().nullable()
27994
27797
  });
@@ -28567,6 +28370,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
28567
28370
  var RestartAddonResultSchema = unknown();
28568
28371
  var InstallPackageResultSchema = unknown();
28569
28372
  var ReloadPackagesResultSchema = unknown();
28373
+ /**
28374
+ * What an uninstall did on ONE node.
28375
+ * - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
28376
+ * - `not-installed` — the node did not have it (nothing to do).
28377
+ * - `refused` — protected / bootstrap package; nothing touched.
28378
+ * - `failed` — attempted and did not complete; `error` says why.
28379
+ * - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
28380
+ * back-fill never returns the package, and the stale-addon sweep removes the
28381
+ * copy when the node registers again (only once the hub no longer has it).
28382
+ */
28383
+ var UninstallNodeOutcomeSchema = _enum([
28384
+ "uninstalled",
28385
+ "not-installed",
28386
+ "refused",
28387
+ "failed",
28388
+ "pending-reconnect"
28389
+ ]);
28390
+ var UninstallNodeResultSchema = object({
28391
+ nodeId: string(),
28392
+ outcome: UninstallNodeOutcomeSchema,
28393
+ error: string().optional(),
28394
+ addonIds: array(string()).readonly(),
28395
+ runnersStopped: array(string()).readonly(),
28396
+ warnings: array(string()).readonly()
28397
+ });
28398
+ var UninstallPackageResultSchema = object({
28399
+ /** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
28400
+ success: boolean(),
28401
+ packageName: string(),
28402
+ results: array(UninstallNodeResultSchema).readonly()
28403
+ });
28404
+ /**
28405
+ * `unreachable` lists online agents whose status read FAILED — absence from
28406
+ * `installations` is only "not installed" for a node that answered (D315).
28407
+ */
28408
+ var PackageInstallationsSchema = object({
28409
+ installations: array(object({
28410
+ packageName: string(),
28411
+ nodeId: string(),
28412
+ nodeName: string(),
28413
+ isHub: boolean(),
28414
+ isOnline: boolean(),
28415
+ version: string().nullable(),
28416
+ addonIds: array(string()).readonly(),
28417
+ source: _enum(["live", "recorded"]),
28418
+ /** The hub installs this package too. `false` on an agent row = an orphan. */
28419
+ onHub: boolean()
28420
+ })).readonly(),
28421
+ unreachable: array(object({
28422
+ nodeId: string(),
28423
+ error: string()
28424
+ })).readonly()
28425
+ });
28570
28426
  var BulkUpdateItemStatusSchema = _enum([
28571
28427
  "queued",
28572
28428
  "updating",
@@ -28649,10 +28505,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
28649
28505
  }), method(object({ packageName: string() }), InstallPackageResultSchema, {
28650
28506
  kind: "mutation",
28651
28507
  auth: "admin"
28652
- }), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({ packageName: string() }), unknown(), {
28508
+ }), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
28509
+ packageName: string().min(1),
28510
+ nodeId: string().optional(),
28511
+ everywhere: boolean().optional()
28512
+ }), UninstallPackageResultSchema, {
28653
28513
  kind: "mutation",
28654
28514
  auth: "admin"
28655
- }), method(_void(), ReloadPackagesResultSchema, {
28515
+ }), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
28656
28516
  kind: "mutation",
28657
28517
  auth: "admin"
28658
28518
  }), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
@@ -36941,6 +36801,12 @@ Object.freeze({
36941
36801
  addonId: null,
36942
36802
  access: "view"
36943
36803
  },
36804
+ "addons.listInstallations": {
36805
+ capName: "addons",
36806
+ capScope: "system",
36807
+ addonId: null,
36808
+ access: "view"
36809
+ },
36944
36810
  "addons.listJobs": {
36945
36811
  capName: "addons",
36946
36812
  capScope: "system",
@@ -38123,90 +37989,18 @@ Object.freeze({
38123
37989
  addonId: null,
38124
37990
  access: "create"
38125
37991
  },
38126
- "decoder.createSession": {
38127
- capName: "decoder",
38128
- capScope: "system",
38129
- addonId: null,
38130
- access: "view"
38131
- },
38132
- "decoder.destroySession": {
38133
- capName: "decoder",
38134
- capScope: "system",
38135
- addonId: null,
38136
- access: "delete"
38137
- },
38138
- "decoder.getFrame": {
38139
- capName: "decoder",
38140
- capScope: "system",
38141
- addonId: null,
38142
- access: "view"
38143
- },
38144
37992
  "decoder.getInfo": {
38145
37993
  capName: "decoder",
38146
37994
  capScope: "system",
38147
37995
  addonId: null,
38148
37996
  access: "view"
38149
37997
  },
38150
- "decoder.getShmStats": {
38151
- capName: "decoder",
38152
- capScope: "system",
38153
- addonId: null,
38154
- access: "view"
38155
- },
38156
- "decoder.getStats": {
38157
- capName: "decoder",
38158
- capScope: "system",
38159
- addonId: null,
38160
- access: "view"
38161
- },
38162
- "decoder.listActiveSessions": {
38163
- capName: "decoder",
38164
- capScope: "system",
38165
- addonId: null,
38166
- access: "view"
38167
- },
38168
- "decoder.openStream": {
38169
- capName: "decoder",
38170
- capScope: "system",
38171
- addonId: null,
38172
- access: "view"
38173
- },
38174
- "decoder.pullFrames": {
38175
- capName: "decoder",
38176
- capScope: "system",
38177
- addonId: null,
38178
- access: "view"
38179
- },
38180
- "decoder.pullHandles": {
38181
- capName: "decoder",
38182
- capScope: "system",
38183
- addonId: null,
38184
- access: "view"
38185
- },
38186
- "decoder.pushPacket": {
38187
- capName: "decoder",
38188
- capScope: "system",
38189
- addonId: null,
38190
- access: "view"
38191
- },
38192
37998
  "decoder.reprobeHwaccel": {
38193
37999
  capName: "decoder",
38194
38000
  capScope: "system",
38195
38001
  addonId: null,
38196
38002
  access: "create"
38197
38003
  },
38198
- "decoder.supportsCodec": {
38199
- capName: "decoder",
38200
- capScope: "system",
38201
- addonId: null,
38202
- access: "view"
38203
- },
38204
- "decoder.updateConfig": {
38205
- capName: "decoder",
38206
- capScope: "system",
38207
- addonId: null,
38208
- access: "view"
38209
- },
38210
38004
  "detectionPipeline.applyDeviceSettingsPatch": {
38211
38005
  capName: "detection-pipeline",
38212
38006
  capScope: "device",
@@ -43253,12 +43047,6 @@ Object.freeze({
43253
43047
  addonId: null,
43254
43048
  access: "view"
43255
43049
  },
43256
- "streamBroker.pullFrameHandles": {
43257
- capName: "stream-broker",
43258
- capScope: "system",
43259
- addonId: null,
43260
- access: "view"
43261
- },
43262
43050
  "streamBroker.regenerateRtspToken": {
43263
43051
  capName: "stream-broker",
43264
43052
  capScope: "system",
@@ -43325,12 +43113,6 @@ Object.freeze({
43325
43113
  addonId: null,
43326
43114
  access: "create"
43327
43115
  },
43328
- "streamBroker.subscribeFrames": {
43329
- capName: "stream-broker",
43330
- capScope: "system",
43331
- addonId: null,
43332
- access: "create"
43333
- },
43334
43116
  "streamBroker.unassignProfile": {
43335
43117
  capName: "stream-broker",
43336
43118
  capScope: "system",
@@ -43343,12 +43125,6 @@ Object.freeze({
43343
43125
  addonId: null,
43344
43126
  access: "create"
43345
43127
  },
43346
- "streamBroker.unsubscribeFrames": {
43347
- capName: "stream-broker",
43348
- capScope: "system",
43349
- addonId: null,
43350
- access: "create"
43351
- },
43352
43128
  "streamCatalog.getCatalog": {
43353
43129
  capName: "stream-catalog",
43354
43130
  capScope: "device",
@@ -45862,11 +45638,6 @@ Object.freeze({
45862
45638
  form: "single",
45863
45639
  optional: false
45864
45640
  }],
45865
- "decoder.createSession": [{
45866
- name: "deviceId",
45867
- form: "single",
45868
- optional: true
45869
- }],
45870
45641
  "detectionPipeline.applyDeviceSettingsPatch": [{
45871
45642
  name: "deviceId",
45872
45643
  form: "single",
@@ -49146,7 +48917,7 @@ var AdminUIAddon = class extends BaseAddon {
49146
48917
  capability: adminUiCapability,
49147
48918
  provider: {
49148
48919
  getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
49149
- getVersion: async () => ({ version: "1.2.349" })
48920
+ getVersion: async () => ({ version: "1.2.351" })
49150
48921
  }
49151
48922
  }];
49152
48923
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-admin-ui",
3
- "version": "1.2.349",
3
+ "version": "1.2.351",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Admin UI — Vite frontend build and server-side addon",