@webex/plugin-teams 3.13.0-next.3 → 3.13.0-next.5
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 +409 -0
- package/.sdd/manifest.json +365 -0
- package/AGENTS.md +206 -0
- package/dist/teams.js +1 -1
- package/docs/adr/0001-retain-product-readme.md +96 -0
- package/docs/adr/index.md +25 -0
- package/docs/architecture.md +204 -0
- package/docs/getting-started.md +126 -0
- package/docs/index.md +42 -0
- package/docs/specs/README.md +69 -0
- package/package.json +6 -6
- package/schemas/repo-context.schema.json +796 -0
- package/src/docs/README.md +288 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<!-- sdd-generated-metadata
|
|
2
|
+
doc_kind: standing-doc
|
|
3
|
+
generated_from: adr-index@0.3.0
|
|
4
|
+
generated_by: claude-code
|
|
5
|
+
approved_by: rarajes2@cisco.com
|
|
6
|
+
updated_at: 2026-11-12T17:50:28Z
|
|
7
|
+
validation_status: pass-with-warnings
|
|
8
|
+
-->
|
|
9
|
+
|
|
10
|
+
# Architectural decision records
|
|
11
|
+
|
|
12
|
+
Numbered, append-only records of structural decisions affecting this package and its documentation.
|
|
13
|
+
Add a concrete ADR (for example, `0042-cache-policy.md`) when a decision is non-obvious, hard to
|
|
14
|
+
reverse, or worth explaining to a future contributor. Do not edit an accepted decision in place when
|
|
15
|
+
its outcome changes; supersede it with a new ADR and link both records.
|
|
16
|
+
|
|
17
|
+
## Index
|
|
18
|
+
|
|
19
|
+
- [ADR-0001 - Retain the product README](0001-retain-product-readme.md) — accepted 2026-11-12
|
|
20
|
+
|
|
21
|
+
Add new entries as ADRs are accepted. Keep this list in numeric order.
|
|
22
|
+
|
|
23
|
+
Each ADR should state its context, decision, alternatives, consequences, and the condition that would
|
|
24
|
+
cause the team to revisit it. Record the deciders, any superseded decision, and the constraint future
|
|
25
|
+
changes must preserve.
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Architecture
|
|
3
|
+
title: '@webex/plugin-teams architecture'
|
|
4
|
+
description: Package-wide boundaries, resources, interactions, dependencies, and cross-cutting architecture.
|
|
5
|
+
tags: [architecture]
|
|
6
|
+
---
|
|
7
|
+
<!-- sdd-generated-metadata
|
|
8
|
+
doc_kind: standing-doc
|
|
9
|
+
generated_from: architecture@0.3.0
|
|
10
|
+
generated_by: claude-code
|
|
11
|
+
approved_by: rarajes2@cisco.com
|
|
12
|
+
updated_at: 2026-11-12T17:50:28Z
|
|
13
|
+
validation_status: pass-with-warnings
|
|
14
|
+
-->
|
|
15
|
+
|
|
16
|
+
# @webex/plugin-teams architecture
|
|
17
|
+
|
|
18
|
+
Canonical architecture for this package. Flow behavior lives in the
|
|
19
|
+
[Teams plugin specification](../src/docs/README.md). This page owns package boundaries, the plugin
|
|
20
|
+
registration, the contract index, and how the package meets the rest of the SDK.
|
|
21
|
+
|
|
22
|
+
Related context: [specification registry](specs/README.md) ·
|
|
23
|
+
[package agent instructions](../AGENTS.md)
|
|
24
|
+
|
|
25
|
+
## Applicability
|
|
26
|
+
|
|
27
|
+
| Condition ID | Status | Evidence or reason | Owned section |
|
|
28
|
+
| ------------------------------------ | ---------- | ------------------ | ------------- |
|
|
29
|
+
| `repo.owns_datastore` | N/A | No database, file store, or migration in `src/teams.js` | Repository data and schema |
|
|
30
|
+
| `repo.holds_client_state` | N/A | `src/teams.js` sets no instance property and caches no team record | Client state model |
|
|
31
|
+
| `repo.components_interact` | Applicable | `src/index.js` imports `src/teams.js` and registers it through webex-core, whose request and Page the plugin calls | Dependency and interaction topology |
|
|
32
|
+
| `repo.domain_data_across_components` | Applicable | Team records pass from Hydra through webex-core and `src/teams.js` to callers | Object and data ownership |
|
|
33
|
+
| `repo.caches_data` | N/A | Nothing is kept after a call settles in `src/teams.js` | Caching catalog |
|
|
34
|
+
| `repo.observability_convention` | N/A | `src/teams.js` logs nothing and emits no metric or trace | Observability patterns |
|
|
35
|
+
| `repo.deploys_to_infra` | N/A | Library published to npm (`package.json`). No service runtime | Runtime and infrastructure |
|
|
36
|
+
| `repo.shared_base_libs` | Applicable | Extends WebexPlugin and uses the legacy build and lint stack (`babel.config.js`, `.eslintrc.js`) | Shared and base libraries |
|
|
37
|
+
| `repo.is_monorepo` | N/A | This SDD root is one package. The workspace around it is out of scope | Package map and inter-package dependencies |
|
|
38
|
+
| `repo.multi_platform` | N/A | `src/teams.js` has no platform branch; `process` declares {browser: true} and is not imported | Platform matrix |
|
|
39
|
+
| `repo.published_package` | Applicable | `package.json` name is @webex/plugin-teams and deploy:npm publishes it | Release and versioning |
|
|
40
|
+
| `repo.embedded_in_host` | N/A | No host theme or embed API in `src/teams.js` | Host integration and theming |
|
|
41
|
+
| `repo.exposes_commands_or_artifacts` | Applicable | build:src in `package.json` writes dist | Commands and generated artifacts |
|
|
42
|
+
| `repo.cross_repo_deps_material` | Applicable | Behavior depends on the Webex REST API teams resource (`src/teams.js`) | Cross-repository topology |
|
|
43
|
+
| `repo.security_arch_warranted` | N/A | `src/teams.js` handles no credential, scope, or identity, and `README.md` names no scope; the security notes under Cross-cutting architecture are enough | Security architecture |
|
|
44
|
+
|
|
45
|
+
## Design overview
|
|
46
|
+
|
|
47
|
+
`@webex/plugin-teams` is a published JavaScript library with one module. Importing it registers `Teams`
|
|
48
|
+
as the public plugin `teams`, reached as `webex.teams`. The `webex` and `webex-node` bundles require it
|
|
49
|
+
to register it; no other workspace package calls it from its source.
|
|
50
|
+
|
|
51
|
+
A team is a named Webex record that rooms can belong to: the integration spec creates rooms with
|
|
52
|
+
`teamId` through `webex.rooms`, and plugin-team-memberships adds people to a team. The Webex REST API
|
|
53
|
+
serves teams through its `teams` resource, which the SDK reaches as catalog service `hydra`. The plugin offers four calls on that
|
|
54
|
+
resource — create, get, list, and update — and returns what the service answers. Rooms inside a team
|
|
55
|
+
belong to `webex.rooms` (with `teamId`) and team membership to plugin-team-memberships.
|
|
56
|
+
|
|
57
|
+
The package serves no routes, caches nothing, persists nothing, and emits no events.
|
|
58
|
+
|
|
59
|
+
## Resource inventory and responsibilities
|
|
60
|
+
|
|
61
|
+
| Resource | Kind | Responsibility | Owner | Source | Detailed specification |
|
|
62
|
+
| -------- | ---- | -------------- | ----- | ------ | ---------------------- |
|
|
63
|
+
| Teams plugin | package (one module) | Registration; team records | @webex/web-sdk | src | [`src/docs/README.md`](../src/docs/README.md) |
|
|
64
|
+
|
|
65
|
+
## Interaction and execution flows
|
|
66
|
+
|
|
67
|
+
Representative end-to-end flow: an application creates a team, renames it, and lists its teams page by
|
|
68
|
+
page.
|
|
69
|
+
|
|
70
|
+
```mermaid
|
|
71
|
+
flowchart LR
|
|
72
|
+
App[application] -->|create, get, list, update| Plugin[webex.teams]
|
|
73
|
+
Plugin -->|request service hydra| Core[webex-core request]
|
|
74
|
+
Core -->|HTTPS| Hydra[Webex REST API teams]
|
|
75
|
+
Plugin -->|new Page| Page[webex-core Page]
|
|
76
|
+
App -->|next, previous| Page
|
|
77
|
+
Page -->|request linked URL| Core
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
| From | To | Interaction or transport | Purpose | Failure or compatibility behavior |
|
|
81
|
+
| ---- | -- | ------------------------ | ------- | --------------------------------- |
|
|
82
|
+
| Application | `webex.teams` | In-process calls | Team records | Rejections propagate; a missing argument to `get` or `update` throws |
|
|
83
|
+
| `Teams` | Webex REST API | HTTPS through `webex.request`, service `hydra` | Team records | No retry here |
|
|
84
|
+
| Application | webex-core `Page` | `next()`, `previous()`, iteration | Further pages of `list` | Rejections propagate |
|
|
85
|
+
|
|
86
|
+
## Dependency topology
|
|
87
|
+
|
|
88
|
+
| Dependency | Type | Used by | Purpose | Version, failure, or fallback policy |
|
|
89
|
+
| ---------- | ---- | ------- | ------- | ------------------------------------ |
|
|
90
|
+
| `@webex/webex-core` | Internal | `src/index.js`, `src/teams.js` | Registration, plugin base, `Page`, `webex.request` | `workspace:*` in `package.json` |
|
|
91
|
+
| `@webex/internal-plugin-device`, `lodash` | Internal; external library | The integration spec only | Declared in `dependencies` but not imported by `src/` | `workspace:*`; `^4.17.21` |
|
|
92
|
+
| `@webex/plugin-rooms`, `@webex/plugin-memberships`, `@webex/plugin-logger` | Internal peer | The integration spec only | Rooms in a team and the skipped leave case | Peer dependencies; not reached by `src/` |
|
|
93
|
+
| Webex REST API teams resource | External service | `src/teams.js` | Team records | Resolved through the service catalog |
|
|
94
|
+
|
|
95
|
+
No import cycle exists: `@webex/webex-core` does not import this package.
|
|
96
|
+
|
|
97
|
+
## Public and consumer surfaces
|
|
98
|
+
|
|
99
|
+
| Surface | Type | Owner | Consumers | Compatibility policy | Source |
|
|
100
|
+
| ------- | ---- | ----- | --------- | -------------------- | ------ |
|
|
101
|
+
| `teams-public-sdk` — package @webex/plugin-teams, `webex.teams` with its four methods | SDK, published to npm, public | Teams plugin | `webex`, `webex-node` (registration); applications and the plugin-team-memberships integration spec (calls) | No versioning or deprecation rule is declared in the package | `package.json`, `src/index.js`, `src/teams.js` |
|
|
102
|
+
|
|
103
|
+
The teams requests and the team object are a protocol this package speaks, described under
|
|
104
|
+
*Protocol and wire format* in the
|
|
105
|
+
[module specification](../src/docs/README.md#protocol-and-wire-format). The other contracts this
|
|
106
|
+
package requires are registered in `.sdd/manifest.json` `contract_catalog`.
|
|
107
|
+
|
|
108
|
+
## Cross-cutting architecture
|
|
109
|
+
|
|
110
|
+
### Security
|
|
111
|
+
|
|
112
|
+
- Trust boundaries, scopes, and identity flow: this package holds no credential and no key. Every
|
|
113
|
+
request carries the SDK authorization that webex-core adds; neither the README nor the JSDoc names
|
|
114
|
+
the scopes the teams resource requires. What a caller may see or change is decided by the service for
|
|
115
|
+
the authorized user.
|
|
116
|
+
- Sensitive surfaces and data classes: team names and team ids. Ids go into request paths and options
|
|
117
|
+
into query strings; the package logs none of them.
|
|
118
|
+
|
|
119
|
+
### Observability and operations
|
|
120
|
+
|
|
121
|
+
- Logging and correlation: the package logs nothing. Request tracking comes from the webex-core
|
|
122
|
+
interceptors, and a failed request's `WebexHttpError` message names the method, service, and
|
|
123
|
+
resource.
|
|
124
|
+
- Metrics, traces, and audit signals: none.
|
|
125
|
+
- Ownership and operational entry points: `.github/CODEOWNERS` at the workspace root has no line for
|
|
126
|
+
`packages/@webex/plugin-teams`, so its default rule assigns it to `@webex/web-sdk`. No dashboards or
|
|
127
|
+
runbooks are recorded in this package.
|
|
128
|
+
|
|
129
|
+
### Quality attributes
|
|
130
|
+
|
|
131
|
+
- Compatibility: callers rely on the registered name `teams`, `get` accepting an object or an id, the
|
|
132
|
+
team object as the service returns it, and `list().items` through `Page`.
|
|
133
|
+
- Latency: one request per call; `list` returns one page at a time.
|
|
134
|
+
- Test confidence: the package has no unit tests, and the integration spec is not run by any script.
|
|
135
|
+
No coverage threshold is enforced.
|
|
136
|
+
|
|
137
|
+
## Dependency and interaction topology
|
|
138
|
+
|
|
139
|
+
```mermaid
|
|
140
|
+
flowchart LR
|
|
141
|
+
Index[src/index.js] -->|registerPlugin teams| Core[webex-core]
|
|
142
|
+
Index --> Teams[src/teams.js]
|
|
143
|
+
Teams -->|WebexPlugin, Page, request| Core
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
| From | To | Kind | Purpose | Ordering or failure boundary |
|
|
147
|
+
| ---- | -- | ---- | ------- | ---------------------------- |
|
|
148
|
+
| `src/index.js` | `src/teams.js` | Import | The plugin class | — |
|
|
149
|
+
| `src/index.js` | webex-core | Call at import | Register `teams` | First registration wins |
|
|
150
|
+
| `src/teams.js` | webex-core | Import and calls | Base class, request, paging | Request failures reject the method |
|
|
151
|
+
|
|
152
|
+
## Object and data ownership
|
|
153
|
+
|
|
154
|
+
| Object or state | System of record | May write | May read | Movement or lifecycle |
|
|
155
|
+
| --------------- | ---------------- | --------- | -------- | --------------------- |
|
|
156
|
+
| Team record (`id`, `name`, `created`, and other fields) | Webex REST API | Callers, through `create` and `update` | Callers, through `get` and `list` | Fetched per call; never kept here; never deleted through this package |
|
|
157
|
+
| Page of teams | webex-core `Page` held by the caller | Not this package | Callers | Built per `list` or `next()` call |
|
|
158
|
+
|
|
159
|
+
## Shared and base libraries
|
|
160
|
+
|
|
161
|
+
| Library | Inherited responsibility | Consumers | Version floor | Compatibility rule |
|
|
162
|
+
| ------- | ------------------------ | --------- | ------------- | ------------------ |
|
|
163
|
+
| `@webex/webex-core` `WebexPlugin` | `webex` and `request` | `Teams` | `workspace:*` | Keep the registered name `teams` |
|
|
164
|
+
| `@webex/babel-config-legacy`, `@webex/eslint-config-legacy`, `@webex/jest-config-legacy`, `@webex/legacy-tools` | Build, lint, and test stack through one-line config files | Package tooling | `workspace:*` | Do not fork the config locally |
|
|
165
|
+
|
|
166
|
+
## Release and versioning
|
|
167
|
+
|
|
168
|
+
| Artifact | Publish target | Versioning rule | Deprecation window | Changelog or migration obligation |
|
|
169
|
+
| -------- | -------------- | --------------- | ------------------ | --------------------------------- |
|
|
170
|
+
| @webex/plugin-teams | npm through `deploy:npm` | None declared in the package | None declared | None declared in the package; the workspace owns changelog generation |
|
|
171
|
+
|
|
172
|
+
## Commands and generated artifacts
|
|
173
|
+
|
|
174
|
+
| Command or artifact | Owner | Inputs | Output or side effect | Compatibility boundary |
|
|
175
|
+
| ------------------- | ----- | ------ | --------------------- | ---------------------- |
|
|
176
|
+
| `yarn build:src` | Package scripts | `src` | Writes `dist/` (JavaScript and source maps) through `webex-legacy-tools` | `dist/` is generated and never edited by hand |
|
|
177
|
+
| `yarn build` | Package scripts | `src` | Runs `build:src` | Same output |
|
|
178
|
+
| `yarn test:style` | Package scripts | `src` | ESLint run | The shared config ignores `docs/**` and `*.md` |
|
|
179
|
+
|
|
180
|
+
## Cross-repository topology
|
|
181
|
+
|
|
182
|
+
| Repository or external system | Relationship | Exchanged contract or artifact | Owner | Sequencing constraint |
|
|
183
|
+
| ----------------------------- | ------------- | ------------------------------ | ----- | --------------------- |
|
|
184
|
+
| `@webex/webex-core` (workspace sibling; module spec consulted) | Consumes | `registerPlugin`, `WebexPlugin`, `Page`, `request` | @webex/web-client, @webex/web-sdk | Registered before the first instance |
|
|
185
|
+
| `webex`, `webex-node` (workspace siblings) | Consumed by | The plugin registration | @webex/web-sdk | None |
|
|
186
|
+
| `@webex/plugin-team-memberships` (workspace sibling) | Consumed by, in its integration spec only | `webex.teams.create` | @webex/web-sdk | None |
|
|
187
|
+
| Webex REST API teams resource | Consumes | Team records | Not recorded in this repository | None |
|
|
188
|
+
|
|
189
|
+
## Domain language
|
|
190
|
+
|
|
191
|
+
| Term | Repository-specific meaning | Authoritative source |
|
|
192
|
+
| ---- | --------------------------- | -------------------- |
|
|
193
|
+
| Team | A named Webex record that rooms join through `teamId` | `test/integration/spec/teams.js` |
|
|
194
|
+
| Hydra | The Webex REST API, reached as catalog service `hydra` | `src/teams.js` |
|
|
195
|
+
| Team object | The record the teams resource returns; the JSDoc names `id`, `name`, and `created` | `src/teams.js` |
|
|
196
|
+
| Page | The webex-core wrapper `list` resolves, with `items`, `hasNext`, and `next` | `src/teams.js` |
|
|
197
|
+
|
|
198
|
+
## References and maintenance
|
|
199
|
+
|
|
200
|
+
- Decisions: [adr/](adr/index.md)
|
|
201
|
+
- Instantiated specifications and routing: [specs/README.md](specs/README.md)
|
|
202
|
+
- Repository rules and patterns: [package agent instructions](../AGENTS.md)
|
|
203
|
+
- Update this document in the same change that alters package boundaries, resource ownership,
|
|
204
|
+
cross-resource interaction, or cross-cutting architecture.
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Getting Started
|
|
3
|
+
title: Getting started
|
|
4
|
+
description: Local setup, build, run, and test routing for @webex/plugin-teams.
|
|
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-12T17:50:28Z
|
|
13
|
+
validation_status: pass-with-warnings
|
|
14
|
+
-->
|
|
15
|
+
|
|
16
|
+
# Getting started
|
|
17
|
+
|
|
18
|
+
Onboarding for **@webex/plugin-teams**, a package inside the `webex-js-sdk` Yarn workspace.
|
|
19
|
+
Run `yarn` and `yarn prebuild:modules` at the workspace root, and the package scripts from this
|
|
20
|
+
package directory, `packages/@webex/plugin-teams`, where `package.json` defines them.
|
|
21
|
+
From the workspace root, `yarn workspace @webex/plugin-teams <script>` runs the same script.
|
|
22
|
+
|
|
23
|
+
## Prerequisites
|
|
24
|
+
|
|
25
|
+
| Tool or access | Version or requirement |
|
|
26
|
+
| -------------- | ---------------------- |
|
|
27
|
+
| 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` reads `18.x`, which conflicts with the other pins; the build and lint pass on 22.14 |
|
|
28
|
+
| Yarn | `yarn@3.4.1` (`packageManager` in the workspace root `package.json`) |
|
|
29
|
+
| Registry or account access | N/A for building and linting |
|
|
30
|
+
|
|
31
|
+
## Install
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
yarn
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
The workspace `deploy.yml` workflow installs with the same command.
|
|
38
|
+
|
|
39
|
+
On a fresh checkout, prebuild the workspace before the first package build. `yarn` does not build
|
|
40
|
+
`@webex/legacy-tools`, whose `webex-legacy-tools` binary runs this package's build, or the sibling
|
|
41
|
+
packages' `dist/`:
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
yarn prebuild:modules
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
It runs `yarn`, then builds the tools, the legacy tools, `@webex/webex-core`, and every package, in
|
|
48
|
+
that order (root `package.json`; see the workspace `CONTRIBUTING.md` "Prebuilding").
|
|
49
|
+
|
|
50
|
+
## Build
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
yarn build:src
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
`build:src` writes JavaScript and source maps for the two source files to `dist/` through
|
|
57
|
+
`webex-legacy-tools`. `dist/` is ignored by Git. The `build` script runs `yarn build:src`; the package
|
|
58
|
+
emits no type declarations.
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
yarn build
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Run
|
|
65
|
+
|
|
66
|
+
N/A — this is a library with no start script. Importing `@webex/plugin-teams` registers
|
|
67
|
+
`webex.teams`.
|
|
68
|
+
|
|
69
|
+
## Tests
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
yarn test:style
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
| Tier | Command | Test location | Framework | External dependencies |
|
|
76
|
+
| ---- | ------- | ------------- | --------- | --------------------- |
|
|
77
|
+
| Unit | N/A — `package.json` defines no `test:unit` script | none | N/A | N/A |
|
|
78
|
+
|
|
79
|
+
`test:style` lints `src/` with eslint through `@webex/eslint-config-legacy`.
|
|
80
|
+
|
|
81
|
+
- Coverage or quality gate: none; the package defines no unit test, no coverage script, and the legacy
|
|
82
|
+
Jest configuration it re-exports sets no threshold
|
|
83
|
+
- Enforcement source: N/A
|
|
84
|
+
- Test environment or QA dependencies: none for lint
|
|
85
|
+
|
|
86
|
+
This package has no unit tests: `package.json` defines no `test:unit` script and there is no
|
|
87
|
+
`test/unit` directory. Add both together when you add the first unit case; sibling legacy packages
|
|
88
|
+
define `test:unit` as `webex-legacy-tools test --unit --runner jest`.
|
|
89
|
+
|
|
90
|
+
`yarn test:browser:broken` (manifest command `browser-test`) runs `webex-legacy-tools test
|
|
91
|
+
--integration --runner karma` over `test/integration/spec/teams.js`, whose 9 cases (2 skipped) create a
|
|
92
|
+
test user and call the live services. On 2026-11-12 under Node 22.14 the karma bundle failed to parse
|
|
93
|
+
`isbot` (an ES module in the workspace `node_modules`), so the run reported a bundle error in Chrome
|
|
94
|
+
and Firefox headless, ran no case, and still exited zero. It is not listed in the table above because
|
|
95
|
+
it verifies nothing today, and its exit code is not a test result.
|
|
96
|
+
|
|
97
|
+
Do not run the aggregate `test` script in `package.json`. It runs `test:style`, then exits 1 with
|
|
98
|
+
`Couldn't find a script named "test:unit"` (checked 2026-11-12); it would also call
|
|
99
|
+
`test:integration` and `test:browser`, which this package does not define either. It is deliberately
|
|
100
|
+
not a manifest command; run the commands above instead.
|
|
101
|
+
|
|
102
|
+
## Configuration and secrets
|
|
103
|
+
|
|
104
|
+
- Required configuration: none. The plugin registers no config of its own
|
|
105
|
+
- Environment overrides: none read by this package
|
|
106
|
+
- Secret source: N/A; the package holds no secret
|
|
107
|
+
- Package or artifact access: N/A
|
|
108
|
+
- Required neighboring packages: `@webex/webex-core` resolves through the workspace. The integration
|
|
109
|
+
spec also needs `@webex/internal-plugin-device` and the peer dependencies `@webex/plugin-logger`,
|
|
110
|
+
`@webex/plugin-memberships`, and `@webex/plugin-rooms`; `src/` uses none of them
|
|
111
|
+
- Platform, simulator, device, or SDK setup: none
|
|
112
|
+
- Never commit credentials or copy production secrets into a local config.
|
|
113
|
+
|
|
114
|
+
## First-run verification
|
|
115
|
+
|
|
116
|
+
1. Run `yarn build:src` and check that it reports `Built plugin-teams: 2 files`.
|
|
117
|
+
2. Run `yarn test:style`.
|
|
118
|
+
|
|
119
|
+
Expected result: both commands exit zero. `test:style` prints no warning for `src/teams.js` or
|
|
120
|
+
`src/index.js`, only "File ignored" for `src/docs/README.md`.
|
|
121
|
+
|
|
122
|
+
## Next steps
|
|
123
|
+
|
|
124
|
+
- [Package architecture](architecture.md)
|
|
125
|
+
- [Specification registry](specs/README.md)
|
|
126
|
+
- [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-12T17:50:28Z
|
|
10
|
+
validation_status: pass-with-warnings
|
|
11
|
+
-->
|
|
12
|
+
|
|
13
|
+
# @webex/plugin-teams documentation
|
|
14
|
+
|
|
15
|
+
Doc map for developers and agents working on the Teams 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 Teams 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 its registration, and `src/teams.js` for the API.
|
|
37
|
+
|
|
38
|
+
## Related repository resources
|
|
39
|
+
|
|
40
|
+
- [`README.md`](../README.md) — retained npm page; context only, it shows only `get(id)`, see
|
|
41
|
+
[ADR-0001](adr/0001-retain-product-readme.md)
|
|
42
|
+
- [`AGENTS.md`](../AGENTS.md) — agent instructions for this package
|
|
@@ -0,0 +1,69 @@
|
|
|
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-12T17:50:28Z
|
|
13
|
+
validation_status: pass-with-warnings
|
|
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
|
+
| Teams 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.teams`: team create, read, list, and update through Hydra | Partial | `src/docs/README.md` |
|
|
46
|
+
|
|
47
|
+
Generator-side field measurement for the module is complete (100%, assessed 2026-11-12). Independent
|
|
48
|
+
semantic validation passed with warnings on 2026-11-12 (0 Blocking, 0 Important, 0 Medium, 1 Minor;
|
|
49
|
+
validator runtime `01a1d0dc-f5ef-76b0-8766-2a81183f4462`). Code and spec matched; no runnable unit suite exists. A characterization
|
|
50
|
+
baseline and promotion past Partial remain pending.
|
|
51
|
+
|
|
52
|
+
## Change and verification routing
|
|
53
|
+
|
|
54
|
+
| Change affects | Load and update | Verification route |
|
|
55
|
+
| -------------- | --------------- | ------------------ |
|
|
56
|
+
| Package boundaries or cross-cutting architecture | `docs/architecture.md` and applicable ADRs | `yarn build:src` and `test:style`, and the module spec |
|
|
57
|
+
| A stable code, package, or component boundary | `src/docs/README.md` | Build and lint |
|
|
58
|
+
| A public method, request path, the team object, or the registration | The owning architecture section, `src/docs/README.md`, and the native definition in `src/teams.js`, `src/index.js`, or `package.json` | Build and lint; add a `test/unit/spec` case and a `test:unit` script for the changed path, since the package has no unit tests and the integration spec is not run |
|
|
59
|
+
|
|
60
|
+
## Module and contract registration
|
|
61
|
+
|
|
62
|
+
The module specification is generated at the exact `modules[].canonical_spec` path recorded in
|
|
63
|
+
`.sdd/manifest.json`. Register every module and submodule in the Module registry above in manifest tree
|
|
64
|
+
order.
|
|
65
|
+
|
|
66
|
+
Contracts are registered in `.sdd/manifest.json` `contract_catalog` and indexed in
|
|
67
|
+
[`docs/architecture.md`](../architecture.md#public-and-consumer-surfaces) with a stable ID, publication
|
|
68
|
+
state, native source, and owning module. This page provides navigation and ownership rather than a copied
|
|
69
|
+
contract.
|
package/package.json
CHANGED
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"sinon": "^9.2.4"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@webex/internal-plugin-device": "3.13.0-next.
|
|
37
|
-
"@webex/webex-core": "3.13.0-next.
|
|
36
|
+
"@webex/internal-plugin-device": "3.13.0-next.5",
|
|
37
|
+
"@webex/webex-core": "3.13.0-next.5",
|
|
38
38
|
"lodash": "^4.17.21"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@webex/plugin-logger": "3.13.0-next.
|
|
42
|
-
"@webex/plugin-memberships": "3.13.0-next.
|
|
43
|
-
"@webex/plugin-rooms": "3.13.0-next.
|
|
41
|
+
"@webex/plugin-logger": "3.13.0-next.5",
|
|
42
|
+
"@webex/plugin-memberships": "3.13.0-next.9",
|
|
43
|
+
"@webex/plugin-rooms": "3.13.0-next.9"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"build": "yarn build:src",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"test:browser:broken": "webex-legacy-tools test --integration --runner karma",
|
|
51
51
|
"test:style": "eslint ./src/**/*.*"
|
|
52
52
|
},
|
|
53
|
-
"version": "3.13.0-next.
|
|
53
|
+
"version": "3.13.0-next.5"
|
|
54
54
|
}
|