@webex/plugin-meetings 3.13.0-next.12 → 3.13.0-next.14

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.
Files changed (100) hide show
  1. package/.repo-context.json +577 -0
  2. package/.sdd/manifest.json +1320 -428
  3. package/AGENTS.md +528 -72
  4. package/dist/aiEnableRequest/index.js +1 -1
  5. package/dist/breakouts/breakout.js +1 -1
  6. package/dist/breakouts/index.js +1 -1
  7. package/dist/config.js +1 -1
  8. package/dist/interpretation/index.js +1 -1
  9. package/dist/interpretation/siLanguage.js +1 -1
  10. package/dist/webinar/index.js +1 -1
  11. package/docs/adr/0001-migrate-existing-docs-into-sdd.md +141 -0
  12. package/docs/adr/index.md +26 -0
  13. package/docs/architecture.md +816 -0
  14. package/docs/getting-started.md +177 -0
  15. package/docs/index.md +53 -0
  16. package/docs/specs/README.md +126 -0
  17. package/package.json +21 -21
  18. package/schemas/repo-context.schema.json +796 -0
  19. package/src/aiEnableRequest/docs/README.md +376 -0
  20. package/src/annotation/docs/README.md +402 -0
  21. package/src/breakouts/docs/README.md +643 -0
  22. package/src/controls-options-manager/docs/README.md +365 -0
  23. package/src/hashTree/docs/README.md +566 -0
  24. package/src/interceptors/docs/README.md +434 -0
  25. package/src/interpretation/docs/README.md +420 -0
  26. package/src/locus-info/docs/README.md +609 -0
  27. package/src/media/docs/README.md +488 -0
  28. package/src/meeting/docs/README.md +834 -0
  29. package/src/meeting-info/docs/README.md +352 -0
  30. package/src/meetings/docs/README.md +549 -0
  31. package/src/member/docs/README.md +347 -0
  32. package/src/members/docs/README.md +514 -0
  33. package/src/metrics/docs/README.md +287 -0
  34. package/src/multistream/docs/README.md +523 -0
  35. package/src/personal-meeting-room/docs/README.md +322 -0
  36. package/src/reachability/docs/README.md +548 -0
  37. package/src/reactions/docs/README.md +296 -0
  38. package/src/reconnection-manager/docs/README.md +485 -0
  39. package/src/recording-controller/docs/README.md +335 -0
  40. package/src/roap/docs/README.md +444 -0
  41. package/src/webinar/docs/README.md +425 -0
  42. package/.sdd/templates/.source.json +0 -30
  43. package/.sdd/templates/component-repo/module-docs/module-spec-quality.md +0 -111
  44. package/.sdd/templates/component-repo/module-docs/module-spec.template.md +0 -321
  45. package/.sdd/templates/component-repo/reference-docs/adr/_adr-example.md +0 -59
  46. package/.sdd/templates/component-repo/reference-docs/patterns/_pattern-example.md +0 -49
  47. package/.sdd/templates/component-repo/reference-docs/rules/_rule-example.md +0 -42
  48. package/.sdd/templates/component-repo/standing-docs/AGENTS.template.md +0 -120
  49. package/.sdd/templates/component-repo/standing-docs/ARCHITECTURE.template.md +0 -206
  50. package/.sdd/templates/component-repo/standing-docs/CONTRACTS.template.md +0 -90
  51. package/.sdd/templates/component-repo/standing-docs/DATA_MODEL.template.md +0 -68
  52. package/.sdd/templates/component-repo/standing-docs/GETTING_STARTED.template.md +0 -111
  53. package/.sdd/templates/component-repo/standing-docs/GLOSSARY.template.md +0 -57
  54. package/.sdd/templates/component-repo/standing-docs/REVIEW_CHECKLIST.template.md +0 -69
  55. package/.sdd/templates/component-repo/standing-docs/RULES.template.md +0 -96
  56. package/.sdd/templates/component-repo/standing-docs/SECURITY.template.md +0 -84
  57. package/.sdd/templates/component-repo/standing-docs/SERVICE_STATE.template.md +0 -82
  58. package/.sdd/templates/component-repo/standing-docs/SPEC_INDEX.template.md +0 -94
  59. package/.sdd/templates/component-repo/standing-docs/TEST_INDEX.template.md +0 -64
  60. package/.sdd/templates/component-repo/template-map.json +0 -112
  61. package/ai-docs/ARCHITECTURE.md +0 -208
  62. package/ai-docs/CONTRACTS.md +0 -267
  63. package/ai-docs/DATA_MODEL.md +0 -64
  64. package/ai-docs/GETTING_STARTED.md +0 -73
  65. package/ai-docs/GLOSSARY.md +0 -56
  66. package/ai-docs/REVIEW_CHECKLIST.md +0 -45
  67. package/ai-docs/RULES.md +0 -79
  68. package/ai-docs/SECURITY.md +0 -74
  69. package/ai-docs/SERVICE_STATE.md +0 -59
  70. package/ai-docs/SPEC_INDEX.md +0 -85
  71. package/ai-docs/TEST_INDEX.md +0 -45
  72. package/ai-docs/adr/0001-migrate-existing-docs-into-sdd.md +0 -61
  73. package/ai-docs/patterns/defensive-error-propagation.md +0 -55
  74. package/ai-docs/patterns/event-scope-emission.md +0 -46
  75. package/ai-docs/patterns/source-to-test-path-mirroring.md +0 -45
  76. package/ai-docs/patterns/stateless-plugin-request-classes.md +0 -53
  77. package/ai-docs/patterns/typed-constants-and-enum-values.md +0 -47
  78. package/src/aiEnableRequest/ai-docs/ai-enable-request-spec.md +0 -223
  79. package/src/annotation/ai-docs/annotation-spec.md +0 -236
  80. package/src/breakouts/ai-docs/breakouts-spec.md +0 -324
  81. package/src/controls-options-manager/ai-docs/controls-options-manager-spec.md +0 -243
  82. package/src/hashTree/ai-docs/hash-tree-spec.md +0 -267
  83. package/src/interceptors/ai-docs/interceptors-spec.md +0 -247
  84. package/src/interpretation/ai-docs/interpretation-spec.md +0 -256
  85. package/src/locus-info/ai-docs/locus-info-spec.md +0 -293
  86. package/src/media/ai-docs/media-spec.md +0 -267
  87. package/src/meeting/ai-docs/meeting-spec.md +0 -404
  88. package/src/meeting-info/ai-docs/meeting-info-spec.md +0 -261
  89. package/src/meetings/ai-docs/meetings-spec.md +0 -298
  90. package/src/member/ai-docs/member-spec.md +0 -196
  91. package/src/members/ai-docs/members-spec.md +0 -256
  92. package/src/metrics/ai-docs/metrics-spec.md +0 -185
  93. package/src/multistream/ai-docs/multistream-spec.md +0 -295
  94. package/src/personal-meeting-room/ai-docs/personal-meeting-room-spec.md +0 -234
  95. package/src/reachability/ai-docs/reachability-spec.md +0 -261
  96. package/src/reactions/ai-docs/reactions-spec.md +0 -198
  97. package/src/reconnection-manager/ai-docs/reconnection-manager-spec.md +0 -272
  98. package/src/recording-controller/ai-docs/recording-controller-spec.md +0 -223
  99. package/src/roap/ai-docs/roap-spec.md +0 -241
  100. package/src/webinar/ai-docs/webinar-spec.md +0 -243
