@camstack/addon-matter-broker 0.2.7 → 0.2.9

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/dist/addon.js CHANGED
@@ -14020,6 +14020,18 @@ var motionCapability = {
14020
14020
  name: "motion",
14021
14021
  scope: "device",
14022
14022
  mode: "singleton",
14023
+ /**
14024
+ * Providers register per-device natives via `ctx.registerNativeCap`
14025
+ * (Hikvision/Reolink/Amcrest/Wyze/HA/Homematic/Alexa/Matter) — there is
14026
+ * NO system singleton provider. Without this flag `resolveCapMount`
14027
+ * derived `{ kind: 'singleton' }`, so `motion.getStatus`/`isDetected`
14028
+ * resolved via `registry.getSingleton('motion')` (always null) and every
14029
+ * call 412'd "provider not available" while bindings listed a live
14030
+ * `motion` native (2026-08-02). The flag routes the router through
14031
+ * `requireDeviceScoped` → `getProviderForDevice`, like `motion-trigger`,
14032
+ * `snapshot` and every other per-device native cap.
14033
+ */
14034
+ deviceNative: true,
14023
14035
  deviceTypes: [DeviceType.Camera, DeviceType.Sensor],
14024
14036
  methods: {
14025
14037
  /**
package/dist/addon.mjs CHANGED
@@ -14018,6 +14018,18 @@ var motionCapability = {
14018
14018
  name: "motion",
14019
14019
  scope: "device",
14020
14020
  mode: "singleton",
14021
+ /**
14022
+ * Providers register per-device natives via `ctx.registerNativeCap`
14023
+ * (Hikvision/Reolink/Amcrest/Wyze/HA/Homematic/Alexa/Matter) — there is
14024
+ * NO system singleton provider. Without this flag `resolveCapMount`
14025
+ * derived `{ kind: 'singleton' }`, so `motion.getStatus`/`isDetected`
14026
+ * resolved via `registry.getSingleton('motion')` (always null) and every
14027
+ * call 412'd "provider not available" while bindings listed a live
14028
+ * `motion` native (2026-08-02). The flag routes the router through
14029
+ * `requireDeviceScoped` → `getProviderForDevice`, like `motion-trigger`,
14030
+ * `snapshot` and every other per-device native cap.
14031
+ */
14032
+ deviceNative: true,
14021
14033
  deviceTypes: [DeviceType.Camera, DeviceType.Sensor],
14022
14034
  methods: {
14023
14035
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-matter-broker",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "description": "Matter broker addon for CamStack — owns a Matter fabric (commissioning + the long-lived controller) via the matter.js controller and brokers commissioned Matter nodes into CamStack",
5
5
  "keywords": [
6
6
  "camstack",