@camstack/addon-tailscale 1.2.76 → 1.2.78
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-COuidsyV.mjs → dist-D7_6qQjh.mjs} +52 -18
- package/dist/{dist-DL2hMfTT.js → dist-DH2eDLke.js} +52 -18
- 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-DH2eDLke.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-D7_6qQjh.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";
|
|
@@ -7968,13 +7968,28 @@ var RecordingBandSchema = object({
|
|
|
7968
7968
|
end: string().regex(HHMM),
|
|
7969
7969
|
mode: RecordingBandModeSchema,
|
|
7970
7970
|
triggers: RecordingBandTriggersSchema.optional(),
|
|
7971
|
+
/**
|
|
7972
|
+
* RETIRED (D381). A band no longer carries a pre-buffer of its own.
|
|
7973
|
+
*
|
|
7974
|
+
* It was the retroactive KEEP bound — which already-written segments survive
|
|
7975
|
+
* a trigger — and it had to be at least as wide as the widest pre-roll the
|
|
7976
|
+
* broker could serve, or the gate would delete the seconds the ring had just
|
|
7977
|
+
* handed the writer. That "at least as wide as" is the tell: it was a second
|
|
7978
|
+
* expression of the broker's retention, in different units, in a different
|
|
7979
|
+
* addon, with an invariant the operator had to maintain by hand. The keep
|
|
7980
|
+
* bound is now derived from the one prebuffer ceiling and there is nothing
|
|
7981
|
+
* left to configure here.
|
|
7982
|
+
*
|
|
7983
|
+
* The key survives in the SHAPE so a config written before that record still
|
|
7984
|
+
* parses and can be migrated deliberately — `RecordingBandSchema` is not
|
|
7985
|
+
* strict, so simply deleting it would strip an operator's value in silence on
|
|
7986
|
+
* the next save (the failure D380 came one commit from shipping). Nothing
|
|
7987
|
+
* reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
|
|
7988
|
+
*/
|
|
7971
7989
|
preBufferSec: number().min(0).optional(),
|
|
7972
7990
|
postBufferSec: number().min(0).optional()
|
|
7973
7991
|
});
|
|
7974
|
-
({
|
|
7975
|
-
preBufferSec: 15,
|
|
7976
|
-
postBufferSec: 30
|
|
7977
|
-
}).postBufferSec * 1e3;
|
|
7992
|
+
({ postBufferSec: 30 }).postBufferSec * 1e3;
|
|
7978
7993
|
/**
|
|
7979
7994
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
7980
7995
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
|
@@ -10551,12 +10566,30 @@ var BackupDestinationInfoSchema = object({
|
|
|
10551
10566
|
lastSuccessAt: number().optional(),
|
|
10552
10567
|
/** Newest-archive size from `manifests.json`, or undefined. */
|
|
10553
10568
|
lastSuccessSizeBytes: number().optional(),
|
|
10554
|
-
/**
|
|
10569
|
+
/**
|
|
10570
|
+
* Cron cadence(s) of the ENABLED schedules that fan out to this
|
|
10571
|
+
* destination, comma-joined. Absent when no enabled schedule targets it
|
|
10572
|
+
* — a destination nothing is scheduled to write to must not advertise a
|
|
10573
|
+
* cadence (D384). This is never the `backup_destination_policies.cron`
|
|
10574
|
+
* column: that per-location cron has scheduled nothing since 2026-07-28
|
|
10575
|
+
* and reading it made a destination with a DISABLED schedule claim a
|
|
10576
|
+
* nightly run.
|
|
10577
|
+
*/
|
|
10555
10578
|
cron: string().optional(),
|
|
10556
|
-
/** ms-epoch of next
|
|
10579
|
+
/** ms-epoch of the next firing across those schedules (earliest), if any. */
|
|
10557
10580
|
nextRunAt: number().optional(),
|
|
10558
|
-
/**
|
|
10559
|
-
|
|
10581
|
+
/**
|
|
10582
|
+
* ms-epoch of the last time a run ATTEMPTED to write here — success or
|
|
10583
|
+
* failure. Never a success stamp: pair it with `lastSuccessAt` (the
|
|
10584
|
+
* newest archive that actually landed) and `lastError`.
|
|
10585
|
+
*/
|
|
10586
|
+
lastAttemptAt: number().optional(),
|
|
10587
|
+
/**
|
|
10588
|
+
* Why the last attempt failed, verbatim. Absent when the last attempt
|
|
10589
|
+
* landed the archive. A destination that has never been written to has
|
|
10590
|
+
* neither this nor `lastAttemptAt`.
|
|
10591
|
+
*/
|
|
10592
|
+
lastError: string().optional()
|
|
10560
10593
|
});
|
|
10561
10594
|
/**
|
|
10562
10595
|
* Per-archive entry returned by `backup.listArchives({ destinationId })`.
|
|
@@ -10719,8 +10752,16 @@ var BackupScheduleSchema = object({
|
|
|
10719
10752
|
retentionCount: number().int().min(1).max(1e3),
|
|
10720
10753
|
/** Optional subset of source locations to include; omitted = all. */
|
|
10721
10754
|
dataSources: array(string()).readonly().optional(),
|
|
10722
|
-
/**
|
|
10723
|
-
|
|
10755
|
+
/**
|
|
10756
|
+
* ms-epoch of the last tick that FIRED this schedule. Stamped before the
|
|
10757
|
+
* archive runs (it is the dedupe anchor), so it says "attempted", never
|
|
10758
|
+
* "succeeded" — a run refused by every destination stamps it too.
|
|
10759
|
+
*/
|
|
10760
|
+
lastAttemptAt: number().optional(),
|
|
10761
|
+
/** ms-epoch of the last run of this schedule that landed at ≥1 destination. */
|
|
10762
|
+
lastSuccessAt: number().optional(),
|
|
10763
|
+
/** Why the last fired run failed, verbatim. Absent when it succeeded. */
|
|
10764
|
+
lastError: string().optional(),
|
|
10724
10765
|
/** ms-epoch of next computed firing (read-only, filled on list). */
|
|
10725
10766
|
nextRunAt: number().optional()
|
|
10726
10767
|
});
|
|
@@ -10769,14 +10810,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
|
|
|
10769
10810
|
locationId: string(),
|
|
10770
10811
|
enabled: boolean(),
|
|
10771
10812
|
retentionCount: number().int().min(1).max(1e3),
|
|
10772
|
-
label: string().optional()
|
|
10773
|
-
/**
|
|
10774
|
-
* Per-destination cron expression. Empty string clears the
|
|
10775
|
-
* schedule (manual-only). Validated server-side via croner;
|
|
10776
|
-
* malformed expressions reject the upsert with an actionable
|
|
10777
|
-
* message.
|
|
10778
|
-
*/
|
|
10779
|
-
cron: string().optional()
|
|
10813
|
+
label: string().optional()
|
|
10780
10814
|
}), _void(), {
|
|
10781
10815
|
kind: "mutation",
|
|
10782
10816
|
auth: "admin"
|
|
@@ -7968,13 +7968,28 @@ var RecordingBandSchema = object({
|
|
|
7968
7968
|
end: string().regex(HHMM),
|
|
7969
7969
|
mode: RecordingBandModeSchema,
|
|
7970
7970
|
triggers: RecordingBandTriggersSchema.optional(),
|
|
7971
|
+
/**
|
|
7972
|
+
* RETIRED (D381). A band no longer carries a pre-buffer of its own.
|
|
7973
|
+
*
|
|
7974
|
+
* It was the retroactive KEEP bound — which already-written segments survive
|
|
7975
|
+
* a trigger — and it had to be at least as wide as the widest pre-roll the
|
|
7976
|
+
* broker could serve, or the gate would delete the seconds the ring had just
|
|
7977
|
+
* handed the writer. That "at least as wide as" is the tell: it was a second
|
|
7978
|
+
* expression of the broker's retention, in different units, in a different
|
|
7979
|
+
* addon, with an invariant the operator had to maintain by hand. The keep
|
|
7980
|
+
* bound is now derived from the one prebuffer ceiling and there is nothing
|
|
7981
|
+
* left to configure here.
|
|
7982
|
+
*
|
|
7983
|
+
* The key survives in the SHAPE so a config written before that record still
|
|
7984
|
+
* parses and can be migrated deliberately — `RecordingBandSchema` is not
|
|
7985
|
+
* strict, so simply deleting it would strip an operator's value in silence on
|
|
7986
|
+
* the next save (the failure D380 came one commit from shipping). Nothing
|
|
7987
|
+
* reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
|
|
7988
|
+
*/
|
|
7971
7989
|
preBufferSec: number().min(0).optional(),
|
|
7972
7990
|
postBufferSec: number().min(0).optional()
|
|
7973
7991
|
});
|
|
7974
|
-
({
|
|
7975
|
-
preBufferSec: 15,
|
|
7976
|
-
postBufferSec: 30
|
|
7977
|
-
}).postBufferSec * 1e3;
|
|
7992
|
+
({ postBufferSec: 30 }).postBufferSec * 1e3;
|
|
7978
7993
|
/**
|
|
7979
7994
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
7980
7995
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
|
@@ -10551,12 +10566,30 @@ var BackupDestinationInfoSchema = object({
|
|
|
10551
10566
|
lastSuccessAt: number().optional(),
|
|
10552
10567
|
/** Newest-archive size from `manifests.json`, or undefined. */
|
|
10553
10568
|
lastSuccessSizeBytes: number().optional(),
|
|
10554
|
-
/**
|
|
10569
|
+
/**
|
|
10570
|
+
* Cron cadence(s) of the ENABLED schedules that fan out to this
|
|
10571
|
+
* destination, comma-joined. Absent when no enabled schedule targets it
|
|
10572
|
+
* — a destination nothing is scheduled to write to must not advertise a
|
|
10573
|
+
* cadence (D384). This is never the `backup_destination_policies.cron`
|
|
10574
|
+
* column: that per-location cron has scheduled nothing since 2026-07-28
|
|
10575
|
+
* and reading it made a destination with a DISABLED schedule claim a
|
|
10576
|
+
* nightly run.
|
|
10577
|
+
*/
|
|
10555
10578
|
cron: string().optional(),
|
|
10556
|
-
/** ms-epoch of next
|
|
10579
|
+
/** ms-epoch of the next firing across those schedules (earliest), if any. */
|
|
10557
10580
|
nextRunAt: number().optional(),
|
|
10558
|
-
/**
|
|
10559
|
-
|
|
10581
|
+
/**
|
|
10582
|
+
* ms-epoch of the last time a run ATTEMPTED to write here — success or
|
|
10583
|
+
* failure. Never a success stamp: pair it with `lastSuccessAt` (the
|
|
10584
|
+
* newest archive that actually landed) and `lastError`.
|
|
10585
|
+
*/
|
|
10586
|
+
lastAttemptAt: number().optional(),
|
|
10587
|
+
/**
|
|
10588
|
+
* Why the last attempt failed, verbatim. Absent when the last attempt
|
|
10589
|
+
* landed the archive. A destination that has never been written to has
|
|
10590
|
+
* neither this nor `lastAttemptAt`.
|
|
10591
|
+
*/
|
|
10592
|
+
lastError: string().optional()
|
|
10560
10593
|
});
|
|
10561
10594
|
/**
|
|
10562
10595
|
* Per-archive entry returned by `backup.listArchives({ destinationId })`.
|
|
@@ -10719,8 +10752,16 @@ var BackupScheduleSchema = object({
|
|
|
10719
10752
|
retentionCount: number().int().min(1).max(1e3),
|
|
10720
10753
|
/** Optional subset of source locations to include; omitted = all. */
|
|
10721
10754
|
dataSources: array(string()).readonly().optional(),
|
|
10722
|
-
/**
|
|
10723
|
-
|
|
10755
|
+
/**
|
|
10756
|
+
* ms-epoch of the last tick that FIRED this schedule. Stamped before the
|
|
10757
|
+
* archive runs (it is the dedupe anchor), so it says "attempted", never
|
|
10758
|
+
* "succeeded" — a run refused by every destination stamps it too.
|
|
10759
|
+
*/
|
|
10760
|
+
lastAttemptAt: number().optional(),
|
|
10761
|
+
/** ms-epoch of the last run of this schedule that landed at ≥1 destination. */
|
|
10762
|
+
lastSuccessAt: number().optional(),
|
|
10763
|
+
/** Why the last fired run failed, verbatim. Absent when it succeeded. */
|
|
10764
|
+
lastError: string().optional(),
|
|
10724
10765
|
/** ms-epoch of next computed firing (read-only, filled on list). */
|
|
10725
10766
|
nextRunAt: number().optional()
|
|
10726
10767
|
});
|
|
@@ -10769,14 +10810,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
|
|
|
10769
10810
|
locationId: string(),
|
|
10770
10811
|
enabled: boolean(),
|
|
10771
10812
|
retentionCount: number().int().min(1).max(1e3),
|
|
10772
|
-
label: string().optional()
|
|
10773
|
-
/**
|
|
10774
|
-
* Per-destination cron expression. Empty string clears the
|
|
10775
|
-
* schedule (manual-only). Validated server-side via croner;
|
|
10776
|
-
* malformed expressions reject the upsert with an actionable
|
|
10777
|
-
* message.
|
|
10778
|
-
*/
|
|
10779
|
-
cron: string().optional()
|
|
10813
|
+
label: string().optional()
|
|
10780
10814
|
}), _void(), {
|
|
10781
10815
|
kind: "mutation",
|
|
10782
10816
|
auth: "admin"
|
|
@@ -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-DH2eDLke.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-D7_6qQjh.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.78",
|
|
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",
|