@camstack/addon-tailscale 1.2.47 → 1.2.49

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-CJS8Mo7l.js");
27
+ const require_dist = require("../dist-Cv-ufJXF.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-BO7-LQSt.mjs";
1
+ import { a as EventCategory, i as BaseAddon, n as networkAccessCapability, r as BOOT_RECOVERY_BACKOFF_MS, t as meshNetworkCapability } from "../dist-8Fi7VglU.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";
@@ -8035,6 +8035,20 @@ var RelocateJobSchema = object({
8035
8035
  * in its row, not in its name, so `MediaRelocateEngine` never reconciles one.
8036
8036
  */
8037
8037
  rowsReconciled: number().int().nonnegative().optional(),
8038
+ /**
8039
+ * Rows this run FORGOT because the file they name is not on disk.
8040
+ *
8041
+ * The mover derived the path from the row's own fields and `stat`ed it; an
8042
+ * ENOENT there is a per-path confirmation that the segment is gone (D296),
8043
+ * and the durable row is dropped through the same channel eviction uses. It
8044
+ * is reported for the same reason `rowsReconciled` is: this is a durable
8045
+ * mutation nobody asked for, and a migration that quietly erases hour rows is
8046
+ * the same failure as one that quietly skips them (D295).
8047
+ *
8048
+ * The production drain of 2026-08-30 would have reported 11 074 here — the
8049
+ * ledger claimed 5.65 GB of footage that no longer existed.
8050
+ */
8051
+ rowsForgotten: number().int().nonnegative().optional(),
8038
8052
  startedAt: number(),
8039
8053
  finishedAt: number().nullable(),
8040
8054
  error: string().nullable()
@@ -8398,6 +8412,91 @@ var RelocateResidueSchema = object({
8398
8412
  segments: number().int().nonnegative(),
8399
8413
  bytes: number().int().nonnegative()
8400
8414
  }).nullable();
8415
+ /**
8416
+ * Ask one location whether its durable hour rows describe the disk — the walk
8417
+ * (D319).
8418
+ *
8419
+ * `apply` DEFAULTS TO FALSE and that default is the product: the operator's
8420
+ * missing tool is the question, and the dry run is how they sanity-check the
8421
+ * destructive run before authorising it.
8422
+ */
8423
+ var LedgerWalkInputSchema = object({
8424
+ locationId: string().min(1),
8425
+ /** Forget the confirmed-absent rows, rather than only counting them. */
8426
+ apply: boolean().optional(),
8427
+ /** Narrow to one camera. */
8428
+ deviceId: number().int().positive().optional(),
8429
+ /** Narrow to these recording profiles; empty/absent = every profile. */
8430
+ profiles: array(string().min(1)).optional()
8431
+ });
8432
+ /** Why a whole walk did nothing. Every one leaves the ledger untouched. */
8433
+ var LedgerWalkRefusalSchema = _enum([
8434
+ "location-unknown",
8435
+ "source-writable",
8436
+ "no-ledger",
8437
+ "archive-unreadable",
8438
+ "anchor-absent",
8439
+ "anchor-unreadable",
8440
+ "anchor-moved"
8441
+ ]);
8442
+ _enum([
8443
+ "live-tail",
8444
+ "listing-error",
8445
+ "path-mismatch",
8446
+ "durable-refused"
8447
+ ]);
8448
+ /** Every skip reason, always present, always a number — so a reason that never
8449
+ * fired reports as zero rather than absent and the report shape is constant
8450
+ * between passes. Spelled out rather than `z.record` for exactly that. */
8451
+ var LedgerWalkSkipCountsSchema = object({
8452
+ "live-tail": number().int().nonnegative(),
8453
+ "listing-error": number().int().nonnegative(),
8454
+ "path-mismatch": number().int().nonnegative(),
8455
+ "durable-refused": number().int().nonnegative()
8456
+ });
8457
+ /** One camera's share of a walk, so a report names cameras and not rows. */
8458
+ var LedgerWalkDeviceReportSchema = object({
8459
+ deviceId: number().int(),
8460
+ hoursWalked: number().int().nonnegative(),
8461
+ hoursMissing: number().int().nonnegative(),
8462
+ ghostSegments: number().int().nonnegative(),
8463
+ ghostBytes: number().int().nonnegative(),
8464
+ forgottenSegments: number().int().nonnegative(),
8465
+ orphanFiles: number().int().nonnegative()
8466
+ });
8467
+ /**
8468
+ * What one walk claimed, listed, found and (only when armed) forgot.
8469
+ *
8470
+ * `archiveSegments` is the **M** and `segmentsClaimed` the **N** (D295), so a
8471
+ * walk that saw a fraction of the location is visible in its own report rather
8472
+ * than in the absence of one.
8473
+ */
8474
+ var LedgerWalkReportSchema = object({
8475
+ locationId: string(),
8476
+ applied: boolean(),
8477
+ refused: LedgerWalkRefusalSchema.nullable(),
8478
+ archiveSegments: number().int().nonnegative().nullable(),
8479
+ archiveBytes: number().int().nonnegative().nullable(),
8480
+ hoursClaimed: number().int().nonnegative(),
8481
+ hoursWalked: number().int().nonnegative(),
8482
+ hoursMissing: number().int().nonnegative(),
8483
+ /** `readdir` calls issued — the cost, stated in the unit that is paid. */
8484
+ listings: number().int().nonnegative(),
8485
+ segmentsClaimed: number().int().nonnegative(),
8486
+ ghostSegments: number().int().nonnegative(),
8487
+ ghostBytes: number().int().nonnegative(),
8488
+ ghostHoursWhole: number().int().nonnegative(),
8489
+ forgottenSegments: number().int().nonnegative(),
8490
+ forgottenBytes: number().int().nonnegative(),
8491
+ /** Files under a claimed hour that no durable row names. Never deleted. */
8492
+ orphanFiles: number().int().nonnegative(),
8493
+ orphanSample: array(string()).readonly(),
8494
+ hoursSkipped: number().int().nonnegative(),
8495
+ skippedByReason: LedgerWalkSkipCountsSchema,
8496
+ /** The walk stopped at its per-pass hour bound with claims unwalked. */
8497
+ bounded: boolean(),
8498
+ byDevice: array(LedgerWalkDeviceReportSchema).readonly()
8499
+ });
8401
8500
  /** How many rows a media pass would still act on against a given target — the
8402
8501
  * media lane's denominator AND its residue, from ONE derivation so the two can
8403
8502
  * never disagree. `null` = the count could not be taken. */
@@ -18688,13 +18787,15 @@ var ListGroupsPageSchema = object({
18688
18787
  groups: array(AnalyticsGroupRecordSchema).readonly(),
18689
18788
  nextCursor: string().nullable()
18690
18789
  });
18790
+ var KEY_EVENTS_DEFAULT_LIMIT = 50;
18791
+ var KEY_EVENTS_MAX_LIMIT = 200;
18691
18792
  var KeyEventQueryInput = object({
18692
18793
  deviceId: number(),
18693
18794
  /** Window lower bound (track firstSeen ≥ since). */
18694
18795
  since: number(),
18695
18796
  /** Window upper bound (track firstSeen ≤ until). */
18696
18797
  until: number(),
18697
- limit: number().int().min(1).max(200).default(50),
18798
+ limit: number().int().min(1).max(KEY_EVENTS_MAX_LIMIT).default(KEY_EVENTS_DEFAULT_LIMIT),
18698
18799
  /** Drop tracks scoring below this importance. */
18699
18800
  minImportance: number().min(0).max(1).optional(),
18700
18801
  /** Restrict to a single class (e.g. 'person'). */
@@ -18716,6 +18817,32 @@ var KeyEventSchema = object({
18716
18817
  ...TrackFlagFields,
18717
18818
  ...TrackRetrainFields
18718
18819
  });
18820
+ /** `getKeyEvents`' window and filters, asked of a SET of cameras at once. */
18821
+ var KeyEventBatchQueryInput = object({
18822
+ deviceIds: array(number()).min(1).max(200),
18823
+ since: number(),
18824
+ until: number(),
18825
+ /** Applied PER CAMERA, exactly as `getKeyEvents.limit` is — never a total
18826
+ * across the set, which would let a busy camera starve a quiet one of its
18827
+ * rows and change what the merged feed contains. */
18828
+ limit: number().int().min(1).max(KEY_EVENTS_MAX_LIMIT).default(KEY_EVENTS_DEFAULT_LIMIT),
18829
+ minImportance: number().min(0).max(1).optional(),
18830
+ classFilter: string().optional()
18831
+ });
18832
+ /**
18833
+ * One camera's key events in a batch answer.
18834
+ *
18835
+ * The row exists for every requested id. `getKeyEvents` degrades to `[]` on
18836
+ * error rather than throwing, so a camera whose store read failed and one with
18837
+ * no events in the window were ALREADY indistinguishable per camera — the
18838
+ * batch does not make that worse, and the row keeps the deviceId the single
18839
+ * method's output never carried (the caller used to stamp it from the fan-out
18840
+ * key, which only worked because there was one query per camera).
18841
+ */
18842
+ var KeyEventsForDeviceSchema = object({
18843
+ deviceId: number(),
18844
+ events: array(KeyEventSchema).readonly()
18845
+ });
18719
18846
  object({
18720
18847
  trackId: string(),
18721
18848
  className: string(),
@@ -18787,6 +18914,50 @@ var EventStoreFootprintSchema = object({
18787
18914
  totalBytes: number().int(),
18788
18915
  devices: array(EventStoreDeviceFootprintSchema).readonly()
18789
18916
  });
18917
+ /** Event-media footprint for one {@link MediaFileKind}. */
18918
+ var EventMediaKindFootprintSchema = object({
18919
+ kind: MediaFileKindEnum,
18920
+ /** Media rows of this kind. */
18921
+ rows: number().int(),
18922
+ /** Bytes on disk held by those rows. */
18923
+ bytes: number().int()
18924
+ });
18925
+ /**
18926
+ * The media footprint broken down by KIND — the axis a deletion decision
18927
+ * actually turns on.
18928
+ *
18929
+ * A byte total says how much there is; it cannot say what is safe to remove.
18930
+ * The deletable set (the periodic `snapshot` filmstrip, the surplus per-edge
18931
+ * motion stills) and the keep set (`firstFrame`, rolling `lastFrame`,
18932
+ * `thumbnail`/`thumbnailSmall`, `keyFrame`/`keyFrameSmall`, the face/plate
18933
+ * buffers, gallery media, the CLIP `crop`) are distinguished by `kind` and by
18934
+ * nothing else, so sizing a deletion means summing per kind.
18935
+ *
18936
+ * ## Why `unaccounted*` exists
18937
+ *
18938
+ * `kinds` is enumerated from {@link MediaFileKindEnum} — the closed set the
18939
+ * writers use — and summed one kind at a time. `totalRows` / `totalBytes` come
18940
+ * from a SEPARATE unfiltered aggregate over the same rows, never from adding
18941
+ * `kinds` up. A row whose stored `kind` is not in the enum (written by a
18942
+ * retired code path, or by a version that knew a kind this one does not) would
18943
+ * otherwise vanish from the total silently, and an operator would delete
18944
+ * against a denominator smaller than the disk.
18945
+ *
18946
+ * `unaccountedRows` / `unaccountedBytes` are the difference. They are normally
18947
+ * zero; a non-zero value is a real finding and must be shown, not rounded away.
18948
+ */
18949
+ var EventMediaKindBreakdownSchema = object({
18950
+ /** Every media row in scope, from one unfiltered aggregate. */
18951
+ totalRows: number().int(),
18952
+ /** Every media byte in scope, from that same aggregate. */
18953
+ totalBytes: number().int(),
18954
+ /** Per-kind footprint, ordered by bytes descending. */
18955
+ kinds: array(EventMediaKindFootprintSchema).readonly(),
18956
+ /** `totalRows` minus the summed `kinds` rows — see the schema note. */
18957
+ unaccountedRows: number().int(),
18958
+ /** `totalBytes` minus the summed `kinds` bytes — see the schema note. */
18959
+ unaccountedBytes: number().int()
18960
+ });
18790
18961
  /** Per-kind counts returned by the event-prune / device-delete mutations. */
18791
18962
  var EventPruneCountsSchema = object({
18792
18963
  motion: number().int(),
@@ -18941,7 +19112,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
18941
19112
  until: number().optional(),
18942
19113
  kinds: array(string()).optional(),
18943
19114
  limit: number().int().min(1).max(MAX_EVENT_QUERY_LIMIT).default(DEFAULT_EVENT_QUERY_LIMIT)
18944
- }), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
19115
+ }), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(KeyEventBatchQueryInput, array(KeyEventsForDeviceSchema).readonly()), method(object({
18945
19116
  deviceId: number(),
18946
19117
  since: number(),
18947
19118
  until: number(),
@@ -18990,6 +19161,9 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
18990
19161
  }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
18991
19162
  kind: "query",
18992
19163
  auth: "admin"
19164
+ }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
19165
+ kind: "query",
19166
+ auth: "admin"
18993
19167
  }), method(object({
18994
19168
  olderThanMs: number(),
18995
19169
  reason: OpsLogReasonSchema.optional()
@@ -20941,6 +21115,20 @@ method(object({
20941
21115
  error: string().optional()
20942
21116
  }), { auth: "admin" }), method(_void(), array(ProviderListEntrySchema).readonly()), method(object({
20943
21117
  providerId: string(),
21118
+ /**
21119
+ * The location this config is an UNSAVED edit of, when there is one.
21120
+ *
21121
+ * `listLocations` replaces every declared secret with the redaction
21122
+ * sentinel, so the edit modal's form state holds the sentinel for any
21123
+ * credential the operator did not retype — and posting that here
21124
+ * without a way to resolve it makes the provider try to authenticate
21125
+ * as `__camstack_redacted__` and report the operator's own working
21126
+ * password as wrong. Given this id, the orchestrator restores each
21127
+ * sentinel from the stored config (same rule as `upsertLocation`)
21128
+ * before dispatching. Omitted by the "Add location" wizard, where
21129
+ * every value was typed just now and nothing is stored yet.
21130
+ */
21131
+ locationId: string().optional(),
20944
21132
  config: record(string(), unknown())
20945
21133
  }), object({
20946
21134
  ok: boolean(),
@@ -26637,6 +26825,9 @@ method(object({
26637
26825
  }), method(RelocateResidueInputSchema, RelocateResidueSchema, {
26638
26826
  kind: "query",
26639
26827
  auth: "admin"
26828
+ }), method(LedgerWalkInputSchema, LedgerWalkReportSchema, {
26829
+ kind: "mutation",
26830
+ auth: "admin"
26640
26831
  }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
26641
26832
  kind: "mutation",
26642
26833
  auth: "admin"
@@ -27028,7 +27219,26 @@ var SceneMonitorStatusSchema = object({
27028
27219
  monitors: array(SceneMonitorSchema),
27029
27220
  lastFetchedAt: number()
27030
27221
  });
27031
- DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSchema), method(object({
27222
+ /**
27223
+ * One camera's row in a `listScenesBatch` answer.
27224
+ *
27225
+ * `status` is NULLABLE and the nullability is the whole point. `scene-monitor`
27226
+ * is a `defaultActive` wrapper, so every camera is asked; a camera whose
27227
+ * provider is absent (pipeline-analytics not deployed, the post-processing node
27228
+ * down) cannot answer, and that is not the same fact as a camera with no scenes
27229
+ * configured. Fanned out per camera the difference was visible — one query
27230
+ * errored while the others resolved — and a batch that returned only the rows
27231
+ * it managed would have destroyed it, silently, by making an unreachable camera
27232
+ * indistinguishable from one that answered `monitors: []`.
27233
+ *
27234
+ * So: EVERY requested deviceId gets a row. `status: null` means "this camera
27235
+ * could not be read"; `status.monitors: []` means "read, and it has none".
27236
+ */
27237
+ var SceneMonitorStatusForDeviceSchema = object({
27238
+ deviceId: number(),
27239
+ status: SceneMonitorStatusSchema.nullable()
27240
+ });
27241
+ DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSchema), method(object({ deviceIds: array(number()).min(1).max(200) }), array(SceneMonitorStatusForDeviceSchema).readonly()), method(object({
27032
27242
  deviceId: number(),
27033
27243
  label: string(),
27034
27244
  roi: MaskRectShapeSchema,
@@ -28352,6 +28562,27 @@ var CameraOccupancySnapshotSchema = object({
28352
28562
  stationaryObjects: array(StationaryObjectSchema).readonly().optional()
28353
28563
  });
28354
28564
  /**
28565
+ * One camera's row in a `getCurrentSnapshotBatch` answer.
28566
+ *
28567
+ * THREE outcomes, and the single-camera method could only express two of them
28568
+ * because `snapshot: null` was already spoken for:
28569
+ *
28570
+ * - `read: 'read'`, `snapshot` present — the live occupancy reading.
28571
+ * - `read: 'read'`, `snapshot: null` — read, and this camera has no reading
28572
+ * yet: no frame since boot, and no parked-object registry to hydrate from.
28573
+ * - `read: 'unreadable'` — the owner could not answer for this
28574
+ * camera. `snapshot` is null, and it does NOT mean "nothing parked here".
28575
+ *
28576
+ * Collapsing the last two is the failure this field exists to prevent: a
28577
+ * hydration that threw would otherwise render as an empty Stationary section,
28578
+ * which is a definite claim about a camera nobody could read.
28579
+ */
28580
+ var CameraOccupancySnapshotForDeviceSchema = object({
28581
+ deviceId: number(),
28582
+ read: _enum(["read", "unreadable"]),
28583
+ snapshot: CameraOccupancySnapshotSchema.nullable()
28584
+ });
28585
+ /**
28355
28586
  * Time-series resolution. The history methods return one bucket per
28356
28587
  * step over the requested range. Smaller resolutions cost more
28357
28588
  * memory + bandwidth; bound to discrete steps so caller cannot ask
@@ -28375,7 +28606,7 @@ var HistoryPointSchema = object({
28375
28606
  /** Object count averaged over the bucket (rounded to nearest integer). */
28376
28607
  count: number().int().nonnegative()
28377
28608
  });
28378
- DeviceType.Camera, method(object({ deviceId: number() }), CameraOccupancySnapshotSchema.nullable()), method(object({
28609
+ DeviceType.Camera, method(object({ deviceId: number() }), CameraOccupancySnapshotSchema.nullable()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(CameraOccupancySnapshotForDeviceSchema).readonly()), method(object({
28379
28610
  deviceId: number(),
28380
28611
  zoneId: string(),
28381
28612
  className: string().optional()
@@ -31656,6 +31887,12 @@ Object.freeze({
31656
31887
  addonId: null,
31657
31888
  access: "view"
31658
31889
  },
31890
+ "pipelineAnalytics.getEventMediaFootprintByKind": {
31891
+ capName: "pipeline-analytics",
31892
+ capScope: "device",
31893
+ addonId: null,
31894
+ access: "view"
31895
+ },
31659
31896
  "pipelineAnalytics.getEventStoreFootprint": {
31660
31897
  capName: "pipeline-analytics",
31661
31898
  capScope: "device",
@@ -31674,6 +31911,12 @@ Object.freeze({
31674
31911
  addonId: null,
31675
31912
  access: "view"
31676
31913
  },
31914
+ "pipelineAnalytics.getKeyEventsBatch": {
31915
+ capName: "pipeline-analytics",
31916
+ capScope: "device",
31917
+ addonId: null,
31918
+ access: "view"
31919
+ },
31677
31920
  "pipelineAnalytics.getMotionEvents": {
31678
31921
  capName: "pipeline-analytics",
31679
31922
  capScope: "device",
@@ -32850,6 +33093,12 @@ Object.freeze({
32850
33093
  addonId: null,
32851
33094
  access: "view"
32852
33095
  },
33096
+ "recording.reconcileLedgerAgainstDisk": {
33097
+ capName: "recording",
33098
+ capScope: "system",
33099
+ addonId: null,
33100
+ access: "create"
33101
+ },
32853
33102
  "recording.refreshStorageLocationsForMigration": {
32854
33103
  capName: "recording",
32855
33104
  capScope: "system",
@@ -32976,6 +33225,12 @@ Object.freeze({
32976
33225
  addonId: null,
32977
33226
  access: "view"
32978
33227
  },
33228
+ "sceneMonitor.listScenesBatch": {
33229
+ capName: "scene-monitor",
33230
+ capScope: "device",
33231
+ addonId: null,
33232
+ access: "view"
33233
+ },
32979
33234
  "sceneMonitor.recheckNow": {
32980
33235
  capName: "scene-monitor",
32981
33236
  capScope: "device",
@@ -34332,6 +34587,12 @@ Object.freeze({
34332
34587
  addonId: null,
34333
34588
  access: "view"
34334
34589
  },
34590
+ "zoneAnalytics.getCurrentSnapshotBatch": {
34591
+ capName: "zone-analytics",
34592
+ capScope: "device",
34593
+ addonId: null,
34594
+ access: "view"
34595
+ },
34335
34596
  "zoneAnalytics.getUnzonedHistory": {
34336
34597
  capName: "zone-analytics",
34337
34598
  capScope: "device",
@@ -35321,6 +35582,11 @@ Object.freeze({
35321
35582
  form: "single",
35322
35583
  optional: false
35323
35584
  }],
35585
+ "pipelineAnalytics.getEventMediaFootprintByKind": [{
35586
+ name: "deviceId",
35587
+ form: "single",
35588
+ optional: true
35589
+ }],
35324
35590
  "pipelineAnalytics.getGroup": [{
35325
35591
  name: "deviceId",
35326
35592
  form: "single",
@@ -35331,6 +35597,11 @@ Object.freeze({
35331
35597
  form: "single",
35332
35598
  optional: false
35333
35599
  }],
35600
+ "pipelineAnalytics.getKeyEventsBatch": [{
35601
+ name: "deviceIds",
35602
+ form: "array",
35603
+ optional: false
35604
+ }],
35334
35605
  "pipelineAnalytics.getMotionEvents": [{
35335
35606
  name: "deviceId",
35336
35607
  form: "single",
@@ -35771,6 +36042,11 @@ Object.freeze({
35771
36042
  form: "single",
35772
36043
  optional: false
35773
36044
  }],
36045
+ "recording.reconcileLedgerAgainstDisk": [{
36046
+ name: "deviceId",
36047
+ form: "single",
36048
+ optional: true
36049
+ }],
35774
36050
  "recording.relocateFootage": [{
35775
36051
  name: "deviceId",
35776
36052
  form: "single",
@@ -35836,6 +36112,11 @@ Object.freeze({
35836
36112
  form: "single",
35837
36113
  optional: false
35838
36114
  }],
36115
+ "sceneMonitor.listScenesBatch": [{
36116
+ name: "deviceIds",
36117
+ form: "array",
36118
+ optional: false
36119
+ }],
35839
36120
  "sceneMonitor.recheckNow": [{
35840
36121
  name: "deviceId",
35841
36122
  form: "single",
@@ -36097,6 +36378,11 @@ Object.freeze({
36097
36378
  form: "single",
36098
36379
  optional: false
36099
36380
  }],
36381
+ "zoneAnalytics.getCurrentSnapshotBatch": [{
36382
+ name: "deviceIds",
36383
+ form: "array",
36384
+ optional: false
36385
+ }],
36100
36386
  "zoneAnalytics.getUnzonedHistory": [{
36101
36387
  name: "deviceId",
36102
36388
  form: "single",
@@ -8035,6 +8035,20 @@ var RelocateJobSchema = object({
8035
8035
  * in its row, not in its name, so `MediaRelocateEngine` never reconciles one.
8036
8036
  */
8037
8037
  rowsReconciled: number().int().nonnegative().optional(),
8038
+ /**
8039
+ * Rows this run FORGOT because the file they name is not on disk.
8040
+ *
8041
+ * The mover derived the path from the row's own fields and `stat`ed it; an
8042
+ * ENOENT there is a per-path confirmation that the segment is gone (D296),
8043
+ * and the durable row is dropped through the same channel eviction uses. It
8044
+ * is reported for the same reason `rowsReconciled` is: this is a durable
8045
+ * mutation nobody asked for, and a migration that quietly erases hour rows is
8046
+ * the same failure as one that quietly skips them (D295).
8047
+ *
8048
+ * The production drain of 2026-08-30 would have reported 11 074 here — the
8049
+ * ledger claimed 5.65 GB of footage that no longer existed.
8050
+ */
8051
+ rowsForgotten: number().int().nonnegative().optional(),
8038
8052
  startedAt: number(),
8039
8053
  finishedAt: number().nullable(),
8040
8054
  error: string().nullable()
@@ -8398,6 +8412,91 @@ var RelocateResidueSchema = object({
8398
8412
  segments: number().int().nonnegative(),
8399
8413
  bytes: number().int().nonnegative()
8400
8414
  }).nullable();
8415
+ /**
8416
+ * Ask one location whether its durable hour rows describe the disk — the walk
8417
+ * (D319).
8418
+ *
8419
+ * `apply` DEFAULTS TO FALSE and that default is the product: the operator's
8420
+ * missing tool is the question, and the dry run is how they sanity-check the
8421
+ * destructive run before authorising it.
8422
+ */
8423
+ var LedgerWalkInputSchema = object({
8424
+ locationId: string().min(1),
8425
+ /** Forget the confirmed-absent rows, rather than only counting them. */
8426
+ apply: boolean().optional(),
8427
+ /** Narrow to one camera. */
8428
+ deviceId: number().int().positive().optional(),
8429
+ /** Narrow to these recording profiles; empty/absent = every profile. */
8430
+ profiles: array(string().min(1)).optional()
8431
+ });
8432
+ /** Why a whole walk did nothing. Every one leaves the ledger untouched. */
8433
+ var LedgerWalkRefusalSchema = _enum([
8434
+ "location-unknown",
8435
+ "source-writable",
8436
+ "no-ledger",
8437
+ "archive-unreadable",
8438
+ "anchor-absent",
8439
+ "anchor-unreadable",
8440
+ "anchor-moved"
8441
+ ]);
8442
+ _enum([
8443
+ "live-tail",
8444
+ "listing-error",
8445
+ "path-mismatch",
8446
+ "durable-refused"
8447
+ ]);
8448
+ /** Every skip reason, always present, always a number — so a reason that never
8449
+ * fired reports as zero rather than absent and the report shape is constant
8450
+ * between passes. Spelled out rather than `z.record` for exactly that. */
8451
+ var LedgerWalkSkipCountsSchema = object({
8452
+ "live-tail": number().int().nonnegative(),
8453
+ "listing-error": number().int().nonnegative(),
8454
+ "path-mismatch": number().int().nonnegative(),
8455
+ "durable-refused": number().int().nonnegative()
8456
+ });
8457
+ /** One camera's share of a walk, so a report names cameras and not rows. */
8458
+ var LedgerWalkDeviceReportSchema = object({
8459
+ deviceId: number().int(),
8460
+ hoursWalked: number().int().nonnegative(),
8461
+ hoursMissing: number().int().nonnegative(),
8462
+ ghostSegments: number().int().nonnegative(),
8463
+ ghostBytes: number().int().nonnegative(),
8464
+ forgottenSegments: number().int().nonnegative(),
8465
+ orphanFiles: number().int().nonnegative()
8466
+ });
8467
+ /**
8468
+ * What one walk claimed, listed, found and (only when armed) forgot.
8469
+ *
8470
+ * `archiveSegments` is the **M** and `segmentsClaimed` the **N** (D295), so a
8471
+ * walk that saw a fraction of the location is visible in its own report rather
8472
+ * than in the absence of one.
8473
+ */
8474
+ var LedgerWalkReportSchema = object({
8475
+ locationId: string(),
8476
+ applied: boolean(),
8477
+ refused: LedgerWalkRefusalSchema.nullable(),
8478
+ archiveSegments: number().int().nonnegative().nullable(),
8479
+ archiveBytes: number().int().nonnegative().nullable(),
8480
+ hoursClaimed: number().int().nonnegative(),
8481
+ hoursWalked: number().int().nonnegative(),
8482
+ hoursMissing: number().int().nonnegative(),
8483
+ /** `readdir` calls issued — the cost, stated in the unit that is paid. */
8484
+ listings: number().int().nonnegative(),
8485
+ segmentsClaimed: number().int().nonnegative(),
8486
+ ghostSegments: number().int().nonnegative(),
8487
+ ghostBytes: number().int().nonnegative(),
8488
+ ghostHoursWhole: number().int().nonnegative(),
8489
+ forgottenSegments: number().int().nonnegative(),
8490
+ forgottenBytes: number().int().nonnegative(),
8491
+ /** Files under a claimed hour that no durable row names. Never deleted. */
8492
+ orphanFiles: number().int().nonnegative(),
8493
+ orphanSample: array(string()).readonly(),
8494
+ hoursSkipped: number().int().nonnegative(),
8495
+ skippedByReason: LedgerWalkSkipCountsSchema,
8496
+ /** The walk stopped at its per-pass hour bound with claims unwalked. */
8497
+ bounded: boolean(),
8498
+ byDevice: array(LedgerWalkDeviceReportSchema).readonly()
8499
+ });
8401
8500
  /** How many rows a media pass would still act on against a given target — the
8402
8501
  * media lane's denominator AND its residue, from ONE derivation so the two can
8403
8502
  * never disagree. `null` = the count could not be taken. */
@@ -18688,13 +18787,15 @@ var ListGroupsPageSchema = object({
18688
18787
  groups: array(AnalyticsGroupRecordSchema).readonly(),
18689
18788
  nextCursor: string().nullable()
18690
18789
  });
18790
+ var KEY_EVENTS_DEFAULT_LIMIT = 50;
18791
+ var KEY_EVENTS_MAX_LIMIT = 200;
18691
18792
  var KeyEventQueryInput = object({
18692
18793
  deviceId: number(),
18693
18794
  /** Window lower bound (track firstSeen ≥ since). */
18694
18795
  since: number(),
18695
18796
  /** Window upper bound (track firstSeen ≤ until). */
18696
18797
  until: number(),
18697
- limit: number().int().min(1).max(200).default(50),
18798
+ limit: number().int().min(1).max(KEY_EVENTS_MAX_LIMIT).default(KEY_EVENTS_DEFAULT_LIMIT),
18698
18799
  /** Drop tracks scoring below this importance. */
18699
18800
  minImportance: number().min(0).max(1).optional(),
18700
18801
  /** Restrict to a single class (e.g. 'person'). */
@@ -18716,6 +18817,32 @@ var KeyEventSchema = object({
18716
18817
  ...TrackFlagFields,
18717
18818
  ...TrackRetrainFields
18718
18819
  });
18820
+ /** `getKeyEvents`' window and filters, asked of a SET of cameras at once. */
18821
+ var KeyEventBatchQueryInput = object({
18822
+ deviceIds: array(number()).min(1).max(200),
18823
+ since: number(),
18824
+ until: number(),
18825
+ /** Applied PER CAMERA, exactly as `getKeyEvents.limit` is — never a total
18826
+ * across the set, which would let a busy camera starve a quiet one of its
18827
+ * rows and change what the merged feed contains. */
18828
+ limit: number().int().min(1).max(KEY_EVENTS_MAX_LIMIT).default(KEY_EVENTS_DEFAULT_LIMIT),
18829
+ minImportance: number().min(0).max(1).optional(),
18830
+ classFilter: string().optional()
18831
+ });
18832
+ /**
18833
+ * One camera's key events in a batch answer.
18834
+ *
18835
+ * The row exists for every requested id. `getKeyEvents` degrades to `[]` on
18836
+ * error rather than throwing, so a camera whose store read failed and one with
18837
+ * no events in the window were ALREADY indistinguishable per camera — the
18838
+ * batch does not make that worse, and the row keeps the deviceId the single
18839
+ * method's output never carried (the caller used to stamp it from the fan-out
18840
+ * key, which only worked because there was one query per camera).
18841
+ */
18842
+ var KeyEventsForDeviceSchema = object({
18843
+ deviceId: number(),
18844
+ events: array(KeyEventSchema).readonly()
18845
+ });
18719
18846
  object({
18720
18847
  trackId: string(),
18721
18848
  className: string(),
@@ -18787,6 +18914,50 @@ var EventStoreFootprintSchema = object({
18787
18914
  totalBytes: number().int(),
18788
18915
  devices: array(EventStoreDeviceFootprintSchema).readonly()
18789
18916
  });
18917
+ /** Event-media footprint for one {@link MediaFileKind}. */
18918
+ var EventMediaKindFootprintSchema = object({
18919
+ kind: MediaFileKindEnum,
18920
+ /** Media rows of this kind. */
18921
+ rows: number().int(),
18922
+ /** Bytes on disk held by those rows. */
18923
+ bytes: number().int()
18924
+ });
18925
+ /**
18926
+ * The media footprint broken down by KIND — the axis a deletion decision
18927
+ * actually turns on.
18928
+ *
18929
+ * A byte total says how much there is; it cannot say what is safe to remove.
18930
+ * The deletable set (the periodic `snapshot` filmstrip, the surplus per-edge
18931
+ * motion stills) and the keep set (`firstFrame`, rolling `lastFrame`,
18932
+ * `thumbnail`/`thumbnailSmall`, `keyFrame`/`keyFrameSmall`, the face/plate
18933
+ * buffers, gallery media, the CLIP `crop`) are distinguished by `kind` and by
18934
+ * nothing else, so sizing a deletion means summing per kind.
18935
+ *
18936
+ * ## Why `unaccounted*` exists
18937
+ *
18938
+ * `kinds` is enumerated from {@link MediaFileKindEnum} — the closed set the
18939
+ * writers use — and summed one kind at a time. `totalRows` / `totalBytes` come
18940
+ * from a SEPARATE unfiltered aggregate over the same rows, never from adding
18941
+ * `kinds` up. A row whose stored `kind` is not in the enum (written by a
18942
+ * retired code path, or by a version that knew a kind this one does not) would
18943
+ * otherwise vanish from the total silently, and an operator would delete
18944
+ * against a denominator smaller than the disk.
18945
+ *
18946
+ * `unaccountedRows` / `unaccountedBytes` are the difference. They are normally
18947
+ * zero; a non-zero value is a real finding and must be shown, not rounded away.
18948
+ */
18949
+ var EventMediaKindBreakdownSchema = object({
18950
+ /** Every media row in scope, from one unfiltered aggregate. */
18951
+ totalRows: number().int(),
18952
+ /** Every media byte in scope, from that same aggregate. */
18953
+ totalBytes: number().int(),
18954
+ /** Per-kind footprint, ordered by bytes descending. */
18955
+ kinds: array(EventMediaKindFootprintSchema).readonly(),
18956
+ /** `totalRows` minus the summed `kinds` rows — see the schema note. */
18957
+ unaccountedRows: number().int(),
18958
+ /** `totalBytes` minus the summed `kinds` bytes — see the schema note. */
18959
+ unaccountedBytes: number().int()
18960
+ });
18790
18961
  /** Per-kind counts returned by the event-prune / device-delete mutations. */
18791
18962
  var EventPruneCountsSchema = object({
18792
18963
  motion: number().int(),
@@ -18941,7 +19112,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
18941
19112
  until: number().optional(),
18942
19113
  kinds: array(string()).optional(),
18943
19114
  limit: number().int().min(1).max(MAX_EVENT_QUERY_LIMIT).default(DEFAULT_EVENT_QUERY_LIMIT)
18944
- }), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
19115
+ }), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(KeyEventBatchQueryInput, array(KeyEventsForDeviceSchema).readonly()), method(object({
18945
19116
  deviceId: number(),
18946
19117
  since: number(),
18947
19118
  until: number(),
@@ -18990,6 +19161,9 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
18990
19161
  }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
18991
19162
  kind: "query",
18992
19163
  auth: "admin"
19164
+ }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
19165
+ kind: "query",
19166
+ auth: "admin"
18993
19167
  }), method(object({
18994
19168
  olderThanMs: number(),
18995
19169
  reason: OpsLogReasonSchema.optional()
@@ -20941,6 +21115,20 @@ method(object({
20941
21115
  error: string().optional()
20942
21116
  }), { auth: "admin" }), method(_void(), array(ProviderListEntrySchema).readonly()), method(object({
20943
21117
  providerId: string(),
21118
+ /**
21119
+ * The location this config is an UNSAVED edit of, when there is one.
21120
+ *
21121
+ * `listLocations` replaces every declared secret with the redaction
21122
+ * sentinel, so the edit modal's form state holds the sentinel for any
21123
+ * credential the operator did not retype — and posting that here
21124
+ * without a way to resolve it makes the provider try to authenticate
21125
+ * as `__camstack_redacted__` and report the operator's own working
21126
+ * password as wrong. Given this id, the orchestrator restores each
21127
+ * sentinel from the stored config (same rule as `upsertLocation`)
21128
+ * before dispatching. Omitted by the "Add location" wizard, where
21129
+ * every value was typed just now and nothing is stored yet.
21130
+ */
21131
+ locationId: string().optional(),
20944
21132
  config: record(string(), unknown())
20945
21133
  }), object({
20946
21134
  ok: boolean(),
@@ -26637,6 +26825,9 @@ method(object({
26637
26825
  }), method(RelocateResidueInputSchema, RelocateResidueSchema, {
26638
26826
  kind: "query",
26639
26827
  auth: "admin"
26828
+ }), method(LedgerWalkInputSchema, LedgerWalkReportSchema, {
26829
+ kind: "mutation",
26830
+ auth: "admin"
26640
26831
  }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
26641
26832
  kind: "mutation",
26642
26833
  auth: "admin"
@@ -27028,7 +27219,26 @@ var SceneMonitorStatusSchema = object({
27028
27219
  monitors: array(SceneMonitorSchema),
27029
27220
  lastFetchedAt: number()
27030
27221
  });
27031
- DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSchema), method(object({
27222
+ /**
27223
+ * One camera's row in a `listScenesBatch` answer.
27224
+ *
27225
+ * `status` is NULLABLE and the nullability is the whole point. `scene-monitor`
27226
+ * is a `defaultActive` wrapper, so every camera is asked; a camera whose
27227
+ * provider is absent (pipeline-analytics not deployed, the post-processing node
27228
+ * down) cannot answer, and that is not the same fact as a camera with no scenes
27229
+ * configured. Fanned out per camera the difference was visible — one query
27230
+ * errored while the others resolved — and a batch that returned only the rows
27231
+ * it managed would have destroyed it, silently, by making an unreachable camera
27232
+ * indistinguishable from one that answered `monitors: []`.
27233
+ *
27234
+ * So: EVERY requested deviceId gets a row. `status: null` means "this camera
27235
+ * could not be read"; `status.monitors: []` means "read, and it has none".
27236
+ */
27237
+ var SceneMonitorStatusForDeviceSchema = object({
27238
+ deviceId: number(),
27239
+ status: SceneMonitorStatusSchema.nullable()
27240
+ });
27241
+ DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSchema), method(object({ deviceIds: array(number()).min(1).max(200) }), array(SceneMonitorStatusForDeviceSchema).readonly()), method(object({
27032
27242
  deviceId: number(),
27033
27243
  label: string(),
27034
27244
  roi: MaskRectShapeSchema,
@@ -28352,6 +28562,27 @@ var CameraOccupancySnapshotSchema = object({
28352
28562
  stationaryObjects: array(StationaryObjectSchema).readonly().optional()
28353
28563
  });
28354
28564
  /**
28565
+ * One camera's row in a `getCurrentSnapshotBatch` answer.
28566
+ *
28567
+ * THREE outcomes, and the single-camera method could only express two of them
28568
+ * because `snapshot: null` was already spoken for:
28569
+ *
28570
+ * - `read: 'read'`, `snapshot` present — the live occupancy reading.
28571
+ * - `read: 'read'`, `snapshot: null` — read, and this camera has no reading
28572
+ * yet: no frame since boot, and no parked-object registry to hydrate from.
28573
+ * - `read: 'unreadable'` — the owner could not answer for this
28574
+ * camera. `snapshot` is null, and it does NOT mean "nothing parked here".
28575
+ *
28576
+ * Collapsing the last two is the failure this field exists to prevent: a
28577
+ * hydration that threw would otherwise render as an empty Stationary section,
28578
+ * which is a definite claim about a camera nobody could read.
28579
+ */
28580
+ var CameraOccupancySnapshotForDeviceSchema = object({
28581
+ deviceId: number(),
28582
+ read: _enum(["read", "unreadable"]),
28583
+ snapshot: CameraOccupancySnapshotSchema.nullable()
28584
+ });
28585
+ /**
28355
28586
  * Time-series resolution. The history methods return one bucket per
28356
28587
  * step over the requested range. Smaller resolutions cost more
28357
28588
  * memory + bandwidth; bound to discrete steps so caller cannot ask
@@ -28375,7 +28606,7 @@ var HistoryPointSchema = object({
28375
28606
  /** Object count averaged over the bucket (rounded to nearest integer). */
28376
28607
  count: number().int().nonnegative()
28377
28608
  });
28378
- DeviceType.Camera, method(object({ deviceId: number() }), CameraOccupancySnapshotSchema.nullable()), method(object({
28609
+ DeviceType.Camera, method(object({ deviceId: number() }), CameraOccupancySnapshotSchema.nullable()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(CameraOccupancySnapshotForDeviceSchema).readonly()), method(object({
28379
28610
  deviceId: number(),
28380
28611
  zoneId: string(),
28381
28612
  className: string().optional()
@@ -31656,6 +31887,12 @@ Object.freeze({
31656
31887
  addonId: null,
31657
31888
  access: "view"
31658
31889
  },
31890
+ "pipelineAnalytics.getEventMediaFootprintByKind": {
31891
+ capName: "pipeline-analytics",
31892
+ capScope: "device",
31893
+ addonId: null,
31894
+ access: "view"
31895
+ },
31659
31896
  "pipelineAnalytics.getEventStoreFootprint": {
31660
31897
  capName: "pipeline-analytics",
31661
31898
  capScope: "device",
@@ -31674,6 +31911,12 @@ Object.freeze({
31674
31911
  addonId: null,
31675
31912
  access: "view"
31676
31913
  },
31914
+ "pipelineAnalytics.getKeyEventsBatch": {
31915
+ capName: "pipeline-analytics",
31916
+ capScope: "device",
31917
+ addonId: null,
31918
+ access: "view"
31919
+ },
31677
31920
  "pipelineAnalytics.getMotionEvents": {
31678
31921
  capName: "pipeline-analytics",
31679
31922
  capScope: "device",
@@ -32850,6 +33093,12 @@ Object.freeze({
32850
33093
  addonId: null,
32851
33094
  access: "view"
32852
33095
  },
33096
+ "recording.reconcileLedgerAgainstDisk": {
33097
+ capName: "recording",
33098
+ capScope: "system",
33099
+ addonId: null,
33100
+ access: "create"
33101
+ },
32853
33102
  "recording.refreshStorageLocationsForMigration": {
32854
33103
  capName: "recording",
32855
33104
  capScope: "system",
@@ -32976,6 +33225,12 @@ Object.freeze({
32976
33225
  addonId: null,
32977
33226
  access: "view"
32978
33227
  },
33228
+ "sceneMonitor.listScenesBatch": {
33229
+ capName: "scene-monitor",
33230
+ capScope: "device",
33231
+ addonId: null,
33232
+ access: "view"
33233
+ },
32979
33234
  "sceneMonitor.recheckNow": {
32980
33235
  capName: "scene-monitor",
32981
33236
  capScope: "device",
@@ -34332,6 +34587,12 @@ Object.freeze({
34332
34587
  addonId: null,
34333
34588
  access: "view"
34334
34589
  },
34590
+ "zoneAnalytics.getCurrentSnapshotBatch": {
34591
+ capName: "zone-analytics",
34592
+ capScope: "device",
34593
+ addonId: null,
34594
+ access: "view"
34595
+ },
34335
34596
  "zoneAnalytics.getUnzonedHistory": {
34336
34597
  capName: "zone-analytics",
34337
34598
  capScope: "device",
@@ -35321,6 +35582,11 @@ Object.freeze({
35321
35582
  form: "single",
35322
35583
  optional: false
35323
35584
  }],
35585
+ "pipelineAnalytics.getEventMediaFootprintByKind": [{
35586
+ name: "deviceId",
35587
+ form: "single",
35588
+ optional: true
35589
+ }],
35324
35590
  "pipelineAnalytics.getGroup": [{
35325
35591
  name: "deviceId",
35326
35592
  form: "single",
@@ -35331,6 +35597,11 @@ Object.freeze({
35331
35597
  form: "single",
35332
35598
  optional: false
35333
35599
  }],
35600
+ "pipelineAnalytics.getKeyEventsBatch": [{
35601
+ name: "deviceIds",
35602
+ form: "array",
35603
+ optional: false
35604
+ }],
35334
35605
  "pipelineAnalytics.getMotionEvents": [{
35335
35606
  name: "deviceId",
35336
35607
  form: "single",
@@ -35771,6 +36042,11 @@ Object.freeze({
35771
36042
  form: "single",
35772
36043
  optional: false
35773
36044
  }],
36045
+ "recording.reconcileLedgerAgainstDisk": [{
36046
+ name: "deviceId",
36047
+ form: "single",
36048
+ optional: true
36049
+ }],
35774
36050
  "recording.relocateFootage": [{
35775
36051
  name: "deviceId",
35776
36052
  form: "single",
@@ -35836,6 +36112,11 @@ Object.freeze({
35836
36112
  form: "single",
35837
36113
  optional: false
35838
36114
  }],
36115
+ "sceneMonitor.listScenesBatch": [{
36116
+ name: "deviceIds",
36117
+ form: "array",
36118
+ optional: false
36119
+ }],
35839
36120
  "sceneMonitor.recheckNow": [{
35840
36121
  name: "deviceId",
35841
36122
  form: "single",
@@ -36097,6 +36378,11 @@ Object.freeze({
36097
36378
  form: "single",
36098
36379
  optional: false
36099
36380
  }],
36381
+ "zoneAnalytics.getCurrentSnapshotBatch": [{
36382
+ name: "deviceIds",
36383
+ form: "array",
36384
+ optional: false
36385
+ }],
36100
36386
  "zoneAnalytics.getUnzonedHistory": [{
36101
36387
  name: "deviceId",
36102
36388
  form: "single",
@@ -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-CJS8Mo7l.js");
5
+ const require_dist = require("../dist-Cv-ufJXF.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-BO7-LQSt.mjs";
1
+ import { a as EventCategory, i as BaseAddon, n as networkAccessCapability } from "../dist-8Fi7VglU.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.47",
3
+ "version": "1.2.49",
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",