@webex/internal-plugin-wdm 3.12.0 → 3.13.0-next.2

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,401 @@
1
+ {
2
+ "$schema": "./schemas/repo-context.schema.json",
3
+ "version": 1,
4
+ "repository": {
5
+ "name": "@webex/internal-plugin-wdm",
6
+ "purpose": "Deprecated alias package of the Webex JS SDK: keeps the historical @webex/internal-plugin-wdm import path working by re-exporting the Device plugin and its config, constants, interceptor, and feature classes from @webex/internal-plugin-device."
7
+ },
8
+ "commands": {
9
+ "compile": "yarn workspace @webex/internal-plugin-wdm build:src",
10
+ "build": "yarn workspace @webex/internal-plugin-wdm build",
11
+ "unit-test": "yarn workspace @webex/internal-plugin-wdm test:unit",
12
+ "browser-test": "yarn workspace @webex/internal-plugin-wdm test:browser",
13
+ "lint": "yarn workspace @webex/internal-plugin-wdm test:style",
14
+ "deploy": "yarn workspace @webex/internal-plugin-wdm deploy:npm"
15
+ },
16
+ "task_playbooks": [
17
+ {
18
+ "task": "change-alias-exports",
19
+ "reference": "src/docs/README.md",
20
+ "when_to_use": "Changing the re-exports in src/index.js or the package entry points in package.json.",
21
+ "start_with": [
22
+ "src/docs/README.md",
23
+ "docs/architecture.md",
24
+ "src/index.js"
25
+ ],
26
+ "evidence_required": [
27
+ "src/index.js",
28
+ "package.json",
29
+ "src/docs/README.md"
30
+ ],
31
+ "allowed_edits": [
32
+ "src/index.js",
33
+ "test/**",
34
+ "src/docs/README.md",
35
+ "docs/architecture.md"
36
+ ],
37
+ "validate_with": [
38
+ "yarn workspace @webex/internal-plugin-wdm test:unit",
39
+ "yarn workspace @webex/internal-plugin-wdm test:style"
40
+ ],
41
+ "fallback": "If the alias must gain behavior, stop: behavior belongs in @webex/internal-plugin-device. Report the conflict instead of adding logic here."
42
+ },
43
+ {
44
+ "task": "update-sdd-docs",
45
+ "reference": "docs/specs/README.md",
46
+ "when_to_use": "Code changes alter a requirement, the public surface, a dependency, or a pitfall documented in the module spec.",
47
+ "start_with": [
48
+ "docs/specs/README.md",
49
+ "src/docs/README.md",
50
+ ".sdd/manifest.json"
51
+ ],
52
+ "evidence_required": [
53
+ "src/index.js",
54
+ "package.json"
55
+ ],
56
+ "allowed_edits": [
57
+ "src/docs/README.md",
58
+ "docs/architecture.md",
59
+ "docs/specs/README.md",
60
+ ".sdd/manifest.json"
61
+ ],
62
+ "validate_with": [
63
+ "Run the Repo Annotation spec-index and manifest checkers through the active installation"
64
+ ],
65
+ "fallback": "Leave generated metadata and validation status untouched; validation is run by an independent runtime."
66
+ }
67
+ ],
68
+ "public_interfaces": [
69
+ {
70
+ "name": "wdm-alias-sdk",
71
+ "kind": "package_export",
72
+ "source": "src/index.js",
73
+ "entrypoints": [
74
+ "import '@webex/internal-plugin-wdm'",
75
+ "default export Device",
76
+ "config",
77
+ "constants",
78
+ "DeviceUrlInterceptor",
79
+ "FeatureCollection",
80
+ "FeatureModel",
81
+ "FeaturesModel"
82
+ ],
83
+ "audience": "Legacy importers of the package name",
84
+ "notes": "Deprecated alias of @webex/internal-plugin-device; verify exports in src/index.js. It defines no webex.internal.wdm."
85
+ }
86
+ ],
87
+ "source_of_truth": [
88
+ {
89
+ "surface": "alias exports",
90
+ "paths": [
91
+ "src/index.js",
92
+ "package.json"
93
+ ],
94
+ "generated_artifacts": [
95
+ "dist"
96
+ ],
97
+ "refresh_with": [
98
+ "yarn workspace @webex/internal-plugin-wdm build:src"
99
+ ],
100
+ "validate_with": [
101
+ "yarn workspace @webex/internal-plugin-wdm test:unit"
102
+ ]
103
+ },
104
+ {
105
+ "surface": "SDD documentation",
106
+ "paths": [
107
+ "AGENTS.md",
108
+ "docs",
109
+ "src/docs/README.md",
110
+ ".sdd/manifest.json"
111
+ ],
112
+ "generated_artifacts": [],
113
+ "refresh_with": [
114
+ "Re-run Repo Annotation through the active installation"
115
+ ],
116
+ "validate_with": [
117
+ "Run the Repo Annotation spec-index, manifest, and repository-context checkers through the active installation"
118
+ ]
119
+ }
120
+ ],
121
+ "generated_artifacts": [
122
+ {
123
+ "path": "dist",
124
+ "generated_from": "src",
125
+ "refresh_with": "yarn workspace @webex/internal-plugin-wdm build:src"
126
+ },
127
+ {
128
+ "path": "../../../.sdd/templates/repo-standards/template-map.json",
129
+ "generated_from": "WebexTools/repo-standards@d89a7fe59126ae3ad9bac9ca352aa7f12b4c85dc",
130
+ "refresh_with": "Run the setup script of the active Repo Annotation installation against the monorepo root"
131
+ }
132
+ ],
133
+ "validation_matrix": [
134
+ {
135
+ "paths": [
136
+ "src/index.js",
137
+ "package.json"
138
+ ],
139
+ "minimum": [
140
+ "yarn workspace @webex/internal-plugin-wdm test:unit"
141
+ ],
142
+ "recommended": [
143
+ "yarn workspace @webex/internal-plugin-wdm test:style",
144
+ "yarn workspace @webex/internal-plugin-wdm test:browser"
145
+ ]
146
+ },
147
+ {
148
+ "paths": [
149
+ "src/docs/README.md",
150
+ "docs/**",
151
+ "AGENTS.md",
152
+ ".sdd/manifest.json"
153
+ ],
154
+ "minimum": [
155
+ "Run the Repo Annotation spec-index and manifest checkers through the active installation"
156
+ ],
157
+ "recommended": [
158
+ "Independent spec validation on a different runtime"
159
+ ]
160
+ }
161
+ ],
162
+ "change_impact": [
163
+ {
164
+ "paths": [
165
+ "src/index.js"
166
+ ],
167
+ "affects": [
168
+ "Legacy importers of @webex/internal-plugin-wdm",
169
+ "Root jest and @legacy script package lists that name this package"
170
+ ],
171
+ "refresh_with": [
172
+ "yarn workspace @webex/internal-plugin-wdm build:src"
173
+ ],
174
+ "validate_with": [
175
+ "yarn workspace @webex/internal-plugin-wdm test:unit"
176
+ ],
177
+ "avoid_direct_edits": [
178
+ "dist"
179
+ ],
180
+ "notes": "The alias must stay in step with the export list of @webex/internal-plugin-device; nothing in this package compares the two."
181
+ }
182
+ ],
183
+ "glossary": [
184
+ {
185
+ "term": "WDM",
186
+ "definition": "Web device manager: the Webex service that stores device registrations.",
187
+ "notes": "This package is named after it; registration behavior lives in the device package."
188
+ },
189
+ {
190
+ "term": "Alias",
191
+ "definition": "This package: it re-exports the device plugin and adds no behavior."
192
+ },
193
+ {
194
+ "term": "Device plugin",
195
+ "definition": "The internal plugin device exposed as webex.internal.device, implemented in @webex/internal-plugin-device."
196
+ }
197
+ ],
198
+ "evidence_rules": [
199
+ {
200
+ "claim_category": "command_name",
201
+ "sources": [
202
+ "package.json"
203
+ ],
204
+ "requirement": "Cite only a script defined in package.json; the test script references test:integration, which package.json does not define."
205
+ },
206
+ {
207
+ "claim_category": "behavior_claim",
208
+ "sources": [
209
+ "src/index.js",
210
+ "test/integration/spec/webex.js"
211
+ ],
212
+ "requirement": "State a behavior only when src/index.js implements it or the device package specification states it; call it tested only when a test invokes it (the unit test asserts true and does not count)."
213
+ },
214
+ {
215
+ "claim_category": "import_path",
216
+ "sources": [
217
+ "src/index.js"
218
+ ],
219
+ "requirement": "Document an export only if src/index.js exports it."
220
+ }
221
+ ],
222
+ "negative_guidance": [
223
+ {
224
+ "rule": "Do not use commit or pull-request history as evidence for why behavior exists.",
225
+ "why": "The package owner directed that the codebase, not git history, is the evidence source."
226
+ },
227
+ {
228
+ "rule": "Do not document registration, refresh, or feature behavior here.",
229
+ "why": "That behavior is owned by @webex/internal-plugin-device and specified in its module specification."
230
+ },
231
+ {
232
+ "rule": "Do not document webex.internal.wdm as available.",
233
+ "why": "No code in the monorepo registers a plugin named wdm."
234
+ }
235
+ ],
236
+ "confidence_policy": {
237
+ "high": {
238
+ "action": "update",
239
+ "expectation": "Source and a behavioral test both confirm the claim."
240
+ },
241
+ "medium": {
242
+ "action": "narrow-scope",
243
+ "expectation": "Only source confirms the claim; state the missing test as a gap."
244
+ },
245
+ "low": {
246
+ "action": "noop",
247
+ "expectation": "Neither source nor test confirms it; report the gap instead of documenting it."
248
+ }
249
+ },
250
+ "repository_topology": {
251
+ "main_entrypoints": [
252
+ {
253
+ "name": "alias entry",
254
+ "path": "src/index.js",
255
+ "purpose": "Re-exports the device plugin's default export and six named exports."
256
+ }
257
+ ],
258
+ "workspace_packages": [
259
+ {
260
+ "name": "@webex/internal-plugin-wdm",
261
+ "paths": [
262
+ "."
263
+ ],
264
+ "notes": "Single package; its dependencies are other packages of the surrounding Yarn workspace."
265
+ }
266
+ ],
267
+ "source_surfaces": [
268
+ {
269
+ "name": "alias source",
270
+ "paths": [
271
+ "src/index.js"
272
+ ],
273
+ "notes": "The only source file."
274
+ }
275
+ ],
276
+ "generated_surfaces": [
277
+ {
278
+ "name": "compiled package",
279
+ "paths": [
280
+ "dist"
281
+ ],
282
+ "generated_from": "src",
283
+ "refresh_with": "yarn workspace @webex/internal-plugin-wdm build:src"
284
+ },
285
+ {
286
+ "name": "repo-standards templates",
287
+ "paths": [
288
+ "../../../.sdd/templates/repo-standards"
289
+ ],
290
+ "generated_from": "WebexTools/repo-standards@d89a7fe59126ae3ad9bac9ca352aa7f12b4c85dc",
291
+ "refresh_with": "Run the setup script of the active Repo Annotation installation against the monorepo root",
292
+ "notes": "The package holds no templates. It refers to the monorepo root snapshot at ../../../.sdd/templates/repo-standards through layout.monorepo_package.templates_root_path in .sdd/manifest.json."
293
+ }
294
+ ],
295
+ "sync_paths": [
296
+ {
297
+ "source": "WebexTools/repo-standards@d89a7fe59126ae3ad9bac9ca352aa7f12b4c85dc",
298
+ "targets": [
299
+ "../../../.sdd/templates/repo-standards"
300
+ ],
301
+ "mechanism": "Setup script of the active Repo Annotation installation",
302
+ "notes": "The package holds no templates. It refers to the monorepo root snapshot at ../../../.sdd/templates/repo-standards through layout.monorepo_package.templates_root_path in .sdd/manifest.json."
303
+ }
304
+ ],
305
+ "validation_entrypoints": [
306
+ {
307
+ "name": "unit tests",
308
+ "command": "yarn workspace @webex/internal-plugin-wdm test:unit",
309
+ "scope": "Jest suite under test/unit (a placeholder)"
310
+ },
311
+ {
312
+ "name": "lint",
313
+ "command": "yarn workspace @webex/internal-plugin-wdm test:style",
314
+ "scope": "ESLint over src"
315
+ },
316
+ {
317
+ "name": "browser integration tests",
318
+ "command": "yarn workspace @webex/internal-plugin-wdm test:browser",
319
+ "scope": "Mocha spec under test/integration through Karma"
320
+ }
321
+ ]
322
+ },
323
+ "folder_readme_contract": {
324
+ "required_sections": [
325
+ "purpose",
326
+ "boundaries",
327
+ "key-files",
328
+ "common-tasks"
329
+ ],
330
+ "rules": [
331
+ "Orient first: state what the folder owns before listing files."
332
+ ],
333
+ "example_policy": "Examples are allowed only when taken from source or tests in this package.",
334
+ "fallback": "Omit a folder README when the module spec already covers the folder."
335
+ },
336
+ "surface_owners": [
337
+ {
338
+ "surface": "src",
339
+ "owner": "Cisco Webex for Developers (named in README.md)",
340
+ "edit_boundary": "Source and tests; keep the module spec in step with behavior changes."
341
+ },
342
+ {
343
+ "surface": "docs and AGENTS.md",
344
+ "owner": "Cisco Webex for Developers (named in README.md)",
345
+ "edit_boundary": "Generated by Repo Annotation; edit through spec-reconcile and review."
346
+ }
347
+ ],
348
+ "do_not_edit": [
349
+ "dist",
350
+ "node_modules"
351
+ ],
352
+ "marker_scopes": {
353
+ "sdd-generated-metadata": [
354
+ "AGENTS.md",
355
+ "docs/index.md",
356
+ "docs/architecture.md",
357
+ "docs/getting-started.md",
358
+ "docs/specs/README.md",
359
+ "docs/adr/index.md",
360
+ "src/docs/README.md"
361
+ ]
362
+ },
363
+ "fallback_rules": [
364
+ "If a command is not defined in package.json, report it as missing instead of inventing one.",
365
+ "If code and a spec disagree, surface the conflict and do not edit the spec to match unverified behavior."
366
+ ],
367
+ "downstream_context_pack": {
368
+ "required_human_surfaces": [
369
+ "docs/index.md",
370
+ "docs/architecture.md",
371
+ "docs/specs/README.md",
372
+ "src/docs/README.md"
373
+ ],
374
+ "required_agent_operational_surfaces": [
375
+ "AGENTS.md"
376
+ ],
377
+ "required_machine_readable_surface": ".repo-context.json",
378
+ "recommended_machine_readable_sections": [
379
+ "task_playbooks",
380
+ "public_interfaces",
381
+ "change_impact",
382
+ "glossary",
383
+ "evidence_rules",
384
+ "negative_guidance",
385
+ "confidence_policy",
386
+ "repository_topology",
387
+ "folder_readme_contract",
388
+ "regression_feedback_rules"
389
+ ]
390
+ },
391
+ "regression_feedback_rules": [
392
+ {
393
+ "trigger": "The export list of src/index.js changes without a matching module spec update",
394
+ "required_followups": [
395
+ "Update MOD-002, MOD-003, and Public surface in src/docs/README.md",
396
+ "Add a unit test that asserts the re-exports"
397
+ ],
398
+ "notes": "Requirements without test evidence are listed as gaps in the module spec Verification section."
399
+ }
400
+ ]
401
+ }