@camstack/addon-tailscale 1.2.56 → 1.2.58
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/client/tailscale.addon.js +1 -1
- package/dist/client/tailscale.addon.mjs +1 -1
- package/dist/{dist-Dn_mYmNE.js → dist-BZ74BNhY.js} +45 -4
- package/dist/{dist-Bjd4m4-U.mjs → dist-DAMnpDgL.mjs} +45 -4
- package/dist/ingress/tailscale-ingress.addon.js +1 -1
- package/dist/ingress/tailscale-ingress.addon.mjs +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
27
|
+
const require_dist = require("../dist-BZ74BNhY.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-
|
|
1
|
+
import { a as EventCategory, i as BaseAddon, n as networkAccessCapability, r as BOOT_RECOVERY_BACKOFF_MS, t as meshNetworkCapability } from "../dist-DAMnpDgL.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";
|
|
@@ -18875,7 +18875,20 @@ var RecentTracksQueryInput = object({
|
|
|
18875
18875
|
projection: TrackProjectionSchema.optional(),
|
|
18876
18876
|
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
18877
18877
|
* feed lists passages; parking records live on the stationary registry. */
|
|
18878
|
-
includeStationary: boolean().optional()
|
|
18878
|
+
includeStationary: boolean().optional(),
|
|
18879
|
+
/**
|
|
18880
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
18881
|
+
*
|
|
18882
|
+
* The same filter `listTracks` takes, because the timeline's class chips must
|
|
18883
|
+
* mean the same thing whether the scope is one camera or twelve. Until this
|
|
18884
|
+
* existed the scoped feed downloaded a page and narrowed it on the phone
|
|
18885
|
+
* while the single-camera path narrowed the read — one filter, two costs.
|
|
18886
|
+
*
|
|
18887
|
+
* A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
|
|
18888
|
+
* whose class list is unreadable are kept, and the client's rule stays the
|
|
18889
|
+
* exact one.
|
|
18890
|
+
*/
|
|
18891
|
+
classes: array(string()).optional()
|
|
18879
18892
|
});
|
|
18880
18893
|
var RecentTracksPageSchema = object({
|
|
18881
18894
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -19262,7 +19275,21 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19262
19275
|
/** Include stationary-promoted rows (parked objects handed to the
|
|
19263
19276
|
* stationary registry). Default false: the timeline lists passages,
|
|
19264
19277
|
* not parking records (operator decision, 2026-08-15). */
|
|
19265
|
-
includeStationary: boolean().optional()
|
|
19278
|
+
includeStationary: boolean().optional(),
|
|
19279
|
+
/**
|
|
19280
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
19281
|
+
*
|
|
19282
|
+
* Added 2026-09-03: the timeline's class chips filtered in the CLIENT,
|
|
19283
|
+
* on a day of rows already downloaded. The zone filter had been moved
|
|
19284
|
+
* here for exactly that reason — and it is also what lets the rows come
|
|
19285
|
+
* back `slim` — but the class filter was left behind, so a narrow
|
|
19286
|
+
* selection was still a wide read followed by a wide discard.
|
|
19287
|
+
*
|
|
19288
|
+
* Empty is "show all", not "nothing matches": a chip row with nothing
|
|
19289
|
+
* selected is an operator who has not narrowed anything, and an empty
|
|
19290
|
+
* timeline would read as a camera that saw nothing.
|
|
19291
|
+
*/
|
|
19292
|
+
classes: array(string()).optional()
|
|
19266
19293
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19267
19294
|
kind: "mutation",
|
|
19268
19295
|
auth: "admin"
|
|
@@ -22899,8 +22926,22 @@ DeviceType.Automation, method(object({ deviceId: number().int().nonnegative() })
|
|
|
22899
22926
|
* threshold.
|
|
22900
22927
|
*/
|
|
22901
22928
|
var BatteryStatusSchema = object({
|
|
22902
|
-
/**
|
|
22903
|
-
|
|
22929
|
+
/**
|
|
22930
|
+
* 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
|
|
22931
|
+
* provider has registered the capability but no reading has landed.
|
|
22932
|
+
*
|
|
22933
|
+
* It is nullable because it was not, and the only value a provider could
|
|
22934
|
+
* seed with was `0`. A battery camera behind an NVR therefore announced
|
|
22935
|
+
* itself at 0% on every start and corrected itself a moment later, which is
|
|
22936
|
+
* indistinguishable from a real flat battery: it fires the low-battery alert
|
|
22937
|
+
* every time the hub restarts. Unknown is not empty (D315), and on a battery
|
|
22938
|
+
* reading the difference is an alarm.
|
|
22939
|
+
*
|
|
22940
|
+
* `vacuum-control` and `lawn-mower-control` already model it this way.
|
|
22941
|
+
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
22942
|
+
* declines to band a non-finite reading, which is the correct shape.
|
|
22943
|
+
*/
|
|
22944
|
+
percentage: number().min(0).max(100).nullable(),
|
|
22904
22945
|
/**
|
|
22905
22946
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
22906
22947
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
|
@@ -18875,7 +18875,20 @@ var RecentTracksQueryInput = object({
|
|
|
18875
18875
|
projection: TrackProjectionSchema.optional(),
|
|
18876
18876
|
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
18877
18877
|
* feed lists passages; parking records live on the stationary registry. */
|
|
18878
|
-
includeStationary: boolean().optional()
|
|
18878
|
+
includeStationary: boolean().optional(),
|
|
18879
|
+
/**
|
|
18880
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
18881
|
+
*
|
|
18882
|
+
* The same filter `listTracks` takes, because the timeline's class chips must
|
|
18883
|
+
* mean the same thing whether the scope is one camera or twelve. Until this
|
|
18884
|
+
* existed the scoped feed downloaded a page and narrowed it on the phone
|
|
18885
|
+
* while the single-camera path narrowed the read — one filter, two costs.
|
|
18886
|
+
*
|
|
18887
|
+
* A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
|
|
18888
|
+
* whose class list is unreadable are kept, and the client's rule stays the
|
|
18889
|
+
* exact one.
|
|
18890
|
+
*/
|
|
18891
|
+
classes: array(string()).optional()
|
|
18879
18892
|
});
|
|
18880
18893
|
var RecentTracksPageSchema = object({
|
|
18881
18894
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -19262,7 +19275,21 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19262
19275
|
/** Include stationary-promoted rows (parked objects handed to the
|
|
19263
19276
|
* stationary registry). Default false: the timeline lists passages,
|
|
19264
19277
|
* not parking records (operator decision, 2026-08-15). */
|
|
19265
|
-
includeStationary: boolean().optional()
|
|
19278
|
+
includeStationary: boolean().optional(),
|
|
19279
|
+
/**
|
|
19280
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
19281
|
+
*
|
|
19282
|
+
* Added 2026-09-03: the timeline's class chips filtered in the CLIENT,
|
|
19283
|
+
* on a day of rows already downloaded. The zone filter had been moved
|
|
19284
|
+
* here for exactly that reason — and it is also what lets the rows come
|
|
19285
|
+
* back `slim` — but the class filter was left behind, so a narrow
|
|
19286
|
+
* selection was still a wide read followed by a wide discard.
|
|
19287
|
+
*
|
|
19288
|
+
* Empty is "show all", not "nothing matches": a chip row with nothing
|
|
19289
|
+
* selected is an operator who has not narrowed anything, and an empty
|
|
19290
|
+
* timeline would read as a camera that saw nothing.
|
|
19291
|
+
*/
|
|
19292
|
+
classes: array(string()).optional()
|
|
19266
19293
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19267
19294
|
kind: "mutation",
|
|
19268
19295
|
auth: "admin"
|
|
@@ -22899,8 +22926,22 @@ DeviceType.Automation, method(object({ deviceId: number().int().nonnegative() })
|
|
|
22899
22926
|
* threshold.
|
|
22900
22927
|
*/
|
|
22901
22928
|
var BatteryStatusSchema = object({
|
|
22902
|
-
/**
|
|
22903
|
-
|
|
22929
|
+
/**
|
|
22930
|
+
* 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
|
|
22931
|
+
* provider has registered the capability but no reading has landed.
|
|
22932
|
+
*
|
|
22933
|
+
* It is nullable because it was not, and the only value a provider could
|
|
22934
|
+
* seed with was `0`. A battery camera behind an NVR therefore announced
|
|
22935
|
+
* itself at 0% on every start and corrected itself a moment later, which is
|
|
22936
|
+
* indistinguishable from a real flat battery: it fires the low-battery alert
|
|
22937
|
+
* every time the hub restarts. Unknown is not empty (D315), and on a battery
|
|
22938
|
+
* reading the difference is an alarm.
|
|
22939
|
+
*
|
|
22940
|
+
* `vacuum-control` and `lawn-mower-control` already model it this way.
|
|
22941
|
+
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
22942
|
+
* declines to band a non-finite reading, which is the correct shape.
|
|
22943
|
+
*/
|
|
22944
|
+
percentage: number().min(0).max(100).nullable(),
|
|
22904
22945
|
/**
|
|
22905
22946
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
22906
22947
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
|
@@ -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-
|
|
5
|
+
const require_dist = require("../dist-BZ74BNhY.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-
|
|
1
|
+
import { a as EventCategory, i as BaseAddon, n as networkAccessCapability } from "../dist-DAMnpDgL.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.
|
|
3
|
+
"version": "1.2.58",
|
|
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",
|