camstack 1.2.12 → 1.2.14

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.
@@ -14522,7 +14522,7 @@ function date4(params) {
14522
14522
  // ../../node_modules/zod/v4/classic/external.js
14523
14523
  config(en_default());
14524
14524
 
14525
- // ../types/dist/sleep-B_Uaqbai.mjs
14525
+ // ../types/dist/sleep-BYyv9gUM.mjs
14526
14526
  var WELL_KNOWN_TABS = [
14527
14527
  {
14528
14528
  id: "overview",
@@ -21279,6 +21279,18 @@ var motionCapability = {
21279
21279
  name: "motion",
21280
21280
  scope: "device",
21281
21281
  mode: "singleton",
21282
+ /**
21283
+ * Providers register per-device natives via `ctx.registerNativeCap`
21284
+ * (Hikvision/Reolink/Amcrest/Wyze/HA/Homematic/Alexa/Matter) — there is
21285
+ * NO system singleton provider. Without this flag `resolveCapMount`
21286
+ * derived `{ kind: 'singleton' }`, so `motion.getStatus`/`isDetected`
21287
+ * resolved via `registry.getSingleton('motion')` (always null) and every
21288
+ * call 412'd "provider not available" while bindings listed a live
21289
+ * `motion` native (2026-08-02). The flag routes the router through
21290
+ * `requireDeviceScoped` → `getProviderForDevice`, like `motion-trigger`,
21291
+ * `snapshot` and every other per-device native cap.
21292
+ */
21293
+ deviceNative: true,
21282
21294
  deviceTypes: [DeviceType.Camera, DeviceType.Sensor],
21283
21295
  methods: {
21284
21296
  /**
package/dist/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runDiscover
4
- } from "./chunk-7EQOMKUT.js";
4
+ } from "./chunk-EA6763XQ.js";
5
5
  import "./chunk-K3NQKI34.js";
6
6
 
7
7
  // src/cli.ts
@@ -1079,7 +1079,7 @@ function isUnknown(_value) {
1079
1079
  return true;
1080
1080
  }
1081
1081
  async function resolveServerInteractive(presetNamespace) {
1082
- const { discoverNodes, resolveHubFromDiscovered, filterHubNodes, DEFAULT_HUB_HTTPS_PORT } = await import("./discover-JDVFZ6NG.js");
1082
+ const { discoverNodes, resolveHubFromDiscovered, filterHubNodes, DEFAULT_HUB_HTTPS_PORT } = await import("./discover-UMBUCPOL.js");
1083
1083
  if (presetNamespace) {
1084
1084
  const spinner4 = clack.spinner();
1085
1085
  spinner4.start(`Discovering hub on LAN (namespace "${presetNamespace}")`);
@@ -5,7 +5,7 @@ import {
5
5
  filterHubNodes,
6
6
  resolveHubFromDiscovered,
7
7
  runDiscover
8
- } from "./chunk-7EQOMKUT.js";
8
+ } from "./chunk-EA6763XQ.js";
9
9
  import "./chunk-K3NQKI34.js";
10
10
  export {
11
11
  DEFAULT_HUB_HTTPS_PORT,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "camstack",
3
- "version": "1.2.12",
3
+ "version": "1.2.14",
4
4
  "description": "CLI tool for managing and running CamStack server",
5
5
  "keywords": [
6
6
  "camstack",