@webex/internal-plugin-board 3.13.0-next.1 → 3.13.0-next.10
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/.repo-context.json +477 -0
- package/.sdd/manifest.json +480 -0
- package/AGENTS.md +205 -0
- package/dist/board.js +1 -1
- package/dist/realtime.js +1 -1
- package/docs/adr/0001-retain-product-readme.md +92 -0
- package/docs/adr/index.md +25 -0
- package/docs/architecture.md +294 -0
- package/docs/getting-started.md +101 -0
- package/docs/index.md +42 -0
- package/docs/specs/README.md +66 -0
- package/package.json +13 -13
- package/schemas/repo-context.schema.json +796 -0
- package/src/docs/README.md +554 -0
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Getting Started
|
|
3
|
+
title: Getting started
|
|
4
|
+
description: Local setup, build, run, and test routing for @webex/internal-plugin-board.
|
|
5
|
+
tags: [onboarding]
|
|
6
|
+
---
|
|
7
|
+
<!-- sdd-generated-metadata
|
|
8
|
+
doc_kind: standing-doc
|
|
9
|
+
generated_from: getting-started@0.3.0
|
|
10
|
+
generated_by: claude-code
|
|
11
|
+
approved_by: rarajes2@cisco.com
|
|
12
|
+
updated_at: 2026-11-12T07:38:37Z
|
|
13
|
+
validation_status: pass
|
|
14
|
+
-->
|
|
15
|
+
|
|
16
|
+
# Getting started
|
|
17
|
+
|
|
18
|
+
Onboarding for **@webex/internal-plugin-board**, a package inside the `webex-js-sdk` Yarn workspace.
|
|
19
|
+
Run every command from the workspace root.
|
|
20
|
+
|
|
21
|
+
## Prerequisites
|
|
22
|
+
|
|
23
|
+
| Tool or access | Version or requirement |
|
|
24
|
+
| -------------- | ---------------------- |
|
|
25
|
+
| Node.js | Use 22.14: the workspace root `AGENTS.md` requires it and the workspace `.nvmrc` selects `lts/jod` (Node 22). This package's `engines` accepts `>=16`. The workspace root `package.json` `engines.node` still reads `18.x`, which conflicts with the other two; the unit tests pass on 22.14 |
|
|
26
|
+
| Yarn | `yarn@3.4.1` (`packageManager` in the workspace root `package.json`) |
|
|
27
|
+
| Registry or account access | N/A for building and unit tests; `test:browser` needs live Webex services and test-user credentials |
|
|
28
|
+
|
|
29
|
+
## Install
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
yarn
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
The workspace `deploy.yml` workflow installs with the same command.
|
|
36
|
+
|
|
37
|
+
Fresh-checkout workspace setup (building `webex-legacy-tools` and sibling `dist/`) is owned by the workspace root; see [Prebuilding](../../../../CONTRIBUTING.md#prebuilding).
|
|
38
|
+
|
|
39
|
+
## Build
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
yarn workspace @webex/internal-plugin-board build
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
`build` runs `build:src`, which writes `dist/` through `webex-legacy-tools`. `dist/` is ignored by Git.
|
|
46
|
+
|
|
47
|
+
## Run
|
|
48
|
+
|
|
49
|
+
N/A — this is a library with no start script. Import `@webex/internal-plugin-board` and create a
|
|
50
|
+
webex instance; the plugin is then `webex.internal.board`.
|
|
51
|
+
|
|
52
|
+
## Tests
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
yarn workspace @webex/internal-plugin-board build:src
|
|
56
|
+
yarn workspace @webex/internal-plugin-board test:unit
|
|
57
|
+
yarn workspace @webex/internal-plugin-board test:style
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
| Tier | Command | Test location | Framework | External dependencies |
|
|
61
|
+
| ---- | ------- | ------------- | --------- | --------------------- |
|
|
62
|
+
| Unit | `yarn workspace @webex/internal-plugin-board test:unit` | `test/unit/spec` | jest runner through `webex-legacy-tools`, with chai, sinon, `@webex/test-helper-mock-webex`, and `@webex/test-helper-mock-web-socket` | A current `dist/` (the specs import the package by name) |
|
|
63
|
+
| Integration | `yarn workspace @webex/internal-plugin-board test:browser` (karma through `webex-legacy-tools --integration`); not a routine verification command | `test/unit/spec`, `test/integration/spec` | karma | Live Webex services and test users from `@webex/test-helper-test-users`; `test/integration/spec/realtime.js` and `test/integration/spec/sharing-mercury.js` are skipped |
|
|
64
|
+
|
|
65
|
+
- Coverage or quality gate: none; the legacy Jest configuration sets no threshold, and the developer
|
|
66
|
+
confirmed that no outside gate applies
|
|
67
|
+
- Enforcement source: N/A
|
|
68
|
+
- Test environment or QA dependencies: none for unit tests
|
|
69
|
+
|
|
70
|
+
There is no `test:integration` script. `yarn workspace @webex/internal-plugin-board test` chains
|
|
71
|
+
`test:style`, `test:unit`, `test:integration`, and `test:browser`, so it stops with "Couldn't find a
|
|
72
|
+
script named test:integration".
|
|
73
|
+
|
|
74
|
+
## Configuration and secrets
|
|
75
|
+
|
|
76
|
+
- Required configuration: none for unit tests. At runtime `webex.config.board` supplies page sizes,
|
|
77
|
+
socket timers, and the binding prefix (defaults in `src/config.js`); the timers read
|
|
78
|
+
`MERCURY_PING_INTERVAL`, `MERCURY_PONG_TIMEOUT`, and `MERCURY_FORCE_CLOSE_DELAY` when set
|
|
79
|
+
- Secret source: N/A for unit tests, which use fake values; live runs use the test-user credentials of
|
|
80
|
+
the workspace test helpers
|
|
81
|
+
- Package or artifact access: N/A
|
|
82
|
+
- Required neighboring packages: `@webex/webex-core`, `@webex/common`, and the mercury, encryption,
|
|
83
|
+
conversation, and feature plugins resolve through the workspace
|
|
84
|
+
- Platform, simulator, device, or SDK setup: Node for unit tests; a karma browser for `test:browser`
|
|
85
|
+
- Never commit credentials or copy production secrets into a local config.
|
|
86
|
+
|
|
87
|
+
## First-run verification
|
|
88
|
+
|
|
89
|
+
1. Run `yarn workspace @webex/internal-plugin-board build:src`.
|
|
90
|
+
2. Run `yarn workspace @webex/internal-plugin-board test:unit` and check that three suites and 58
|
|
91
|
+
tests pass.
|
|
92
|
+
3. Run `yarn workspace @webex/internal-plugin-board test:style`.
|
|
93
|
+
|
|
94
|
+
Expected result: all three commands exit zero. `test:style` prints `require-jsdoc` warnings and no
|
|
95
|
+
errors.
|
|
96
|
+
|
|
97
|
+
## Next steps
|
|
98
|
+
|
|
99
|
+
- [Package architecture](architecture.md)
|
|
100
|
+
- [Specification registry](specs/README.md)
|
|
101
|
+
- [Documentation index](index.md)
|
package/docs/index.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
okf_version: '0.1'
|
|
3
|
+
---
|
|
4
|
+
<!-- sdd-generated-metadata
|
|
5
|
+
doc_kind: standing-doc
|
|
6
|
+
generated_from: docs-index@0.3.0
|
|
7
|
+
generated_by: claude-code
|
|
8
|
+
approved_by: rarajes2@cisco.com
|
|
9
|
+
updated_at: 2026-11-12T07:38:37Z
|
|
10
|
+
validation_status: pass
|
|
11
|
+
-->
|
|
12
|
+
|
|
13
|
+
# @webex/internal-plugin-board documentation
|
|
14
|
+
|
|
15
|
+
Doc map for developers and agents working on the internal board (whiteboard) plugin.
|
|
16
|
+
|
|
17
|
+
## Start here
|
|
18
|
+
|
|
19
|
+
- [Getting started](getting-started.md)
|
|
20
|
+
- [Package architecture](architecture.md)
|
|
21
|
+
|
|
22
|
+
## Decisions
|
|
23
|
+
|
|
24
|
+
- [adr/](adr/index.md) — architectural decision records
|
|
25
|
+
|
|
26
|
+
## Specifications and contracts
|
|
27
|
+
|
|
28
|
+
- [architecture.md](architecture.md) — canonical package architecture and contract index
|
|
29
|
+
- [specs/README.md](specs/README.md) — manifest-backed module and contract registry
|
|
30
|
+
- [`src/docs/README.md`](../src/docs/README.md) — the board plugin specification beside its code
|
|
31
|
+
- [adr/](adr/index.md) — concrete architectural decisions; blank ADR templates remain under the
|
|
32
|
+
monorepo root `.sdd/`
|
|
33
|
+
|
|
34
|
+
This package is a library, so there is no service specification and no OpenAPI document. Exact
|
|
35
|
+
contract details live in the native sources linked from the architecture index: `package.json` and
|
|
36
|
+
`src/index.js` for the package, and `src/board.js` and `src/realtime.js` for the plugin API.
|
|
37
|
+
|
|
38
|
+
## Related repository resources
|
|
39
|
+
|
|
40
|
+
- [`README.md`](../README.md) — retained npm usage page; context only, see
|
|
41
|
+
[ADR-0001](adr/0001-retain-product-readme.md)
|
|
42
|
+
- [`AGENTS.md`](../AGENTS.md) — agent instructions for this package
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Reference
|
|
3
|
+
title: Specification registry
|
|
4
|
+
description: Canonical specification registry and change-routing guide.
|
|
5
|
+
tags: [specifications, registry]
|
|
6
|
+
---
|
|
7
|
+
<!-- sdd-generated-metadata
|
|
8
|
+
doc_kind: standing-doc
|
|
9
|
+
generated_from: spec-index@0.3.0
|
|
10
|
+
generated_by: claude-code
|
|
11
|
+
approved_by: rarajes2@cisco.com
|
|
12
|
+
updated_at: 2026-11-12T07:38:37Z
|
|
13
|
+
validation_status: pass
|
|
14
|
+
-->
|
|
15
|
+
|
|
16
|
+
# Specification registry
|
|
17
|
+
|
|
18
|
+
Use this page to find the canonical package architecture and every instantiated module specification
|
|
19
|
+
plus native contract. Keep technical facts in one owning document and use this page only for
|
|
20
|
+
navigation, ownership, status, and change/test routing.
|
|
21
|
+
|
|
22
|
+
Start with the [package architecture](../architecture.md). No service specification exists because this
|
|
23
|
+
package is a library.
|
|
24
|
+
|
|
25
|
+
## Document roles
|
|
26
|
+
|
|
27
|
+
| Document | Canonical ownership |
|
|
28
|
+
| -------- | ------------------- |
|
|
29
|
+
| [Package architecture](../architecture.md) | Package boundaries, resource inventory, interactions, dependency topology, and cross-cutting architecture |
|
|
30
|
+
| Module specifications | Stable behavior and design at each manifest-routed `<module-path>/docs/README.md` |
|
|
31
|
+
| [ADR](../adr/index.md) | A durable decision, its deciders, rationale, consequences, and supersession lineage |
|
|
32
|
+
|
|
33
|
+
## Instantiated specification registry
|
|
34
|
+
|
|
35
|
+
| Resource | Role | Canonical path | Owner | Status | Last verified |
|
|
36
|
+
| -------- | ---- | -------------- | ----- | ------ | ------------- |
|
|
37
|
+
| Package | Architecture | `docs/architecture.md` | @webex/web-sdk | Draft | 2026-11-12 |
|
|
38
|
+
| Board plugin | Module | `src/docs/README.md` | @webex/web-sdk | Draft | 2026-11-12 |
|
|
39
|
+
| Retain the product README | ADR | `docs/adr/0001-retain-product-readme.md` | @webex/web-sdk | Accepted | 2026-11-12 |
|
|
40
|
+
|
|
41
|
+
### Module registry
|
|
42
|
+
|
|
43
|
+
| Module | Responsibility | Manifest coverage state | Start here |
|
|
44
|
+
| --- | --- | --- | --- |
|
|
45
|
+
| `src/` | `webex.internal.board`: board channels bound to conversation ACLs, KMS-encrypted contents, image upload, transcoder authorization, and live board activity over Mercury | Partial | `src/docs/README.md` |
|
|
46
|
+
|
|
47
|
+
Generator-side field measurement for the module is complete (93.3%, assessed 2026-11-12). Independent semantic validation passed on 2026-11-12 using validator runtime 01a1cea3-02b3-7c72-ac41-7a08f195b1f3, with zero Blocking findings. A characterization baseline and promotion past Partial also remain pending.
|
|
48
|
+
|
|
49
|
+
## Change and verification routing
|
|
50
|
+
|
|
51
|
+
| Change affects | Load and update | Verification route |
|
|
52
|
+
| -------------- | --------------- | ------------------ |
|
|
53
|
+
| Package boundaries or cross-cutting architecture | `docs/architecture.md` and applicable ADRs | `yarn workspace @webex/internal-plugin-board test:unit` after `build:src`, and the module spec |
|
|
54
|
+
| A stable code, package, or component boundary | `src/docs/README.md` | Module tests plus affected contracts |
|
|
55
|
+
| A public API or package contract | The owning architecture section, `src/docs/README.md`, and the native definition in `src/board.js`, `src/realtime.js`, `src/config.js`, `src/index.js`, or `package.json` | Unit tests; check `@webex/webex-server` and `@webex/recipe-private-web-client` imports |
|
|
56
|
+
|
|
57
|
+
## Module and contract registration
|
|
58
|
+
|
|
59
|
+
The module specification is generated at the exact `modules[].canonical_spec` path recorded in
|
|
60
|
+
`.sdd/manifest.json`. Register every module and submodule in the Module registry above in manifest tree
|
|
61
|
+
order.
|
|
62
|
+
|
|
63
|
+
Contracts are registered in `.sdd/manifest.json` `contract_catalog` and indexed in
|
|
64
|
+
[`docs/architecture.md`](../architecture.md#public-and-consumer-surfaces) with a stable ID, publication
|
|
65
|
+
state, native source, and owning module. This page provides navigation and ownership rather than a copied
|
|
66
|
+
contract.
|
package/package.json
CHANGED
|
@@ -25,23 +25,23 @@
|
|
|
25
25
|
"@webex/eslint-config-legacy": "0.0.0",
|
|
26
26
|
"@webex/jest-config-legacy": "0.0.0",
|
|
27
27
|
"@webex/legacy-tools": "0.0.0",
|
|
28
|
-
"@webex/test-helper-chai": "3.
|
|
29
|
-
"@webex/test-helper-file": "3.
|
|
30
|
-
"@webex/test-helper-mocha": "3.
|
|
31
|
-
"@webex/test-helper-mock-web-socket": "3.
|
|
32
|
-
"@webex/test-helper-mock-webex": "3.
|
|
33
|
-
"@webex/test-helper-test-users": "3.
|
|
28
|
+
"@webex/test-helper-chai": "3.13.0-next.2",
|
|
29
|
+
"@webex/test-helper-file": "3.13.0-next.2",
|
|
30
|
+
"@webex/test-helper-mocha": "3.13.0-next.2",
|
|
31
|
+
"@webex/test-helper-mock-web-socket": "3.13.0-next.2",
|
|
32
|
+
"@webex/test-helper-mock-webex": "3.13.0-next.2",
|
|
33
|
+
"@webex/test-helper-test-users": "3.13.0-next.2",
|
|
34
34
|
"eslint": "^8.24.0",
|
|
35
35
|
"prettier": "^2.7.1",
|
|
36
36
|
"sinon": "^9.2.4"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@webex/common": "3.
|
|
40
|
-
"@webex/internal-plugin-conversation": "3.13.0-next.
|
|
41
|
-
"@webex/internal-plugin-encryption": "3.13.0-next.
|
|
42
|
-
"@webex/internal-plugin-feature": "3.
|
|
43
|
-
"@webex/internal-plugin-mercury": "3.
|
|
44
|
-
"@webex/webex-core": "3.
|
|
39
|
+
"@webex/common": "3.13.0-next.2",
|
|
40
|
+
"@webex/internal-plugin-conversation": "3.13.0-next.10",
|
|
41
|
+
"@webex/internal-plugin-encryption": "3.13.0-next.10",
|
|
42
|
+
"@webex/internal-plugin-feature": "3.13.0-next.6",
|
|
43
|
+
"@webex/internal-plugin-mercury": "3.13.0-next.6",
|
|
44
|
+
"@webex/webex-core": "3.13.0-next.6",
|
|
45
45
|
"ampersand-collection": "^2.0.2",
|
|
46
46
|
"es6-promise-series": "^0.2.2",
|
|
47
47
|
"lodash": "^4.17.21",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"test:style": "eslint ./src/**/*.*",
|
|
57
57
|
"test:unit": "webex-legacy-tools test --unit --runner jest"
|
|
58
58
|
},
|
|
59
|
-
"version": "3.13.0-next.
|
|
59
|
+
"version": "3.13.0-next.10"
|
|
60
60
|
}
|