@camstack/addon-tailscale 1.2.77 → 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-qvo4-OTG.mjs → dist-D7_6qQjh.mjs} +33 -14
- package/dist/{dist-D-r2DHbc.js → dist-DH2eDLke.js} +33 -14
- 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";
|
|
@@ -10566,12 +10566,30 @@ var BackupDestinationInfoSchema = object({
|
|
|
10566
10566
|
lastSuccessAt: number().optional(),
|
|
10567
10567
|
/** Newest-archive size from `manifests.json`, or undefined. */
|
|
10568
10568
|
lastSuccessSizeBytes: number().optional(),
|
|
10569
|
-
/**
|
|
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
|
+
*/
|
|
10570
10578
|
cron: string().optional(),
|
|
10571
|
-
/** ms-epoch of next
|
|
10579
|
+
/** ms-epoch of the next firing across those schedules (earliest), if any. */
|
|
10572
10580
|
nextRunAt: number().optional(),
|
|
10573
|
-
/**
|
|
10574
|
-
|
|
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()
|
|
10575
10593
|
});
|
|
10576
10594
|
/**
|
|
10577
10595
|
* Per-archive entry returned by `backup.listArchives({ destinationId })`.
|
|
@@ -10734,8 +10752,16 @@ var BackupScheduleSchema = object({
|
|
|
10734
10752
|
retentionCount: number().int().min(1).max(1e3),
|
|
10735
10753
|
/** Optional subset of source locations to include; omitted = all. */
|
|
10736
10754
|
dataSources: array(string()).readonly().optional(),
|
|
10737
|
-
/**
|
|
10738
|
-
|
|
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(),
|
|
10739
10765
|
/** ms-epoch of next computed firing (read-only, filled on list). */
|
|
10740
10766
|
nextRunAt: number().optional()
|
|
10741
10767
|
});
|
|
@@ -10784,14 +10810,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
|
|
|
10784
10810
|
locationId: string(),
|
|
10785
10811
|
enabled: boolean(),
|
|
10786
10812
|
retentionCount: number().int().min(1).max(1e3),
|
|
10787
|
-
label: string().optional()
|
|
10788
|
-
/**
|
|
10789
|
-
* Per-destination cron expression. Empty string clears the
|
|
10790
|
-
* schedule (manual-only). Validated server-side via croner;
|
|
10791
|
-
* malformed expressions reject the upsert with an actionable
|
|
10792
|
-
* message.
|
|
10793
|
-
*/
|
|
10794
|
-
cron: string().optional()
|
|
10813
|
+
label: string().optional()
|
|
10795
10814
|
}), _void(), {
|
|
10796
10815
|
kind: "mutation",
|
|
10797
10816
|
auth: "admin"
|
|
@@ -10566,12 +10566,30 @@ var BackupDestinationInfoSchema = object({
|
|
|
10566
10566
|
lastSuccessAt: number().optional(),
|
|
10567
10567
|
/** Newest-archive size from `manifests.json`, or undefined. */
|
|
10568
10568
|
lastSuccessSizeBytes: number().optional(),
|
|
10569
|
-
/**
|
|
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
|
+
*/
|
|
10570
10578
|
cron: string().optional(),
|
|
10571
|
-
/** ms-epoch of next
|
|
10579
|
+
/** ms-epoch of the next firing across those schedules (earliest), if any. */
|
|
10572
10580
|
nextRunAt: number().optional(),
|
|
10573
|
-
/**
|
|
10574
|
-
|
|
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()
|
|
10575
10593
|
});
|
|
10576
10594
|
/**
|
|
10577
10595
|
* Per-archive entry returned by `backup.listArchives({ destinationId })`.
|
|
@@ -10734,8 +10752,16 @@ var BackupScheduleSchema = object({
|
|
|
10734
10752
|
retentionCount: number().int().min(1).max(1e3),
|
|
10735
10753
|
/** Optional subset of source locations to include; omitted = all. */
|
|
10736
10754
|
dataSources: array(string()).readonly().optional(),
|
|
10737
|
-
/**
|
|
10738
|
-
|
|
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(),
|
|
10739
10765
|
/** ms-epoch of next computed firing (read-only, filled on list). */
|
|
10740
10766
|
nextRunAt: number().optional()
|
|
10741
10767
|
});
|
|
@@ -10784,14 +10810,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
|
|
|
10784
10810
|
locationId: string(),
|
|
10785
10811
|
enabled: boolean(),
|
|
10786
10812
|
retentionCount: number().int().min(1).max(1e3),
|
|
10787
|
-
label: string().optional()
|
|
10788
|
-
/**
|
|
10789
|
-
* Per-destination cron expression. Empty string clears the
|
|
10790
|
-
* schedule (manual-only). Validated server-side via croner;
|
|
10791
|
-
* malformed expressions reject the upsert with an actionable
|
|
10792
|
-
* message.
|
|
10793
|
-
*/
|
|
10794
|
-
cron: string().optional()
|
|
10813
|
+
label: string().optional()
|
|
10795
10814
|
}), _void(), {
|
|
10796
10815
|
kind: "mutation",
|
|
10797
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",
|