@camstack/addon-tailscale 1.2.80 → 1.2.81

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.
@@ -24,7 +24,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
24
  enumerable: true
25
25
  }) : target, mod));
26
26
  //#endregion
27
- const require_dist = require("../dist-7tPMuf55.js");
27
+ const require_dist = require("../dist-BLTsm6JN.js");
28
28
  let node_child_process = require("node:child_process");
29
29
  let node_util = require("node:util");
30
30
  let node_fs = require("node:fs");
@@ -1,4 +1,4 @@
1
- import { a as EventCategory, i as BaseAddon, n as networkAccessCapability, r as BOOT_RECOVERY_BACKOFF_MS, t as meshNetworkCapability } from "../dist-Cr26af1F.mjs";
1
+ import { a as EventCategory, i as BaseAddon, n as networkAccessCapability, r as BOOT_RECOVERY_BACKOFF_MS, t as meshNetworkCapability } from "../dist-mpmQ8On1.mjs";
2
2
  import { execFile, spawn } from "node:child_process";
3
3
  import { promisify } from "node:util";
4
4
  import * as fs from "node:fs";
@@ -20165,8 +20165,25 @@ var occupancyRecheckFramesField = {
20165
20165
  * (analyzer attaches detected `regions[]`; onboard does not — the
20166
20166
  * camera typically only reports a binary signal plus an optional
20167
20167
  * channel/AI class which lives in dedicated event channels).
20168
- */
20169
- var MotionSourceEnum = _enum(["onboard", "analyzer"]);
20168
+ *
20169
+ * - `onboard` — the camera's firmware said something moved.
20170
+ * - `analyzer` — this runner's frame-diff said so, and attaches `regions[]`.
20171
+ * - `device-activity` — the DEVICE said it is doing its job: the
20172
+ * `recording-signal` LEVEL the same device raises for the recorder
20173
+ * ([D380](../../../../docs/decisions/adr-0380-a-device-decided-recording-is-a-mode-with-no-schedule-seeded-once.md)),
20174
+ * republished as a motion source. It attaches **nothing** — no regions, no
20175
+ * class: the only fact it carries is that the device is active, and a robot
20176
+ * vacuum that is itself the moving object has no region worth sending. It is
20177
+ * a LEVEL, so unlike `onboard` it has a real falling edge, and unlike
20178
+ * `analyzer` it must not open the frame-diff side-channel — the runner's
20179
+ * `handleOnboardMotionAnalyzer` gate is `source === 'onboard'` and stays that
20180
+ * way ([D392](../../../../docs/decisions/adr-0392-a-device-that-says-it-is-working-is-a-motion-source-of-its-own.md)).
20181
+ */
20182
+ var MotionSourceEnum = _enum([
20183
+ "onboard",
20184
+ "analyzer",
20185
+ "device-activity"
20186
+ ]);
20170
20187
  /**
20171
20188
  * List of motion sources active on a camera. Empty array is valid:
20172
20189
  * "no source" — happens for battery cams without firmware motion when
@@ -20165,8 +20165,25 @@ var occupancyRecheckFramesField = {
20165
20165
  * (analyzer attaches detected `regions[]`; onboard does not — the
20166
20166
  * camera typically only reports a binary signal plus an optional
20167
20167
  * channel/AI class which lives in dedicated event channels).
20168
- */
20169
- var MotionSourceEnum = _enum(["onboard", "analyzer"]);
20168
+ *
20169
+ * - `onboard` — the camera's firmware said something moved.
20170
+ * - `analyzer` — this runner's frame-diff said so, and attaches `regions[]`.
20171
+ * - `device-activity` — the DEVICE said it is doing its job: the
20172
+ * `recording-signal` LEVEL the same device raises for the recorder
20173
+ * ([D380](../../../../docs/decisions/adr-0380-a-device-decided-recording-is-a-mode-with-no-schedule-seeded-once.md)),
20174
+ * republished as a motion source. It attaches **nothing** — no regions, no
20175
+ * class: the only fact it carries is that the device is active, and a robot
20176
+ * vacuum that is itself the moving object has no region worth sending. It is
20177
+ * a LEVEL, so unlike `onboard` it has a real falling edge, and unlike
20178
+ * `analyzer` it must not open the frame-diff side-channel — the runner's
20179
+ * `handleOnboardMotionAnalyzer` gate is `source === 'onboard'` and stays that
20180
+ * way ([D392](../../../../docs/decisions/adr-0392-a-device-that-says-it-is-working-is-a-motion-source-of-its-own.md)).
20181
+ */
20182
+ var MotionSourceEnum = _enum([
20183
+ "onboard",
20184
+ "analyzer",
20185
+ "device-activity"
20186
+ ]);
20170
20187
  /**
20171
20188
  * List of motion sources active on a camera. Empty array is valid:
20172
20189
  * "no source" — happens for battery cams without firmware motion when
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_dist = require("../dist-7tPMuf55.js");
5
+ const require_dist = require("../dist-BLTsm6JN.js");
6
6
  let node_crypto = require("node:crypto");
7
7
  let node_child_process = require("node:child_process");
8
8
  //#region src/ingress/tailscale-cli.ts
@@ -1,4 +1,4 @@
1
- import { a as EventCategory, i as BaseAddon, n as networkAccessCapability } from "../dist-Cr26af1F.mjs";
1
+ import { a as EventCategory, i as BaseAddon, n as networkAccessCapability } from "../dist-mpmQ8On1.mjs";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import { execFile } from "node:child_process";
4
4
  import { promisify } from "node:util";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-tailscale",
3
- "version": "1.2.80",
3
+ "version": "1.2.81",
4
4
  "description": "Tailscale bundle for CamStack — joins the host to a tailnet (client) and exposes the hub via Serve/Funnel (ingress). Multi-entry npm package shipping 2 addons under a single bundle.",
5
5
  "keywords": [
6
6
  "camstack",