@webex/internal-plugin-board 3.13.0-next.1 → 3.13.0-next.11

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.
@@ -0,0 +1,480 @@
1
+ {
2
+ "manifest_version": 1,
3
+ "repository": {
4
+ "name": "@webex/internal-plugin-board",
5
+ "purpose": "Internal whiteboard plugin registered as webex.internal.board. It creates, lists, locks, keeps alive, and deletes board channels bound to a conversation ACL (routing create and list to the board cluster that matches the ACL cluster), adds and reads KMS-encrypted board contents in serial chunks, uploads board images and snapshots to Webex Files, authorizes a transcoder for whiteboard sharing to mobile, and carries live board activity over Mercury through its realtime child, either on a board socket of its own or on the shared Mercury socket. Its payload transformer creates each channel's content key and decrypts content reads.",
6
+ "category": "cat2-legacy",
7
+ "primary_languages": [
8
+ "javascript"
9
+ ]
10
+ },
11
+ "topology": "Orchestrator-plus-components",
12
+ "commands": {
13
+ "install": {
14
+ "command": "yarn",
15
+ "source_file": "../../../.github/workflows/deploy.yml",
16
+ "role": "install"
17
+ },
18
+ "compile": {
19
+ "command": "yarn workspace @webex/internal-plugin-board build:src",
20
+ "source_file": "package.json",
21
+ "role": "compile"
22
+ },
23
+ "build": {
24
+ "command": "yarn workspace @webex/internal-plugin-board build",
25
+ "source_file": "package.json",
26
+ "role": "package"
27
+ },
28
+ "unit-test": {
29
+ "command": "yarn workspace @webex/internal-plugin-board test:unit",
30
+ "source_file": "package.json",
31
+ "role": "unit-test"
32
+ },
33
+ "integration-test": {
34
+ "command": "yarn workspace @webex/internal-plugin-board test:browser",
35
+ "source_file": "package.json",
36
+ "role": "integration-test"
37
+ },
38
+ "lint": {
39
+ "command": "yarn workspace @webex/internal-plugin-board test:style",
40
+ "source_file": "package.json",
41
+ "role": "lint"
42
+ },
43
+ "deploy": {
44
+ "command": "yarn workspace @webex/internal-plugin-board deploy:npm",
45
+ "source_file": "package.json",
46
+ "role": "deploy"
47
+ }
48
+ },
49
+ "toolchain": [
50
+ {
51
+ "name": "node",
52
+ "version": ">=16",
53
+ "origin": "repo-config",
54
+ "source_file": "package.json"
55
+ },
56
+ {
57
+ "name": "node",
58
+ "version": "22.14",
59
+ "origin": "repo-config",
60
+ "source_file": "../../../AGENTS.md"
61
+ },
62
+ {
63
+ "name": "node",
64
+ "version": "lts/jod",
65
+ "origin": "repo-config",
66
+ "source_file": "../../../.nvmrc"
67
+ },
68
+ {
69
+ "name": "node",
70
+ "version": "18.x",
71
+ "origin": "repo-config",
72
+ "source_file": "../../../package.json"
73
+ },
74
+ {
75
+ "name": "yarn",
76
+ "version": "3.4.1",
77
+ "origin": "repo-config",
78
+ "source_file": "../../../package.json"
79
+ },
80
+ {
81
+ "name": "babel",
82
+ "version": "^7.17.10",
83
+ "origin": "repo-config",
84
+ "source_file": "package.json"
85
+ },
86
+ {
87
+ "name": "eslint",
88
+ "version": "^8.24.0",
89
+ "origin": "repo-config",
90
+ "source_file": "package.json"
91
+ },
92
+ {
93
+ "name": "prettier",
94
+ "version": "^2.7.1",
95
+ "origin": "repo-config",
96
+ "source_file": "package.json"
97
+ },
98
+ {
99
+ "name": "sinon",
100
+ "version": "^9.2.4",
101
+ "origin": "repo-config",
102
+ "source_file": "package.json"
103
+ }
104
+ ],
105
+ "tests": {
106
+ "unit": {
107
+ "command_ref": "unit-test",
108
+ "dir": "test/unit/spec",
109
+ "framework": "jest"
110
+ },
111
+ "integration": {
112
+ "command_ref": "integration-test",
113
+ "dir": "test/integration/spec",
114
+ "framework": "karma (webex-legacy-tools --integration --runner karma; runs the unit and integration specs in browsers)",
115
+ "external_deps": [
116
+ "live Webex services (board, ACL, Webex Files, KMS, Mercury)",
117
+ "test-user credentials read by @webex/test-helper-test-users",
118
+ "a karma browser"
119
+ ]
120
+ }
121
+ },
122
+ "quality_gates": {
123
+ "code_coverage": {
124
+ "origin": "none",
125
+ "declared_by": "rarajes2@cisco.com via bootstrap questionnaire (generator check: test:unit runs webex-legacy-tools with --runner jest; jest.config.js re-exports @webex/jest-config-legacy, which sets collectCoverage false and no coverageThreshold; package.json defines no coverage script)"
126
+ }
127
+ },
128
+ "coverage_status_definitions": {
129
+ "specced": ">=80% public surface specced, drift <5% - spec is authoritative",
130
+ "partial": "40-80% specced - spec is a hint, cross-check code",
131
+ "untracked": "<40% specced - code is the source of truth"
132
+ },
133
+ "spec_source_policy": {
134
+ "mode": "keep-separate",
135
+ "migrated_source_disposition": "retain",
136
+ "disposition_decided_by": "rarajes2@cisco.com",
137
+ "disposition_decided_at": "2026-11-12T06:57:16Z",
138
+ "decided_by": "rarajes2@cisco.com",
139
+ "decided_at": "2026-11-12T06:57:16Z",
140
+ "decision_record": "docs/adr/0001-retain-product-readme.md"
141
+ },
142
+ "spec_sources": [
143
+ {
144
+ "path": "README.md",
145
+ "scope": "repo",
146
+ "role": "reference-only",
147
+ "canonical": false,
148
+ "use_by_agents": "context-only",
149
+ "post_migration_action": "retain",
150
+ "deletion_status": "not-applicable",
151
+ "notes": "npm usage page, kept unchanged under keep-separate. Its usage block is the placeholder webex.internal.board.WHATEVER and it states no method, event, or error; see docs/adr/0001-retain-product-readme.md."
152
+ }
153
+ ],
154
+ "modules": [
155
+ {
156
+ "path": "src",
157
+ "canonical_spec": "src/docs/README.md",
158
+ "coverage_status": "Partial",
159
+ "coverage_evidence": "Field coverage 93.3% (14/15) assessed 2026-11-12 by the generator; critical field coverage 8/8. The one WEAK field is test strategy: 58 unit cases pass under Node 22.14 after build:src and cover channel, content, upload, registration, and realtime paths, but the payload transformer predicates and transforms, authorizeMediaInjector, unauthorizeMediaInjector, processActivityEvent, unregisterFromSharedMercury, and the shared-socket refresh have no test, the realtime and sharing-mercury integration specs are describe.skip, and no characterization baseline exists. Independent validation passed 2026-11-12 on runtime 01a1cea3-02b3-7c72-ac41-7a08f195b1f3 with zero Blocking findings.",
160
+ "last_assessed": "2026-11-12",
161
+ "contracts": {
162
+ "provides": [
163
+ "board-internal-sdk"
164
+ ],
165
+ "requires": [
166
+ "board-service-http",
167
+ "acl-links-http",
168
+ "webex-files-upload",
169
+ "mercury-board-activity",
170
+ "webex-core-plugin-host",
171
+ "webex-core-services",
172
+ "internal-plugin-encryption",
173
+ "internal-plugin-mercury",
174
+ "internal-plugin-feature",
175
+ "internal-plugin-conversation",
176
+ "internal-plugin-device",
177
+ "webex-common-utilities",
178
+ "ampersand-collection",
179
+ "es6-promise-series",
180
+ "uuid"
181
+ ]
182
+ },
183
+ "section_profile": {
184
+ "has_tiers": false,
185
+ "has_ui": false,
186
+ "crosses_service_boundaries": true,
187
+ "holds_client_state": true,
188
+ "enforces_domain_rules": true,
189
+ "is_concurrent_async": true,
190
+ "owns_persistence": false,
191
+ "stateful_transitions": false,
192
+ "exposes_wire_protocol": true,
193
+ "ui_multi_screen": false,
194
+ "large_data_model": false,
195
+ "returns_caller_errors": true,
196
+ "module_specific_conventions": true,
197
+ "published_package": true,
198
+ "embedded_in_host": false,
199
+ "has_design_tradeoff": true,
200
+ "resolved_by": "claude-code (code evidence; bootstrap questionnaire)",
201
+ "resolved_at": "2026-11-12T06:57:16Z",
202
+ "has_submodules": false,
203
+ "has_submodules_computed_by": "scripts/module_tree.py",
204
+ "has_submodules_computed_at": "2026-11-12T06:57:16Z"
205
+ }
206
+ }
207
+ ],
208
+ "contract_catalog": {
209
+ "index_path": "docs/architecture.md",
210
+ "definitions": {
211
+ "board-internal-sdk": {
212
+ "kind": "sdk",
213
+ "publication": "published",
214
+ "source_kind": "repository-path",
215
+ "source": "package.json",
216
+ "summary": "Published npm package (internal plugin; README says semver is not strictly followed). main is dist/index.js and devMain is src/index.js. Importing it imports the mercury, encryption, conversation, and feature plugins and registers Board as internal plugin 'board' with child realtime, the config in src/config.js, and the decryptContents and encryptChannel payload transformers. Exports are the default Board class and the named config and RealtimeChannel. The plugin API is webex.internal.board (channel, content, image, registration, shared-Mercury, and media-injector methods) and webex.internal.board.realtime (publish, connect, disconnect, activity routing). Per-method behavior is in src/docs/README.md."
217
+ },
218
+ "board-service-http": {
219
+ "kind": "http",
220
+ "publication": "internal",
221
+ "source_kind": "external",
222
+ "source": "Webex board service (catalog service 'board', or the cluster-local board service resolved from the conversation ACL cluster, plus per-channel channelUrl; route definitions are not in this repository)",
223
+ "summary": "POST/GET /channels, GET/PATCH channelUrl, POST/GET/DELETE channelUrl/contents, POST channelUrl/lock?intent=delete, POST channelUrl/keepAlive, PUT channelUrl/spaces/open|hidden, POST channelUrl/register, PUT channelUrl/sharePolicies/transcoder, GET /ping, POST /registrations. Bodies are listed under Protocol and wire format in src/docs/README.md."
224
+ },
225
+ "acl-links-http": {
226
+ "kind": "http",
227
+ "publication": "internal",
228
+ "source_kind": "external",
229
+ "source": "Webex ACL service (the channel aclUrl returned by the board service; route definitions are not in this repository)",
230
+ "summary": "PUT <aclUrl>/links with {aclLinkType: INCOMING, linkedAcl, kmsMessage delete of the conversation authorization, aclLinkOperation: DELETE} removes the conversation-to-board link."
231
+ },
232
+ "webex-files-upload": {
233
+ "kind": "http",
234
+ "publication": "internal",
235
+ "source_kind": "external",
236
+ "source": "Webex Files upload sessions under the board space URL (reached through webex.upload; route definitions are not in this repository)",
237
+ "summary": "Three-phase upload to <spaceUrl>/upload_sessions with qs transcode true and fileSize in initialize and finalize; the finalize response downloadUrl becomes the SCR loc."
238
+ },
239
+ "mercury-board-activity": {
240
+ "kind": "event",
241
+ "publication": "internal",
242
+ "source_kind": "external",
243
+ "source": "Mercury web socket frames for board bindings (Mercury service; framing owned by @webex/internal-plugin-mercury, module spec consulted: packages/@webex/internal-plugin-mercury/src/docs/README.md)",
244
+ "summary": "Outbound publishRequest frame {id, type: publishRequest, recipients [{alertType none, route binding, headers {}}], data {eventType board.activity, contentType, payload, envelope {encryptionKeyUrl, channelId}}}; inbound board.activity envelopes routed by envelope.channelId."
245
+ },
246
+ "webex-core-plugin-host": {
247
+ "kind": "sdk",
248
+ "publication": "published",
249
+ "source_kind": "external",
250
+ "source": "@webex/webex-core (workspace package; module spec consulted: packages/@webex/webex-core/src/docs/README.md)",
251
+ "summary": "Board and RealtimeService extend WebexPlugin in namespace Board (config is webex.config.board); registerInternalPlugin merges config and concatenates payloadTransformer predicates and transforms; transforms without a direction match every direction; Page wraps list responses; webex.request and webex.upload carry every HTTP call."
252
+ },
253
+ "webex-core-services": {
254
+ "kind": "sdk",
255
+ "publication": "published",
256
+ "source_kind": "external",
257
+ "source": "@webex/webex-core services (module spec consulted: packages/@webex/webex-core/src/lib/services/docs/README.md)",
258
+ "summary": "getClusterId(aclUrl) and getServiceFromClusterId({clusterId}) resolve the cluster-local board URL; getServiceFromUrl(uri) identifies board requests for the encryptChannel predicate; catalog service 'board' is the fallback."
259
+ },
260
+ "internal-plugin-encryption": {
261
+ "kind": "sdk",
262
+ "publication": "published",
263
+ "source_kind": "external",
264
+ "source": "@webex/internal-plugin-encryption (workspace package; no spec exists; code consulted: packages/@webex/internal-plugin-encryption/src/encryption.js, src/kms.js, src/index.js)",
265
+ "summary": "encryptText, decryptText, encryptScr (rejects without scr.loc), decryptScr, encryptBinary resolving {scr, cdata}; kms.createUnboundKeys, prepareRequest, decryptKmsMessage, listAuthorizations, removeAuthorization; the encryptKmsMessage predicate skips a kmsMessage with empty keyUris and its transform wraps the message."
266
+ },
267
+ "internal-plugin-mercury": {
268
+ "kind": "sdk",
269
+ "publication": "published",
270
+ "source_kind": "external",
271
+ "source": "@webex/internal-plugin-mercury (workspace package; module spec consulted: packages/@webex/internal-plugin-mercury/src/docs/README.md)",
272
+ "summary": "RealtimeChannel extends the Mercury class; connect(webSocketUrl) and disconnect() own socket lifecycle with timers from the plugin namespace config; the shared plugin exposes socket, localClusterServiceUrls, the online event, and event:board.activity."
273
+ },
274
+ "internal-plugin-feature": {
275
+ "kind": "sdk",
276
+ "publication": "published",
277
+ "source_kind": "external",
278
+ "source": "@webex/internal-plugin-feature (workspace package; module spec consulted: packages/@webex/internal-plugin-feature/src/docs/README.md)",
279
+ "summary": "getFeature('developer', 'web-shared-mercury') resolves the toggle value, or null when unknown; a falsy value disables shared Mercury registration."
280
+ },
281
+ "internal-plugin-conversation": {
282
+ "kind": "sdk",
283
+ "publication": "published",
284
+ "source_kind": "external",
285
+ "source": "@webex/internal-plugin-conversation (workspace package; no spec exists; code consulted: packages/@webex/internal-plugin-conversation/src/index.js)",
286
+ "summary": "Imported only for its side effect of registering internal plugin 'conversation'. Callers pass conversation objects whose aclUrl and kmsResourceObjectUrl this module reads."
287
+ },
288
+ "internal-plugin-device": {
289
+ "kind": "sdk",
290
+ "publication": "published",
291
+ "source_kind": "external",
292
+ "source": "@webex/internal-plugin-device (workspace package, not declared in package.json and registered through the mercury plugin import; module spec consulted: packages/@webex/internal-plugin-device/src/docs/README.md)",
293
+ "summary": "deviceType is stamped on encrypted contents and webSocketUrl is sent on shared Mercury registration."
294
+ },
295
+ "webex-common-utilities": {
296
+ "kind": "sdk",
297
+ "publication": "published",
298
+ "source_kind": "external",
299
+ "source": "@webex/common (workspace package; module spec consulted: packages/@webex/common/src/docs/README.md)",
300
+ "summary": "tap passes the original value through and never rejects; used around collection removal after disconnect."
301
+ },
302
+ "ampersand-collection": {
303
+ "kind": "sdk",
304
+ "publication": "published",
305
+ "source_kind": "external",
306
+ "source": "ampersand-collection@^2.0.2 (npm)",
307
+ "summary": "RealtimeChannelCollection extends it with mainIndex channelId and model RealtimeChannel."
308
+ },
309
+ "es6-promise-series": {
310
+ "kind": "sdk",
311
+ "publication": "published",
312
+ "source_kind": "external",
313
+ "source": "es6-promise-series@^0.2.2 (npm)",
314
+ "summary": "Called with an array of functions, it runs them one at a time and resolves the concatenation of their results; the first rejection rejects the series."
315
+ },
316
+ "uuid": {
317
+ "kind": "sdk",
318
+ "publication": "published",
319
+ "source_kind": "external",
320
+ "source": "uuid@^3.3.2 (npm)",
321
+ "summary": "v4 generates the id of each publishRequest frame."
322
+ }
323
+ }
324
+ },
325
+ "spec_policy": {
326
+ "require_what_and_why": true,
327
+ "require_provenance": true,
328
+ "protected_specs": [
329
+ "src/docs/README.md"
330
+ ]
331
+ },
332
+ "validation": {
333
+ "generator_runtime": "claude-code",
334
+ "generator_model": "claude-opus-5-5",
335
+ "generator_runtime_source": "host-metadata",
336
+ "source_commit": "ecd5af12a1abf47fc6ed7dd72cb308b259d45fb8",
337
+ "minimum_independence": "different-runtime",
338
+ "blocking_severities": [
339
+ "Blocking"
340
+ ],
341
+ "validator_runtime": "01a1cea3-02b3-7c72-ac41-7a08f195b1f3",
342
+ "validator_run_id": "01a1cea3-02b3-7c72-ac41-7a08f195b1f3",
343
+ "validator_runtime_source": "invocation-input",
344
+ "runtime_fallback_tier": "different-runtime"
345
+ },
346
+ "layout": {
347
+ "sdd_root": ".sdd",
348
+ "docs_root": "docs",
349
+ "agent_entry_path": "AGENTS.md",
350
+ "standing_docs_root": "docs",
351
+ "spec_index_path": "docs/specs/README.md",
352
+ "module_docs_strategy": "source-local",
353
+ "module_docs_relative_path": "docs/README.md",
354
+ "module_docs_decision": {
355
+ "basis": "repo-standards-default",
356
+ "reason": "No module-local documentation existed. The source-local default gives src/docs/README.md, matching the onboarded sibling packages. test:style runs eslint ./src/**/*.*, and the shared @webex/eslint-config-legacy ignore patterns exclude docs/** and *.md; build:src processes -js -ts only, so Markdown under src/ does not enter the build output.",
357
+ "decided_by": "rarajes2@cisco.com (bootstrap questionnaire)",
358
+ "decided_at": "2026-11-12T06:57:16Z"
359
+ },
360
+ "repo_context_decision": {
361
+ "path": ".repo-context.json",
362
+ "schema_path": "schemas/repo-context.schema.json",
363
+ "action": "create",
364
+ "schema_action": "create",
365
+ "reason": "Neither the operational context nor its schema existed in this package. The context is created from package evidence and the schema is copied from the repository-root .sdd/templates/repo-standards/schemas/repo-context.schema.json.",
366
+ "decided_by": "rarajes2@cisco.com (bootstrap questionnaire)",
367
+ "decided_at": "2026-11-12T06:57:16Z"
368
+ },
369
+ "artifact_decisions": [
370
+ {
371
+ "path": "docs/service.md",
372
+ "action": "omit",
373
+ "reason": "Library package, not a deployable service. package.json has no start script, container, or deployment descriptor.",
374
+ "decided_by": "claude-code (code evidence)",
375
+ "decided_at": "2026-11-12T06:57:16Z"
376
+ },
377
+ {
378
+ "path": "mkdocs.yml",
379
+ "action": "omit",
380
+ "reason": "No package-level documentation site exists. Documentation publishing stays with the workspace.",
381
+ "decided_by": "claude-code (code evidence)",
382
+ "decided_at": "2026-11-12T06:57:16Z"
383
+ },
384
+ {
385
+ "path": "api-specs/openapi.yaml",
386
+ "action": "omit",
387
+ "reason": "The package serves no HTTP routes. It is a client of the board, ACL, and Files services; its published surface is the npm export described by board-internal-sdk.",
388
+ "decided_by": "claude-code (code evidence)",
389
+ "decided_at": "2026-11-12T06:57:16Z"
390
+ },
391
+ {
392
+ "path": "SECURITY.md",
393
+ "action": "omit",
394
+ "reason": "No package-level security policy exists. The workspace owns security policy; security architecture is described in docs/architecture.md.",
395
+ "decided_by": "claude-code (code evidence)",
396
+ "decided_at": "2026-11-12T06:57:16Z"
397
+ },
398
+ {
399
+ "path": "CONTRIBUTING.md",
400
+ "action": "omit",
401
+ "reason": "Contribution instructions are owned at the workspace root CONTRIBUTING.md.",
402
+ "decided_by": "claude-code (code evidence)",
403
+ "decided_at": "2026-11-12T06:57:16Z"
404
+ },
405
+ {
406
+ "path": "CHANGELOG.md",
407
+ "action": "omit",
408
+ "reason": "Changelog generation is owned at the workspace root. This package has no changelog file.",
409
+ "decided_by": "claude-code (code evidence)",
410
+ "decided_at": "2026-11-12T06:57:16Z"
411
+ },
412
+ {
413
+ "path": "CTO_CHECKLIST.yml",
414
+ "action": "omit",
415
+ "reason": "The CTO readiness checklist applies to deployable services. This package is a library.",
416
+ "decided_by": "claude-code (code evidence)",
417
+ "decided_at": "2026-11-12T06:57:16Z"
418
+ },
419
+ {
420
+ "path": "schemas/cto-checklist.schema.json",
421
+ "action": "omit",
422
+ "reason": "Omitted together with CTO_CHECKLIST.yml.",
423
+ "decided_by": "claude-code (code evidence)",
424
+ "decided_at": "2026-11-12T06:57:16Z"
425
+ }
426
+ ],
427
+ "template_roots": {
428
+ "canonical": ".sdd/templates/repo-standards"
429
+ },
430
+ "contract_index_path": "docs/architecture.md",
431
+ "repo_skills_root": ".sdd/skills",
432
+ "monorepo_package": {
433
+ "package_path": "packages/@webex/internal-plugin-board",
434
+ "root_manifest_path": "../../../.sdd/manifest.json",
435
+ "templates_root_path": "../../../.sdd/templates/repo-standards"
436
+ }
437
+ },
438
+ "tooling": {
439
+ "sdlc_skills": {
440
+ "source_ref": "repo-annotation@2.3.1"
441
+ }
442
+ },
443
+ "coverage_ratchet": {
444
+ "enabled": true,
445
+ "waivers": []
446
+ },
447
+ "substrate": {
448
+ "source": "WebexTools/repo-standards@d89a7fe59126ae3ad9bac9ca352aa7f12b4c85dc",
449
+ "consumed": [
450
+ "@webex/eslint-config-legacy via .eslintrc.js",
451
+ "@webex/babel-config-legacy via babel.config.js",
452
+ "@webex/jest-config-legacy via jest.config.js",
453
+ "@webex/legacy-tools build and test runner via package.json",
454
+ "package README.md (context only)",
455
+ "Repo Standards templates at the monorepo root .sdd/templates/repo-standards, referred to through layout.monorepo_package.templates_root_path (this package holds no templates)"
456
+ ],
457
+ "compliance_tier": "baseline"
458
+ },
459
+ "section_profiles": {
460
+ "repo": {
461
+ "owns_datastore": false,
462
+ "holds_client_state": true,
463
+ "components_interact": true,
464
+ "domain_data_across_components": true,
465
+ "caches_data": false,
466
+ "observability_convention": true,
467
+ "deploys_to_infra": false,
468
+ "shared_base_libs": true,
469
+ "is_monorepo": false,
470
+ "multi_platform": false,
471
+ "published_package": true,
472
+ "embedded_in_host": false,
473
+ "cross_repo_deps_material": true,
474
+ "security_arch_warranted": true,
475
+ "exposes_commands_or_artifacts": true
476
+ },
477
+ "resolved_by": "claude-code (code evidence; bootstrap questionnaire)",
478
+ "resolved_at": "2026-11-12T06:57:16Z"
479
+ }
480
+ }