@absolutejs/meeting 0.0.1-beta.7 → 0.0.1-beta.9

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "contract": 1,
2
+ "contract": 2,
3
3
  "identity": {
4
4
  "accent": "#f97316",
5
5
  "category": "voice",
@@ -183,6 +183,28 @@
183
183
  "destructiveHint": true,
184
184
  "idempotentHint": true
185
185
  },
186
+ "authorization": {
187
+ "approval": "policy",
188
+ "audience": "owner",
189
+ "destinations": [
190
+ "configured-meeting-platform"
191
+ ],
192
+ "effects": [
193
+ "write",
194
+ "send",
195
+ "external-network"
196
+ ],
197
+ "idempotency": {
198
+ "mode": "host"
199
+ },
200
+ "requiredScopes": [
201
+ "meeting:leave"
202
+ ],
203
+ "resource": {
204
+ "type": "active-meeting"
205
+ },
206
+ "reversible": false
207
+ },
186
208
  "description": "Make the bot leave the call, finalize the transcript, and end the session.",
187
209
  "input": {
188
210
  "type": "object",
@@ -198,6 +220,16 @@
198
220
  "annotations": {
199
221
  "readOnlyHint": true
200
222
  },
223
+ "authorization": {
224
+ "approval": "never",
225
+ "audience": "owner",
226
+ "effects": [
227
+ "read"
228
+ ],
229
+ "requiredScopes": [
230
+ "meeting:read"
231
+ ]
232
+ },
201
233
  "description": "List the participants the call platform has reported for this meeting.",
202
234
  "input": {
203
235
  "type": "object",
@@ -209,6 +241,16 @@
209
241
  "annotations": {
210
242
  "readOnlyHint": true
211
243
  },
244
+ "authorization": {
245
+ "approval": "never",
246
+ "audience": "owner",
247
+ "effects": [
248
+ "read"
249
+ ],
250
+ "requiredScopes": [
251
+ "meeting:read"
252
+ ]
253
+ },
212
254
  "description": "Read the diarized transcript so far — the most recent turns, each with its speaker and (when known) the resolved participant.",
213
255
  "input": {
214
256
  "type": "object",
@@ -227,6 +269,27 @@
227
269
  "annotations": {
228
270
  "openWorldHint": true
229
271
  },
272
+ "authorization": {
273
+ "approval": "policy",
274
+ "audience": "owner",
275
+ "destinations": [
276
+ "configured-meeting-platform"
277
+ ],
278
+ "effects": [
279
+ "send",
280
+ "external-network"
281
+ ],
282
+ "idempotency": {
283
+ "mode": "host"
284
+ },
285
+ "requiredScopes": [
286
+ "meeting:chat:send"
287
+ ],
288
+ "resource": {
289
+ "type": "active-meeting"
290
+ },
291
+ "reversible": false
292
+ },
230
293
  "description": "Post a text message into the call chat as the bot. Fails cleanly when the platform adapter can't write chat (check first: not every source supports it).",
231
294
  "input": {
232
295
  "type": "object",
package/package.json CHANGED
@@ -1,54 +1,72 @@
1
1
  {
2
- "name": "@absolutejs/meeting",
3
- "version": "0.0.1-beta.7",
4
- "description": "Meeting-bot core for AbsoluteJS — join a call (via a source adapter), transcribe it live with the voice scribe, and surface diarized turns + participants for analysis",
5
- "repository": {
6
- "type": "git",
7
- "url": "https://github.com/absolutejs/meeting.git"
8
- },
9
- "homepage": "https://github.com/absolutejs/meeting",
10
- "bugs": {
11
- "url": "https://github.com/absolutejs/meeting/issues"
12
- },
13
- "files": [
14
- "dist",
15
- "README.md"
16
- ],
17
- "main": "./dist/index.js",
18
- "types": "./dist/index.d.ts",
19
- "exports": {
20
- ".": {
21
- "import": "./dist/index.js",
22
- "types": "./dist/index.d.ts"
23
- },
24
- "./manifest": {
25
- "import": "./dist/manifest.js",
26
- "types": "./dist/manifest.d.ts"
27
- },
28
- "./manifest.json": "./dist/manifest.json"
29
- },
30
- "license": "BSL-1.1",
31
- "author": "Alex Kahn",
32
- "absolutejs": {
33
- "manifestContract": 1
34
- },
35
- "scripts": {
36
- "build": "rm -rf dist && bun build ./src/index.ts ./src/manifest.ts --outdir dist --root src --target bun --external @absolutejs/voice && tsc --emitDeclarationOnly --project tsconfig.json && absolute-manifest emit",
37
- "format": "prettier --write \"./**/*.{js,ts,json,md}\"",
38
- "release": "bun run format && bun run build && bun publish",
39
- "test": "bun test",
40
- "typecheck": "bun run tsc --noEmit"
41
- },
42
- "dependencies": {
43
- "@absolutejs/manifest": "^0.1.0",
44
- "@sinclair/typebox": "^0.34.0"
45
- },
46
- "devDependencies": {
47
- "@absolutejs/voice": "0.0.22-beta.644",
48
- "@types/bun": "1.3.9",
49
- "typescript": "^5.9.3"
50
- },
51
- "peerDependencies": {
52
- "@absolutejs/voice": ">=0.0.22-beta.644 <0.1"
53
- }
2
+ "name": "@absolutejs/meeting",
3
+ "version": "0.0.1-beta.9",
4
+ "description": "Meeting-bot core for AbsoluteJS — join a call (via a source adapter), transcribe it live with the voice scribe, and surface diarized turns + participants for analysis",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/absolutejs/meeting.git"
8
+ },
9
+ "homepage": "https://github.com/absolutejs/meeting",
10
+ "bugs": {
11
+ "url": "https://github.com/absolutejs/meeting/issues"
12
+ },
13
+ "files": [
14
+ "dist",
15
+ "README.md"
16
+ ],
17
+ "main": "./dist/index.js",
18
+ "types": "./dist/index.d.ts",
19
+ "exports": {
20
+ ".": {
21
+ "import": "./dist/index.js",
22
+ "types": "./dist/index.d.ts"
23
+ },
24
+ "./manifest": {
25
+ "import": "./dist/manifest.js",
26
+ "types": "./dist/manifest.d.ts"
27
+ },
28
+ "./manifest.json": "./dist/manifest.json"
29
+ },
30
+ "license": "BSL-1.1",
31
+ "author": "Alex Kahn",
32
+ "absolutejs": {
33
+ "manifestContract": 2,
34
+ "runtimePeers": {
35
+ "@absolutejs/voice": {
36
+ "artifactImports": [
37
+ "@absolutejs/voice"
38
+ ],
39
+ "buildExternals": [
40
+ "@absolutejs/voice",
41
+ "@absolutejs/voice/*"
42
+ ],
43
+ "optional": false,
44
+ "range": ">=0.0.22-beta.647 <0.1",
45
+ "tested": "0.0.22-beta.647"
46
+ }
47
+ }
48
+ },
49
+ "scripts": {
50
+ "build": "rm -rf dist && bun build ./src/index.ts ./src/manifest.ts --outdir dist --root src --target bun --external @absolutejs/manifest --external '@absolutejs/manifest/*' --external @absolutejs/voice --external '@absolutejs/voice/*' --external @sinclair/typebox --external '@sinclair/typebox/*' && tsc --emitDeclarationOnly --project tsconfig.json && absolute-manifest emit",
51
+ "format": "prettier --write \"./**/*.{js,ts,json,md}\"",
52
+ "release": "bun run check:package && npm publish --access public --tag beta",
53
+ "test": "bun test",
54
+ "typecheck": "bun run tsc --noEmit",
55
+ "verify-package": "absolute-manifest verify-package",
56
+ "check:package": "bun run format && bun run typecheck && bun run test && bun run verify-package && bun run build && bun run verify-package --artifacts"
57
+ },
58
+ "dependencies": {
59
+ "@absolutejs/manifest": "0.7.2",
60
+ "@sinclair/typebox": "0.34.52"
61
+ },
62
+ "devDependencies": {
63
+ "@absolutejs/voice": "0.0.22-beta.647",
64
+ "@types/bun": "1.3.14",
65
+ "elysia": "1.4.29",
66
+ "prettier": "3.9.6",
67
+ "typescript": "^5.9.3"
68
+ },
69
+ "peerDependencies": {
70
+ "@absolutejs/voice": ">=0.0.22-beta.647 <0.1"
71
+ }
54
72
  }