@ai-matrx/meet 0.10.5 → 0.10.7

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.
@@ -374,6 +374,10 @@ function appPanelOf(meeting) {
374
374
  if (typeof recordId !== "string" || recordId.length === 0) return null;
375
375
  return { key, recordId };
376
376
  }
377
+ function captureHeldOf(meeting) {
378
+ if (!meeting) return false;
379
+ return meeting.metadata?.["capture_hold"] === "confidential_record" && !meeting.aiEnabled && meeting.recordingPolicy === "disabled";
380
+ }
377
381
 
378
382
  // src/core/collab.ts
379
383
  function assignedRoom(plan, identity) {
@@ -4633,6 +4637,7 @@ function MeetSkinRoom({
4633
4637
  elapsed > 0 ? ` \xB7 ${(0, import_format2.formatDurationMs)(elapsed)}` : ""
4634
4638
  ] }),
4635
4639
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(RecordingIndicator, {}),
4640
+ captureHeldOf(snapshot?.meeting) ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "mx-meet__badge", "data-meet-capture-held": "", children: "Confidential \xB7 not recorded" }) : null,
4636
4641
  isObserverRole(snapshot?.grants.role) ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "mx-meet__badge", "data-meet-observing": "self", children: "Observing" }) : null,
4637
4642
  snapshot?.locked === true ? /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: "mx-meet__badge", children: [
4638
4643
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(LockIcon, { width: 12, height: 12 }),