matterbridge 3.10.9-dev-20260908-a3f4064 → 3.10.9-dev-20260910-ca91bcb

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/CHANGELOG.md CHANGED
@@ -37,6 +37,7 @@ If you like this project and find it useful, please consider giving it a star on
37
37
 
38
38
  ### Added
39
39
 
40
+ - [MatterbridgeEndpoint]: Add `subscribeCommand(cluster, command, listener)`, the command counterpart of `subscribeAttribute()`. It takes the cluster in all the supported shapes (`Behavior.Type`, `ClusterType`, `ClusterId` or the cluster name string), is typed on the command name and on the request payload for the `Behavior.Type` and `ClusterType` overloads, and calls the listener with a single payload holding the `command`, the `cluster`, the `request`, the `endpoint` and the Matter action `context` of the invoke. It is the same payload of `addCommandHandler()` without `attributes`, since the listener is notified after the cluster state has already been updated. The command observable is added on demand to the events object of the cluster, so a subscribed command is also reachable as `endpoint.events.<cluster>.<command>$executed` and, from inside a cluster server behavior, as `this.events.<command>$executed`. Differently from `addCommandHandler()`, which is called first and always receives the raw incoming command, the subscribers are notified by the cluster server as the last action of the command implementation, after the command has been validated and the cluster state updated, so a rejected or discarded command does not notify them. Command notifications are supported by the Chime, Camera AV Stream Management, Camera AV Settings User Level Management, WebRTC Transport Provider and WebRTC Transport Requestor servers.
40
41
  - [Evse]: `Evse`/`EvseOptions` accept new optional constructor options enabling the remaining `EnergyEvse` cluster features: `stateOfCharge`/`batteryCapacity` (SoCReporting), `vehicleId` (PlugAndCharge), `rfid` (Rfid, adds the `Rfid` event and the new `triggerRfidEvent()` helper), and `v2x` (V2X, adds the `EnableDischarging` command). `esaCanGenerate` is also now exposed to the child `DeviceEnergyManagement` endpoint for V2X-capable (export-capable) EVSEs. All features are opt-in and disabled by default, matching the existing `ChargingPreferences`-only behavior. Thanks Ludovic BOUÉ.
41
42
  - [Evse]: `MatterbridgeEnergyEvseServer` now implements `enableDischarging()` (Matter 1.6.0 § 9.3.9.3), mirroring `enableCharging()`'s validation and state-update mandates for the discharge direction, and `enableCharging()`/`disable()` now correctly interoperate with a concurrently active discharge (`SupplyState.Enabled`) on V2X-capable instances. Thanks Ludovic BOUÉ.
42
43
  - [thread]: Add Bun runtime detection to the system check, logging the Bun version and skipping Node.js version warnings when running on Bun.
@@ -71,6 +72,7 @@ If you like this project and find it useful, please consider giving it a star on
71
72
 
72
73
  ### Fixed
73
74
 
75
+ - [MatterbridgeEndpoint]: Discard `subscribeAttribute()` listener return values so callbacks such as `value => values.push(value)` do not prevent subsequent subscribers from receiving attribute changes.
74
76
  - [frontend]: Replace deprecated MUI props, the React form event type, and test-only document writing with their supported equivalents.
75
77
  - [frontend]: Restore the theme color of the Select dropdown arrow.
76
78
  - [frontend]: Settings: an update notification arriving in the background no longer discards the values you are editing.
@@ -2129,7 +2131,7 @@ In this phase (matterbridge `3.4.x`) all plugins will not build and will not run
2129
2131
  ### Changed
2130
2132
 
2131
2133
  - [package]: Updated dependencies.
