@webex/plugin-meetings 3.12.0-next.17 → 3.12.0-next.171
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/.sdd/manifest.json +1312 -0
- package/.sdd/templates/.source.json +30 -0
- package/.sdd/templates/component-repo/module-docs/module-spec-quality.md +111 -0
- package/.sdd/templates/component-repo/module-docs/module-spec.template.md +321 -0
- package/.sdd/templates/component-repo/reference-docs/adr/_adr-example.md +59 -0
- package/.sdd/templates/component-repo/reference-docs/patterns/_pattern-example.md +49 -0
- package/.sdd/templates/component-repo/reference-docs/rules/_rule-example.md +42 -0
- package/.sdd/templates/component-repo/standing-docs/AGENTS.template.md +120 -0
- package/.sdd/templates/component-repo/standing-docs/ARCHITECTURE.template.md +206 -0
- package/.sdd/templates/component-repo/standing-docs/CONTRACTS.template.md +90 -0
- package/.sdd/templates/component-repo/standing-docs/DATA_MODEL.template.md +68 -0
- package/.sdd/templates/component-repo/standing-docs/GETTING_STARTED.template.md +111 -0
- package/.sdd/templates/component-repo/standing-docs/GLOSSARY.template.md +57 -0
- package/.sdd/templates/component-repo/standing-docs/REVIEW_CHECKLIST.template.md +69 -0
- package/.sdd/templates/component-repo/standing-docs/RULES.template.md +96 -0
- package/.sdd/templates/component-repo/standing-docs/SECURITY.template.md +84 -0
- package/.sdd/templates/component-repo/standing-docs/SERVICE_STATE.template.md +82 -0
- package/.sdd/templates/component-repo/standing-docs/SPEC_INDEX.template.md +94 -0
- package/.sdd/templates/component-repo/standing-docs/TEST_INDEX.template.md +64 -0
- package/.sdd/templates/component-repo/template-map.json +112 -0
- package/AGENTS.md +135 -0
- package/ai-docs/ARCHITECTURE.md +207 -0
- package/ai-docs/CONTRACTS.md +267 -0
- package/ai-docs/DATA_MODEL.md +64 -0
- package/ai-docs/GETTING_STARTED.md +73 -0
- package/ai-docs/GLOSSARY.md +56 -0
- package/ai-docs/REVIEW_CHECKLIST.md +45 -0
- package/ai-docs/RULES.md +79 -0
- package/ai-docs/SECURITY.md +74 -0
- package/ai-docs/SERVICE_STATE.md +59 -0
- package/ai-docs/SPEC_INDEX.md +85 -0
- package/ai-docs/TEST_INDEX.md +45 -0
- package/ai-docs/adr/0001-migrate-existing-docs-into-sdd.md +61 -0
- package/ai-docs/patterns/defensive-error-propagation.md +55 -0
- package/ai-docs/patterns/event-scope-emission.md +46 -0
- package/ai-docs/patterns/source-to-test-path-mirroring.md +45 -0
- package/ai-docs/patterns/stateless-plugin-request-classes.md +53 -0
- package/ai-docs/patterns/typed-constants-and-enum-values.md +47 -0
- package/dist/aiEnableRequest/index.js +15 -2
- package/dist/aiEnableRequest/index.js.map +1 -1
- package/dist/annotation/index.js +2 -2
- package/dist/annotation/index.js.map +1 -1
- package/dist/breakouts/breakout.js +8 -3
- package/dist/breakouts/breakout.js.map +1 -1
- package/dist/breakouts/events.js +29 -14
- package/dist/breakouts/events.js.map +1 -1
- package/dist/breakouts/index.js +99 -4
- package/dist/breakouts/index.js.map +1 -1
- package/dist/common/errors/webex-errors.js +49 -5
- package/dist/common/errors/webex-errors.js.map +1 -1
- package/dist/config.js +2 -2
- package/dist/config.js.map +1 -1
- package/dist/constants.js +37 -10
- package/dist/constants.js.map +1 -1
- package/dist/controls-options-manager/index.js +46 -10
- package/dist/controls-options-manager/index.js.map +1 -1
- package/dist/hashTree/constants.js +4 -1
- package/dist/hashTree/constants.js.map +1 -1
- package/dist/hashTree/hashTreeParser.js +1096 -391
- package/dist/hashTree/hashTreeParser.js.map +1 -1
- package/dist/hashTree/utils.js +20 -0
- package/dist/hashTree/utils.js.map +1 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/interceptors/dataChannelAuthToken.js +75 -15
- package/dist/interceptors/dataChannelAuthToken.js.map +1 -1
- package/dist/interceptors/locusRetry.js +24 -9
- package/dist/interceptors/locusRetry.js.map +1 -1
- package/dist/interpretation/index.js +55 -12
- package/dist/interpretation/index.js.map +1 -1
- package/dist/interpretation/interpretation.types.js +7 -0
- package/dist/interpretation/interpretation.types.js.map +1 -0
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/locus-info/controlsUtils.js +4 -1
- package/dist/locus-info/controlsUtils.js.map +1 -1
- package/dist/locus-info/index.js +615 -176
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/infoUtils.js +36 -5
- package/dist/locus-info/infoUtils.js.map +1 -1
- package/dist/locus-info/types.js +20 -0
- package/dist/locus-info/types.js.map +1 -1
- package/dist/media/MediaConnectionAwaiter.js +15 -2
- package/dist/media/MediaConnectionAwaiter.js.map +1 -1
- package/dist/media/index.js +8 -2
- package/dist/media/index.js.map +1 -1
- package/dist/media/properties.js +4 -5
- package/dist/media/properties.js.map +1 -1
- package/dist/meeting/in-meeting-actions.js +5 -1
- package/dist/meeting/in-meeting-actions.js.map +1 -1
- package/dist/meeting/index.js +1684 -835
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/locusMediaRequest.js +229 -82
- package/dist/meeting/locusMediaRequest.js.map +1 -1
- package/dist/meeting/muteState.js +10 -1
- package/dist/meeting/muteState.js.map +1 -1
- package/dist/meeting/request.js +5 -2
- package/dist/meeting/request.js.map +1 -1
- package/dist/meeting/util.js +37 -3
- package/dist/meeting/util.js.map +1 -1
- package/dist/meeting/voicea-meeting.js +2 -1
- package/dist/meeting/voicea-meeting.js.map +1 -1
- package/dist/meeting-info/meeting-info-v2.js +12 -5
- package/dist/meeting-info/meeting-info-v2.js.map +1 -1
- package/dist/meetings/index.js +300 -128
- package/dist/meetings/index.js.map +1 -1
- package/dist/meetings/meetings.types.js +6 -1
- package/dist/meetings/meetings.types.js.map +1 -1
- package/dist/meetings/request.js +39 -0
- package/dist/meetings/request.js.map +1 -1
- package/dist/meetings/util.js +116 -18
- package/dist/meetings/util.js.map +1 -1
- package/dist/member/index.js +10 -0
- package/dist/member/index.js.map +1 -1
- package/dist/member/types.js.map +1 -1
- package/dist/member/util.js +30 -0
- package/dist/member/util.js.map +1 -1
- package/dist/members/index.js +101 -43
- package/dist/members/index.js.map +1 -1
- package/dist/members/util.js +8 -1
- package/dist/members/util.js.map +1 -1
- package/dist/metrics/constants.js +7 -1
- package/dist/metrics/constants.js.map +1 -1
- package/dist/multistream/codec/constants.js +63 -0
- package/dist/multistream/codec/constants.js.map +1 -0
- package/dist/multistream/mediaRequestManager.js +62 -15
- package/dist/multistream/mediaRequestManager.js.map +1 -1
- package/dist/multistream/receiveSlot.js +9 -0
- package/dist/multistream/receiveSlot.js.map +1 -1
- package/dist/multistream/remoteMediaManager.js +32 -4
- package/dist/multistream/remoteMediaManager.js.map +1 -1
- package/dist/reachability/clusterReachability.js.map +1 -1
- package/dist/reachability/index.js +121 -83
- package/dist/reachability/index.js.map +1 -1
- package/dist/reachability/reachability.types.js +2 -0
- package/dist/reachability/reachability.types.js.map +1 -1
- package/dist/reachability/util.js +45 -0
- package/dist/reachability/util.js.map +1 -1
- package/dist/reactions/reactions.type.js.map +1 -1
- package/dist/recording-controller/index.js +1 -3
- package/dist/recording-controller/index.js.map +1 -1
- package/dist/roap/turnDiscovery.js +8 -1
- package/dist/roap/turnDiscovery.js.map +1 -1
- package/dist/types/common/errors/webex-errors.d.ts +32 -2
- package/dist/types/config.d.ts +2 -2
- package/dist/types/constants.d.ts +13 -1
- package/dist/types/controls-options-manager/index.d.ts +16 -0
- package/dist/types/hashTree/constants.d.ts +1 -0
- package/dist/types/hashTree/hashTreeParser.d.ts +201 -22
- package/dist/types/hashTree/utils.d.ts +7 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/interceptors/locusRetry.d.ts +4 -4
- package/dist/types/interpretation/interpretation.types.d.ts +10 -0
- package/dist/types/locus-info/index.d.ts +106 -8
- package/dist/types/locus-info/infoUtils.d.ts +8 -0
- package/dist/types/locus-info/types.d.ts +22 -1
- package/dist/types/media/MediaConnectionAwaiter.d.ts +10 -1
- package/dist/types/media/properties.d.ts +6 -2
- package/dist/types/meeting/in-meeting-actions.d.ts +4 -0
- package/dist/types/meeting/index.d.ts +178 -11
- package/dist/types/meeting/locusMediaRequest.d.ts +12 -0
- package/dist/types/meeting/request.d.ts +1 -0
- package/dist/types/meeting/util.d.ts +9 -0
- package/dist/types/meeting-info/meeting-info-v2.d.ts +1 -0
- package/dist/types/meetings/index.d.ts +40 -19
- package/dist/types/meetings/meetings.types.d.ts +15 -0
- package/dist/types/meetings/request.d.ts +14 -0
- package/dist/types/member/index.d.ts +1 -0
- package/dist/types/member/types.d.ts +1 -0
- package/dist/types/member/util.d.ts +9 -0
- package/dist/types/members/index.d.ts +15 -2
- package/dist/types/members/util.d.ts +1 -5
- package/dist/types/metrics/constants.d.ts +6 -0
- package/dist/types/multistream/codec/constants.d.ts +7 -0
- package/dist/types/multistream/mediaRequestManager.d.ts +22 -5
- package/dist/types/multistream/remoteMediaManager.d.ts +18 -0
- package/dist/types/reachability/clusterReachability.d.ts +3 -3
- package/dist/types/reachability/index.d.ts +10 -3
- package/dist/types/reachability/reachability.types.d.ts +7 -0
- package/dist/types/reachability/util.d.ts +17 -0
- package/dist/types/reactions/reactions.type.d.ts +3 -0
- package/dist/webinar/index.js +307 -161
- package/dist/webinar/index.js.map +1 -1
- package/package.json +23 -23
- package/src/aiEnableRequest/ai-docs/ai-enable-request-spec.md +223 -0
- package/src/aiEnableRequest/index.ts +16 -0
- package/src/annotation/ai-docs/annotation-spec.md +236 -0
- package/src/annotation/index.ts +6 -4
- package/src/breakouts/ai-docs/breakouts-spec.md +324 -0
- package/src/breakouts/breakout.ts +3 -1
- package/src/breakouts/events.ts +33 -11
- package/src/breakouts/index.ts +122 -2
- package/src/common/errors/webex-errors.ts +50 -3
- package/src/config.ts +2 -2
- package/src/constants.ts +21 -3
- package/src/controls-options-manager/ai-docs/controls-options-manager-spec.md +243 -0
- package/src/controls-options-manager/index.ts +62 -10
- package/src/hashTree/ai-docs/hash-tree-spec.md +267 -0
- package/src/hashTree/constants.ts +7 -0
- package/src/hashTree/hashTreeParser.ts +861 -193
- package/src/hashTree/utils.ts +19 -0
- package/src/index.ts +6 -0
- package/src/interceptors/ai-docs/interceptors-spec.md +247 -0
- package/src/interceptors/dataChannelAuthToken.ts +88 -12
- package/src/interceptors/locusRetry.ts +26 -5
- package/src/interpretation/ai-docs/interpretation-spec.md +256 -0
- package/src/interpretation/index.ts +65 -10
- package/src/interpretation/interpretation.types.ts +11 -0
- package/src/locus-info/ai-docs/locus-info-spec.md +293 -0
- package/src/locus-info/controlsUtils.ts +3 -1
- package/src/locus-info/index.ts +566 -164
- package/src/locus-info/infoUtils.ts +41 -6
- package/src/locus-info/types.ts +26 -1
- package/src/media/MediaConnectionAwaiter.ts +21 -4
- package/src/media/ai-docs/media-spec.md +267 -0
- package/src/media/index.ts +10 -1
- package/src/media/properties.ts +8 -3
- package/src/meeting/ai-docs/meeting-spec.md +401 -0
- package/src/meeting/in-meeting-actions.ts +8 -0
- package/src/meeting/index.ts +944 -120
- package/src/meeting/locusMediaRequest.ts +106 -6
- package/src/meeting/muteState.ts +10 -1
- package/src/meeting/request.ts +11 -0
- package/src/meeting/util.ts +51 -7
- package/src/meeting/voicea-meeting.ts +1 -1
- package/src/meeting-info/ai-docs/meeting-info-spec.md +261 -0
- package/src/meeting-info/meeting-info-v2.ts +11 -4
- package/src/meetings/ai-docs/meetings-spec.md +296 -0
- package/src/meetings/index.ts +200 -80
- package/src/meetings/meetings.types.ts +19 -0
- package/src/meetings/request.ts +43 -0
- package/src/meetings/util.ts +117 -4
- package/src/member/ai-docs/member-spec.md +196 -0
- package/src/member/index.ts +10 -0
- package/src/member/types.ts +1 -0
- package/src/member/util.ts +29 -0
- package/src/members/ai-docs/members-spec.md +256 -0
- package/src/members/index.ts +70 -7
- package/src/members/util.ts +12 -4
- package/src/metrics/ai-docs/metrics-spec.md +185 -0
- package/src/metrics/constants.ts +6 -0
- package/src/multistream/ai-docs/multistream-spec.md +292 -0
- package/src/multistream/codec/constants.ts +58 -0
- package/src/multistream/mediaRequestManager.ts +119 -28
- package/src/multistream/receiveSlot.ts +18 -0
- package/src/multistream/remoteMediaManager.ts +23 -1
- package/src/personal-meeting-room/ai-docs/personal-meeting-room-spec.md +234 -0
- package/src/reachability/ai-docs/reachability-spec.md +261 -0
- package/src/reachability/clusterReachability.ts +3 -2
- package/src/reachability/index.ts +47 -16
- package/src/reachability/reachability.types.ts +11 -0
- package/src/reachability/util.ts +36 -0
- package/src/reactions/ai-docs/reactions-spec.md +198 -0
- package/src/reactions/reactions.type.ts +3 -0
- package/src/reconnection-manager/ai-docs/reconnection-manager-spec.md +272 -0
- package/src/recording-controller/ai-docs/recording-controller-spec.md +223 -0
- package/src/recording-controller/index.ts +1 -2
- package/src/roap/ai-docs/roap-spec.md +241 -0
- package/src/roap/turnDiscovery.ts +9 -1
- package/src/webinar/ai-docs/webinar-spec.md +243 -0
- package/src/webinar/index.ts +216 -38
- package/test/unit/spec/aiEnableRequest/index.ts +86 -0
- package/test/unit/spec/annotation/index.ts +3 -3
- package/test/unit/spec/breakouts/breakout.ts +9 -3
- package/test/unit/spec/breakouts/events.ts +120 -2
- package/test/unit/spec/breakouts/index.ts +223 -3
- package/test/unit/spec/common/errors/webex-errors.ts +78 -0
- package/test/unit/spec/controls-options-manager/index.js +139 -32
- package/test/unit/spec/hashTree/hashTreeParser.ts +2451 -184
- package/test/unit/spec/hashTree/utils.ts +37 -0
- package/test/unit/spec/interceptors/dataChannelAuthToken.ts +196 -0
- package/test/unit/spec/interceptors/locusRetry.ts +234 -5
- package/test/unit/spec/interpretation/index.ts +119 -4
- package/test/unit/spec/locus-info/controlsUtils.js +172 -57
- package/test/unit/spec/locus-info/index.js +1014 -58
- package/test/unit/spec/locus-info/infoUtils.js +184 -1
- package/test/unit/spec/media/MediaConnectionAwaiter.ts +55 -0
- package/test/unit/spec/media/index.ts +92 -0
- package/test/unit/spec/media/properties.ts +23 -23
- package/test/unit/spec/meeting/in-meeting-actions.ts +4 -0
- package/test/unit/spec/meeting/index.js +2834 -110
- package/test/unit/spec/meeting/locusMediaRequest.ts +406 -4
- package/test/unit/spec/meeting/muteState.js +81 -0
- package/test/unit/spec/meeting/request.js +12 -0
- package/test/unit/spec/meeting/utils.js +189 -17
- package/test/unit/spec/meeting/voicea-meeting.ts +85 -1
- package/test/unit/spec/meeting-info/meetinginfov2.js +88 -11
- package/test/unit/spec/meetings/index.js +544 -49
- package/test/unit/spec/meetings/request.js +141 -0
- package/test/unit/spec/meetings/utils.js +402 -51
- package/test/unit/spec/member/index.js +7 -0
- package/test/unit/spec/member/util.js +89 -0
- package/test/unit/spec/members/index.js +216 -0
- package/test/unit/spec/members/request.js +37 -1
- package/test/unit/spec/members/utils.js +63 -0
- package/test/unit/spec/multistream/mediaRequestManager.ts +501 -37
- package/test/unit/spec/multistream/remoteMediaManager.ts +46 -0
- package/test/unit/spec/reachability/index.ts +128 -46
- package/test/unit/spec/reachability/util.ts +31 -0
- package/test/unit/spec/recording-controller/index.js +9 -8
- package/test/unit/spec/roap/turnDiscovery.ts +20 -0
- package/test/unit/spec/webinar/index.ts +332 -31
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
<!-- sdd-generated-metadata
|
|
2
|
+
doc_kind: standing-doc
|
|
3
|
+
generated_from: contracts@0.2.2
|
|
4
|
+
generator_plugin: repo-annotation@1.0.5+codex.20260818094939
|
|
5
|
+
generated_by: codex
|
|
6
|
+
approved_by: repository user
|
|
7
|
+
updated_at: 2026-09-08T00:00:00Z
|
|
8
|
+
validation_status: not-run
|
|
9
|
+
-->
|
|
10
|
+
# CONTRACTS — @webex/plugin-meetings
|
|
11
|
+
|
|
12
|
+
> Root [`AGENTS.md`](../AGENTS.md) · router [`SPEC_INDEX.md`](SPEC_INDEX.md). This is the compact package boundary; owning module specs contain operation and failure detail.
|
|
13
|
+
|
|
14
|
+
### Exported API & Types
|
|
15
|
+
|
|
16
|
+
`src/index.ts` is the package export authority. It registers the default `Meetings` plugin and exports `Meeting`, selected meeting-info/error helpers, constants, reactions, annotation/interpretation types, `RemoteMedia`, `TriggerProxy`, AI approver selection, and media-helper stream factories/types. A symbol existing below `src/` is not public unless it is reachable through this entry point or a documented public object such as `webex.meetings`/`Meeting`.
|
|
17
|
+
|
|
18
|
+
| Contract ID | Surface | Purpose | Compatibility |
|
|
19
|
+
|---|---|---|---|
|
|
20
|
+
| `package.default` | default `Meetings` | plugin constructor registered as `webex.meetings` | semver-sensitive |
|
|
21
|
+
| `package.meeting` | `Meeting` | per-meeting lifecycle/control object | semver-sensitive methods/events |
|
|
22
|
+
| `package.streams` | media-helper stream classes/factories/types | acquire and represent local/remote media | follows package re-export contract |
|
|
23
|
+
| `package.constants` | `CONSTANTS`, `REACTIONS`, selected enums/types | stable consumer values and payload typing | never silently change wire values |
|
|
24
|
+
| `package.errors` | join, captcha, password, permission, reclaim-host, SDP timeout errors | actionable consumer failure branches | preserve class identity and relevant fields |
|
|
25
|
+
| `package.utilities` | `MeetingInfoUtil`, `TriggerProxy`, `getAIEnablementApprover` | selected advanced integration helpers | semver-sensitive |
|
|
26
|
+
| `meetings.site-preferences` | `Meetings.fetchSitePreferencesMeViaSite(options?)` | fetch the selected preference sections from a site's `/wbxappapi/v1/users/me/preference` resource, using an explicit site or the preferred site established during registration | semver-sensitive method, option, and response shape |
|
|
27
|
+
|
|
28
|
+
The retained `README.md` contains extensive usage examples for registration, creating/finding meetings, joining, media, PMR, members, and events. Those examples are migration source material; validate them against current source before copying into new consumer code.
|
|
29
|
+
|
|
30
|
+
### Events
|
|
31
|
+
|
|
32
|
+
Events are emitted in process through package event scopes, with some inputs originating from Mercury, Locus, media, or data channels. Event constants in `src/constants.ts` and feature event files are authoritative.
|
|
33
|
+
|
|
34
|
+
| Family | Owner | Examples / role | Compatibility rule |
|
|
35
|
+
|---|---|---|---|
|
|
36
|
+
| meetings | `src/meetings/` | added/removed, incoming, registration and sync lifecycle | preserve name, payload shape, and timing |
|
|
37
|
+
| meeting | `src/meeting/` | state, media ready/stopped, mute, sharing, transcription, controls | preserve scope and cleanup; document payload changes |
|
|
38
|
+
| members | `src/members/` | roster added/updated/removed and host/member changes | participant PII restrictions apply |
|
|
39
|
+
| breakouts | `src/breakouts/events.ts` | session, roster, broadcast, help, return-to-main changes | stale README implementation notes do not override code |
|
|
40
|
+
| interpretation / AI / webinar / annotation | owning modules | approval, handoff, role/status, relay/data-channel changes | capability-gated, meeting-scoped |
|
|
41
|
+
|
|
42
|
+
Event caveat retained from consumer guidance: do not assume every event is globally emitted or ordered independently of meeting/Locus state. Subscribe through the documented object/scope, tolerate async updates, and remove listeners during teardown.
|
|
43
|
+
|
|
44
|
+
### Current emitted-event inventory
|
|
45
|
+
|
|
46
|
+
This table is generated from current public emission call sites. The local mechanical gate resolves constants, conditional expressions, local assignments, `TriggerProxy`, inline literals, and thin forwarding wrappers. It distinguishes the emitted literal, its defining expression, and the file that emits or forwards it; the four private plumbing signals excluded from the public-event count remain documented only in their owning module flows.
|
|
47
|
+
|
|
48
|
+
| Event literal | Constant / expression | Emission evidence |
|
|
49
|
+
|---|---|---|
|
|
50
|
+
| `ASK_FOR_HELP` | `BREAKOUTS.EVENTS.ASK_FOR_HELP` | `src/breakouts/index.ts` |
|
|
51
|
+
| `ASK_RETURN_TO_MAIN` | `BREAKOUTS.EVENTS.ASK_RETURN_TO_MAIN` | `src/breakouts/index.ts` |
|
|
52
|
+
| `BREAKOUTS_CLOSING` | `BREAKOUTS.EVENTS.BREAKOUTS_CLOSING` | `src/breakouts/index.ts` |
|
|
53
|
+
| `HANDOFF_REQUESTS_ARRIVED` | `INTERPRETATION.EVENTS.HANDOFF_REQUESTS_ARRIVED` | `src/interpretation/index.ts` |
|
|
54
|
+
| `LEAVE_BREAKOUT` | `BREAKOUTS.EVENTS.LEAVE_BREAKOUT` | `src/breakouts/index.ts` |
|
|
55
|
+
| `annotation:command` | `EVENT_TRIGGERS.ANNOTATION_COMMAND` | `src/annotation/index.ts` |
|
|
56
|
+
| `annotation:strokeData` | `EVENT_TRIGGERS.ANNOTATION_STROKE_DATA` | `src/annotation/index.ts` |
|
|
57
|
+
| `media:activeSpeakerChanged` | `EVENT_TRIGGERS.ACTIVE_SPEAKER_CHANGED` | `src/meeting/index.ts` |
|
|
58
|
+
| `media:codec:loaded` | `EVENT_TRIGGERS.MEDIA_CODEC_LOADED` | `src/meetings/util.ts` |
|
|
59
|
+
| `media:codec:missing` | `EVENT_TRIGGERS.MEDIA_CODEC_MISSING` | `src/meetings/util.ts` |
|
|
60
|
+
| `media:inboundAudio:issueDetected` | `EVENT_TRIGGERS.MEDIA_INBOUND_AUDIO_ISSUE_DETECTED` | `src/meeting/index.ts` |
|
|
61
|
+
| `media:negotiated` | `EVENT_TRIGGERS.MEDIA_NEGOTIATED` | `src/meeting/index.ts` |
|
|
62
|
+
| `media:ready` | `EVENT_TRIGGERS.MEDIA_READY` | `src/meeting/index.ts` |
|
|
63
|
+
| `media:remoteAudio:created` | `EVENT_TRIGGERS.REMOTE_MEDIA_AUDIO_CREATED` | `src/meeting/index.ts` |
|
|
64
|
+
| `media:remoteInterpretationAudio:created` | `EVENT_TRIGGERS.REMOTE_MEDIA_INTERPRETATION_AUDIO_CREATED` | `src/meeting/index.ts` |
|
|
65
|
+
| `media:remoteScreenShareAudio:created` | `EVENT_TRIGGERS.REMOTE_MEDIA_SCREEN_SHARE_AUDIO_CREATED` | `src/meeting/index.ts` |
|
|
66
|
+
| `media:remoteVideo:layoutChanged` | `EVENT_TRIGGERS.REMOTE_MEDIA_VIDEO_LAYOUT_CHANGED` | `src/meeting/index.ts` |
|
|
67
|
+
| `media:remoteAudioSourceCountChanged` | `EVENT_TRIGGERS.REMOTE_AUDIO_SOURCE_COUNT_CHANGED` | `src/meeting/index.ts` |
|
|
68
|
+
| `media:remoteVideoSourceCountChanged` | `EVENT_TRIGGERS.REMOTE_VIDEO_SOURCE_COUNT_CHANGED` | `src/meeting/index.ts` |
|
|
69
|
+
| `media:stopped` | `EVENT_TRIGGERS.MEDIA_STOPPED` | `src/meeting/index.ts` |
|
|
70
|
+
| `meeting:actionsUpdate` | `EVENT_TRIGGERS.MEETING_ACTIONS_UPDATE` | `src/meeting/index.ts` |
|
|
71
|
+
| `meeting:added` | `EVENT_TRIGGERS.MEETING_ADDED` | `src/meetings/index.ts` |
|
|
72
|
+
| `meeting:breakouts:askForHelp` | `EVENT_TRIGGERS.MEETING_BREAKOUTS_ASK_FOR_HELP` | `src/meeting/index.ts` |
|
|
73
|
+
| `meeting:breakouts:askReturnToMain` | `EVENT_TRIGGERS.MEETING_BREAKOUTS_ASK_RETURN_TO_MAIN` | `src/meeting/index.ts` |
|
|
74
|
+
| `meeting:breakouts:closing` | `EVENT_TRIGGERS.MEETING_BREAKOUTS_CLOSING` | `src/meeting/index.ts` |
|
|
75
|
+
| `meeting:breakouts:leave` | `EVENT_TRIGGERS.MEETING_BREAKOUTS_LEAVE` | `src/meeting/index.ts` |
|
|
76
|
+
| `meeting:breakouts:message` | `EVENT_TRIGGERS.MEETING_BREAKOUTS_MESSAGE` | `src/meeting/index.ts` |
|
|
77
|
+
| `meeting:breakouts:preAssignmentsUpdate` | `EVENT_TRIGGERS.MEETING_BREAKOUTS_PRE_ASSIGNMENTS_UPDATE` | `src/meeting/index.ts` |
|
|
78
|
+
| `meeting:breakouts:update` | `EVENT_TRIGGERS.MEETING_BREAKOUTS_UPDATE` | `src/meeting/index.ts` |
|
|
79
|
+
| `meeting:caption-received` | `EVENT_TRIGGERS.MEETING_CAPTION_RECEIVED` | `src/meeting/index.ts` |
|
|
80
|
+
| `meeting:controls:ai-summary-notification:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_AI_SUMMARY_NOTIFICATION_UPDATED` | `src/meeting/index.ts` |
|
|
81
|
+
| `meeting:controls:annotation:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_ANNOTATION_UPDATED` | `src/meeting/index.ts` |
|
|
82
|
+
| `meeting:controls:auto-end-meeting-warning:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_AUTO_END_MEETING_WARNING_UPDATED` | `src/meeting/index.ts` |
|
|
83
|
+
| `meeting:controls:disallow-unmute:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_DISALLOW_UNMUTE_UPDATED` | `src/meeting/index.ts` |
|
|
84
|
+
| `meeting:controls:meeting-full:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_MEETING_FULL_UPDATED` | `src/meeting/index.ts` |
|
|
85
|
+
| `meeting:controls:mute-on-entry:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_MUTE_ON_ENTRY_UPDATED` | `src/meeting/index.ts` |
|
|
86
|
+
| `meeting:controls:polling-qa:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_POLLING_QA_UPDATED` | `src/meeting/index.ts` |
|
|
87
|
+
| `meeting:controls:practice-session-status:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_PRACTICE_SESSION_STATUS_UPDATED` | `src/meeting/index.ts` |
|
|
88
|
+
| `meeting:controls:raise-hand:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_RAISE_HAND_UPDATED` | `src/meeting/index.ts` |
|
|
89
|
+
| `meeting:controls:reactions:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_REACTIONS_UPDATED` | `src/meeting/index.ts` |
|
|
90
|
+
| `meeting:controls:remote-desktop-control:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_REMOTE_DESKTOP_CONTROL_UPDATED` | `src/meeting/index.ts` |
|
|
91
|
+
| `meeting:controls:share-control:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_SHARE_CONTROL_UPDATED` | `src/meeting/index.ts` |
|
|
92
|
+
| `meeting:controls:stage-view:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_STAGE_VIEW_UPDATED` | `src/meeting/index.ts` |
|
|
93
|
+
| `meeting:controls:video:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_VIDEO_UPDATED` | `src/meeting/index.ts` |
|
|
94
|
+
| `meeting:controls:view-the-participants-list:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_VIEW_THE_PARTICIPANTS_LIST_UPDATED` | `src/meeting/index.ts` |
|
|
95
|
+
| `meeting:controls:webcast:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_WEBCAST_UPDATED` | `src/meeting/index.ts` |
|
|
96
|
+
| `meeting:embeddedApps:update` | `EVENT_TRIGGERS.MEETING_EMBEDDED_APPS_UPDATE` | `src/meeting/index.ts` |
|
|
97
|
+
| `meeting:entryExitTone:update` | `EVENT_TRIGGERS.MEETING_ENTRY_EXIT_TONE_UPDATE` | `src/meeting/index.ts` |
|
|
98
|
+
| `meeting:interpretation:handoffRequestsArrived` | `EVENT_TRIGGERS.MEETING_INTERPRETATION_HANDOFF_REQUESTS_ARRIVED` | `src/meeting/index.ts` |
|
|
99
|
+
| `meeting:interpretation:supportLanguagesUpdate` | `EVENT_TRIGGERS.MEETING_INTERPRETATION_SUPPORT_LANGUAGES_UPDATE` | `src/meeting/index.ts` |
|
|
100
|
+
| `meeting:interpretation:update` | `EVENT_TRIGGERS.MEETING_INTERPRETATION_UPDATE` | `src/meeting/index.ts`, `src/meeting/util.ts` |
|
|
101
|
+
| `meeting:layout:update` | `EVENT_TRIGGERS.MEETING_CONTROLS_LAYOUT_UPDATE` | `src/meeting/index.ts` |
|
|
102
|
+
| `meeting:locked` | `EVENT_TRIGGERS.MEETING_LOCKED` | `src/meeting/index.ts` |
|
|
103
|
+
| `meeting:locus:locusUrl:update` | `EVENT_TRIGGERS.MEETING_LOCUS_URL_UPDATE` | `src/meeting/index.ts` |
|
|
104
|
+
| `meeting:logUpload:failure` | `EVENT_TRIGGERS.MEETING_LOG_UPLOAD_FAILURE` | `src/meetings/index.ts` |
|
|
105
|
+
| `meeting:logUpload:success` | `EVENT_TRIGGERS.MEETING_LOG_UPLOAD_SUCCESS` | `src/meetings/index.ts` |
|
|
106
|
+
| `meeting:manualCaptionControl:updated` | `EVENT_TRIGGERS.MEETING_MANUAL_CAPTION_UPDATED` | `src/meeting/index.ts` |
|
|
107
|
+
| `meeting:media:local:start` | `EVENT_TRIGGERS.MEETING_MEDIA_LOCAL_STARTED` | `src/meeting/index.ts` |
|
|
108
|
+
| `meeting:media:remote:start` | `EVENT_TRIGGERS.MEETING_MEDIA_REMOTE_STARTED` | `src/meeting/index.ts` |
|
|
109
|
+
| `meeting:meetingContainer:update` | `EVENT_TRIGGERS.MEETING_MEETING_CONTAINER_UPDATE` | `src/meeting/index.ts` |
|
|
110
|
+
| `meeting:meetingInfoAvailable` | `EVENT_TRIGGERS.MEETING_INFO_AVAILABLE` | `src/meeting/index.ts` |
|
|
111
|
+
| `meeting:meetingInfoUpdated` | `EVENT_TRIGGERS.MEETING_INFO_UPDATED` | `src/meeting/index.ts` |
|
|
112
|
+
| `meeting:participant-reason-changed` | `EVENT_TRIGGERS.MEETING_PARTICIPANT_REASON_CHANGED` | `src/meeting/index.ts` |
|
|
113
|
+
| `meeting:receiveReactions` | `EVENT_TRIGGERS.MEETING_RECEIVE_REACTIONS` | `src/meeting/index.ts` |
|
|
114
|
+
| `meeting:receiveTranscription:started` | `EVENT_TRIGGERS.MEETING_STARTED_RECEIVING_TRANSCRIPTION` | `src/meeting/index.ts` |
|
|
115
|
+
| `meeting:receiveTranscription:stopped` | `EVENT_TRIGGERS.MEETING_STOPPED_RECEIVING_TRANSCRIPTION` | `src/meeting/index.ts` |
|
|
116
|
+
| `meeting:recording:paused` | `EVENT_TRIGGERS.MEETING_PAUSED_RECORDING` | `src/meeting/index.ts` |
|
|
117
|
+
| `meeting:recording:resumed` | `EVENT_TRIGGERS.MEETING_RESUMED_RECORDING` | `src/meeting/index.ts` |
|
|
118
|
+
| `meeting:recording:started` | `EVENT_TRIGGERS.MEETING_STARTED_RECORDING` | `src/meeting/index.ts` |
|
|
119
|
+
| `meeting:recording:stopped` | `EVENT_TRIGGERS.MEETING_STOPPED_RECORDING` | `src/meeting/index.ts` |
|
|
120
|
+
| `meeting:removed` | `EVENT_TRIGGERS.MEETING_REMOVED` | `src/meetings/index.ts` |
|
|
121
|
+
| `meeting:resourceLinks:update` | `EVENT_TRIGGERS.MEETING_RESOURCE_LINKS_UPDATE` | `src/meeting/index.ts` |
|
|
122
|
+
| `meeting:ringing` | `EVENT_TRIGGERS.MEETING_RINGING` | `src/meeting/state.ts` |
|
|
123
|
+
| `meeting:ringingStop` | `EVENT_TRIGGERS.MEETING_RINGING_STOP` | `src/meeting/state.ts` |
|
|
124
|
+
| `meeting:self:brbUpdate` | `EVENT_TRIGGERS.MEETING_SELF_BRB_UPDATE` | `src/meeting/index.ts` |
|
|
125
|
+
| `meeting:self:cannotViewParticipantList` | `EVENT_TRIGGERS.MEETING_SELF_CANNOT_VIEW_PARTICIPANT_LIST` | `src/meeting/index.ts` |
|
|
126
|
+
| `meeting:self:guestAdmitted` | `EVENT_TRIGGERS.MEETING_SELF_GUEST_ADMITTED` | `src/meeting/index.ts` |
|
|
127
|
+
| `meeting:self:isSharingBlocked` | `EVENT_TRIGGERS.MEETING_SELF_IS_SHARING_BLOCKED` | `src/meeting/index.ts` |
|
|
128
|
+
| `meeting:self:left` | `EVENT_TRIGGERS.MEETING_SELF_LEFT` | `src/meeting/index.ts` |
|
|
129
|
+
| `meeting:self:lobbyWaiting` | `EVENT_TRIGGERS.MEETING_SELF_LOBBY_WAITING` | `src/meeting/index.ts` |
|
|
130
|
+
| `meeting:self:mutedByOthers` | `EVENT_TRIGGERS.MEETING_SELF_MUTED_BY_OTHERS` | `src/meeting/index.ts` |
|
|
131
|
+
| `meeting:self:phoneAudioUpdate` | `EVENT_TRIGGERS.MEETING_SELF_PHONE_AUDIO_UPDATE` | `src/meeting/index.ts` |
|
|
132
|
+
| `meeting:self:requestedToUnmute` | `EVENT_TRIGGERS.MEETING_SELF_REQUESTED_TO_UNMUTE` | `src/meeting/index.ts` |
|
|
133
|
+
| `meeting:self:rolesChanged` | `EVENT_TRIGGERS.MEETING_SELF_ROLES_CHANGED` | `src/meeting/index.ts` |
|
|
134
|
+
| `meeting:self:unmutedByOthers` | `EVENT_TRIGGERS.MEETING_SELF_UNMUTED_BY_OTHERS` | `src/meeting/index.ts` |
|
|
135
|
+
| `meeting:self:videoMutedByOthers` | `EVENT_TRIGGERS.MEETING_SELF_VIDEO_MUTED_BY_OTHERS` | `src/meeting/index.ts` |
|
|
136
|
+
| `meeting:self:videoUnmutedByOthers` | `EVENT_TRIGGERS.MEETING_SELF_VIDEO_UNMUTED_BY_OTHERS` | `src/meeting/index.ts` |
|
|
137
|
+
| `meeting:srtpCipher:updated` | `EVENT_TRIGGERS.MEETING_SRTP_CIPHER_UPDATED` | `src/meeting/index.ts` |
|
|
138
|
+
| `meeting:startedSharingLocal` | `EVENT_TRIGGERS.MEETING_STARTED_SHARING_LOCAL` | `src/meeting/index.ts` |
|
|
139
|
+
| `meeting:startedSharingRemote` | `EVENT_TRIGGERS.MEETING_STARTED_SHARING_REMOTE` | `src/meeting/index.ts` |
|
|
140
|
+
| `meeting:startedSharingWhiteboard` | `EVENT_TRIGGERS.MEETING_STARTED_SHARING_WHITEBOARD` | `src/meeting/index.ts` |
|
|
141
|
+
| `meeting:stateChange` | `EVENT_TRIGGERS.MEETING_STATE_CHANGE` | `src/meeting/index.ts` |
|
|
142
|
+
| `meeting:reconnectionFailure` | `EVENT_TRIGGERS.MEETING_RECONNECTION_FAILURE` | `src/reconnection-manager/index.ts` |
|
|
143
|
+
| `meeting:reconnectionStarting` | `EVENT_TRIGGERS.MEETING_RECONNECTION_STARTING` | `src/reconnection-manager/index.ts` |
|
|
144
|
+
| `meeting:reconnectionSuccess` | `EVENT_TRIGGERS.MEETING_RECONNECTION_SUCCESS` | `src/reconnection-manager/index.ts` |
|
|
145
|
+
| `meeting:stoppedSharingLocal` | `EVENT_TRIGGERS.MEETING_STOPPED_SHARING_LOCAL` | `src/meeting/index.ts`, `src/reconnection-manager/index.ts` |
|
|
146
|
+
| `meeting:stoppedSharingRemote` | `EVENT_TRIGGERS.MEETING_STOPPED_SHARING_REMOTE` | `src/meeting/index.ts` |
|
|
147
|
+
| `meeting:stoppedSharingWhiteboard` | `EVENT_TRIGGERS.MEETING_STOPPED_SHARING_WHITEBOARD` | `src/meeting/index.ts` |
|
|
148
|
+
| `meeting:streamPublishStateChanged` | `EVENT_TRIGGERS.MEETING_STREAM_PUBLISH_STATE_CHANGED` | `src/meeting/index.ts` |
|
|
149
|
+
| `meeting:transcription:connected` | `EVENT_TRIGGERS.MEETING_TRANSCRIPTION_CONNECTED` | `src/meeting/index.ts` |
|
|
150
|
+
| `meeting:transcription:spokenLanguageUpdate` | `EVENT_TRIGGERS.MEETING_TRANSCRIPTION_SPOKEN_LANGUAGE_UPDATED` | `src/meeting/index.ts` |
|
|
151
|
+
| `meeting:unlocked` | `EVENT_TRIGGERS.MEETING_UNLOCKED` | `src/meeting/index.ts` |
|
|
152
|
+
| `meeting:updateAnnotationInfo` | `EVENT_TRIGGERS.MEETING_UPDATE_ANNOTATION_INFO` | `src/meeting/index.ts` |
|
|
153
|
+
| `meetings:ready` | `EVENT_TRIGGERS.MEETINGS_READY` | `src/meetings/index.ts` |
|
|
154
|
+
| `meetings:registered` | `EVENT_TRIGGERS.MEETINGS_REGISTERED` | `src/meetings/index.ts` |
|
|
155
|
+
| `meetings:unregistered` | `EVENT_TRIGGERS.MEETINGS_UNREGISTERED` | `src/meetings/index.ts` |
|
|
156
|
+
| `MEMBERS_UPDATE` | `BREAKOUTS.EVENTS.MEMBERS_UPDATE` | `src/breakouts/index.ts` |
|
|
157
|
+
| `members:clear` | `EVENT_TRIGGERS.MEMBERS_CLEAR` | `src/members/index.ts` |
|
|
158
|
+
| `members:content:update` | `EVENT_TRIGGERS.MEMBERS_CONTENT_UPDATE` | `src/members/index.ts` |
|
|
159
|
+
| `members:host:update` | `EVENT_TRIGGERS.MEMBERS_HOST_UPDATE` | `src/members/index.ts` |
|
|
160
|
+
| `members:self:update` | `EVENT_TRIGGERS.MEMBERS_SELF_UPDATE` | `src/members/index.ts` |
|
|
161
|
+
| `members:update` | `EVENT_TRIGGERS.MEMBERS_UPDATE` | `src/members/index.ts` |
|
|
162
|
+
| `MESSAGE` | `BREAKOUTS.EVENTS.MESSAGE` | `src/breakouts/index.ts` |
|
|
163
|
+
| `network:connected` | `EVENT_TRIGGERS.MEETINGS_NETWORK_CONNECTED` | `src/meeting/index.ts` |
|
|
164
|
+
| `network:disconnected` | `EVENT_TRIGGERS.MEETINGS_NETWORK_DISCONNECTED` | `src/meeting/index.ts`, `src/meetings/index.ts` |
|
|
165
|
+
| `network:quality` | `EVENT_TRIGGERS.NETWORK_QUALITY` | `src/meeting/index.ts` |
|
|
166
|
+
| `PRE_ASSIGNMENTS_UPDATE` | `BREAKOUTS.EVENTS.PRE_ASSIGNMENTS_UPDATE` | `src/breakouts/index.ts` |
|
|
167
|
+
| `reachability:done` | inline literal | `src/reachability/index.ts` |
|
|
168
|
+
| `reachability:firstResultAvailable` | inline literal | `src/reachability/index.ts` |
|
|
169
|
+
| `reachability:stopped` | inline literal | `src/reachability/index.ts` |
|
|
170
|
+
| `SUPPORT_LANGUAGES_UPDATE` | `INTERPRETATION.EVENTS.SUPPORT_LANGUAGES_UPDATE` | `src/interpretation/index.ts` |
|
|
171
|
+
|
|
172
|
+
### Declared but not emitted
|
|
173
|
+
|
|
174
|
+
These root constants are consumer-visible declarations in `src/constants.ts`, but current package source has no reachable public emission call for them. They are not part of the emitted-event count and must not be presented as live notifications.
|
|
175
|
+
|
|
176
|
+
| Declared literal | Constant | Current classification |
|
|
177
|
+
|---|---|---|
|
|
178
|
+
| `media:quality` | `EVENT_TRIGGERS.MEDIA_QUALITY` | declared but not emitted |
|
|
179
|
+
| `media:update` | `EVENT_TRIGGERS.MEDIA_UPDATE` | declared but not emitted |
|
|
180
|
+
| `meeting:aiEnableRequest` | `EVENT_TRIGGERS.MEETING_AI_ENABLE_REQUEST` | declared but not emitted |
|
|
181
|
+
|
|
182
|
+
### Migrated meetings-event catalog
|
|
183
|
+
|
|
184
|
+
| Event name | Observable meaning retained from consumer guidance |
|
|
185
|
+
|---|---|
|
|
186
|
+
| `meetings:ready` | plugin initialization completed; no payload |
|
|
187
|
+
| `meeting:added` | a joinable incoming/outgoing meeting entered the collection; payload identifies meeting and type |
|
|
188
|
+
| `meeting:removed` | a meeting left the collection and cannot be rejoined through that object; payload includes id/response |
|
|
189
|
+
| `media:codec:loaded` | browser H.264 codec became available; no payload |
|
|
190
|
+
| `media:codec:missing` | browser H.264 codec appears unavailable; no payload |
|
|
191
|
+
|
|
192
|
+
### Migrated meeting-event catalog
|
|
193
|
+
|
|
194
|
+
| Event name | Observable meaning / payload category |
|
|
195
|
+
|---|---|
|
|
196
|
+
| `meetings:registered` / `meetings:unregistered` | device and websocket registration lifecycle; no payload |
|
|
197
|
+
| `media:ready` | local or remote media became available; payload contains media `type` and `stream` |
|
|
198
|
+
| `media:stopped` | local or remote media was torn down; payload identifies media `type` |
|
|
199
|
+
| `meeting:media:local:start` / `meeting:media:remote:start` | local bytes began sending or remote bytes began arriving |
|
|
200
|
+
| `meeting:ringing` / `meeting:ringingStop` | ringing starts/stops; payload identifies meeting/type and remote answer/decline state |
|
|
201
|
+
| `meeting:startedSharingLocal` / `meeting:stoppedSharingLocal` | local share lifecycle; no payload |
|
|
202
|
+
| `meeting:startedSharingRemote` / `meeting:stoppedSharingRemote` | remote share lifecycle |
|
|
203
|
+
| `meeting:self:lobbyWaiting` / `meeting:self:guestAdmitted` | self lobby/admission transition; payload carries the self projection |
|
|
204
|
+
| `meeting:self:mutedByOthers` | self was remotely muted; payload carries the self projection |
|
|
205
|
+
| `meeting:reconnectionStarting` | reconnection began; no payload |
|
|
206
|
+
| `meeting:reconnectionSuccess` / `meeting:reconnectionFailure` | recovery completed with media result or error |
|
|
207
|
+
| `meeting:unlocked` / `meeting:locked` | host lock state changed; payload carries lock info |
|
|
208
|
+
| `meeting:actionsUpdate` | available actions changed, including invite/admit/lock/host/recording/hand controls |
|
|
209
|
+
| `meeting:logUpload:success` / `meeting:logUpload:failure` | diagnostic log upload outcome |
|
|
210
|
+
| `meeting:recording:started` / `stopped` / `paused` / `resumed` | recording state changed; payload includes state, modifier, and modification time |
|
|
211
|
+
| `meeting:receiveTranscription:started` / `stopped` | transcript reception lifecycle |
|
|
212
|
+
| `meeting:meetingContainer:update` | meeting-container URL changed |
|
|
213
|
+
|
|
214
|
+
### Migrated members-event catalog
|
|
215
|
+
|
|
216
|
+
| Event name | Observable meaning / payload category |
|
|
217
|
+
|---|---|
|
|
218
|
+
| `members:update` | roster delta (`updated`, `added`) plus full collection |
|
|
219
|
+
| `members:content:update` | active/ended content-sharing member ids |
|
|
220
|
+
| `members:host:update` | active/ended host member ids |
|
|
221
|
+
| `members:self:update` | active/ended self member ids |
|
|
222
|
+
|
|
223
|
+
Remote-share caveat: register `media:ready` before join, request `receiveShare` during media setup, and use the `remoteShare` stream plus current `meeting.shareStatus`. A host may start sharing before the participant can attach `meeting:startedSharingRemote`, so the current projection is required in addition to edge-triggered events. Evidence: `README.md`, `src/meeting/index.ts`.
|
|
224
|
+
|
|
225
|
+
### Migrated consumer operation map
|
|
226
|
+
|
|
227
|
+
| Consumer goal | Canonical operation family | Owning spec |
|
|
228
|
+
|---|---|---|
|
|
229
|
+
| register/unregister the device and realtime connection | `Meetings.register()` / `unregister()` lifecycle | `src/meetings/ai-docs/meetings-spec.md` |
|
|
230
|
+
| create/get/list a meeting from room, person, conversation, SIP, Locus, or active-call data | meeting discovery and collection lookup | `src/meetings/ai-docs/meetings-spec.md` |
|
|
231
|
+
| join basic, group, incoming, or PMR meetings | staged create → join → optional media | `src/meeting/ai-docs/meeting-spec.md` |
|
|
232
|
+
| acquire microphone/camera/display streams and attach/update/stop media | media-helper factories plus Meeting media operations | `src/media/ai-docs/media-spec.md` and `src/meeting/ai-docs/meeting-spec.md` |
|
|
233
|
+
| receive realtime transcripts/captions | enable receiving and consume meeting transcript events | `src/meeting/ai-docs/meeting-spec.md` |
|
|
234
|
+
| mute/unmute, share/unshare, lock/unlock, transfer host, recording, and available-action checks | Meeting/controller mutations gated by Locus capabilities | owning meeting/control specs |
|
|
235
|
+
| use a paired Webex device, move a meeting, wireless share, or reconnect media | Meeting device/media lifecycle | `src/meeting/ai-docs/meeting-spec.md` |
|
|
236
|
+
| inspect/mutate members and subscribe to roster events | Members collection/request/event surface | `src/members/ai-docs/members-spec.md` |
|
|
237
|
+
|
|
238
|
+
## Requires — what this repo depends on
|
|
239
|
+
|
|
240
|
+
The package exposes no server endpoint or CLI of its own. It calls Webex services through `@webex/webex-core` request/service abstractions; exact route construction remains in request classes rather than this catalog.
|
|
241
|
+
|
|
242
|
+
| Dependency | What is consumed | Schema / detail link | Availability assumption | Fallback on failure | Version floor |
|
|
243
|
+
|---|---|---|---|---|---|
|
|
244
|
+
| Webex SDK host | credentialed request, device, Mercury, discovery, logging, metrics | `src/index.ts`, `src/meetings/index.ts` | host initialized before meeting work | staged error/rejection; cleanup listeners | workspace version |
|
|
245
|
+
| Webex Locus and meeting services | state, discovery, lifecycle, controls | owning request classes/specs | network service may fail or reject | preserve current projection; bounded retry only where implemented | service-discovered contract |
|
|
246
|
+
| browser media and media libraries | WebRTC, streams, media-core negotiation | `src/media/`, `src/roap/`, `src/multistream/` | browser capability/permission dependent | media error and bounded recovery/rejoin | `@webex/internal-media-core` at the exact version pinned in `package.json` |
|
|
247
|
+
| workspace feature packages | identity, people/rooms, support, Voicea/LLM and helpers | `package.json` | resolved by Yarn workspace | caller-visible capability absence/error | `workspace:*` |
|
|
248
|
+
|
|
249
|
+
## Compatibility & Deprecation Policy
|
|
250
|
+
|
|
251
|
+
- Treat `src/index.ts` exports, `webex.meetings`, public `Meetings`/`Meeting` methods, event names/payloads, typed errors, and documented constants as consumer contracts.
|
|
252
|
+
- Prefer additive changes. A removal, rename, changed default, wire-value change, or altered event/error timing requires explicit approval, migration guidance, and the repository release process.
|
|
253
|
+
- Retain the privacy behavior documented since version `0.109.0`: participant email is not a roster convenience field; consumers resolve identity details through the appropriate People API.
|
|
254
|
+
- Spec and implementation changes land together; canonical specs must be reconciled before overwriting.
|
|
255
|
+
|
|
256
|
+
## Detailed Interface Docs
|
|
257
|
+
|
|
258
|
+
- Package registration/exports: `src/index.ts`
|
|
259
|
+
- Collection and lifecycle APIs: `src/meetings/index.ts`, `src/meeting/index.ts`
|
|
260
|
+
- Requests: `src/meetings/request.ts`, `src/meeting/request.ts`, and owning feature request files
|
|
261
|
+
- Constants/events: `src/constants.ts`, `src/common/events/`, feature constants/events files
|
|
262
|
+
- Consumer examples and upgrade mapping: retained `README.md` and `UPGRADING.md`
|
|
263
|
+
- Operation-level contracts: source-local module specs listed in `SPEC_INDEX.md`
|
|
264
|
+
|
|
265
|
+
## Maintenance
|
|
266
|
+
|
|
267
|
+
Update this index when a public export, event family, request family, command, or dependency boundary changes. Put detailed payload/operation behavior in the owning module spec and cite current source/test paths only.
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
<!-- sdd-generated-metadata
|
|
2
|
+
doc_kind: standing-doc
|
|
3
|
+
generated_from: data-model@0.2.2
|
|
4
|
+
generator_plugin: repo-annotation@1.0.5+codex.20260818094939
|
|
5
|
+
generated_by: codex
|
|
6
|
+
approved_by: repository user
|
|
7
|
+
updated_at: 2026-08-18T15:33:39Z
|
|
8
|
+
validation_status: not-run
|
|
9
|
+
-->
|
|
10
|
+
# DATA MODEL — @webex/plugin-meetings
|
|
11
|
+
|
|
12
|
+
> The package owns client-side projections only. Remote Webex services remain authoritative.
|
|
13
|
+
|
|
14
|
+
## Entity Catalog
|
|
15
|
+
|
|
16
|
+
| Entity | Client owner | Source / lifecycle |
|
|
17
|
+
|---|---|---|
|
|
18
|
+
| meeting collection | `src/meetings/` | created from discovery/incoming events; removed on teardown |
|
|
19
|
+
| meeting | `src/meeting/` | one active/planned call; identity and state derive from meeting-info/Locus |
|
|
20
|
+
| meeting info | `src/meeting-info/` | normalized destination lookup response |
|
|
21
|
+
| Locus projection | `src/locus-info/`, `src/hashTree/` | full/delta/dataset updates from Locus |
|
|
22
|
+
| participant/member roster | `src/member/`, `src/members/` | normalized Locus participants and controls |
|
|
23
|
+
| media connection/streams/slots | `src/media/`, `src/multistream/`, `src/roap/` | browser and media-core lifecycle |
|
|
24
|
+
| feature state | owning feature controller | derived from Locus/service/data-channel updates |
|
|
25
|
+
| route/data-channel token cache | `src/interceptors/` | in-memory request middleware state |
|
|
26
|
+
|
|
27
|
+
## Relationships
|
|
28
|
+
|
|
29
|
+
```mermaid
|
|
30
|
+
erDiagram
|
|
31
|
+
MEETINGS ||--o{ MEETING : contains
|
|
32
|
+
MEETING ||--|| LOCUS_PROJECTION : observes
|
|
33
|
+
LOCUS_PROJECTION ||--o{ MEMBER : contains
|
|
34
|
+
MEETING ||--o{ MEDIA_CONNECTION : controls
|
|
35
|
+
MEDIA_CONNECTION ||--o{ REMOTE_MEDIA : exposes
|
|
36
|
+
MEETING ||--o{ FEATURE_STATE : composes
|
|
37
|
+
MEETING_INFO ||--o| MEETING : initializes
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Ownership & Access Rules
|
|
41
|
+
|
|
42
|
+
- `Meetings` is the only package component that adds/removes top-level meeting instances.
|
|
43
|
+
- `LocusInfo`/hash-tree parsing updates the shared remote-state projection; feature controllers consume derived values rather than inventing server state.
|
|
44
|
+
- `Members` owns roster collection mutation and constructs `Member` projections.
|
|
45
|
+
- Media modules own media-core connection and stream/slot objects; consumers observe them through meeting/public media surfaces.
|
|
46
|
+
- Remote mutations always go through existing request/controller methods so identity, routing, interceptors, and errors remain consistent.
|
|
47
|
+
|
|
48
|
+
## Caching
|
|
49
|
+
|
|
50
|
+
All caches are process-local and bounded by SDK, plugin, or meeting lifetime. Meeting and feature teardown invalidates associated collections, listeners, timers, tokens, and media references. No durable cache or migration mechanism exists in this package.
|
|
51
|
+
|
|
52
|
+
## Migration Discipline
|
|
53
|
+
|
|
54
|
+
There is no database schema. Changes to public TypeScript shapes, event payloads, constants/wire values, and normalized Locus/member/media projections are contract migrations: make additive changes when possible, update parsers and tests together, and document consumer transitions before removals.
|
|
55
|
+
|
|
56
|
+
## Sensitive Data
|
|
57
|
+
|
|
58
|
+
- Treat credentials, route/data-channel tokens, meeting URLs/passwords, device identity, participant identity, transcripts, captions, media, and diagnostic payloads as sensitive.
|
|
59
|
+
- Do not restore participant email as a convenience field; consumer documentation directs identity lookup through the People API.
|
|
60
|
+
- Keep sensitive projections in memory only for their operational lifetime and exclude them from logs/metric tags.
|
|
61
|
+
|
|
62
|
+
## Maintenance
|
|
63
|
+
|
|
64
|
+
Update this document when entity ownership, cache lifetime, or sensitive-data handling changes. Field-level details belong in source types and owning module specs.
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
<!-- sdd-generated-metadata
|
|
2
|
+
doc_kind: standing-doc
|
|
3
|
+
generated_from: getting-started@0.2.2
|
|
4
|
+
generator_plugin: repo-annotation@1.0.5+codex.20260818094939
|
|
5
|
+
generated_by: codex
|
|
6
|
+
approved_by: repository user
|
|
7
|
+
updated_at: 2026-08-18T15:33:39Z
|
|
8
|
+
validation_status: not-run
|
|
9
|
+
-->
|
|
10
|
+
# GETTING STARTED — @webex/plugin-meetings
|
|
11
|
+
|
|
12
|
+
## Prerequisites
|
|
13
|
+
|
|
14
|
+
- Use Node.js `22.14` for this repository (`nvm use 22.14`) and the repository Yarn version.
|
|
15
|
+
- Install from the repository root with `yarn install`.
|
|
16
|
+
- Unit work is local/mocked. Browser or integration flows can require Webex test users, remote services, media permissions, and environment credentials; never commit these values.
|
|
17
|
+
|
|
18
|
+
## Clone & Install
|
|
19
|
+
|
|
20
|
+
From the repository root:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
nvm use 22.14
|
|
24
|
+
yarn install
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
The retained `internal-README.md` contains historical branch, npm, sample, and Sauce Labs instructions. Current root configuration and package scripts take precedence where those instructions differ.
|
|
28
|
+
|
|
29
|
+
## Build / Run / Test
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
yarn workspace @webex/plugin-meetings build:src
|
|
33
|
+
yarn workspace @webex/plugin-meetings test:style
|
|
34
|
+
yarn workspace @webex/plugin-meetings test:unit
|
|
35
|
+
yarn workspace @webex/plugin-meetings test:unit --targets meeting/brbState.ts
|
|
36
|
+
yarn workspace @webex/plugin-meetings test:browser
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
`--targets` is relative to `test/unit/spec/` for unit tests. The package is a library, not a standalone service; sample applications elsewhere in the repository host it.
|
|
40
|
+
|
|
41
|
+
## First-Run Verification
|
|
42
|
+
|
|
43
|
+
1. Confirm `node --version` reports the repository-required runtime.
|
|
44
|
+
2. Build the package.
|
|
45
|
+
3. Run the smallest mirrored unit-test target for the module you will change.
|
|
46
|
+
4. Run lint on the package.
|
|
47
|
+
5. Before finishing, confirm no temporary Mocha `.only` remains.
|
|
48
|
+
|
|
49
|
+
## Configuration & Secrets
|
|
50
|
+
|
|
51
|
+
- Environment files and CI/test credentials are local/managed inputs. Never add credentials, Webex user secrets, Sauce Labs keys, or tokens to source control.
|
|
52
|
+
- npm/workspace resolution is controlled by repository configuration and `package.json`; do not replace workspace dependencies with ad-hoc source paths.
|
|
53
|
+
- Public consumption is through `@webex/plugin-meetings`; local development normally uses the workspace build rather than publishing.
|
|
54
|
+
|
|
55
|
+
## Multi-Repo Workspace Layout
|
|
56
|
+
|
|
57
|
+
This package lives at `packages/@webex/plugin-meetings/` inside the `webex-js-sdk` monorepo. Shared packages are resolved through Yarn workspaces. Run package-scoped commands from the repository root and avoid modifying neighboring packages unless the approved task requires their contract.
|
|
58
|
+
|
|
59
|
+
## Dev Environment
|
|
60
|
+
|
|
61
|
+
- Source is under `src/`; unit tests mirror it under `test/unit/spec/`.
|
|
62
|
+
- Browser/integration tests live under `test/integration/spec/` and use the package test runner.
|
|
63
|
+
- Build output is `dist/`; do not hand-edit generated output.
|
|
64
|
+
- Use Sinon for mocks/stubs and assertions from `@webex/test-helper-chai`. Prefer `calledOnceWithExactly`, fake timers for time, and parameterized tests for more than three similar cases.
|
|
65
|
+
|
|
66
|
+
## Where to Go Next
|
|
67
|
+
|
|
68
|
+
- Orientation and rules: `../AGENTS.md`
|
|
69
|
+
- Module routing: `SPEC_INDEX.md`
|
|
70
|
+
- Architecture: `ARCHITECTURE.md`
|
|
71
|
+
- Tests: `TEST_INDEX.md`
|
|
72
|
+
- Public/event boundaries: `CONTRACTS.md`
|
|
73
|
+
- Retained consumer examples: `../README.md` and `../UPGRADING.md`
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
<!-- sdd-generated-metadata
|
|
2
|
+
doc_kind: standing-doc
|
|
3
|
+
generated_from: glossary@0.2.2
|
|
4
|
+
generator_plugin: repo-annotation@1.0.5+codex.20260818094939
|
|
5
|
+
generated_by: codex
|
|
6
|
+
approved_by: repository user
|
|
7
|
+
updated_at: 2026-08-18T15:33:39Z
|
|
8
|
+
validation_status: not-run
|
|
9
|
+
-->
|
|
10
|
+
# GLOSSARY — @webex/plugin-meetings
|
|
11
|
+
|
|
12
|
+
## Domain Terms
|
|
13
|
+
|
|
14
|
+
| Term | Meaning here | Code anchor |
|
|
15
|
+
|---|---|---|
|
|
16
|
+
| Meeting | Client object coordinating one Webex meeting lifecycle and media session | `src/meeting/index.ts` |
|
|
17
|
+
| Meetings | Registered plugin and collection-level coordinator | `src/meetings/index.ts` |
|
|
18
|
+
| Locus | Webex meeting-state service/payload projected into the client | `src/locus-info/index.ts` |
|
|
19
|
+
| Member | Normalized participant projection | `src/member/index.ts` |
|
|
20
|
+
| ROAP | Offer/answer signaling protocol used during media negotiation | `src/roap/index.ts` |
|
|
21
|
+
| multistream | Receive/send slot and remote-media management over a media connection | `src/multistream/` |
|
|
22
|
+
| breakout | Main/session-group state and controls for breakout sessions | `src/breakouts/` |
|
|
23
|
+
| simultaneous interpretation | Language-channel and interpreter handoff feature | `src/interpretation/` |
|
|
24
|
+
| practice session | Webinar state/data-channel flow before public webcast | `src/webinar/index.ts` |
|
|
25
|
+
| PMR | Personal Meeting Room resolved/claimed for a user | `src/personal-meeting-room/` |
|
|
26
|
+
|
|
27
|
+
## Abbreviations & Acronyms
|
|
28
|
+
|
|
29
|
+
| Abbreviation | Expansion / local meaning |
|
|
30
|
+
|---|---|
|
|
31
|
+
| SDK | Software Development Kit; the Webex host that mounts this plugin |
|
|
32
|
+
| PMR | Personal Meeting Room |
|
|
33
|
+
| ROAP | RTCWeb Offer/Answer Protocol |
|
|
34
|
+
| SDP | Session Description Protocol |
|
|
35
|
+
| STUN/TURN | WebRTC reachability/relay protocols |
|
|
36
|
+
| CSI | Contributing Source Identifier used to associate media and participants |
|
|
37
|
+
| BRB | Be right back meeting state |
|
|
38
|
+
| LLM | Large-language-model feature/event context in current integrations |
|
|
39
|
+
|
|
40
|
+
## Context-Specific Meanings
|
|
41
|
+
|
|
42
|
+
- **register/unregister** can mean SDK device/Mercury registration, not npm package registration.
|
|
43
|
+
- **join** means joining meeting state; **add media** is a distinct staged operation and may follow join.
|
|
44
|
+
- **leave** exits the local participant; **end for all** is a privileged remote mutation.
|
|
45
|
+
- **collection** usually means an in-memory Ampersand/package collection, not persistence.
|
|
46
|
+
- **full state**, **delta**, and **hash tree** are alternate Locus synchronization forms for one projection.
|
|
47
|
+
|
|
48
|
+
## Deprecated / Renamed Terms
|
|
49
|
+
|
|
50
|
+
- Consumer docs map older phone-plugin flows to meetings plugin methods in retained `UPGRADING.md`.
|
|
51
|
+
- Participant email was removed from participant convenience data; use participant identity with the People API.
|
|
52
|
+
- Some legacy docs describe breakout host operations as unimplemented; current `src/breakouts/index.ts` implements create/start/end/update/assignment and lock operations, so the old statement is stale.
|
|
53
|
+
|
|
54
|
+
## Maintenance
|
|
55
|
+
|
|
56
|
+
Add a term when it has a package-specific meaning that could cause an incorrect implementation. Anchor definitions to source paths and record renames/deprecations in `CONTRACTS.md` as well.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<!-- sdd-generated-metadata
|
|
2
|
+
doc_kind: standing-doc
|
|
3
|
+
generated_from: review-checklist@0.2.2
|
|
4
|
+
generator_plugin: repo-annotation@1.0.5+codex.20260818094939
|
|
5
|
+
generated_by: codex
|
|
6
|
+
approved_by: repository user
|
|
7
|
+
updated_at: 2026-08-18T15:33:39Z
|
|
8
|
+
validation_status: not-run
|
|
9
|
+
-->
|
|
10
|
+
# REVIEW CHECKLIST — @webex/plugin-meetings
|
|
11
|
+
|
|
12
|
+
## Core checks (always run)
|
|
13
|
+
|
|
14
|
+
- [ ] Change scope matches the approved plan and the owning module spec was loaded.
|
|
15
|
+
- [ ] Current code and mirrored tests support every behavioral claim; commit/PR history was not used for current behavior.
|
|
16
|
+
- [ ] Public exports, methods, events, constants, error shapes, and async timing are preserved or explicitly approved.
|
|
17
|
+
- [ ] Positive, negative, cleanup, and rejection paths have focused tests using existing Sinon/assertion conventions.
|
|
18
|
+
- [ ] No `.only`, secret, token, participant PII, transcript/media content, or sensitive URL was committed/logged.
|
|
19
|
+
- [ ] Build/lint/focused tests were run and their actual result reported.
|
|
20
|
+
- [ ] Canonical specs changed in the same merge when behavior/contracts changed.
|
|
21
|
+
|
|
22
|
+
## Coverage-conditional checks (run by the touched module's manifest coverage state)
|
|
23
|
+
|
|
24
|
+
- **Specced:** validate implementation and tests against the authoritative spec; any drift blocks.
|
|
25
|
+
- **Partial:** treat the spec as a guide and cross-check each affected behavior in source/tests.
|
|
26
|
+
- **Untracked:** code is authoritative; obtain approval and establish characterization coverage before risky modification.
|
|
27
|
+
- Public/security/performance changes require explicit human approval even when a module is Specced.
|
|
28
|
+
|
|
29
|
+
## Cross-cutting checks (apply at higher risk / autonomy)
|
|
30
|
+
|
|
31
|
+
- [ ] Locus full/delta/hash-tree paths remain convergent and ordering assumptions are tested.
|
|
32
|
+
- [ ] Timers, queues, media objects, data channels, and event listeners are cleaned up.
|
|
33
|
+
- [ ] Request retries are bounded and do not hide terminal server errors.
|
|
34
|
+
- [ ] Capability/role/policy gates remain enforced before privileged meeting operations.
|
|
35
|
+
- [ ] Source and `test/unit/spec/` paths remain mirrored; target values are relative to the spec root.
|
|
36
|
+
- [ ] Metric/log changes reuse existing helpers and redact sensitive values.
|
|
37
|
+
- [ ] Dependency and package-export changes follow workspace and semver rules.
|
|
38
|
+
|
|
39
|
+
## How the set is selected
|
|
40
|
+
|
|
41
|
+
Core checks always apply. Add state/event checks for `meetings`, `meeting`, `locus-info`, `hashTree`, `members`, and feature modules; media/retry checks for media-path modules; security checks for interceptors, identity, AI, transcript, and participant changes; and public-contract checks for `src/index.ts` or exported objects.
|
|
42
|
+
|
|
43
|
+
## Output
|
|
44
|
+
|
|
45
|
+
A review should report affected modules, manifest trust state, tests/checks run, contract/security findings, spec delta, and any unresolved blocker. Draft validation/coverage findings remain local until the user approves publication.
|
package/ai-docs/RULES.md
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
<!-- sdd-generated-metadata
|
|
2
|
+
doc_kind: standing-doc
|
|
3
|
+
generated_from: rules@0.2.2
|
|
4
|
+
generator_plugin: repo-annotation@1.0.5+codex.20260818094939
|
|
5
|
+
generated_by: codex
|
|
6
|
+
approved_by: repository user
|
|
7
|
+
updated_at: 2026-08-18T15:33:39Z
|
|
8
|
+
validation_status: not-run
|
|
9
|
+
-->
|
|
10
|
+
# RULES — @webex/plugin-meetings
|
|
11
|
+
|
|
12
|
+
## Coverage Map (which docs/specs to trust)
|
|
13
|
+
|
|
14
|
+
Per-module status is defined in `.sdd/manifest.json` and mirrored by `SPEC_INDEX.md`. `Specced` is authoritative; `Partial` requires source cross-checking; `Untracked` requires code/tests and a characterization baseline before modification.
|
|
15
|
+
|
|
16
|
+
## Autonomy & Ask-First
|
|
17
|
+
|
|
18
|
+
- Ask before code changes, public/event/request contract changes, new dependencies, security/performance-sensitive work, or modifications to Partial/Untracked modules without a baseline.
|
|
19
|
+
- Do not modify remote systems, publish packages, deploy, push, or post review findings without explicit permission.
|
|
20
|
+
- Reconcile before changing protected canonical specs; update code and spec deltas together after onboarding.
|
|
21
|
+
|
|
22
|
+
## Naming
|
|
23
|
+
|
|
24
|
+
- Reuse constants and typed enums from the owning module. Because legacy code also uses raw wire strings, search both constants/enums and raw values before changing a logical condition.
|
|
25
|
+
- Preserve established camelCase/PascalCase file and type conventions; do not rename consumer-visible values incidentally.
|
|
26
|
+
|
|
27
|
+
## Logging
|
|
28
|
+
|
|
29
|
+
- Use `src/common/logs/logger-proxy.ts` or the established injected logger, with existing meeting/correlation context.
|
|
30
|
+
- Never add `console.log` or log credentials, tokens, meeting passwords/URLs, participant PII, transcript/caption text, raw media, or entire service payloads.
|
|
31
|
+
|
|
32
|
+
## Error Handling
|
|
33
|
+
|
|
34
|
+
- Preserve typed package errors and server rejection details needed by callers.
|
|
35
|
+
- Do not swallow promise rejections, turn failure into success, or add unbounded retries.
|
|
36
|
+
- Cleanup listeners, timers, media objects, edit locks, and queued work on both success and failure.
|
|
37
|
+
|
|
38
|
+
## Imports / Dependencies
|
|
39
|
+
|
|
40
|
+
- Import through existing package/module boundaries; HTTP through request helpers, media through media-core/helpers, and host capabilities through Webex core plugins/services.
|
|
41
|
+
- Do not add an external dependency without approval. Keep workspace packages as `workspace:*` unless the repository release policy says otherwise.
|
|
42
|
+
- Preserve `src/index.ts` as the public export authority.
|
|
43
|
+
|
|
44
|
+
## Testing
|
|
45
|
+
|
|
46
|
+
- Mirror `src/{area}/` under `test/unit/spec/{area}/`; target paths are relative to `test/unit/spec/`.
|
|
47
|
+
- Use Sinon and `@webex/test-helper-chai`; prefer `calledOnceWithExactly`, fake timers for time, shared helpers, and parameterized tests beyond three similar cases.
|
|
48
|
+
- Plugin tests are slow: focus the smallest target. Temporary `.only` is allowed by the retained package rule only during a focused run and must be removed before completion.
|
|
49
|
+
- Test happy path, rejection/error, state transition/order, and cleanup for async/event/media work.
|
|
50
|
+
|
|
51
|
+
## Security
|
|
52
|
+
|
|
53
|
+
- Treat request credentials, JWTs, route/data-channel tokens, device/participant identity, meeting URLs/passwords, transcripts, captions, and media as sensitive.
|
|
54
|
+
- Keep authorization decisions in remote capability/role/policy gates; do not bypass them client-side.
|
|
55
|
+
- Validate/normalize external payloads at existing parser/request boundaries and avoid exposing internal response bodies as new public contracts.
|
|
56
|
+
|
|
57
|
+
## Spec-Currency & Drift Thresholds
|
|
58
|
+
|
|
59
|
+
- Code behavior, spec delta, and canonical module update land in the same merge.
|
|
60
|
+
- Blocking drift includes missing/changed public surface, event/error semantics, state transition, security rule, or required test strategy. Run the configured drift checker when explicitly requested or in CI; do not claim it ran otherwise.
|
|
61
|
+
|
|
62
|
+
## Secrets Policy
|
|
63
|
+
|
|
64
|
+
- Secrets belong in managed/local environment configuration, never repository files, examples, logs, snapshots, or metrics.
|
|
65
|
+
- Redact generated evidence and test fixtures; use synthetic values.
|
|
66
|
+
|
|
67
|
+
## Concurrency & Async
|
|
68
|
+
|
|
69
|
+
- Preserve event scope and ordering; expect realtime duplication/out-of-order delivery where current code does.
|
|
70
|
+
- Bound retry/backoff and timer lifetimes; make cleanup idempotent.
|
|
71
|
+
- Do not block media/event callbacks with unrelated network work; coordinate shared state through existing queues/managers.
|
|
72
|
+
|
|
73
|
+
## Strict-Compliance Mode
|
|
74
|
+
|
|
75
|
+
Load the routed manifest/spec/rules before changes; stop on protected-spec conflict, missing approval, unresolved security/contract facts, failed conformance, below-approved coverage, or independent-validator blockers.
|
|
76
|
+
|
|
77
|
+
## Maintenance
|
|
78
|
+
|
|
79
|
+
Rules must remain code-grounded and mechanically checkable where possible. Put examples in `patterns/`; update this file when package conventions or gates change.
|