@ai-matrx/meet 0.11.45 → 0.11.46

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog — `@ai-matrx/meet`
2
2
 
3
+ ## 0.11.46
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/meet/v0.11.45..npm/meet/v0.11.46 -- apps/shared/meet`).
7
+ No source changes intended and no consumer action required.
8
+
3
9
  ## 0.11.45
4
10
 
5
11
  Automatic changed-only republish (docs/metadata drift since the last tag — see
package/dist/core.cjs CHANGED
@@ -919,10 +919,10 @@ var MEET_ROUTES = {
919
919
  recordingStop: "/api/v1/meet/recording/stop",
920
920
  noteTakerStart: "/api/v1/meet/agent/start",
921
921
  noteTakerStop: "/api/v1/meet/agent/stop",
922
- /** In-meeting Q&A. Streams NDJSON; body is `{meeting_id, question}` only. */
923
- intelligenceAsk: "/api/v1/meet/intelligence/ask",
924
922
  /** Anyone in the meeting (guests with the room pass included) asks for captions for themselves. */
925
923
  noteTakerCaptions: "/api/v1/meet/agent/captions",
924
+ /** In-meeting Q&A. Streams NDJSON; body is `{meeting_id, question}` only. */
925
+ intelligenceAsk: "/api/v1/meet/intelligence/ask",
926
926
  /** A host ends the meeting for everyone. Served by MRI-A6. */
927
927
  meetingEnd: "/api/v1/meet/end",
928
928
  /**
@@ -1592,6 +1592,7 @@ var STATES = [
1592
1592
  "ended"
1593
1593
  ];
1594
1594
  function readState(value) {
1595
+ if (value === "dispatching") return "joining";
1595
1596
  return typeof value === "string" && STATES.includes(value) ? value : null;
1596
1597
  }
1597
1598
  function isNoteTaker(participant) {
@@ -5414,11 +5415,15 @@ function createMeetingSession(options) {
5414
5415
  }
5415
5416
  let policyTimer = null;
5416
5417
  let policyReading = false;
5418
+ let policyInFlight = null;
5417
5419
  async function readLivePolicy() {
5418
5420
  const meeting = store.snapshot().meeting;
5419
5421
  const pass = options.resolvePass?.() ?? null;
5420
- if (meeting === null || pass === null || policyReading) return;
5422
+ if (meeting === null || pass === null) return;
5423
+ if (policyReading) return policyInFlight ?? void 0;
5421
5424
  policyReading = true;
5425
+ let done = () => void 0;
5426
+ policyInFlight = new Promise((resolve) => done = resolve);
5422
5427
  try {
5423
5428
  const response = await options.api.request({
5424
5429
  path: `${MEET_ROUTES.state}?meeting_id=${encodeURIComponent(meeting.id)}`,
@@ -5439,6 +5444,8 @@ function createMeetingSession(options) {
5439
5444
  } catch {
5440
5445
  } finally {
5441
5446
  policyReading = false;
5447
+ policyInFlight = null;
5448
+ done();
5442
5449
  }
5443
5450
  }
5444
5451
  function syncLivePolicyTimer() {
@@ -5737,6 +5744,7 @@ function createMeetingSession(options) {
5737
5744
  },
5738
5745
  stopWaiting,
5739
5746
  readState: readState2,
5747
+ readLivePolicy,
5740
5748
  async readExit(connection, held) {
5741
5749
  const meeting = store.snapshot().meeting;
5742
5750
  const pass = held ?? options.resolvePass?.() ?? null;
@@ -7749,6 +7757,7 @@ function createInRoomClient(options) {
7749
7757
  action: request.action,
7750
7758
  ...request.identity != null ? { identity: request.identity } : {},
7751
7759
  ...request.name !== void 0 ? { name: request.name } : {},
7760
+ ...request.value !== void 0 ? { value: request.value } : {},
7752
7761
  ...request.reason !== void 0 ? { reason: request.reason } : {}
7753
7762
  },
7754
7763
  ...hdrs !== void 0 ? { headers: hdrs } : {}