@ai-matrx/meet 0.7.84 → 0.8.0
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 +35 -0
- package/README.md +13 -7
- package/dist/collab-Bss-_Jfp.d.cts +805 -0
- package/dist/collab-Bss-_Jfp.d.ts +805 -0
- package/dist/components-BOUmOiPj.d.cts +240 -0
- package/dist/components-BmgstFx_.d.ts +240 -0
- package/dist/core.cjs +6724 -0
- package/dist/core.cjs.map +1 -0
- package/dist/core.d.cts +3048 -0
- package/dist/core.d.ts +3048 -0
- package/dist/core.js +6691 -0
- package/dist/core.js.map +1 -0
- package/dist/index.cjs +81 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -3780
- package/dist/index.d.ts +5 -3780
- package/dist/index.js +81 -15
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +468 -674
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +77 -365
- package/dist/react.d.ts +77 -365
- package/dist/react.js +412 -629
- package/dist/react.js.map +1 -1
- package/dist/skins/meet.cjs +4636 -0
- package/dist/skins/meet.cjs.map +1 -0
- package/dist/skins/meet.d.cts +113 -0
- package/dist/skins/meet.d.ts +113 -0
- package/dist/skins/meet.js +4617 -0
- package/dist/skins/meet.js.map +1 -0
- package/package.json +28 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# Changelog — `@ai-matrx/meet`
|
|
2
2
|
|
|
3
|
+
## 0.8.0 — session identity and global slots have one home
|
|
4
|
+
|
|
5
|
+
- The session reader is `@ai-matrx/data/session-identity` (meet supplies its words and branded
|
|
6
|
+
`UserId`); test helpers come from `@ai-matrx/data/testing`; global slots use
|
|
7
|
+
`@ai-matrx/kit/global-slot` with unchanged keys (`ai-matrx.meet.*`).
|
|
8
|
+
- New dependency: `@ai-matrx/data` (architecture step 11).
|
|
9
|
+
|
|
10
|
+
Consumer action: none.
|
|
11
|
+
|
|
12
|
+
## 0.7.85
|
|
13
|
+
### Unreleased
|
|
14
|
+
|
|
15
|
+
**The headless boundary (Meet duplicates CORE-DESIGN step S1). Breaking for imports; behavior unchanged.**
|
|
16
|
+
|
|
17
|
+
- New subpaths: `@ai-matrx/meet/core` (`.` re-exports it) and `@ai-matrx/meet/skins/meet`.
|
|
18
|
+
- Today's in-call UI is **Meet skin v0** under `src/skins/meet/`, reading the core only through the
|
|
19
|
+
facade (`useMeetCore()` + headless re-exports), enforced by `scripts/check-skin-imports.mjs`
|
|
20
|
+
(fails the build; self-test plants a bad import in a temp copy).
|
|
21
|
+
- `<MeetingRoom>` → `<MeetingSkinRoot>` (same props). The in-call parts (`ControlBar`,
|
|
22
|
+
`ParticipantTile`, `Captions`, `ConsentNotice`, `AttendanceNotice`, `RecordingIndicator`,
|
|
23
|
+
`HostMenu`, `Stage`, panels, icons, collab panels) moved from `/react` to `/skins/meet`.
|
|
24
|
+
`/react` keeps the provider, hooks, `useMeetCore`, `MeetRoot`, the record surfaces
|
|
25
|
+
(`MeetingRecordView`, `RecordingPlayer`, `GuestRecordAccessControl`) and the ringing surface
|
|
26
|
+
(`IncomingCallHost`, `IncomingCallCard`).
|
|
27
|
+
- Collab/caption hook logic moved into the core (`availableActivities`, `activityAttention`,
|
|
28
|
+
`performCollab`, `moveToRoom`, `untranslatedLines`, `nextTranslationBatch`,
|
|
29
|
+
`setCaptionLanguage`, `takePanelRequest`, `takeMoveRequest`); the hooks are thin selectors.
|
|
30
|
+
`MEET_REACTIONS` is a core export.
|
|
31
|
+
- Deleted (no consumer): `MeetingList`, `ScheduleMeeting`, `CallButton`.
|
|
32
|
+
- The provider's React context now lives in the globalThis slot so `/react` and `/skins/meet`
|
|
33
|
+
bundles share it.
|
|
34
|
+
|
|
35
|
+
**Consumer action:** `MeetingRoom` → `MeetingSkinRoot` from `/react`; import in-call parts and icons
|
|
36
|
+
from `@ai-matrx/meet/skins/meet`.
|
|
37
|
+
|
|
3
38
|
## 0.7.84
|
|
4
39
|
### Unreleased
|
|
5
40
|
|
package/README.md
CHANGED
|
@@ -86,7 +86,7 @@ them. Authenticated users skip the prompt; host powers require authentication.
|
|
|
86
86
|
|
|
87
87
|
This is enforced by TYPES, not by discipline: `MeetIdentity.userId` is `UserId | null`, and every
|
|
88
88
|
operation that needs an account takes a `UserId`. A guest provider has **no call center at all** —
|
|
89
|
-
so
|
|
89
|
+
so `useCalls().canCall` is false and no call control renders rather than a disabled button (no dead ends).
|
|
90
90
|
|
|
91
91
|
### 6. Admission is a server decision. Roles come from the token.
|
|
92
92
|
|
|
@@ -160,12 +160,17 @@ will refuse.
|
|
|
160
160
|
|
|
161
161
|
## The one-hour integration (R7)
|
|
162
162
|
|
|
163
|
+
Four subpaths (CORE-DESIGN §5.1): `@ai-matrx/meet/core` (framework-free; `@ai-matrx/meet`
|
|
164
|
+
re-exports it), `@ai-matrx/meet/react` (provider, hooks, `<MeetingSkinRoot>`, the record and
|
|
165
|
+
ringing surfaces), and one per skin — `@ai-matrx/meet/skins/meet` holds the Meet skin's parts
|
|
166
|
+
(`ControlBar`, `ParticipantTile`, `Captions`, …) for a host layout that composes them.
|
|
167
|
+
|
|
163
168
|
```tsx
|
|
164
169
|
import "@ai-matrx/meet/tokens.css"; // defaults — override these with your brand
|
|
165
170
|
import "./brand.css";
|
|
166
171
|
import "@ai-matrx/meet/styles.css"; // structural, last
|
|
167
172
|
|
|
168
|
-
import { MeetProvider, IncomingCallHost,
|
|
173
|
+
import { MeetProvider, IncomingCallHost, MeetingSkinRoot, useCalls } from "@ai-matrx/meet/react";
|
|
169
174
|
|
|
170
175
|
export function App({ children }) {
|
|
171
176
|
return (
|
|
@@ -185,11 +190,12 @@ export function App({ children }) {
|
|
|
185
190
|
);
|
|
186
191
|
}
|
|
187
192
|
|
|
188
|
-
// Anywhere a person appears:
|
|
189
|
-
|
|
193
|
+
// Anywhere a person appears: your own control, calling through the hook.
|
|
194
|
+
const calls = useCalls();
|
|
195
|
+
calls.canCall && <button onClick={() => calls.call([userId], "video")}>Call</button>
|
|
190
196
|
|
|
191
|
-
// Your meeting route:
|
|
192
|
-
<
|
|
197
|
+
// Your meeting route — the skin root chooses the viewer's skin (Meet until S9):
|
|
198
|
+
<MeetingSkinRoot roomName={roomName} meetingId={meetingId} />
|
|
193
199
|
```
|
|
194
200
|
|
|
195
201
|
The stage fills the viewport (`100dvh`). To run a meeting inside a box — a board tile, a split
|
|
@@ -210,7 +216,7 @@ lane. A guest has no account, so that mount reads no session at all:
|
|
|
210
216
|
```tsx
|
|
211
217
|
<MeetProvider client={supabase} baseUrl={AIDREAM_URL} organizationId={orgId}
|
|
212
218
|
guestName={typedName} accessToken={async () => null}>
|
|
213
|
-
<
|
|
219
|
+
<MeetingSkinRoot roomName={meeting.roomName} slug={slug} />
|
|
214
220
|
</MeetProvider>
|
|
215
221
|
```
|
|
216
222
|
|