@camstack/addon-tailscale 1.2.84 → 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.
@@ -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-DUqXeckw.js");
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-C9fQsDBf.mjs";
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";
@@ -24187,6 +24187,59 @@ var IdentitySampleInfoSchema = object({
24187
24187
  deviceId: number().int().optional(),
24188
24188
  base64: string().optional()
24189
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
+ });
24190
24243
  var FaceInfoSchema = object({
24191
24244
  faceId: string(),
24192
24245
  deviceId: number().int(),
@@ -24338,7 +24391,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
24338
24391
  }), method(object({ id: string() }), _void(), {
24339
24392
  kind: "mutation",
24340
24393
  auth: "admin"
24341
- }), 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({
24342
24395
  identityId: string(),
24343
24396
  sampleId: string()
24344
24397
  }), _void(), {
@@ -31626,6 +31679,12 @@ Object.freeze({
31626
31679
  addonId: null,
31627
31680
  access: "create"
31628
31681
  },
31682
+ "faceGallery.auditIdentitySamples": {
31683
+ capName: "face-gallery",
31684
+ capScope: "system",
31685
+ addonId: null,
31686
+ access: "view"
31687
+ },
31629
31688
  "faceGallery.createIdentity": {
31630
31689
  capName: "face-gallery",
31631
31690
  capScope: "system",
@@ -24187,6 +24187,59 @@ var IdentitySampleInfoSchema = object({
24187
24187
  deviceId: number().int().optional(),
24188
24188
  base64: string().optional()
24189
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
+ });
24190
24243
  var FaceInfoSchema = object({
24191
24244
  faceId: string(),
24192
24245
  deviceId: number().int(),
@@ -24338,7 +24391,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
24338
24391
  }), method(object({ id: string() }), _void(), {
24339
24392
  kind: "mutation",
24340
24393
  auth: "admin"
24341
- }), 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({
24342
24395
  identityId: string(),
24343
24396
  sampleId: string()
24344
24397
  }), _void(), {
@@ -31626,6 +31679,12 @@ Object.freeze({
31626
31679
  addonId: null,
31627
31680
  access: "create"
31628
31681
  },
31682
+ "faceGallery.auditIdentitySamples": {
31683
+ capName: "face-gallery",
31684
+ capScope: "system",
31685
+ addonId: null,
31686
+ access: "view"
31687
+ },
31629
31688
  "faceGallery.createIdentity": {
31630
31689
  capName: "face-gallery",
31631
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-DUqXeckw.js");
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-C9fQsDBf.mjs";
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.84",
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",