@ai-matrx/meet 0.11.45 → 0.11.47
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 +12 -0
- package/dist/core.cjs +14 -4
- package/dist/core.cjs.map +1 -1
- package/dist/core.d.cts +9 -6
- package/dist/core.d.ts +9 -6
- package/dist/core.js +14 -4
- package/dist/core.js.map +1 -1
- package/dist/index.cjs +14 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +14 -4
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +36 -8
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +36 -8
- package/dist/react.js.map +1 -1
- package/dist/skins/meet.cjs +26 -6
- package/dist/skins/meet.cjs.map +1 -1
- package/dist/skins/meet.js +26 -6
- package/dist/skins/meet.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog — `@ai-matrx/meet`
|
|
2
2
|
|
|
3
|
+
## 0.11.47
|
|
4
|
+
|
|
5
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
6
|
+
`git diff npm/meet/v0.11.46..npm/meet/v0.11.47 -- apps/shared/meet`).
|
|
7
|
+
No source changes intended and no consumer action required.
|
|
8
|
+
|
|
9
|
+
## 0.11.46
|
|
10
|
+
|
|
11
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
12
|
+
`git diff npm/meet/v0.11.45..npm/meet/v0.11.46 -- apps/shared/meet`).
|
|
13
|
+
No source changes intended and no consumer action required.
|
|
14
|
+
|
|
3
15
|
## 0.11.45
|
|
4
16
|
|
|
5
17
|
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) {
|
|
@@ -4794,7 +4795,7 @@ function unsupportedWords(capabilities) {
|
|
|
4794
4795
|
body: "Open this link in Chrome, Safari, Edge or Firefox"
|
|
4795
4796
|
};
|
|
4796
4797
|
}
|
|
4797
|
-
return { title: "
|
|
4798
|
+
return { title: "Meet is not compatible with your browser yet", body: "Open this link in Chrome, Safari, Edge or Firefox" };
|
|
4798
4799
|
}
|
|
4799
4800
|
|
|
4800
4801
|
// src/core/room-driver.ts
|
|
@@ -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
|
|
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 } : {}
|
|
@@ -8588,6 +8597,7 @@ async function moveToRoom(runtime, roomId) {
|
|
|
8588
8597
|
if (runtime === null) return { ok: false, message: "This meeting is not connected." };
|
|
8589
8598
|
try {
|
|
8590
8599
|
await runtime.engine.moveToBreakout(roomId);
|
|
8600
|
+
await runtime.inRoom.loadCollab?.().catch(() => void 0);
|
|
8591
8601
|
return { ok: true, message: roomId === null ? "Back in the main room." : "Joined the breakout room." };
|
|
8592
8602
|
} catch (error) {
|
|
8593
8603
|
return { ok: false, message: error.message ?? "That room could not be joined." };
|