2132
- - [matterbridge.io]: Updated web site [matterbridge.io](matterbridge.io).
2134
+ - [matterbridge.io]: Updated web site [matterbridge.io](https://matterbridge.io).
2133
2135
 
2134
2136
  <a href="https://www.buymeacoffee.com/luligugithub">
2135
2137
  <img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="80">
package/README-DEV.md CHANGED
@@ -117,35 +117,66 @@ pass/fail summary is available here [`chipTestsSummary.log`](latestChipTestsSumm
117
117
 
118
118
  ## Copilot instructions
119
119
 
120
- | File | Notes |
121
- | ------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
122
- | `.github/copilot-instructions.md` | Main project instructions — always loaded |
123
- | `.github/instructions/chip-tests/matterbridge-chip-tests.instructions.md` | CHIP conformance test harness — scoped to CHIP test files |
124
- | `.github/instructions/matterbridge/matterbridge.instructions.md` | Matterbridge endpoint guide — dedicated Copilot instruction file |
125
- | `.github/instructions/plugin-frontend/plugin-frontend.instructions.md` | Plugin frontend SPA and custom REST API guide — scoped to frontend and plugin code |
126
- | `.github/instructions/testing/unit-tests.instructions.md` | Testing standards — scoped to `**/*.test.ts` |
120
+ | File | Notes |
121
+ | ------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
122
+ | `.github/copilot-instructions.md` | Main project instructions — always loaded |
123
+ | `.github/instructions/chip-tests/matterbridge-chip-tests.instructions.md` | CHIP conformance test harness — scoped to CHIP test files |
124
+ | `.github/instructions/matterbridge/matterbridge.instructions.md` | Matterbridge endpoint guide — dedicated Copilot instruction file |
125
+ | `.github/instructions/plugin-frontend/plugin-frontend.instructions.md` | Plugin frontend SPA and custom REST API guide — scoped to frontend and plugin code |
126
+ | `.github/instructions/testing/testing.instructions.md` | Testing standards — scoped to `**/*.test.ts` |
127
+ | `.github/skills/verify-agent-context/SKILL.md` | Verify the agent instructions, rules and skills are loaded — agent skill, `/verify-agent-context` |
128
+ | `.github/skills/matterjs-pr-workflow/SKILL.md` | Open a PR against matter.js from the local fork — agent skill, `/matterjs-pr-workflow` |
129
+ | `.github/skills/verify-npm-alignment/SKILL.md` | Verify the npm `latest` and `dev` tag alignment — agent skill, `/verify-npm-alignment` |
130
+ | `.github/skills/verify-server-endpoint-context/SKILL.md` | Verify server endpoint context and forwarding order — agent skill, `/verify-server-endpoint-context` |
131
+ | `.github/skills/verify-version-alignment/SKILL.md` | Verify the version alignment across the repo — agent skill, `/verify-version-alignment` |
127
132
 
128
133
  ## Claude instructions
129
134
 
130
- | File | Notes |
131
- | ------------------------------------------------------------------ | ---------------------------------------------------------------------------------- |
132
- | `CLAUDE.md` | Main project instructions — always loaded |
133
- | `.claude/rules/chip-tests/matterbridge-chip-tests.instructions.md` | CHIP conformance test harness — scoped to CHIP test files |
134
- | `.claude/rules/matterbridge/matterbridge.instructions.md` | Matterbridge endpoint guide — loaded for all contexts |
135
- | `.claude/rules/plugin-frontend/plugin-frontend.instructions.md` | Plugin frontend SPA and custom REST API guide — scoped to frontend and plugin code |
136
- | `.claude/rules/testing/unit-tests.instructions.md` | Testing standards — scoped to `**/*.test.ts` |
135
+ | File | Notes |
136
+ | ------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------- |
137
+ | `CLAUDE.md` | Main project instructions — always loaded |
138
+ | `.claude/rules/chip-tests/matterbridge-chip-tests.instructions.md` | CHIP conformance test harness — scoped to CHIP test files |
139
+ | `.claude/rules/matterbridge/matterbridge.instructions.md` | Matterbridge endpoint guide — loaded for all contexts |
140
+ | `.claude/rules/plugin-frontend/plugin-frontend.instructions.md` | Plugin frontend SPA and custom REST API guide — scoped to frontend and plugin code |
141
+ | `.claude/rules/testing/testing.instructions.md` | Testing standards — scoped to `**/*.test.ts` |
142
+ | `.claude/skills/verify-agent-context/SKILL.md` | Verify the agent instructions, rules and skills are loaded — agent skill, `/verify-agent-context` |
143
+ | `.claude/skills/matterjs-pr-workflow/SKILL.md` | Open a PR against matter.js from the local fork — agent skill, `/matterjs-pr-workflow` |
144
+ | `.claude/skills/verify-npm-alignment/SKILL.md` | Verify the npm `latest` and `dev` tag alignment — agent skill, `/verify-npm-alignment` |
145
+ | `.claude/skills/verify-server-endpoint-context/SKILL.md` | Verify server endpoint context and forwarding order — agent skill, `/verify-server-endpoint-context` |
146
+ | `.claude/skills/verify-version-alignment/SKILL.md` | Verify the version alignment across the repo — agent skill, `/verify-version-alignment` |
137
147
 
138
148
  ## Codex/Agents instructions
139
149
 
140
- | File | Notes |
141
- | ------------------------------------ | ------------------------------------------------- |
142
- | `AGENTS.md` | Main project instructions |
143
- | `.agents/matterbridge-chip-tests.md` | CHIP conformance test harness |
144
- | `.agents/matterbridge.md` | Matterbridge endpoint guide |
145
- | `.agents/plugin-frontend.md` | Plugin frontend SPA and custom REST API guide |
146
- | `.agents/testing.md` | Testing and validation expectations |
147
- | `.codex/config.toml` | Codex project permissions, approvals, and profile |
148
- | `.codex/rules/default.rules` | Codex command allow, prompt, and deny rules |
150
+ | File | Notes |
151
+ | -------------------------------------------------------- | ---------------------------------------------------------- |
152
+ | `AGENTS.md` | Main project instructions |
153
+ | `.agents/rules/matterbridge-chip-tests.instructions.md` | CHIP conformance test harness |
154
+ | `.agents/rules/matterbridge.instructions.md` | Matterbridge endpoint guide |
155
+ | `.agents/rules/plugin-frontend.instructions.md` | Plugin frontend SPA and custom REST API guide |
156
+ | `.agents/rules/testing.instructions.md` | Testing and validation expectations |
157
+ | `.agents/skills/verify-agent-context/SKILL.md` | Verify the agent instructions, rules and skills are loaded |
158
+ | `.agents/skills/matterjs-pr-workflow/SKILL.md` | Open a PR against matter.js from the local fork |
159
+ | `.agents/skills/verify-npm-alignment/SKILL.md` | Verify the npm `latest` and `dev` tag alignment |
160
+ | `.agents/skills/verify-server-endpoint-context/SKILL.md` | Verify server endpoint context and forwarding order |
161
+ | `.agents/skills/verify-version-alignment/SKILL.md` | Verify the version alignment across the repo |
162
+ | `.codex/config.toml` | Codex project permissions, approvals, and profile |
163
+ | `.codex/rules/default.rules` | Codex command allow, prompt, and deny rules |
164
+
165
+ ## Gemini instructions
166
+
167
+ | File | Notes |
168
+ | -------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
169
+ | `GEMINI.md` | Main project instructions — always loaded |
170
+ | `.antigravity/settings.json` | Antigravity permissions and settings |
171
+ | `.agents/rules/matterbridge-chip-tests.instructions.md` | CHIP conformance test harness — read on demand |
172
+ | `.agents/rules/matterbridge.instructions.md` | Matterbridge endpoint guide — read on demand |
173
+ | `.agents/rules/plugin-frontend.instructions.md` | Plugin frontend SPA and custom REST API guide — read on demand |
174
+ | `.agents/rules/testing.instructions.md` | Testing standards — read on demand |
175
+ | `.agents/skills/verify-agent-context/SKILL.md` | Verify the agent instructions, rules and skills are loaded — agent skill, `/verify-agent-context` |
176
+ | `.agents/skills/matterjs-pr-workflow/SKILL.md` | Open a PR against matter.js from the local fork — agent skill, `/matterjs-pr-workflow` |
177
+ | `.agents/skills/verify-npm-alignment/SKILL.md` | Verify the npm `latest` and `dev` tag alignment — agent skill, `/verify-npm-alignment` |
178
+ | `.agents/skills/verify-server-endpoint-context/SKILL.md` | Verify server endpoint context and forwarding order — agent skill, `/verify-server-endpoint-context` |
179
+ | `.agents/skills/verify-version-alignment/SKILL.md` | Verify the version alignment across the repo — agent skill, `/verify-version-alignment` |
149
180
 
150
181
  ## Guidelines on imports/exports
151
182
 
@@ -693,9 +693,9 @@
693
693
  "license": "MIT"
694
694
  },
695
695
  "node_modules/@types/react": {
696
- "version": "19.2.18",
697
- "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.18.tgz",
698
- "integrity": "sha512-AnzbBERsrLKtk2XSfTbYRLjQPdy116Sty4q+T+Bp3IC4l6jNBvreVPAHmpq9qhXQM7CXZPjLVmGMw9sy+hxQ3w==",
696
+ "version": "19.3.0",
697
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-19.3.0.tgz",
698
+ "integrity": "sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==",
699
699
  "license": "MIT",
700
700
  "peer": true,
701
701
  "dependencies": {
@@ -1254,9 +1254,9 @@
1254
1254
  }
1255
1255
  },
1256
1256
  "node_modules/react-is": {
1257
- "version": "19.2.8",
1258
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.2.8.tgz",
1259
- "integrity": "sha512-s5un28nYxKJw5gvUHyW5PCC28CvBqLu9r3cWgzHT4Vo/5fqqkFcdRYsGcKf50WMPpjjFZS5d76fn3YCo2njKwQ==",
1257
+ "version": "19.3.0",
1258
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.3.0.tgz",
1259
+ "integrity": "sha512-UpMYezM4v5/18F28aC66AEsjXIgE02kyEMH6yLdgLXu/UTfa1Ntwck/nNLrbqJsEXW7gPb0coNO9FQse9WTovA==",
1260
1260
  "license": "MIT"
1261
1261
  },
1262
1262
  "node_modules/react-router": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matterbridge",
3
- "version": "3.10.9-dev-20260908-a3f4064",
3
+ "version": "3.10.9-dev-20260910-ca91bcb",
4
4
  "description": "Matterbridge plugin manager for Matter",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "Apache-2.0",
@@ -229,22 +229,22 @@
229
229
  ]
