@ai-matrx/meet 0.11.40 → 0.11.42
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/{collab-XY6Xj1dG.d.cts → collab-Bf5evcLO.d.cts} +1 -1
- package/dist/{collab-XY6Xj1dG.d.ts → collab-Bf5evcLO.d.ts} +1 -1
- package/dist/{components-Cwep2NYU.d.ts → components-Frpvls4N.d.ts} +1 -1
- package/dist/{components-4f9Mf8fz.d.cts → components-roCEgyFH.d.cts} +1 -1
- package/dist/core.cjs +8 -11
- package/dist/core.cjs.map +1 -1
- package/dist/core.d.cts +5 -8
- package/dist/core.d.ts +5 -8
- package/dist/core.js +8 -11
- package/dist/core.js.map +1 -1
- package/dist/index.cjs +8 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -11
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +13 -12
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +3 -3
- package/dist/react.d.ts +3 -3
- package/dist/react.js +13 -12
- package/dist/react.js.map +1 -1
- package/dist/skins/meet.cjs +5 -1
- package/dist/skins/meet.cjs.map +1 -1
- package/dist/skins/meet.d.cts +2 -2
- package/dist/skins/meet.d.ts +2 -2
- package/dist/skins/meet.js +5 -1
- package/dist/skins/meet.js.map +1 -1
- package/dist/styles.css +12 -0
- package/package.json +3 -3
package/dist/core.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as ParticipantIdentity, e as ParticipantRole, k as AdmissionState, a1 as NoteTakerState, a as MeetParticipant, M as MeetingRecord, R as RoomName, d as CallInvite, a6 as ParticipantStanding, a3 as ObserversVisibleTo, S as StageLayout, L as LobbyEntry, aa as RecordingState, U as UserId, aE as RecordingSource, ae as TranscriptSegment, g as MeetingNote, W as WrapUpAnnouncement, j as CollabSnapshot, p as ConnectionQuality, h as MeetingId, b as MeetApi, f as CallMode, O as OrganizationId, m as CallId, n as CallState, Z as MeetingKind, a8 as RecordingPolicy, V as MeetingAttendee, a9 as RecordingRecord, a0 as MeetingSettings, X as MeetingChanges, a4 as OccurrenceOverride, $ as MeetingOccurrence, af as UpcomingOccurrence, Y as MeetingInvitee, I as InviteeInput, q as InviteeRole, ab as RsvpAnswer, ac as RsvpInvitation, c as MeetIdentity, C as CollabPanel } from './collab-
|
|
2
|
-
export { A as AccessTokenSource, l as CAPTION_LANGUAGES, o as CallablePerson, E as EMPTY_COLLAB, F as FILE_SESSION_PATH, J as JsonObject, r as JsonValue, s as MeetApiOptions, t as MeetApiRequest, u as MeetAppFocus, v as MeetBreakoutBroadcast, w as MeetBreakoutPlan, x as MeetBreakoutRoom, y as MeetCollabSettings, z as MeetFileMedia, B as MeetPoll, D as MeetPollOption, G as MeetPollState, H as MeetQuestion, K as MeetQuestionState, N as MeetStroke, Q as MeetingActivities, i as MeetingAppPanel, _ as MeetingNoteKind, a2 as ORGANIZATION_HEADER, a5 as OccurrenceState, a7 as ROLE_RANK, ad as RsvpState, T as TranscriptSource, ag as appPanelOf, ah as applyCollabPacket, ai as asCallId, aj as asMeetingId, ak as asOrganizationId, al as asParticipantIdentity, am as asRoomName, an as asUserId, ao as assignedRoom, ap as autoAssign, aq as breakoutRemainingMs, ar as captureHeldOf, as as collabFromState, at as createMeetApi, au as defaultCaptionLanguage, av as fileDownloadPath, aw as focusFromRow, ax as isGuest, ay as isHostRole, az as isLinkFollower, aA as isObserverRole, aB as loadMeetingActivities, aC as scheduleSettingsPatch, aD as withItem } from './collab-
|
|
1
|
+
import { P as ParticipantIdentity, e as ParticipantRole, k as AdmissionState, a1 as NoteTakerState, a as MeetParticipant, M as MeetingRecord, R as RoomName, d as CallInvite, a6 as ParticipantStanding, a3 as ObserversVisibleTo, S as StageLayout, L as LobbyEntry, aa as RecordingState, U as UserId, aE as RecordingSource, ae as TranscriptSegment, g as MeetingNote, W as WrapUpAnnouncement, j as CollabSnapshot, p as ConnectionQuality, h as MeetingId, b as MeetApi, f as CallMode, O as OrganizationId, m as CallId, n as CallState, Z as MeetingKind, a8 as RecordingPolicy, V as MeetingAttendee, a9 as RecordingRecord, a0 as MeetingSettings, X as MeetingChanges, a4 as OccurrenceOverride, $ as MeetingOccurrence, af as UpcomingOccurrence, Y as MeetingInvitee, I as InviteeInput, q as InviteeRole, ab as RsvpAnswer, ac as RsvpInvitation, c as MeetIdentity, C as CollabPanel } from './collab-Bf5evcLO.cjs';
|
|
2
|
+
export { A as AccessTokenSource, l as CAPTION_LANGUAGES, o as CallablePerson, E as EMPTY_COLLAB, F as FILE_SESSION_PATH, J as JsonObject, r as JsonValue, s as MeetApiOptions, t as MeetApiRequest, u as MeetAppFocus, v as MeetBreakoutBroadcast, w as MeetBreakoutPlan, x as MeetBreakoutRoom, y as MeetCollabSettings, z as MeetFileMedia, B as MeetPoll, D as MeetPollOption, G as MeetPollState, H as MeetQuestion, K as MeetQuestionState, N as MeetStroke, Q as MeetingActivities, i as MeetingAppPanel, _ as MeetingNoteKind, a2 as ORGANIZATION_HEADER, a5 as OccurrenceState, a7 as ROLE_RANK, ad as RsvpState, T as TranscriptSource, ag as appPanelOf, ah as applyCollabPacket, ai as asCallId, aj as asMeetingId, ak as asOrganizationId, al as asParticipantIdentity, am as asRoomName, an as asUserId, ao as assignedRoom, ap as autoAssign, aq as breakoutRemainingMs, ar as captureHeldOf, as as collabFromState, at as createMeetApi, au as defaultCaptionLanguage, av as fileDownloadPath, aw as focusFromRow, ax as isGuest, ay as isHostRole, az as isLinkFollower, aA as isObserverRole, aB as loadMeetingActivities, aC as scheduleSettingsPatch, aD as withItem } from './collab-Bf5evcLO.cjs';
|
|
3
3
|
import { RealtimeManager } from '@ai-matrx/realtime';
|
|
4
4
|
import { MessagingSupabaseClient, ActionHandler } from '@ai-matrx/messaging';
|
|
5
5
|
import { RoomOptions, ConnectionQuality as ConnectionQuality$1, Participant } from 'livekit-client';
|
|
@@ -723,7 +723,7 @@ interface MeetSnapshot {
|
|
|
723
723
|
* recording…" for the whole meeting while a perfectly healthy egress ran, and
|
|
724
724
|
* "Stopping recording…" forever after (MRI-C8). The server's transitions
|
|
725
725
|
* arrive on two transports now: the `meet_recordings` row for a member, and
|
|
726
|
-
*
|
|
726
|
+
* the room's replicated state for a guest, who has no database.
|
|
727
727
|
*/
|
|
728
728
|
readonly recording: RecordingState;
|
|
729
729
|
readonly recordingStartedBy: UserId | null;
|
|
@@ -1608,8 +1608,7 @@ declare const ROOM_EVENTS: {
|
|
|
1608
1608
|
/**
|
|
1609
1609
|
* A host or co-host acted (Meet wave 2). Payload `{ meeting_id, kind, … }`:
|
|
1610
1610
|
* `muted {source, by}` · `ask-unmute {by}` · `removed {by}` — addressed to the
|
|
1611
|
-
* person concerned; `
|
|
1612
|
-
* role}` — to everyone.
|
|
1611
|
+
* person concerned; `role {identity, role}` — to everyone.
|
|
1613
1612
|
*/
|
|
1614
1613
|
readonly moderation: "matrx.meet.moderation";
|
|
1615
1614
|
/**
|
|
@@ -3590,15 +3589,13 @@ declare function createWebEffectsStorage(key?: string): EffectsStorage;
|
|
|
3590
3589
|
*/
|
|
3591
3590
|
|
|
3592
3591
|
/** Every host power the server performs. One vocabulary with `services/meet/moderation.py`. */
|
|
3593
|
-
type ModerationAction = "mute" | "stop_video" | "stop_screen" | "mute_all" | "ask_unmute" | "ask_all_unmute" | "spotlight" | "
|
|
3592
|
+
type ModerationAction = "mute" | "stop_video" | "stop_screen" | "mute_all" | "ask_unmute" | "ask_all_unmute" | "spotlight" | "sync_presenter" | "raise_hand" | "lower_hand" | "lower_all_hands" | "make_cohost" | "revoke_cohost" | "transfer_host" | "rename" | "remove" | "report";
|
|
3594
3593
|
declare const MODERATION_ACTIONS: readonly ModerationAction[];
|
|
3595
3594
|
interface ModerationRequest {
|
|
3596
3595
|
readonly action: ModerationAction;
|
|
3597
3596
|
readonly identity?: ParticipantIdentity | null | undefined;
|
|
3598
3597
|
readonly name?: string | undefined;
|
|
3599
3598
|
readonly reason?: string | undefined;
|
|
3600
|
-
/** `present` only: true = I am presenting now, false = I stopped (S8). */
|
|
3601
|
-
readonly on?: boolean | undefined;
|
|
3602
3599
|
}
|
|
3603
3600
|
interface ModerationResult {
|
|
3604
3601
|
readonly action: ModerationAction;
|
package/dist/core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as ParticipantIdentity, e as ParticipantRole, k as AdmissionState, a1 as NoteTakerState, a as MeetParticipant, M as MeetingRecord, R as RoomName, d as CallInvite, a6 as ParticipantStanding, a3 as ObserversVisibleTo, S as StageLayout, L as LobbyEntry, aa as RecordingState, U as UserId, aE as RecordingSource, ae as TranscriptSegment, g as MeetingNote, W as WrapUpAnnouncement, j as CollabSnapshot, p as ConnectionQuality, h as MeetingId, b as MeetApi, f as CallMode, O as OrganizationId, m as CallId, n as CallState, Z as MeetingKind, a8 as RecordingPolicy, V as MeetingAttendee, a9 as RecordingRecord, a0 as MeetingSettings, X as MeetingChanges, a4 as OccurrenceOverride, $ as MeetingOccurrence, af as UpcomingOccurrence, Y as MeetingInvitee, I as InviteeInput, q as InviteeRole, ab as RsvpAnswer, ac as RsvpInvitation, c as MeetIdentity, C as CollabPanel } from './collab-
|
|
2
|
-
export { A as AccessTokenSource, l as CAPTION_LANGUAGES, o as CallablePerson, E as EMPTY_COLLAB, F as FILE_SESSION_PATH, J as JsonObject, r as JsonValue, s as MeetApiOptions, t as MeetApiRequest, u as MeetAppFocus, v as MeetBreakoutBroadcast, w as MeetBreakoutPlan, x as MeetBreakoutRoom, y as MeetCollabSettings, z as MeetFileMedia, B as MeetPoll, D as MeetPollOption, G as MeetPollState, H as MeetQuestion, K as MeetQuestionState, N as MeetStroke, Q as MeetingActivities, i as MeetingAppPanel, _ as MeetingNoteKind, a2 as ORGANIZATION_HEADER, a5 as OccurrenceState, a7 as ROLE_RANK, ad as RsvpState, T as TranscriptSource, ag as appPanelOf, ah as applyCollabPacket, ai as asCallId, aj as asMeetingId, ak as asOrganizationId, al as asParticipantIdentity, am as asRoomName, an as asUserId, ao as assignedRoom, ap as autoAssign, aq as breakoutRemainingMs, ar as captureHeldOf, as as collabFromState, at as createMeetApi, au as defaultCaptionLanguage, av as fileDownloadPath, aw as focusFromRow, ax as isGuest, ay as isHostRole, az as isLinkFollower, aA as isObserverRole, aB as loadMeetingActivities, aC as scheduleSettingsPatch, aD as withItem } from './collab-
|
|
1
|
+
import { P as ParticipantIdentity, e as ParticipantRole, k as AdmissionState, a1 as NoteTakerState, a as MeetParticipant, M as MeetingRecord, R as RoomName, d as CallInvite, a6 as ParticipantStanding, a3 as ObserversVisibleTo, S as StageLayout, L as LobbyEntry, aa as RecordingState, U as UserId, aE as RecordingSource, ae as TranscriptSegment, g as MeetingNote, W as WrapUpAnnouncement, j as CollabSnapshot, p as ConnectionQuality, h as MeetingId, b as MeetApi, f as CallMode, O as OrganizationId, m as CallId, n as CallState, Z as MeetingKind, a8 as RecordingPolicy, V as MeetingAttendee, a9 as RecordingRecord, a0 as MeetingSettings, X as MeetingChanges, a4 as OccurrenceOverride, $ as MeetingOccurrence, af as UpcomingOccurrence, Y as MeetingInvitee, I as InviteeInput, q as InviteeRole, ab as RsvpAnswer, ac as RsvpInvitation, c as MeetIdentity, C as CollabPanel } from './collab-Bf5evcLO.js';
|
|
2
|
+
export { A as AccessTokenSource, l as CAPTION_LANGUAGES, o as CallablePerson, E as EMPTY_COLLAB, F as FILE_SESSION_PATH, J as JsonObject, r as JsonValue, s as MeetApiOptions, t as MeetApiRequest, u as MeetAppFocus, v as MeetBreakoutBroadcast, w as MeetBreakoutPlan, x as MeetBreakoutRoom, y as MeetCollabSettings, z as MeetFileMedia, B as MeetPoll, D as MeetPollOption, G as MeetPollState, H as MeetQuestion, K as MeetQuestionState, N as MeetStroke, Q as MeetingActivities, i as MeetingAppPanel, _ as MeetingNoteKind, a2 as ORGANIZATION_HEADER, a5 as OccurrenceState, a7 as ROLE_RANK, ad as RsvpState, T as TranscriptSource, ag as appPanelOf, ah as applyCollabPacket, ai as asCallId, aj as asMeetingId, ak as asOrganizationId, al as asParticipantIdentity, am as asRoomName, an as asUserId, ao as assignedRoom, ap as autoAssign, aq as breakoutRemainingMs, ar as captureHeldOf, as as collabFromState, at as createMeetApi, au as defaultCaptionLanguage, av as fileDownloadPath, aw as focusFromRow, ax as isGuest, ay as isHostRole, az as isLinkFollower, aA as isObserverRole, aB as loadMeetingActivities, aC as scheduleSettingsPatch, aD as withItem } from './collab-Bf5evcLO.js';
|
|
3
3
|
import { RealtimeManager } from '@ai-matrx/realtime';
|
|
4
4
|
import { MessagingSupabaseClient, ActionHandler } from '@ai-matrx/messaging';
|
|
5
5
|
import { RoomOptions, ConnectionQuality as ConnectionQuality$1, Participant } from 'livekit-client';
|
|
@@ -723,7 +723,7 @@ interface MeetSnapshot {
|
|
|
723
723
|
* recording…" for the whole meeting while a perfectly healthy egress ran, and
|
|
724
724
|
* "Stopping recording…" forever after (MRI-C8). The server's transitions
|
|
725
725
|
* arrive on two transports now: the `meet_recordings` row for a member, and
|
|
726
|
-
*
|
|
726
|
+
* the room's replicated state for a guest, who has no database.
|
|
727
727
|
*/
|
|
728
728
|
readonly recording: RecordingState;
|
|
729
729
|
readonly recordingStartedBy: UserId | null;
|
|
@@ -1608,8 +1608,7 @@ declare const ROOM_EVENTS: {
|
|
|
1608
1608
|
/**
|
|
1609
1609
|
* A host or co-host acted (Meet wave 2). Payload `{ meeting_id, kind, … }`:
|
|
1610
1610
|
* `muted {source, by}` · `ask-unmute {by}` · `removed {by}` — addressed to the
|
|
1611
|
-
* person concerned; `
|
|
1612
|
-
* role}` — to everyone.
|
|
1611
|
+
* person concerned; `role {identity, role}` — to everyone.
|
|
1613
1612
|
*/
|
|
1614
1613
|
readonly moderation: "matrx.meet.moderation";
|
|
1615
1614
|
/**
|
|
@@ -3590,15 +3589,13 @@ declare function createWebEffectsStorage(key?: string): EffectsStorage;
|
|
|
3590
3589
|
*/
|
|
3591
3590
|
|
|
3592
3591
|
/** Every host power the server performs. One vocabulary with `services/meet/moderation.py`. */
|
|
3593
|
-
type ModerationAction = "mute" | "stop_video" | "stop_screen" | "mute_all" | "ask_unmute" | "ask_all_unmute" | "spotlight" | "
|
|
3592
|
+
type ModerationAction = "mute" | "stop_video" | "stop_screen" | "mute_all" | "ask_unmute" | "ask_all_unmute" | "spotlight" | "sync_presenter" | "raise_hand" | "lower_hand" | "lower_all_hands" | "make_cohost" | "revoke_cohost" | "transfer_host" | "rename" | "remove" | "report";
|
|
3594
3593
|
declare const MODERATION_ACTIONS: readonly ModerationAction[];
|
|
3595
3594
|
interface ModerationRequest {
|
|
3596
3595
|
readonly action: ModerationAction;
|
|
3597
3596
|
readonly identity?: ParticipantIdentity | null | undefined;
|
|
3598
3597
|
readonly name?: string | undefined;
|
|
3599
3598
|
readonly reason?: string | undefined;
|
|
3600
|
-
/** `present` only: true = I am presenting now, false = I stopped (S8). */
|
|
3601
|
-
readonly on?: boolean | undefined;
|
|
3602
3599
|
}
|
|
3603
3600
|
interface ModerationResult {
|
|
3604
3601
|
readonly action: ModerationAction;
|
package/dist/core.js
CHANGED
|
@@ -3732,8 +3732,7 @@ var ROOM_EVENTS = {
|
|
|
3732
3732
|
/**
|
|
3733
3733
|
* A host or co-host acted (Meet wave 2). Payload `{ meeting_id, kind, … }`:
|
|
3734
3734
|
* `muted {source, by}` · `ask-unmute {by}` · `removed {by}` — addressed to the
|
|
3735
|
-
* person concerned; `
|
|
3736
|
-
* role}` — to everyone.
|
|
3735
|
+
* person concerned; `role {identity, role}` — to everyone.
|
|
3737
3736
|
*/
|
|
3738
3737
|
moderation: "matrx.meet.moderation",
|
|
3739
3738
|
/**
|
|
@@ -7122,7 +7121,7 @@ var MODERATION_ACTIONS = [
|
|
|
7122
7121
|
"ask_unmute",
|
|
7123
7122
|
"ask_all_unmute",
|
|
7124
7123
|
"spotlight",
|
|
7125
|
-
"
|
|
7124
|
+
"sync_presenter",
|
|
7126
7125
|
"raise_hand",
|
|
7127
7126
|
"lower_hand",
|
|
7128
7127
|
"lower_all_hands",
|
|
@@ -7154,18 +7153,17 @@ function createInRoomClient(options) {
|
|
|
7154
7153
|
function refusal2(response, operation, remedy) {
|
|
7155
7154
|
return refusalFromResponse(response, operation, remedy);
|
|
7156
7155
|
}
|
|
7157
|
-
let
|
|
7156
|
+
let toldSharing = false;
|
|
7158
7157
|
let tellChain = Promise.resolve();
|
|
7159
7158
|
store.subscribe(() => {
|
|
7160
7159
|
const local = store.snapshot().participants.find((p) => p.isLocal);
|
|
7161
7160
|
const sharing = local?.screenSharing === true;
|
|
7162
|
-
if (sharing ===
|
|
7163
|
-
|
|
7164
|
-
|
|
7165
|
-
tellChain = tellChain.then(() => client.moderate({ action: "present", on })).then(
|
|
7161
|
+
if (sharing === toldSharing || local === void 0) return;
|
|
7162
|
+
toldSharing = sharing;
|
|
7163
|
+
tellChain = tellChain.then(() => client.moderate({ action: "sync_presenter" })).then(
|
|
7166
7164
|
() => void 0,
|
|
7167
7165
|
(error) => {
|
|
7168
|
-
console.warn(`[meet] the server did not take
|
|
7166
|
+
console.warn(`[meet] the server did not take the screen-share change: ${String(error)}`);
|
|
7169
7167
|
}
|
|
7170
7168
|
);
|
|
7171
7169
|
});
|
|
@@ -7182,8 +7180,7 @@ function createInRoomClient(options) {
|
|
|
7182
7180
|
action: request.action,
|
|
7183
7181
|
...request.identity != null ? { identity: request.identity } : {},
|
|
7184
7182
|
...request.name !== void 0 ? { name: request.name } : {},
|
|
7185
|
-
...request.reason !== void 0 ? { reason: request.reason } : {}
|
|
7186
|
-
...request.on !== void 0 ? { on: request.on } : {}
|
|
7183
|
+
...request.reason !== void 0 ? { reason: request.reason } : {}
|
|
7187
7184
|
},
|
|
7188
7185
|
...hdrs !== void 0 ? { headers: hdrs } : {}
|
|
7189
7186
|
});
|