@camstack/addon-tailscale 1.2.83 → 1.2.85
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-Cuor6raQ.js → dist-BdBOnfeo.js} +96 -7
- package/dist/{dist-BXwT8V-y.mjs → dist-CRyT30U1.mjs} +96 -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-BdBOnfeo.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-CRyT30U1.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";
|
|
@@ -18412,11 +18412,30 @@ var SensorEventSchema = object({
|
|
|
18412
18412
|
value: record(string(), unknown()).nullable(),
|
|
18413
18413
|
timestamp: number()
|
|
18414
18414
|
});
|
|
18415
|
+
/**
|
|
18416
|
+
* One stored sighting on a track's trajectory.
|
|
18417
|
+
*
|
|
18418
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
18419
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
18420
|
+
* assume the two are the same on a row written by an older build.
|
|
18421
|
+
*/
|
|
18415
18422
|
var TrackPositionSchema = object({
|
|
18416
18423
|
x: number(),
|
|
18417
18424
|
y: number(),
|
|
18418
18425
|
timestamp: number(),
|
|
18419
|
-
bbox: BoundingBoxSchema
|
|
18426
|
+
bbox: BoundingBoxSchema,
|
|
18427
|
+
/**
|
|
18428
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
18429
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
18430
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
18431
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
18432
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
18433
|
+
* Absent on rows written before D399.
|
|
18434
|
+
*/
|
|
18435
|
+
source: _enum(["frame", "recovery"]).optional(),
|
|
18436
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
18437
|
+
* plotted. Absent on rows written before D399. */
|
|
18438
|
+
score: number().optional()
|
|
18420
18439
|
});
|
|
18421
18440
|
var TrackSnapshotSchema = object({
|
|
18422
18441
|
timestamp: number(),
|
|
@@ -18816,14 +18835,25 @@ var TrackSchema = object({
|
|
|
18816
18835
|
*/
|
|
18817
18836
|
hasRider: boolean().optional(),
|
|
18818
18837
|
/**
|
|
18819
|
-
* WHY this track ended without a NATIVE best-shot
|
|
18820
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
18838
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
18839
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
18840
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
18821
18841
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
18822
|
-
* `derive-returned-null tile=standin`,
|
|
18823
|
-
*
|
|
18824
|
-
*
|
|
18842
|
+
* `derive-returned-null tile=standin`,
|
|
18843
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
18844
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
18845
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
18825
18846
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
18826
18847
|
*
|
|
18848
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
18849
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
18850
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
18851
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
18852
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
18853
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
18854
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
18855
|
+
* tile ended up being.
|
|
18856
|
+
*
|
|
18827
18857
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
18828
18858
|
* that predates the field, and every track whose tile landed native all
|
|
18829
18859
|
* omit it. Render nothing when absent.
|
|
@@ -24157,6 +24187,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
24157
24187
|
deviceId: number().int().optional(),
|
|
24158
24188
|
base64: string().optional()
|
|
24159
24189
|
});
|
|
24190
|
+
/**
|
|
24191
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
24192
|
+
*
|
|
24193
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
24194
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
24195
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
24196
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
24197
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
24198
|
+
* where every other cross-identity pair sits under 0.50.
|
|
24199
|
+
*/
|
|
24200
|
+
var IdentitySampleAuditRowSchema = object({
|
|
24201
|
+
sampleId: string(),
|
|
24202
|
+
enrolledAt: number().int(),
|
|
24203
|
+
deviceId: number().int().optional(),
|
|
24204
|
+
source: _enum(["detected", "photo"]),
|
|
24205
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
24206
|
+
mediaKey: string().optional(),
|
|
24207
|
+
/**
|
|
24208
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
24209
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
24210
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
24211
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
24212
|
+
*/
|
|
24213
|
+
comparable: boolean(),
|
|
24214
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
24215
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
24216
|
+
selfMean: number().nullable(),
|
|
24217
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
24218
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
24219
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
24220
|
+
bestForeign: object({
|
|
24221
|
+
identityId: string(),
|
|
24222
|
+
name: string(),
|
|
24223
|
+
score: number()
|
|
24224
|
+
}).optional(),
|
|
24225
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
24226
|
+
suspicion: number()
|
|
24227
|
+
});
|
|
24228
|
+
var IdentitySampleAuditSchema = object({
|
|
24229
|
+
identityId: string(),
|
|
24230
|
+
name: string(),
|
|
24231
|
+
/** The cluster face model every comparison was made in. */
|
|
24232
|
+
modelId: string(),
|
|
24233
|
+
totalSamples: number().int(),
|
|
24234
|
+
comparableSamples: number().int(),
|
|
24235
|
+
flagged: number().int(),
|
|
24236
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
24237
|
+
* only its current result. */
|
|
24238
|
+
flagThreshold: number(),
|
|
24239
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
24240
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
24241
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
24242
|
+
});
|
|
24160
24243
|
var FaceInfoSchema = object({
|
|
24161
24244
|
faceId: string(),
|
|
24162
24245
|
deviceId: number().int(),
|
|
@@ -24308,7 +24391,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
24308
24391
|
}), method(object({ id: string() }), _void(), {
|
|
24309
24392
|
kind: "mutation",
|
|
24310
24393
|
auth: "admin"
|
|
24311
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
24394
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
24312
24395
|
identityId: string(),
|
|
24313
24396
|
sampleId: string()
|
|
24314
24397
|
}), _void(), {
|
|
@@ -31596,6 +31679,12 @@ Object.freeze({
|
|
|
31596
31679
|
addonId: null,
|
|
31597
31680
|
access: "create"
|
|
31598
31681
|
},
|
|
31682
|
+
"faceGallery.auditIdentitySamples": {
|
|
31683
|
+
capName: "face-gallery",
|
|
31684
|
+
capScope: "system",
|
|
31685
|
+
addonId: null,
|
|
31686
|
+
access: "view"
|
|
31687
|
+
},
|
|
31599
31688
|
"faceGallery.createIdentity": {
|
|
31600
31689
|
capName: "face-gallery",
|
|
31601
31690
|
capScope: "system",
|
|
@@ -18412,11 +18412,30 @@ var SensorEventSchema = object({
|
|
|
18412
18412
|
value: record(string(), unknown()).nullable(),
|
|
18413
18413
|
timestamp: number()
|
|
18414
18414
|
});
|
|
18415
|
+
/**
|
|
18416
|
+
* One stored sighting on a track's trajectory.
|
|
18417
|
+
*
|
|
18418
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
18419
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
18420
|
+
* assume the two are the same on a row written by an older build.
|
|
18421
|
+
*/
|
|
18415
18422
|
var TrackPositionSchema = object({
|
|
18416
18423
|
x: number(),
|
|
18417
18424
|
y: number(),
|
|
18418
18425
|
timestamp: number(),
|
|
18419
|
-
bbox: BoundingBoxSchema
|
|
18426
|
+
bbox: BoundingBoxSchema,
|
|
18427
|
+
/**
|
|
18428
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
18429
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
18430
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
18431
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
18432
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
18433
|
+
* Absent on rows written before D399.
|
|
18434
|
+
*/
|
|
18435
|
+
source: _enum(["frame", "recovery"]).optional(),
|
|
18436
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
18437
|
+
* plotted. Absent on rows written before D399. */
|
|
18438
|
+
score: number().optional()
|
|
18420
18439
|
});
|
|
18421
18440
|
var TrackSnapshotSchema = object({
|
|
18422
18441
|
timestamp: number(),
|
|
@@ -18816,14 +18835,25 @@ var TrackSchema = object({
|
|
|
18816
18835
|
*/
|
|
18817
18836
|
hasRider: boolean().optional(),
|
|
18818
18837
|
/**
|
|
18819
|
-
* WHY this track ended without a NATIVE best-shot
|
|
18820
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
18838
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
18839
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
18840
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
18821
18841
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
18822
|
-
* `derive-returned-null tile=standin`,
|
|
18823
|
-
*
|
|
18824
|
-
*
|
|
18842
|
+
* `derive-returned-null tile=standin`,
|
|
18843
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
18844
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
18845
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
18825
18846
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
18826
18847
|
*
|
|
18848
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
18849
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
18850
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
18851
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
18852
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
18853
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
18854
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
18855
|
+
* tile ended up being.
|
|
18856
|
+
*
|
|
18827
18857
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
18828
18858
|
* that predates the field, and every track whose tile landed native all
|
|
18829
18859
|
* omit it. Render nothing when absent.
|
|
@@ -24157,6 +24187,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
24157
24187
|
deviceId: number().int().optional(),
|
|
24158
24188
|
base64: string().optional()
|
|
24159
24189
|
});
|
|
24190
|
+
/**
|
|
24191
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
24192
|
+
*
|
|
24193
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
24194
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
24195
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
24196
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
24197
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
24198
|
+
* where every other cross-identity pair sits under 0.50.
|
|
24199
|
+
*/
|
|
24200
|
+
var IdentitySampleAuditRowSchema = object({
|
|
24201
|
+
sampleId: string(),
|
|
24202
|
+
enrolledAt: number().int(),
|
|
24203
|
+
deviceId: number().int().optional(),
|
|
24204
|
+
source: _enum(["detected", "photo"]),
|
|
24205
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
24206
|
+
mediaKey: string().optional(),
|
|
24207
|
+
/**
|
|
24208
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
24209
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
24210
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
24211
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
24212
|
+
*/
|
|
24213
|
+
comparable: boolean(),
|
|
24214
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
24215
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
24216
|
+
selfMean: number().nullable(),
|
|
24217
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
24218
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
24219
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
24220
|
+
bestForeign: object({
|
|
24221
|
+
identityId: string(),
|
|
24222
|
+
name: string(),
|
|
24223
|
+
score: number()
|
|
24224
|
+
}).optional(),
|
|
24225
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
24226
|
+
suspicion: number()
|
|
24227
|
+
});
|
|
24228
|
+
var IdentitySampleAuditSchema = object({
|
|
24229
|
+
identityId: string(),
|
|
24230
|
+
name: string(),
|
|
24231
|
+
/** The cluster face model every comparison was made in. */
|
|
24232
|
+
modelId: string(),
|
|
24233
|
+
totalSamples: number().int(),
|
|
24234
|
+
comparableSamples: number().int(),
|
|
24235
|
+
flagged: number().int(),
|
|
24236
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
24237
|
+
* only its current result. */
|
|
24238
|
+
flagThreshold: number(),
|
|
24239
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
24240
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
24241
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
24242
|
+
});
|
|
24160
24243
|
var FaceInfoSchema = object({
|
|
24161
24244
|
faceId: string(),
|
|
24162
24245
|
deviceId: number().int(),
|
|
@@ -24308,7 +24391,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
24308
24391
|
}), method(object({ id: string() }), _void(), {
|
|
24309
24392
|
kind: "mutation",
|
|
24310
24393
|
auth: "admin"
|
|
24311
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
24394
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
24312
24395
|
identityId: string(),
|
|
24313
24396
|
sampleId: string()
|
|
24314
24397
|
}), _void(), {
|
|
@@ -31596,6 +31679,12 @@ Object.freeze({
|
|
|
31596
31679
|
addonId: null,
|
|
31597
31680
|
access: "create"
|
|
31598
31681
|
},
|
|
31682
|
+
"faceGallery.auditIdentitySamples": {
|
|
31683
|
+
capName: "face-gallery",
|
|
31684
|
+
capScope: "system",
|
|
31685
|
+
addonId: null,
|
|
31686
|
+
access: "view"
|
|
31687
|
+
},
|
|
31599
31688
|
"faceGallery.createIdentity": {
|
|
31600
31689
|
capName: "face-gallery",
|
|
31601
31690
|
capScope: "system",
|
|
@@ -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-BdBOnfeo.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-CRyT30U1.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.85",
|
|
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",
|