230
230
  },
231
231
  "dependencies": {
232
- "@matterbridge/core": "3.10.9-dev-20260908-a3f4064",
233
- "@matterbridge/dgram": "3.10.9-dev-20260908-a3f4064",
234
- "@matterbridge/jest-utils": "3.10.9-dev-20260908-a3f4064",
235
- "@matterbridge/test-utils": "3.10.9-dev-20260908-a3f4064",
236
- "@matterbridge/thread": "3.10.9-dev-20260908-a3f4064",
237
- "@matterbridge/types": "3.10.9-dev-20260908-a3f4064",
238
- "@matterbridge/utils": "3.10.9-dev-20260908-a3f4064",
239
- "@matterbridge/vitest-utils": "3.10.9-dev-20260908-a3f4064",
232
+ "@matterbridge/core": "3.10.9-dev-20260910-ca91bcb",
233
+ "@matterbridge/dgram": "3.10.9-dev-20260910-ca91bcb",
234
+ "@matterbridge/jest-utils": "3.10.9-dev-20260910-ca91bcb",
235
+ "@matterbridge/test-utils": "3.10.9-dev-20260910-ca91bcb",
236
+ "@matterbridge/thread": "3.10.9-dev-20260910-ca91bcb",
237
+ "@matterbridge/types": "3.10.9-dev-20260910-ca91bcb",
238
+ "@matterbridge/utils": "3.10.9-dev-20260910-ca91bcb",
239
+ "@matterbridge/vitest-utils": "3.10.9-dev-20260910-ca91bcb",
240
240
  "node-ansi-logger": "3.3.1",
241
241
  "node-persist-manager": "2.1.1"
242
242
  },
243
243
  "build": {
244
244
  "version": "3.10.9",
245
- "sha": "3a44ab8b639e21ffeb07db0df967602af1a59530",
246
- "sha7": "3a44ab8",
247
- "event": "schedule",
245
+ "sha": "ca91bcb3255f03a42d9b31d0b89c042282c8bf99",
246
+ "sha7": "ca91bcb",
247
+ "event": "workflow_dispatch",
248
248
  "workflow": "Publish to npm and trigger docker builds",
249
249
  "type": "branch",
250
250
  "name": "dev",