@camstack/addon-tailscale 1.2.45 → 1.2.46
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-ki6Kt6cL.js → dist-B81Rw6ym.js} +54 -7
- package/dist/{dist-RluxJbgF.mjs → dist-Tyu2rQxG.mjs} +54 -7
- 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-B81Rw6ym.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-Tyu2rQxG.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";
|
|
@@ -8020,6 +8020,21 @@ var RelocateJobSchema = object({
|
|
|
8020
8020
|
bytesMoved: number().int(),
|
|
8021
8021
|
/** Total files discovered up front; null while (or when) unknown. */
|
|
8022
8022
|
filesTotal: number().int().nullable(),
|
|
8023
|
+
/**
|
|
8024
|
+
* Rows this run CORRECTED while moving them — a durable mutation the move
|
|
8025
|
+
* made that nobody asked for, so it is reported where the operator reads the
|
|
8026
|
+
* job rather than only in a log line.
|
|
8027
|
+
*
|
|
8028
|
+
* A footage segment records its byte count in its own NAME, and the durable
|
|
8029
|
+
* hour row derives its aggregates from those names. A file that does not
|
|
8030
|
+
* match its name therefore makes the ledger's sums — and with them quota and
|
|
8031
|
+
* pressure eviction — wrong by the difference, and only a rename can fix it.
|
|
8032
|
+
* On 2026-08-30 one such row also stalled a 110 749-file drain permanently.
|
|
8033
|
+
*
|
|
8034
|
+
* Absent on lanes where the question has no meaning: a media blob's size is
|
|
8035
|
+
* in its row, not in its name, so `MediaRelocateEngine` never reconciles one.
|
|
8036
|
+
*/
|
|
8037
|
+
rowsReconciled: number().int().nonnegative().optional(),
|
|
8023
8038
|
startedAt: number(),
|
|
8024
8039
|
finishedAt: number().nullable(),
|
|
8025
8040
|
error: string().nullable()
|
|
@@ -8088,14 +8103,42 @@ var RelocateMediaInputSchema = object({
|
|
|
8088
8103
|
/** Omitted = `move`, the pre-existing behaviour. */
|
|
8089
8104
|
mode: MediaRelocateModeSchema.optional()
|
|
8090
8105
|
});
|
|
8091
|
-
/**
|
|
8092
|
-
*
|
|
8093
|
-
*
|
|
8094
|
-
|
|
8095
|
-
|
|
8096
|
-
|
|
8097
|
-
|
|
8106
|
+
/**
|
|
8107
|
+
* The unstamped population of ONE collection — split, because the gate and the
|
|
8108
|
+
* operator ask two different questions and only one of them has to be cheap.
|
|
8109
|
+
*
|
|
8110
|
+
* `present` is the GATE: "is there at least one row that would be orphaned by a
|
|
8111
|
+
* repoint". It is a single indexed seek to the first matching row, so it stays
|
|
8112
|
+
* answerable on a saturated disk and answers in O(log n) precisely in the state
|
|
8113
|
+
* that matters — after a seal, when the population is empty.
|
|
8114
|
+
*
|
|
8115
|
+
* `rows` is the NUMBER, for the refusal message and the operator's sense of
|
|
8116
|
+
* scale. It is a second, indexed `COUNT(*)`, and `null` means **not
|
|
8117
|
+
* measurable** — never zero. `{ present: true, rows: null }` is a legitimate
|
|
8118
|
+
* and useful answer: "there are some, and this read could not say how many"
|
|
8119
|
+
* still refuses the cutover, which is the whole job.
|
|
8120
|
+
*/
|
|
8121
|
+
var UnstampedRowsSchema = object({
|
|
8122
|
+
present: boolean(),
|
|
8123
|
+
rows: number().int().nonnegative().nullable()
|
|
8098
8124
|
});
|
|
8125
|
+
/**
|
|
8126
|
+
* How many rows still carry NO `locationId` — the population a repoint would
|
|
8127
|
+
* silently re-aim at a disk that does not hold their bytes.
|
|
8128
|
+
*
|
|
8129
|
+
* **`null` = the count could not be taken**, and it is NOT permission to cut
|
|
8130
|
+
* over. The gate opens on a measured absence and on nothing else; an unread
|
|
8131
|
+
* collection and an empty one are different facts, and this repo has already
|
|
8132
|
+
* paid for conflating them (`RelocateResidueSchema`, D295).
|
|
8133
|
+
*/
|
|
8134
|
+
var UnstampedEventMediaCountSchema = object({
|
|
8135
|
+
media: UnstampedRowsSchema,
|
|
8136
|
+
retrainFrames: UnstampedRowsSchema,
|
|
8137
|
+
/** True when EITHER collection holds one. The refusal reads this. */
|
|
8138
|
+
anyPresent: boolean(),
|
|
8139
|
+
/** Sum across both, or `null` when either lane could not be counted. */
|
|
8140
|
+
total: number().int().nonnegative().nullable()
|
|
8141
|
+
}).nullable();
|
|
8099
8142
|
var StorageMigrationMediaMoveInputSchema = RelocateMediaInputSchema.extend({ leaseId: string().min(1) });
|
|
8100
8143
|
/** The independently selectable logical storage classes — every class
|
|
8101
8144
|
* `storage.listLocationDeclarations` reports, so an operator never meets a
|
|
@@ -8206,6 +8249,10 @@ var StorageMigrationMoveProgressSchema = object({
|
|
|
8206
8249
|
/** The archive census — the **M** of "N of M" (D295). `null` = unknowable. */
|
|
8207
8250
|
filesTotal: number().int().nonnegative().nullable(),
|
|
8208
8251
|
bytesMoved: number().int().nonnegative(),
|
|
8252
|
+
/** Rows the mover corrected while moving them — see `RelocateJob`. Absent on
|
|
8253
|
+
* a lane that cannot reconcile. A migration that silently rewrote durable
|
|
8254
|
+
* rows would be the same failure as one that silently skipped them. */
|
|
8255
|
+
rowsReconciled: number().int().nonnegative().optional(),
|
|
8209
8256
|
/** The MOVER's start, not the migration's: a drain restarted after an addon
|
|
8210
8257
|
* crash gets a new mover, and a rate computed from the migration's start
|
|
8211
8258
|
* would silently average in the time nothing was running. */
|
|
@@ -8020,6 +8020,21 @@ var RelocateJobSchema = object({
|
|
|
8020
8020
|
bytesMoved: number().int(),
|
|
8021
8021
|
/** Total files discovered up front; null while (or when) unknown. */
|
|
8022
8022
|
filesTotal: number().int().nullable(),
|
|
8023
|
+
/**
|
|
8024
|
+
* Rows this run CORRECTED while moving them — a durable mutation the move
|
|
8025
|
+
* made that nobody asked for, so it is reported where the operator reads the
|
|
8026
|
+
* job rather than only in a log line.
|
|
8027
|
+
*
|
|
8028
|
+
* A footage segment records its byte count in its own NAME, and the durable
|
|
8029
|
+
* hour row derives its aggregates from those names. A file that does not
|
|
8030
|
+
* match its name therefore makes the ledger's sums — and with them quota and
|
|
8031
|
+
* pressure eviction — wrong by the difference, and only a rename can fix it.
|
|
8032
|
+
* On 2026-08-30 one such row also stalled a 110 749-file drain permanently.
|
|
8033
|
+
*
|
|
8034
|
+
* Absent on lanes where the question has no meaning: a media blob's size is
|
|
8035
|
+
* in its row, not in its name, so `MediaRelocateEngine` never reconciles one.
|
|
8036
|
+
*/
|
|
8037
|
+
rowsReconciled: number().int().nonnegative().optional(),
|
|
8023
8038
|
startedAt: number(),
|
|
8024
8039
|
finishedAt: number().nullable(),
|
|
8025
8040
|
error: string().nullable()
|
|
@@ -8088,14 +8103,42 @@ var RelocateMediaInputSchema = object({
|
|
|
8088
8103
|
/** Omitted = `move`, the pre-existing behaviour. */
|
|
8089
8104
|
mode: MediaRelocateModeSchema.optional()
|
|
8090
8105
|
});
|
|
8091
|
-
/**
|
|
8092
|
-
*
|
|
8093
|
-
*
|
|
8094
|
-
|
|
8095
|
-
|
|
8096
|
-
|
|
8097
|
-
|
|
8106
|
+
/**
|
|
8107
|
+
* The unstamped population of ONE collection — split, because the gate and the
|
|
8108
|
+
* operator ask two different questions and only one of them has to be cheap.
|
|
8109
|
+
*
|
|
8110
|
+
* `present` is the GATE: "is there at least one row that would be orphaned by a
|
|
8111
|
+
* repoint". It is a single indexed seek to the first matching row, so it stays
|
|
8112
|
+
* answerable on a saturated disk and answers in O(log n) precisely in the state
|
|
8113
|
+
* that matters — after a seal, when the population is empty.
|
|
8114
|
+
*
|
|
8115
|
+
* `rows` is the NUMBER, for the refusal message and the operator's sense of
|
|
8116
|
+
* scale. It is a second, indexed `COUNT(*)`, and `null` means **not
|
|
8117
|
+
* measurable** — never zero. `{ present: true, rows: null }` is a legitimate
|
|
8118
|
+
* and useful answer: "there are some, and this read could not say how many"
|
|
8119
|
+
* still refuses the cutover, which is the whole job.
|
|
8120
|
+
*/
|
|
8121
|
+
var UnstampedRowsSchema = object({
|
|
8122
|
+
present: boolean(),
|
|
8123
|
+
rows: number().int().nonnegative().nullable()
|
|
8098
8124
|
});
|
|
8125
|
+
/**
|
|
8126
|
+
* How many rows still carry NO `locationId` — the population a repoint would
|
|
8127
|
+
* silently re-aim at a disk that does not hold their bytes.
|
|
8128
|
+
*
|
|
8129
|
+
* **`null` = the count could not be taken**, and it is NOT permission to cut
|
|
8130
|
+
* over. The gate opens on a measured absence and on nothing else; an unread
|
|
8131
|
+
* collection and an empty one are different facts, and this repo has already
|
|
8132
|
+
* paid for conflating them (`RelocateResidueSchema`, D295).
|
|
8133
|
+
*/
|
|
8134
|
+
var UnstampedEventMediaCountSchema = object({
|
|
8135
|
+
media: UnstampedRowsSchema,
|
|
8136
|
+
retrainFrames: UnstampedRowsSchema,
|
|
8137
|
+
/** True when EITHER collection holds one. The refusal reads this. */
|
|
8138
|
+
anyPresent: boolean(),
|
|
8139
|
+
/** Sum across both, or `null` when either lane could not be counted. */
|
|
8140
|
+
total: number().int().nonnegative().nullable()
|
|
8141
|
+
}).nullable();
|
|
8099
8142
|
var StorageMigrationMediaMoveInputSchema = RelocateMediaInputSchema.extend({ leaseId: string().min(1) });
|
|
8100
8143
|
/** The independently selectable logical storage classes — every class
|
|
8101
8144
|
* `storage.listLocationDeclarations` reports, so an operator never meets a
|
|
@@ -8206,6 +8249,10 @@ var StorageMigrationMoveProgressSchema = object({
|
|
|
8206
8249
|
/** The archive census — the **M** of "N of M" (D295). `null` = unknowable. */
|
|
8207
8250
|
filesTotal: number().int().nonnegative().nullable(),
|
|
8208
8251
|
bytesMoved: number().int().nonnegative(),
|
|
8252
|
+
/** Rows the mover corrected while moving them — see `RelocateJob`. Absent on
|
|
8253
|
+
* a lane that cannot reconcile. A migration that silently rewrote durable
|
|
8254
|
+
* rows would be the same failure as one that silently skipped them. */
|
|
8255
|
+
rowsReconciled: number().int().nonnegative().optional(),
|
|
8209
8256
|
/** The MOVER's start, not the migration's: a drain restarted after an addon
|
|
8210
8257
|
* crash gets a new mover, and a rate computed from the migration's start
|
|
8211
8258
|
* would silently average in the time nothing was running. */
|
|
@@ -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-B81Rw6ym.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-Tyu2rQxG.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.46",
|
|
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",
|