@@ -0,0 +1,577 @@
1
+ {
2
+ "$schema": "./schemas/repo-context.schema.json",
3
+ "version": 1,
4
+ "repository": {
5
+ "name": "@webex/plugin-meetings",
6
+ "purpose": "A Webex JavaScript SDK plugin that manages meeting discovery, lifecycle, realtime state, participants, media, and in-meeting capabilities."
7
+ },
8
+ "commands": {
9
+ "install": "yarn",
10
+ "compile": "yarn workspace @webex/plugin-meetings build:src",
11
+ "build": "yarn workspace @webex/plugin-meetings build",
12
+ "unit-test": "yarn workspace @webex/plugin-meetings test:unit",
13
+ "lint": "yarn workspace @webex/plugin-meetings test:style",
14
+ "browser-test": "yarn workspace @webex/plugin-meetings test:browser",
15
+ "deploy": "yarn workspace @webex/plugin-meetings deploy:npm",
16
+ "build-assets": "yarn workspace @webex/plugin-meetings build:assets"
17
+ },
18
+ "public_interfaces": [
19
+ {
20
+ "name": "@webex/plugin-meetings package entry",
21
+ "kind": "package_export",
22
+ "source": "src/index.ts",
23
+ "entrypoints": [
24
+ "import '@webex/plugin-meetings'",
25
+ "import {Meeting, CONSTANTS, REACTIONS, MeetingInfoV2, RemoteMedia, TriggerProxy, getAIEnablementApprover} from '@webex/plugin-meetings'",
26
+ "import {createMicrophoneStream, createCameraStream, createDisplayStream} from '@webex/plugin-meetings'"
27
+ ],
28
+ "audience": "applications and the webex SDK bundles",
29
+ "notes": "package.json main is dist/index.js and types dist/types/index.d.ts, both built from src/index.ts. Importing it registers the meetings plugin and three request interceptors and loads @webex/internal-plugin-identity. A symbol below src/ is public only when this entry exports it or a public object such as webex.meetings or Meeting exposes it. Contract IDs plugin-meetings-sdk and meetings-plugin in .sdd/manifest.json."
30
+ },
31
+ {
32
+ "name": "webex.meetings and Meeting objects",
33
+ "kind": "plugin_api",
34
+ "source": "src/meetings/index.ts",
35
+ "entrypoints": [
36
+ "webex.meetings.register()",
37
+ "webex.meetings.unregister()",
38
+ "webex.meetings.create(destination, type)",
39
+ "webex.meetings.getAllMeetings()",
40
+ "webex.meetings.fetchSitePreferencesMeViaSite(options)",
41
+ "meeting.join(options)",
42
+ "meeting.addMedia(options)",
43
+ "meeting.leave()"
44
+ ],
45
+ "audience": "applications",
46
+ "notes": "Meetings owns registration, discovery, and the meeting collection; Meeting (src/meeting/index.ts) owns one meeting's lifecycle, media, controls, and events. Feature controllers (breakouts, simultaneousInterpretation, annotation, aiEnableRequest, webinar, members) hang off Meeting. Contract IDs meetings-collection-api, meeting-api and the feature *-api IDs."
47
+ },
48
+ {
49
+ "name": "in-process events",
50
+ "kind": "event_names",
51
+ "source": "src/constants.ts",
52
+ "entrypoints": [
53
+ "webex.meetings.on(EVENT_TRIGGERS.MEETING_ADDED, handler)",
54
+ "meeting.on(EVENT_TRIGGERS.MEDIA_READY, handler)",
55
+ "meeting.members.on(EVENT_TRIGGERS.MEMBERS_UPDATE, handler)"
56
+ ],
57
+ "audience": "applications",
58
+ "notes": "EVENT_TRIGGERS plus the BREAKOUTS.EVENTS, INTERPRETATION.EVENTS, and AI_ENABLE_REQUEST.EVENTS families, the annotation constants in src/annotation/constants.ts, and the reachability inline literals. The full emitted-event inventory, the declared-but-not-emitted list, and payload catalogs are in docs/architecture.md Public and consumer surfaces. Contract ID meetings-events."
59
+ },
60
+ {
61
+ "name": "package scripts",
62
+ "kind": "npm_scripts",
63
+ "source": "package.json",
64
+ "entrypoints": [
65
+ "build",
66
+ "build:src",
67
+ "build:assets",
68
+ "test:unit",
69
+ "test:style",
70
+ "test:browser",
71
+ "deploy:npm"
72
+ ],
73
+ "audience": "contributors and CI",
74
+ "notes": "build:src compiles src to dist with webex-legacy-tools and then runs build, which emits dist/types with tsc and runs build:assets to copy assets to dist/assets. test:unit runs mocha through webex-legacy-tools with no coverage threshold. test:browser runs karma over test/integration/spec. test:broken chains style, unit, integration, and browser runs and is not a manifest command."
75
+ }
76
+ ],
77
+ "source_of_truth": [
78
+ {
79
+ "surface": "plugin implementation",
80
+ "paths": [
81
+ "src/index.ts",
82
+ "src/config.ts",
83
+ "src/constants.ts",
84
+ "src/meetings",
85
+ "src/meeting",
86
+ "src/common"
87
+ ],
88
+ "generated_artifacts": [
89
+ "dist"
90
+ ],
91
+ "refresh_with": [
92
+ "yarn workspace @webex/plugin-meetings build:src"
93
+ ],
94
+ "validate_with": [
95
+ "yarn workspace @webex/plugin-meetings test:unit",
96
+ "yarn workspace @webex/plugin-meetings test:style"
97
+ ]
98
+ },
99
+ {
100
+ "surface": "runtime static assets",
101
+ "paths": [
102
+ "assets"
103
+ ],
104
+ "generated_artifacts": [
105
+ "dist/assets"
106
+ ],
107
+ "refresh_with": [
108
+ "yarn workspace @webex/plugin-meetings build"
109
+ ],
110
+ "validate_with": [
111
+ "yarn workspace @webex/plugin-meetings test:unit"
112
+ ]
113
+ },
114
+ {
115
+ "surface": "architecture and contract index",
116
+ "paths": [
117
+ "docs/architecture.md"
118
+ ],
119
+ "generated_artifacts": [],
120
+ "refresh_with": [
121
+ "update alongside a change to package boundaries, exports, events, or dependencies in the same commit"
122
+ ],
123
+ "validate_with": [
124
+ "spec-validator on an independent runtime"
125
+ ]
126
+ },
127
+ {
128
+ "surface": "module specifications",
129
+ "paths": [
130
+ "docs/specs/README.md",
131
+ "src/meetings/docs/README.md",
132
+ "src/meeting/docs/README.md"
133
+ ],
134
+ "generated_artifacts": [],
135
+ "refresh_with": [
136
+ "update the docs/README.md beside the changed module in the same commit as the behavior change"
137
+ ],
138
+ "validate_with": [
139
+ "spec-validator on an independent runtime"
140
+ ]
141
+ }
142
+ ],
143
+ "generated_artifacts": [
144
+ {
145
+ "path": "dist",
146
+ "generated_from": "src",
147
+ "refresh_with": "yarn workspace @webex/plugin-meetings build:src"
148
+ },
149
+ {
150
+ "path": "dist/assets",
151
+ "generated_from": "assets",
152
+ "refresh_with": "yarn workspace @webex/plugin-meetings build"
153
+ }
154
+ ],
155
+ "validation_matrix": [
156
+ {
157
+ "paths": [
158
+ "src/**"
159
+ ],
160
+ "minimum": [
161
+ "yarn workspace @webex/plugin-meetings build:src",
162
+ "yarn workspace @webex/plugin-meetings test:unit",
163
+ "yarn workspace @webex/plugin-meetings test:style"
164
+ ],
165
+ "recommended": [
166
+ "add or update the test/unit/spec case beside the changed module; some specs import the package by name and load dist, so build first"
167
+ ]
168
+ },
169
+ {
170
+ "paths": [
171
+ "src/index.ts",
172
+ "src/constants.ts",
173
+ "package.json"
174
+ ],
175
+ "minimum": [
176
+ "yarn workspace @webex/plugin-meetings build:src",
177
+ "yarn workspace @webex/plugin-meetings test:unit"
178
+ ],
179
+ "recommended": [
180
+ "check the export list, the event inventory, and the contract index in docs/architecture.md"
181
+ ]
182
+ },
183
+ {
184
+ "paths": [
185
+ "assets/**",
186
+ "src/e2ee/**",
187
+ "src/common/wasm-loader.ts"
188
+ ],
189
+ "minimum": [
190
+ "yarn workspace @webex/plugin-meetings build",
191
+ "yarn workspace @webex/plugin-meetings test:unit"
192
+ ],
193
+ "recommended": [
194
+ "keep the E2EE asset filename version in step with E2EE_WASM_ASSET in src/e2ee/E2eeManager.ts"
195
+ ]
196
+ }
197
+ ],
198
+ "change_impact": [
199
+ {
200
+ "paths": [
201
+ "src/index.ts"
202
+ ],
203
+ "affects": [
204
+ "the published package API",
205
+ "plugin registration and request interceptors"
206
+ ],
207
+ "refresh_with": [
208
+ "yarn workspace @webex/plugin-meetings build:src"
209
+ ],
210
+ "validate_with": [
211
+ "yarn workspace @webex/plugin-meetings test:unit",
212
+ "yarn workspace @webex/plugin-meetings test:style"
213
+ ],
214
+ "avoid_direct_edits": [
215
+ "dist"
216
+ ],
217
+ "notes": "Exports are semver-sensitive; prefer additive changes and update docs/architecture.md Public and consumer surfaces."
218
+ },
219
+ {
220
+ "paths": [
221
+ "src/constants.ts"
222
+ ],
223
+ "affects": [
224
+ "event names and wire values seen by applications"
225
+ ],
226
+ "refresh_with": [
227
+ "yarn workspace @webex/plugin-meetings build:src"
228
+ ],
229
+ "validate_with": [
230
+ "yarn workspace @webex/plugin-meetings test:unit"
231
+ ],
232
+ "avoid_direct_edits": [
233
+ "dist"
234
+ ],
235
+ "notes": "Never silently change an event literal or wire value; add the event to the emitted-event inventory or the declared-but-not-emitted list."
236
+ },
237
+ {
238
+ "paths": [
239
+ "src/interceptors/**"
240
+ ],
241
+ "affects": [
242
+ "every Locus request made through webex.request",
243
+ "route-token and data-channel token headers"
244
+ ],
245
+ "refresh_with": [
246
+ "yarn workspace @webex/plugin-meetings build:src"
247
+ ],
248
+ "validate_with": [
249
+ "yarn workspace @webex/plugin-meetings test:unit"
250
+ ],
251
+ "avoid_direct_edits": [
252
+ "dist"
253
+ ],
254
+ "notes": "Retries stay bounded: a Locus 429 or 503 is retried once and the data-channel token refresh retries once."
255
+ }
256
+ ],
257
+ "glossary": [
258
+ {
259
+ "term": "Meeting",
260
+ "definition": "Client object coordinating one Webex meeting lifecycle and media session (src/meeting/index.ts)."
261
+ },
262
+ {
263
+ "term": "Meetings",
264
+ "definition": "Registered plugin and collection-level coordinator, reached as webex.meetings (src/meetings/index.ts)."
265
+ },
266
+ {
267
+ "term": "Locus",
268
+ "definition": "Webex meeting-state service and payload projected into the client by LocusInfo (src/locus-info/index.ts)."
269
+ },
270
+ {
271
+ "term": "Member",
272
+ "definition": "Normalized participant projection (src/member/index.ts)."
273
+ },
274
+ {
275
+ "term": "ROAP",
276
+ "definition": "RTCWeb Offer/Answer Protocol, the offer/answer signaling used during media negotiation (src/roap/index.ts)."
277
+ },
278
+ {
279
+ "term": "multistream",
280
+ "definition": "Receive/send slot and remote-media management over a media connection (src/multistream)."
281
+ },
282
+ {
283
+ "term": "breakout",
284
+ "definition": "Main/session-group state and controls for breakout sessions (src/breakouts)."
285
+ },
286
+ {
287
+ "term": "simultaneous interpretation",
288
+ "definition": "Language-channel and interpreter handoff feature (src/interpretation)."
289
+ },
290
+ {
291
+ "term": "practice session",
292
+ "definition": "Webinar state/data-channel flow before public webcast (src/webinar/index.ts)."
293
+ },
294
+ {
295
+ "term": "PMR",
296
+ "definition": "Personal Meeting Room resolved or claimed for a user (src/personal-meeting-room)."
297
+ },
298
+ {
299
+ "term": "hash tree",
300
+ "definition": "Incremental Locus synchronization by dataset hash comparison, reconciled into the same projection as full state and deltas (src/hashTree/hashTreeParser.ts).",
301
+ "notes": "full state, delta, and hash tree are alternate Locus synchronization forms for one projection."
302
+ },
303
+ {
304
+ "term": "register",
305
+ "definition": "SDK device and Mercury registration through webex.meetings.register(), not npm package registration."
306
+ },
307
+ {
308
+ "term": "join",
309
+ "definition": "Joining meeting state; adding media is a distinct staged operation that may follow join.",
310
+ "notes": "leave exits the local participant; end for all is a privileged remote mutation."
311
+ },
312
+ {
313
+ "term": "collection",
314
+ "definition": "An in-memory Ampersand or package collection (src/common/collection.ts), not persistence."
315
+ },
316
+ {
317
+ "term": "CSI",
318
+ "definition": "Contributing Source Identifier used to associate media and participants."
319
+ },
320
+ {
321
+ "term": "BRB",
322
+ "definition": "Be right back meeting state."
323
+ },
324
+ {
325
+ "term": "E2EE preload",
326
+ "definition": "Best-effort load of the E2EE WASM module after registration when enableE2ee is set and WASM is supported (src/e2ee/E2eeManager.ts)."
327
+ }
328
+ ],
329
+ "evidence_rules": [
330
+ {
331
+ "claim_category": "command_name",
332
+ "sources": [
333
+ "package.json",
334
+ ".sdd/manifest.json"
335
+ ],
336
+ "requirement": "The script must exist in package.json scripts and the command must equal the manifest commands entry.",
337
+ "notes": "install and package scripts run from the workspace root."
338
+ },
339
+ {
340
+ "claim_category": "import_path",
341
+ "sources": [
342
+ "src/index.ts",
343
+ "package.json"
344
+ ],
345
+ "requirement": "A symbol is public only when src/index.ts exports it or a public object exposes it.",
346
+ "notes": "Files under src/ that src/index.ts does not export are internal."
347
+ },
348
+ {
349
+ "claim_category": "behavior_claim",
350
+ "sources": [
351
+ "src",
352
+ "test/unit/spec"
353
+ ],
354
+ "requirement": "Ground every behavioral claim in source or test evidence.",
355
+ "notes": "Commit history is not a rationale source for this package. README.md and UPGRADING.md are consumer context only; validate their examples against current source."
356
+ }
357
+ ],
358
+ "negative_guidance": [
359
+ {
360
+ "rule": "Do not present a declared EVENT_TRIGGERS constant as a live event without an emit site.",
361
+ "why": "media:quality, media:update, and meeting:aiEnableRequest are declared but never emitted."
362
+ },
363
+ {
364
+ "rule": "Do not restore participant email as a roster convenience field.",
365
+ "why": "It was removed in version 0.109.0 to reduce PII; consumers resolve identity through the People API (README.md)."
366
+ },
367
+ {
368
+ "rule": "Do not log tokens, authorization headers, participant PII, raw transcript or media, or full sensitive URLs.",
369
+ "why": "Logs and metrics leave the client (docs/architecture.md Security architecture)."
370
+ },
371
+ {
372
+ "rule": "Do not add retries, polling, or retry budgets beyond the existing bounded ones.",
373
+ "why": "Locus hash-tree and sync calls are deliberately never retried during a sync storm (src/interceptors/locusRetry.ts)."
374
+ },
375
+ {
376
+ "rule": "Do not assume all caches are process-local.",
377
+ "why": "Reachability results and the join cookie persist in the host's bounded storage (src/reachability/index.ts)."
378
+ }
379
+ ],
380
+ "confidence_policy": {
381
+ "high": {
382
+ "action": "update",
383
+ "expectation": "Source and a unit case agree on the behavior being changed."
384
+ },
385
+ "medium": {
386
+ "action": "narrow-scope",
387
+ "expectation": "Only source evidence exists, as for the unspecified src/common, src/e2ee, and src/transcription folders. Pin current behavior with a unit case before modifying."
388
+ },
389
+ "low": {
390
+ "action": "noop",
391
+ "expectation": "Neither source, tests, nor a dependency's code settles the question. Stop and report the gap."
392
+ }
393
+ },
394
+ "repository_topology": {
395
+ "main_entrypoints": [
396
+ {
397
+ "name": "package entry",
398
+ "path": "src/index.ts",
399
+ "purpose": "Registers the meetings plugin and interceptors and declares the public exports",
400
+ "notes": "package.json main is dist/index.js; types is dist/types/index.d.ts."
401
+ },
402
+ {
403
+ "name": "default configuration",
404
+ "path": "src/config.ts",
405
+ "purpose": "Defaults for webex.config.meetings, including assetsBaseUrl and enableE2ee",
406
+ "notes": "Merged by webex-core at registration."
407
+ }
408
+ ],
409
+ "workspace_packages": [
410
+ {
411
+ "name": "@webex/plugin-meetings",
412
+ "paths": [
413
+ "src",
414
+ "test",
415
+ "assets"
416
+ ],
417
+ "notes": "This SDD root is the package directory inside the webex-js-sdk monorepo; workspace dependencies use workspace:* in package.json."
418
+ }
419
+ ],
420
+ "source_surfaces": [
421
+ {
422
+ "name": "plugin modules",
423
+ "paths": [
424
+ "src"
425
+ ],
426
+ "notes": "Twenty-three specified modules, each with docs/README.md beside its code; src/common, src/e2ee, and src/transcription have no module specification."
427
+ },
428
+ {
429
+ "name": "tests",
430
+ "paths": [
431
+ "test/unit/spec",
432
+ "test/integration/spec"
433
+ ],
434
+ "notes": "Mocha unit specs mirror src; integration specs run under karma through test:browser."
435
+ }
436
+ ],
437
+ "generated_surfaces": [
438
+ {
439
+ "name": "build output",
440
+ "paths": [
441
+ "dist"
442
+ ],
443
+ "generated_from": "src",
444
+ "refresh_with": "yarn workspace @webex/plugin-meetings build:src",
445
+ "notes": "JavaScript, source maps, dist/types declarations, and dist/assets. Do not edit by hand."
446
+ },
447
+ {
448
+ "name": "repo-standards templates",
449
+ "paths": [
450
+ "../../../.sdd/templates/repo-standards"
451
+ ],
452
+ "generated_from": "WebexTools/repo-standards@d89a7fe59126ae3ad9bac9ca352aa7f12b4c85dc",
453
+ "refresh_with": "The package holds no templates. It refers to the monorepo root snapshot at ../../../.sdd/templates/repo-standards through layout.monorepo_package.templates_root_path in .sdd/manifest.json. Refresh the root snapshot, not this package.",
454
+ "notes": "Shared by every SDD package in the workspace."
455
+ }
456
+ ],
457
+ "sync_paths": [
458
+ {
459
+ "source": "src",
460
+ "targets": [
461
+ "docs/architecture.md",
462
+ "docs/specs/README.md"
463
+ ],
464
+ "mechanism": "Manual; update the architecture contract index and the module specification in the same change that alters exports, events, or observable behavior.",
465
+ "notes": "Keep the emitted-event inventory aligned with src/constants.ts and the emit sites."
466
+ },
467
+ {
468
+ "source": "WebexTools/repo-standards@d89a7fe59126ae3ad9bac9ca352aa7f12b4c85dc",
469
+ "targets": [
470
+ "../../../.sdd/templates/repo-standards"
471
+ ],
472
+ "mechanism": "The package holds no templates. It refers to the monorepo root snapshot at ../../../.sdd/templates/repo-standards through layout.monorepo_package.templates_root_path in .sdd/manifest.json. Refresh the root snapshot, not this package.",
473
+ "notes": "Owned by the workspace root SDD orchestrator."
474
+ }
475
+ ],
476
+ "validation_entrypoints": [
477
+ {
478
+ "name": "compile",
479
+ "command": "yarn workspace @webex/plugin-meetings build:src",
480
+ "scope": "src",
481
+ "notes": "webex-legacy-tools build to dist, then yarn workspace @webex/plugin-meetings build for declarations and assets."
482
+ },
483
+ {
484
+ "name": "unit-test",
485
+ "command": "yarn workspace @webex/plugin-meetings test:unit",
486
+ "scope": "test/unit/spec",
487
+ "notes": "Mocha through webex-legacy-tools; no coverage threshold."
488
+ },
489
+ {
490
+ "name": "lint",
491
+ "command": "yarn workspace @webex/plugin-meetings test:style",
492
+ "scope": "src",
493
+ "notes": "eslint over src; Markdown is ignored by the shared legacy config."
494
+ }
495
+ ]
496
+ },
497
+ "folder_readme_contract": {
498
+ "required_sections": [
499
+ "purpose",
500
+ "boundaries",
501
+ "key-files",
502
+ "common-tasks"
503
+ ],
504
+ "rules": [
505
+ "Orient the reader before describing detail.",
506
+ "Link to the module specification rather than duplicating it."
507
+ ],
508
+ "example_policy": "Examples are allowed only when verified against src or test.",
509
+ "fallback": "Omit a section rather than inventing content; report unresolved facts as gaps."
510
+ },
511
+ "regression_feedback_rules": [
512
+ {
513
+ "trigger": "An event constant is added, renamed, or removed in src/constants.ts or an emit site changes.",
514
+ "required_followups": [
515
+ "Update the emitted-event inventory or the declared-but-not-emitted list in docs/architecture.md",
516
+ "Add or update the unit case that asserts the trigger"
517
+ ],
518
+ "notes": "Event names and payloads are consumer contracts."
519
+ },
520
+ {
521
+ "trigger": "An export is added to or removed from src/index.ts.",
522
+ "required_followups": [
523
+ "Update the Package exports table and the contract index in docs/architecture.md",
524
+ "Record the change for the workspace release notes"
525
+ ],
526
+ "notes": "Removals need deprecation first."
527
+ }
528
+ ],
529
+ "surface_owners": [
530
+ {
531
+ "surface": "package implementation and specifications",
532
+ "owner": "@webex/web-client, @webex/web-sdk",
533
+ "edit_boundary": "The workspace .github/CODEOWNERS line for packages/@webex/plugin-meetings assigns both teams."
534
+ }
535
+ ],
536
+ "do_not_edit": [
537
+ "dist",
538
+ "../../../.sdd/templates/repo-standards"
539
+ ],
540
+ "marker_scopes": {
541
+ "sdd": [
542
+ ".sdd/manifest.json",
543
+ "docs",
544
+ "AGENTS.md"
545
+ ]
546
+ },
547
+ "fallback_rules": [
548
+ "When source and tests disagree, code is the referee and the disagreement is recorded rather than silently resolved.",
549
+ "When neither source nor tests settle a question, report it as a gap instead of inferring.",
550
+ "Commit history is not a valid rationale source for this package.",
551
+ "When a dependency's specification disagrees with that dependency's code, use the code and record the disagreement."
552
+ ],
553
+ "downstream_context_pack": {
554
+ "required_human_surfaces": [
555
+ "README.md",
556
+ "docs/index.md",
557
+ "docs/architecture.md",
558
+ "docs/getting-started.md"
559
+ ],
560
+ "required_agent_operational_surfaces": [
561
+ "AGENTS.md",
562
+ "docs/specs/README.md"
563
+ ],
564
+ "required_machine_readable_surface": ".sdd/manifest.json",
565
+ "recommended_machine_readable_sections": [
566
+ "public_interfaces",
567
+ "change_impact",
568
+ "glossary",
569
+ "evidence_rules",
570
+ "negative_guidance",
571
+ "confidence_policy",
572
+ "repository_topology",
573
+ "folder_readme_contract",
574
+ "regression_feedback_rules"
575
+ ]
576
+ }
577
+ }