@camstack/addon-tailscale 1.2.98 → 1.2.100

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-BOzLlTTG.js");
27
+ const require_dist = require("../dist-DJhzrxHQ.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-mGk9oSvk.mjs";
1
+ import { a as EventCategory, i as BaseAddon, n as networkAccessCapability, r as BOOT_RECOVERY_BACKOFF_MS, t as meshNetworkCapability } from "../dist-cjpimBLk.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";
@@ -1,4 +1,4 @@
1
- //#region ../types/dist/event-category-DAXzJeTX.mjs
1
+ //#region ../types/dist/event-category-ZyX6jcse.mjs
2
2
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
3
3
  EventCategory["SystemBoot"] = "system.boot";
4
4
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -559,7 +559,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
559
559
  * a package zone — a newly-appeared stationary object of a package class
560
560
  * that cleared the class / zone / dwell / size gates. Payload:
561
561
  * `PipelineAnalyticsPackageDeliveredPayload` carrying `{ deviceId,
562
- * entryId, className, zoneIds, keyFrameMediaKey?, bbox, timestamp }`.
562
+ * entryId, className, zoneIds, keyFrameMediaId?, bbox, timestamp }`.
563
563
  * Telemetry (D8): the durable record is the `package-events` store row;
564
564
  * this bus topic drives notifier rules + live UI. See
565
565
  * docs/superpowers/specs/2026-07-17-package-zones-design.md §5.1.
@@ -5345,7 +5345,7 @@ var ZodIssueCode = {
5345
5345
  var ZodFirstPartyTypeKind;
5346
5346
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5347
5347
  //#endregion
5348
- //#region ../types/dist/sleep-BnujYGPe.mjs
5348
+ //#region ../types/dist/sleep-CnLyvg3w.mjs
5349
5349
  /**
5350
5350
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5351
5351
  * window to float samples (D455).
@@ -7330,13 +7330,30 @@ new Set([
7330
7330
  "scene",
7331
7331
  "motion",
7332
7332
  "object",
7333
- "audio"
7333
+ "audio",
7334
+ "mosaic"
7334
7335
  ]);
7335
- new Set([
7336
+ /**
7337
+ * The owner types that are event tables, in the order the event-media resolver
7338
+ * should consider them. Exported so a consumer asking "is this key an event?"
7339
+ * does not re-spell the list and drift from it.
7340
+ */
7341
+ var EVENT_OWNER_TYPES = [
7336
7342
  "motion",
7337
7343
  "object",
7338
7344
  "audio"
7339
- ]);
7345
+ ];
7346
+ /**
7347
+ * The same list as a Zod enum, for the cap inputs that must NAME the table
7348
+ * (D482: `getEventMedia` / `listEventMedia` take an owner, and an owner is
7349
+ * `(table, id)`).
7350
+ *
7351
+ * Built FROM {@link EVENT_OWNER_TYPES} rather than re-spelled: a fourth event
7352
+ * table would otherwise be accepted by the codec and refused at the door, with
7353
+ * nothing failing until a caller asked.
7354
+ */
7355
+ var EventOwnerTypeSchema = _enum(EVENT_OWNER_TYPES);
7356
+ new Set(EVENT_OWNER_TYPES);
7340
7357
  var EncodeProfileSchema = object({
7341
7358
  video: object({
7342
7359
  codec: _enum([
@@ -12433,6 +12450,16 @@ method(object({
12433
12450
  filter: QueryFilterSchema.optional(),
12434
12451
  columns: array(string()).readonly().optional()
12435
12452
  }), array(SettingsRecordSchema).readonly()), method(object({
12453
+ namespace: string().optional(),
12454
+ collection: string(),
12455
+ /** Declared columns identifying the slot; must be covered by a UNIQUE
12456
+ * index on the collection. Never empty. */
12457
+ conflict: array(string()).readonly(),
12458
+ record: BulkRecordSchema
12459
+ }), object({
12460
+ /** The id the row HAS: assigned by SQLite on an insert, or the existing
12461
+ * row's own id on an update. */
12462
+ id: union([string(), number()]) }), { kind: "mutation" }), method(object({
12436
12463
  namespace: string().optional(),
12437
12464
  collection: string(),
12438
12465
  record: object({
@@ -12567,6 +12594,14 @@ method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
12567
12594
  id: union([string(), number()]) }), {
12568
12595
  kind: "mutation",
12569
12596
  auth: "admin"
12597
+ }), method(object({
12598
+ namespace: string().optional(),
12599
+ collection: string(),
12600
+ conflict: array(string()).readonly(),
12601
+ record: BulkRecordSchema
12602
+ }), object({ id: union([string(), number()]) }), {
12603
+ kind: "mutation",
12604
+ auth: "admin"
12570
12605
  }), method(object({
12571
12606
  namespace: string().optional(),
12572
12607
  collection: string(),
@@ -18800,8 +18835,8 @@ var TrackPositionSchema = object({
18800
18835
  var TrackSnapshotSchema = object({
18801
18836
  timestamp: number(),
18802
18837
  position: TrackPositionSchema,
18803
- /** MediaStore key; resolve via `getTrackMedia({ trackId })`. */
18804
- mediaKey: string()
18838
+ /** The snapshot's media row id (D482); resolve via `listTrackMedia({ trackId })`. */
18839
+ mediaId: number().int()
18805
18840
  });
18806
18841
  /**
18807
18842
  * Normalized 0..1 trajectory envelope (min/max over every position bbox,
@@ -19405,14 +19440,14 @@ var ObjectEventSchema = object({
19405
19440
  * pixel-space `bbox` onto a displayed image. Omitted in slim projection. */
19406
19441
  frameWidth: number().optional(),
19407
19442
  frameHeight: number().optional(),
19408
- /** MediaStore key for the crop attached to this event (if any). */
19409
- mediaKey: string().optional(),
19410
- /** Design B: MediaStore key of the track's native-resolution key frame (the
19443
+ /** Media row id of the crop attached to this event (if any) — D482. */
19444
+ mediaId: number().int().optional(),
19445
+ /** Design B: media row id of the track's native-resolution key frame (the
19411
19446
  * best-detection full frame). Resolve via the event-media data-plane
19412
- * (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
19447
+ * (`/addon/<addonId>/event-media/m/<keyFrameMediaId>`) for a detail view that
19413
19448
  * draws `bbox` over the native frame. Absent on legacy rows / non-decoded
19414
- * sources — consumers fall back to `mediaKey` (the tight crop). */
19415
- keyFrameMediaKey: string().optional(),
19449
+ * sources — consumers fall back to `mediaId` (the tight crop). */
19450
+ keyFrameMediaId: number().int().optional(),
19416
19451
  /** Populated by B5 (recording playback URL for this event). */
19417
19452
  mediaUrl: string().optional(),
19418
19453
  /** The parent track's key-event importance [0,1], propagated to every object
@@ -19462,7 +19497,7 @@ var MediaFileKindEnum = _enum([
19462
19497
  * hub-main's heap on the way past — for an `<img>` that would have cached it.
19463
19498
  *
19464
19499
  * `url` points at the `event-media` data plane
19465
- * (`/addon/<addonId>/event-media/<storedKey>`), which serves the same blob
19500
+ * (`/addon/<addonId>/event-media/m/<mediaId>` — D482), which serves the same blob
19466
19501
  * with an ETag and `Cache-Control: immutable`, honours conditional GETs, can
19467
19502
  * render a `?variant=thumb`, and streams. The hub gate in front of it requires
19468
19503
  * a bearer or the session cookie (`access: 'authenticated'`), so the bytes are
@@ -19470,10 +19505,13 @@ var MediaFileKindEnum = _enum([
19470
19505
  * `data-plane-access.ts` for the rule and the one gap it does not close
19471
19506
  * (per-device scoping).
19472
19507
  *
19473
- * The URL is built from the row's **stored** key, which is not always its
19474
- * published `kind`: a track's face/plate crop is stored as `crop` under
19508
+ * The URL is built from the row's own id, which since D482 says nothing about
19509
+ * the row's owner or kind — and that is the point. The published `kind` is not
19510
+ * the stored one (a track's face/plate crop is stored as `crop` under
19475
19511
  * `('face'|'plate', '<prefix>-<trackId>')` and published as
19476
- * `faceCrop`/`plateCrop`. `MediaStore.getByKey` knows only the stored key.
19512
+ * `faceCrop`/`plateCrop`), and under the old composite key the URL had to be
19513
+ * taken from `row.key` verbatim or it 404'd exactly those two rows. An id
19514
+ * cannot be mis-reconstructed, because there is nothing in it to reconstruct.
19477
19515
  *
19478
19516
  * ## `base64` is TRANSITIONAL and is going away
19479
19517
  *
@@ -19486,7 +19524,19 @@ var MediaFileKindEnum = _enum([
19486
19524
  * `analytics-query-facade.ts`; nothing else reads it.
19487
19525
  */
19488
19526
  var MediaFileSchema = object({
19489
- key: string(),
19527
+ /**
19528
+ * The media row's OWN id — the rowid SQLite assigned it (D482).
19529
+ *
19530
+ * It used to be the row's composite key, `<ownerType>:<ownerId>:<fileKind>
19531
+ * [:<timestampMs>]`, which embedded a FOREIGN id. D474 made event ids
19532
+ * per-table rowid aliases, so `object:101314` and `motion:101314` are two
19533
+ * different rows that spell the same number, and a track whose
19534
+ * `bestEventId` was an object event was served a motion event's snapshot —
19535
+ * a night-time thumbnail on an afternoon track, with no error anywhere. A
19536
+ * surrogate id cannot name the wrong row's owner, because it names no owner
19537
+ * at all.
19538
+ */
19539
+ mediaId: number().int(),
19490
19540
  kind: MediaFileKindEnum,
19491
19541
  sizeBytes: number(),
19492
19542
  timestamp: number()
@@ -19594,7 +19644,7 @@ var RetrainTrackSchema = object({
19594
19644
  });
19595
19645
  /** A frame the picker may offer — an index row, no blob was read to produce it. */
19596
19646
  var RetrainFrameCandidateSchema = object({
19597
- mediaKey: string(),
19647
+ mediaId: number().int(),
19598
19648
  kind: MediaFileKindEnum,
19599
19649
  timestamp: number(),
19600
19650
  sizeBytes: number().int(),
@@ -19608,7 +19658,7 @@ var RetrainFrameSchema = object({
19608
19658
  deviceId: number(),
19609
19659
  trackId: string(),
19610
19660
  /** Provenance only. It may already point at nothing — that is expected. */
19611
- sourceMediaKey: string(),
19661
+ sourceMediaId: number().int(),
19612
19662
  sourceKind: MediaFileKindEnum,
19613
19663
  sizeBytes: number().int(),
19614
19664
  width: number().int(),
@@ -19624,7 +19674,7 @@ var RetrainCopyRefusalSchema = _enum([
19624
19674
  var RetrainFrameSelectionSchema = object({
19625
19675
  copied: array(RetrainFrameSchema).readonly(),
19626
19676
  refused: array(object({
19627
- sourceMediaKey: string(),
19677
+ sourceMediaId: number().int(),
19628
19678
  reason: RetrainCopyRefusalSchema
19629
19679
  })).readonly()
19630
19680
  });
@@ -19632,7 +19682,7 @@ var RetrainFrameListSchema = object({
19632
19682
  candidates: array(RetrainFrameCandidateSchema).readonly(),
19633
19683
  copies: array(RetrainFrameSchema).readonly(),
19634
19684
  /** What the page pre-selects — the native key frame when one survives. */
19635
- autoPickMediaKey: string().optional()
19685
+ autoPickMediaId: number().int().optional()
19636
19686
  });
19637
19687
  /** What the operator asked the assist to look for. */
19638
19688
  var RetrainAssistSubjectSchema = discriminatedUnion("kind", [object({
@@ -19727,9 +19777,11 @@ var RecentTracksQueryInput = object({
19727
19777
  });
19728
19778
  /**
19729
19779
  * A Summary (D359): the per-camera session envelope that references tracks.
19730
- * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19731
- * served by the event-media plane by key), null until the first frame with a
19732
- * member visible has been materialised.
19780
+ * `groupShotMediaId` is the media ROW id of its group shot (`ownerKind:
19781
+ * 'summary'`, served by the event-media plane at `/m/<id>`), null until the
19782
+ * first frame with a member visible has been materialised (D482 — it was the
19783
+ * row's composite key, which embedded the owner and could name another table's
19784
+ * row once event ids became per-table rowids).
19733
19785
  */
19734
19786
  var SummarySchema = object({
19735
19787
  id: string(),
@@ -19738,7 +19790,7 @@ var SummarySchema = object({
19738
19790
  lastActiveAt: number(),
19739
19791
  sealedAt: number().nullable(),
19740
19792
  memberCount: number().int().nonnegative(),
19741
- groupShotKey: string().nullable()
19793
+ groupShotMediaId: number().int().nullable()
19742
19794
  });
19743
19795
  var SummariesQueryInput = object({
19744
19796
  deviceIds: array(number()).min(1),
@@ -20292,7 +20344,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20292
20344
  }), method(object({
20293
20345
  deviceId: number(),
20294
20346
  trackId: string(),
20295
- mediaKeys: array(string()).min(1)
20347
+ mediaIds: array(number().int()).min(1)
20296
20348
  }), RetrainFrameSelectionSchema, {
20297
20349
  kind: "mutation",
20298
20350
  auth: "admin"
@@ -20360,7 +20412,10 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20360
20412
  kind: "query",
20361
20413
  auth: "admin"
20362
20414
  }), method(object({
20363
- eventId: string(),
20415
+ /** Which of the three event tables owns the row. */
20416
+ ownerType: EventOwnerTypeSchema,
20417
+ /** The event's rowid in that table (D474: an event id is a number). */
20418
+ eventId: number().int(),
20364
20419
  kind: MediaFileKindEnum.optional(),
20365
20420
  deviceId: number()
20366
20421
  }), array(MediaFileSchema).readonly()), method(object({
@@ -20371,7 +20426,8 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20371
20426
  trackId: string(),
20372
20427
  deviceId: number()
20373
20428
  }), array(MediaFileInfoSchema).readonly()), method(object({
20374
- eventId: string(),
20429
+ ownerType: EventOwnerTypeSchema,
20430
+ eventId: number().int(),
20375
20431
  deviceId: number()
20376
20432
  }), array(MediaFileInfoSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), method(object({}), WipeObjectEmbeddingsResultSchema, {
20377
20433
  kind: "mutation",
@@ -24834,8 +24890,8 @@ var IdentitySchema = object({
24834
24890
  id: string(),
24835
24891
  name: string(),
24836
24892
  sampleCount: number().int().nonnegative(),
24837
- coverMediaKey: string().optional(),
24838
- /** Inline base64 of the cover sample's crop, resolved from `coverMediaKey`.
24893
+ coverMediaId: number().int().optional(),
24894
+ /** Inline base64 of the cover sample's crop, resolved from `coverMediaId`.
24839
24895
  * Lets the UI render the person's face avatar instead of a placeholder icon. */
24840
24896
  coverBase64: string().optional()
24841
24897
  });
@@ -24861,8 +24917,8 @@ var IdentitySampleAuditRowSchema = object({
24861
24917
  enrolledAt: number().int(),
24862
24918
  deviceId: number().int().optional(),
24863
24919
  source: _enum(["detected", "photo"]),
24864
- /** The enrolled crop's media key, so the panel can show the evidence. */
24865
- mediaKey: string().optional(),
24920
+ /** The enrolled crop's media row id, so the panel can show the evidence. */
24921
+ mediaId: number().int().optional(),
24866
24922
  /**
24867
24923
  * False = the sample is stamped with a DIFFERENT face model, and a cosine
24868
24924
  * across feature spaces is a well-formed float with no meaning. Every number
@@ -24931,15 +24987,15 @@ var FaceInfoSchema = object({
24931
24987
  */
24932
24988
  cropUrl: string().optional(),
24933
24989
  /** Design B: the face bbox (pixel space) on the key frame — lets a detail
24934
- * view draw the box over the native `keyFrameMediaKey` frame. Absent on
24990
+ * view draw the box over the native `keyFrameMediaId` frame. Absent on
24935
24991
  * legacy rows written before design B. */
24936
24992
  faceBbox: BoundingBoxSchema.optional(),
24937
24993
  /** Design B: MediaStore key of the track's native-resolution key frame.
24938
24994
  * Fetch the native JPEG via the event-media data-plane
24939
- * (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
24995
+ * (`/addon/<addonId>/event-media/m/<keyFrameMediaId>`). Absent when the
24940
24996
  * track produced no key frame (e.g. native/onboard source) — the UI falls
24941
24997
  * back to the inline `base64` face crop. */
24942
- keyFrameMediaKey: string().optional(),
24998
+ keyFrameMediaId: number().int().optional(),
24943
24999
  /** Winning identity-match cosine (0..1) for this face's track, when an
24944
25000
  * identity was auto-confirmed. Lets the UI surface WHY a face was assigned
24945
25001
  * (confidence badge / low-confidence audit). Absent on legacy rows and on
@@ -25008,11 +25064,14 @@ var FaceClusterSchema = object({
25008
25064
  * `data:image/jpeg;base64,…` from a row whose `key` sat right beside it, in a
25009
25065
  * dialog already rendering its key FRAME from the `event-media` plane.
25010
25066
  *
25011
- * `url` is `/addon/<addonId>/event-media/<encoded key>`. The plane resolves a
25012
- * media key directly, so this needed no new plane and no new access decision.
25067
+ * `url` is `/addon/<addonId>/event-media/m/<mediaId>` (D482). The plane
25068
+ * resolves a media row by its own id, so this needed no new plane and no new
25069
+ * access decision.
25013
25070
  */
25014
25071
  var MediaFileLiteSchema$1 = object({
25015
- key: string(),
25072
+ /** The media row's own id — the same address `MediaFileRef.mediaId` carries
25073
+ * (D482). It was the row's composite key, which embedded the owner. */
25074
+ mediaId: number().int(),
25016
25075
  kind: string(),
25017
25076
  url: string(),
25018
25077
  sizeBytes: number(),
@@ -25029,7 +25088,7 @@ method(object({
25029
25088
  * covers inline, ~10 KB of base64 per row, on a query this UI mounts
25030
25089
  * four times and the viewer holds at `staleTime: 30_000`.
25031
25090
  *
25032
- * Nothing loses its avatar: `coverMediaKey` is already on every row and
25091
+ * Nothing loses its avatar: `coverMediaId` is already on every row and
25033
25092
  * the `event-media` plane serves that key `immutable` with an ETag.
25034
25093
  *
25035
25094
  * **This is an INPUT field, so it does not reach the addon until the
@@ -27558,8 +27617,8 @@ var VehicleSchema = object({
27558
27617
  id: string(),
27559
27618
  name: string(),
27560
27619
  sampleCount: number().int().nonnegative(),
27561
- coverMediaKey: string().optional(),
27562
- /** Inline base64 of the cover sample's plate crop, resolved from `coverMediaKey`. */
27620
+ coverMediaId: number().int().optional(),
27621
+ /** Inline base64 of the cover sample's plate crop, resolved from `coverMediaId`. */
27563
27622
  coverBase64: string().optional()
27564
27623
  });
27565
27624
  var VehicleSampleInfoSchema = object({
@@ -27592,7 +27651,7 @@ var PlateInfoSchema = object({
27592
27651
  /** keyFrame parity: the plate bbox (pixel space) on the native key frame. */
27593
27652
  plateBbox: BoundingBoxSchema.optional(),
27594
27653
  /** keyFrame parity: MediaStore key of the track's native-resolution key frame. */
27595
- keyFrameMediaKey: string().optional(),
27654
+ keyFrameMediaId: number().int().optional(),
27596
27655
  base64: string().optional(),
27597
27656
  /**
27598
27657
  * Same crop as a data-plane URL, always present when the plate has a stored
@@ -27613,11 +27672,14 @@ var PlateInfoSchema = object({
27613
27672
  * `data:image/jpeg;base64,…` from a row whose `key` sat right beside it, in a
27614
27673
  * dialog already rendering its key FRAME from the `event-media` plane.
27615
27674
  *
27616
- * `url` is `/addon/<addonId>/event-media/<encoded key>`. The plane resolves a
27617
- * media key directly, so this needed no new plane and no new access decision.
27675
+ * `url` is `/addon/<addonId>/event-media/m/<mediaId>` (D482). The plane
27676
+ * resolves a media row by its own id, so this needed no new plane and no new
27677
+ * access decision.
27618
27678
  */
27619
27679
  var MediaFileLiteSchema = object({
27620
- key: string(),
27680
+ /** The media row's own id — the same address `MediaFileRef.mediaId` carries
27681
+ * (D482). It was the row's composite key, which embedded the owner. */
27682
+ mediaId: number().int(),
27621
27683
  kind: string(),
27622
27684
  url: string(),
27623
27685
  sizeBytes: number(),
@@ -27676,7 +27738,7 @@ method(object({
27676
27738
  }), method(object({
27677
27739
  /** Inline {@link VehicleSchema.coverBase64} on every row. Default
27678
27740
  * `false` — the vehicle twin of `faceGallery.listIdentities`'s
27679
- * option; `coverMediaKey` + the `event-media` plane carry the picture.
27741
+ * option; `coverMediaId` + the `event-media` plane carry the picture.
27680
27742
  * INPUT field: stripped by the hub router until the train ships, which
27681
27743
  * resolves to `false` and is exactly the intended default. */
27682
27744
  includeCrops: boolean().optional() }).optional(), array(VehicleSchema).readonly()), method(object({ name: string().min(1) }), VehicleSchema, {
@@ -29000,7 +29062,14 @@ var SceneReferenceSchema = object({
29000
29062
  modelId: string(),
29001
29063
  condition: SceneConditionSchema,
29002
29064
  capturedAt: number(),
29003
- thumbnailMediaId: string().optional(),
29065
+ /**
29066
+ * The reference thumbnail's media ROW id (D482).
29067
+ *
29068
+ * The name already said `mediaId` while the value was the row's composite
29069
+ * key — a leftover that read as done and was not. It is the row's own id
29070
+ * now, addressed at `/addon/<addonId>/event-media/m/<id>`.
29071
+ */
29072
+ thumbnailMediaId: number().int().optional(),
29004
29073
  /** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
29005
29074
  * anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
29006
29075
  * normalized rect frame a different piece of world, and the scene would
@@ -30448,7 +30517,7 @@ var StationaryObjectSchema = object({
30448
30517
  /** Enrichment label carried from the source track (identity / plate). */
30449
30518
  label: string().optional(),
30450
30519
  /** Native-resolution key-frame media key for the parked object's best image. */
30451
- keyFrameMediaKey: string().optional()
30520
+ keyFrameMediaId: number().int().optional()
30452
30521
  });
30453
30522
  var CameraOccupancySnapshotSchema = object({
30454
30523
  /** Frame timestamp of the inference result that produced this snapshot. */
@@ -31604,6 +31673,12 @@ Object.freeze({
31604
31673
  addonId: null,
31605
31674
  access: "create"
31606
31675
  },
31676
+ "dataStoreProvider.upsert": {
31677
+ capName: "data-store-provider",
31678
+ capScope: "system",
31679
+ addonId: null,
31680
+ access: "create"
31681
+ },
31607
31682
  "dayNight.getOptions": {
31608
31683
  capName: "day-night",
31609
31684
  capScope: "device",
@@ -35468,6 +35543,12 @@ Object.freeze({
35468
35543
  addonId: null,
35469
35544
  access: "create"
35470
35545
  },
35546
+ "settingsStore.upsert": {
35547
+ capName: "settings-store",
35548
+ capScope: "system",
35549
+ addonId: null,
35550
+ access: "create"
35551
+ },
35471
35552
  "smtpProvider.getStatus": {
35472
35553
  capName: "smtp-provider",
35473
35554
  capScope: "system",
@@ -1,4 +1,4 @@
1
- //#region ../types/dist/event-category-DAXzJeTX.mjs
1
+ //#region ../types/dist/event-category-ZyX6jcse.mjs
2
2
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
3
3
  EventCategory["SystemBoot"] = "system.boot";
4
4
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -559,7 +559,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
559
559
  * a package zone — a newly-appeared stationary object of a package class
560
560
  * that cleared the class / zone / dwell / size gates. Payload:
561
561
  * `PipelineAnalyticsPackageDeliveredPayload` carrying `{ deviceId,
562
- * entryId, className, zoneIds, keyFrameMediaKey?, bbox, timestamp }`.
562
+ * entryId, className, zoneIds, keyFrameMediaId?, bbox, timestamp }`.
563
563
  * Telemetry (D8): the durable record is the `package-events` store row;
564
564
  * this bus topic drives notifier rules + live UI. See
565
565
  * docs/superpowers/specs/2026-07-17-package-zones-design.md §5.1.
@@ -5345,7 +5345,7 @@ var ZodIssueCode = {
5345
5345
  var ZodFirstPartyTypeKind;
5346
5346
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5347
5347
  //#endregion
5348
- //#region ../types/dist/sleep-BnujYGPe.mjs
5348
+ //#region ../types/dist/sleep-CnLyvg3w.mjs
5349
5349
  /**
5350
5350
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5351
5351
  * window to float samples (D455).
@@ -7330,13 +7330,30 @@ new Set([
7330
7330
  "scene",
7331
7331
  "motion",
7332
7332
  "object",
7333
- "audio"
7333
+ "audio",
7334
+ "mosaic"
7334
7335
  ]);
7335
- new Set([
7336
+ /**
7337
+ * The owner types that are event tables, in the order the event-media resolver
7338
+ * should consider them. Exported so a consumer asking "is this key an event?"
7339
+ * does not re-spell the list and drift from it.
7340
+ */
7341
+ var EVENT_OWNER_TYPES = [
7336
7342
  "motion",
7337
7343
  "object",
7338
7344
  "audio"
7339
- ]);
7345
+ ];
7346
+ /**
7347
+ * The same list as a Zod enum, for the cap inputs that must NAME the table
7348
+ * (D482: `getEventMedia` / `listEventMedia` take an owner, and an owner is
7349
+ * `(table, id)`).
7350
+ *
7351
+ * Built FROM {@link EVENT_OWNER_TYPES} rather than re-spelled: a fourth event
7352
+ * table would otherwise be accepted by the codec and refused at the door, with
7353
+ * nothing failing until a caller asked.
7354
+ */
7355
+ var EventOwnerTypeSchema = _enum(EVENT_OWNER_TYPES);
7356
+ new Set(EVENT_OWNER_TYPES);
7340
7357
  var EncodeProfileSchema = object({
7341
7358
  video: object({
7342
7359
  codec: _enum([
@@ -12433,6 +12450,16 @@ method(object({
12433
12450
  filter: QueryFilterSchema.optional(),
12434
12451
  columns: array(string()).readonly().optional()
12435
12452
  }), array(SettingsRecordSchema).readonly()), method(object({
12453
+ namespace: string().optional(),
12454
+ collection: string(),
12455
+ /** Declared columns identifying the slot; must be covered by a UNIQUE
12456
+ * index on the collection. Never empty. */
12457
+ conflict: array(string()).readonly(),
12458
+ record: BulkRecordSchema
12459
+ }), object({
12460
+ /** The id the row HAS: assigned by SQLite on an insert, or the existing
12461
+ * row's own id on an update. */
12462
+ id: union([string(), number()]) }), { kind: "mutation" }), method(object({
12436
12463
  namespace: string().optional(),
12437
12464
  collection: string(),
12438
12465
  record: object({
@@ -12567,6 +12594,14 @@ method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
12567
12594
  id: union([string(), number()]) }), {
12568
12595
  kind: "mutation",
12569
12596
  auth: "admin"
12597
+ }), method(object({
12598
+ namespace: string().optional(),
12599
+ collection: string(),
12600
+ conflict: array(string()).readonly(),
12601
+ record: BulkRecordSchema
12602
+ }), object({ id: union([string(), number()]) }), {
12603
+ kind: "mutation",
12604
+ auth: "admin"
12570
12605
  }), method(object({
12571
12606
  namespace: string().optional(),
12572
12607
  collection: string(),
@@ -18800,8 +18835,8 @@ var TrackPositionSchema = object({
18800
18835
  var TrackSnapshotSchema = object({
18801
18836
  timestamp: number(),
18802
18837
  position: TrackPositionSchema,
18803
- /** MediaStore key; resolve via `getTrackMedia({ trackId })`. */
18804
- mediaKey: string()
18838
+ /** The snapshot's media row id (D482); resolve via `listTrackMedia({ trackId })`. */
18839
+ mediaId: number().int()
18805
18840
  });
18806
18841
  /**
18807
18842
  * Normalized 0..1 trajectory envelope (min/max over every position bbox,
@@ -19405,14 +19440,14 @@ var ObjectEventSchema = object({
19405
19440
  * pixel-space `bbox` onto a displayed image. Omitted in slim projection. */
19406
19441
  frameWidth: number().optional(),
19407
19442
  frameHeight: number().optional(),
19408
- /** MediaStore key for the crop attached to this event (if any). */
19409
- mediaKey: string().optional(),
19410
- /** Design B: MediaStore key of the track's native-resolution key frame (the
19443
+ /** Media row id of the crop attached to this event (if any) — D482. */
19444
+ mediaId: number().int().optional(),
19445
+ /** Design B: media row id of the track's native-resolution key frame (the
19411
19446
  * best-detection full frame). Resolve via the event-media data-plane
19412
- * (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
19447
+ * (`/addon/<addonId>/event-media/m/<keyFrameMediaId>`) for a detail view that
19413
19448
  * draws `bbox` over the native frame. Absent on legacy rows / non-decoded
19414
- * sources — consumers fall back to `mediaKey` (the tight crop). */
19415
- keyFrameMediaKey: string().optional(),
19449
+ * sources — consumers fall back to `mediaId` (the tight crop). */
19450
+ keyFrameMediaId: number().int().optional(),
19416
19451
  /** Populated by B5 (recording playback URL for this event). */
19417
19452
  mediaUrl: string().optional(),
19418
19453
  /** The parent track's key-event importance [0,1], propagated to every object
@@ -19462,7 +19497,7 @@ var MediaFileKindEnum = _enum([
19462
19497
  * hub-main's heap on the way past — for an `<img>` that would have cached it.
19463
19498
  *
19464
19499
  * `url` points at the `event-media` data plane
19465
- * (`/addon/<addonId>/event-media/<storedKey>`), which serves the same blob
19500
+ * (`/addon/<addonId>/event-media/m/<mediaId>` — D482), which serves the same blob
19466
19501
  * with an ETag and `Cache-Control: immutable`, honours conditional GETs, can
19467
19502
  * render a `?variant=thumb`, and streams. The hub gate in front of it requires
19468
19503
  * a bearer or the session cookie (`access: 'authenticated'`), so the bytes are
@@ -19470,10 +19505,13 @@ var MediaFileKindEnum = _enum([
19470
19505
  * `data-plane-access.ts` for the rule and the one gap it does not close
19471
19506
  * (per-device scoping).
19472
19507
  *
19473
- * The URL is built from the row's **stored** key, which is not always its
19474
- * published `kind`: a track's face/plate crop is stored as `crop` under
19508
+ * The URL is built from the row's own id, which since D482 says nothing about
19509
+ * the row's owner or kind — and that is the point. The published `kind` is not
19510
+ * the stored one (a track's face/plate crop is stored as `crop` under
19475
19511
  * `('face'|'plate', '<prefix>-<trackId>')` and published as
19476
- * `faceCrop`/`plateCrop`. `MediaStore.getByKey` knows only the stored key.
19512
+ * `faceCrop`/`plateCrop`), and under the old composite key the URL had to be
19513
+ * taken from `row.key` verbatim or it 404'd exactly those two rows. An id
19514
+ * cannot be mis-reconstructed, because there is nothing in it to reconstruct.
19477
19515
  *
19478
19516
  * ## `base64` is TRANSITIONAL and is going away
19479
19517
  *
@@ -19486,7 +19524,19 @@ var MediaFileKindEnum = _enum([
19486
19524
  * `analytics-query-facade.ts`; nothing else reads it.
19487
19525
  */
19488
19526
  var MediaFileSchema = object({
19489
- key: string(),
19527
+ /**
19528
+ * The media row's OWN id — the rowid SQLite assigned it (D482).
19529
+ *
19530
+ * It used to be the row's composite key, `<ownerType>:<ownerId>:<fileKind>
19531
+ * [:<timestampMs>]`, which embedded a FOREIGN id. D474 made event ids
19532
+ * per-table rowid aliases, so `object:101314` and `motion:101314` are two
19533
+ * different rows that spell the same number, and a track whose
19534
+ * `bestEventId` was an object event was served a motion event's snapshot —
19535
+ * a night-time thumbnail on an afternoon track, with no error anywhere. A
19536
+ * surrogate id cannot name the wrong row's owner, because it names no owner
19537
+ * at all.
19538
+ */
19539
+ mediaId: number().int(),
19490
19540
  kind: MediaFileKindEnum,
19491
19541
  sizeBytes: number(),
19492
19542
  timestamp: number()
@@ -19594,7 +19644,7 @@ var RetrainTrackSchema = object({
19594
19644
  });
19595
19645
  /** A frame the picker may offer — an index row, no blob was read to produce it. */
19596
19646
  var RetrainFrameCandidateSchema = object({
19597
- mediaKey: string(),
19647
+ mediaId: number().int(),
19598
19648
  kind: MediaFileKindEnum,
19599
19649
  timestamp: number(),
19600
19650
  sizeBytes: number().int(),
@@ -19608,7 +19658,7 @@ var RetrainFrameSchema = object({
19608
19658
  deviceId: number(),
19609
19659
  trackId: string(),
19610
19660
  /** Provenance only. It may already point at nothing — that is expected. */
19611
- sourceMediaKey: string(),
19661
+ sourceMediaId: number().int(),
19612
19662
  sourceKind: MediaFileKindEnum,
19613
19663
  sizeBytes: number().int(),
19614
19664
  width: number().int(),
@@ -19624,7 +19674,7 @@ var RetrainCopyRefusalSchema = _enum([
19624
19674
  var RetrainFrameSelectionSchema = object({
19625
19675
  copied: array(RetrainFrameSchema).readonly(),
19626
19676
  refused: array(object({
19627
- sourceMediaKey: string(),
19677
+ sourceMediaId: number().int(),
19628
19678
  reason: RetrainCopyRefusalSchema
19629
19679
  })).readonly()
19630
19680
  });
@@ -19632,7 +19682,7 @@ var RetrainFrameListSchema = object({
19632
19682
  candidates: array(RetrainFrameCandidateSchema).readonly(),
19633
19683
  copies: array(RetrainFrameSchema).readonly(),
19634
19684
  /** What the page pre-selects — the native key frame when one survives. */
19635
- autoPickMediaKey: string().optional()
19685
+ autoPickMediaId: number().int().optional()
19636
19686
  });
19637
19687
  /** What the operator asked the assist to look for. */
19638
19688
  var RetrainAssistSubjectSchema = discriminatedUnion("kind", [object({
@@ -19727,9 +19777,11 @@ var RecentTracksQueryInput = object({
19727
19777
  });
19728
19778
  /**
19729
19779
  * A Summary (D359): the per-camera session envelope that references tracks.
19730
- * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19731
- * served by the event-media plane by key), null until the first frame with a
19732
- * member visible has been materialised.
19780
+ * `groupShotMediaId` is the media ROW id of its group shot (`ownerKind:
19781
+ * 'summary'`, served by the event-media plane at `/m/<id>`), null until the
19782
+ * first frame with a member visible has been materialised (D482 — it was the
19783
+ * row's composite key, which embedded the owner and could name another table's
19784
+ * row once event ids became per-table rowids).
19733
19785
  */
19734
19786
  var SummarySchema = object({
19735
19787
  id: string(),
@@ -19738,7 +19790,7 @@ var SummarySchema = object({
19738
19790
  lastActiveAt: number(),
19739
19791
  sealedAt: number().nullable(),
19740
19792
  memberCount: number().int().nonnegative(),
19741
- groupShotKey: string().nullable()
19793
+ groupShotMediaId: number().int().nullable()
19742
19794
  });
19743
19795
  var SummariesQueryInput = object({
19744
19796
  deviceIds: array(number()).min(1),
@@ -20292,7 +20344,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20292
20344
  }), method(object({
20293
20345
  deviceId: number(),
20294
20346
  trackId: string(),
20295
- mediaKeys: array(string()).min(1)
20347
+ mediaIds: array(number().int()).min(1)
20296
20348
  }), RetrainFrameSelectionSchema, {
20297
20349
  kind: "mutation",
20298
20350
  auth: "admin"
@@ -20360,7 +20412,10 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20360
20412
  kind: "query",
20361
20413
  auth: "admin"
20362
20414
  }), method(object({
20363
- eventId: string(),
20415
+ /** Which of the three event tables owns the row. */
20416
+ ownerType: EventOwnerTypeSchema,
20417
+ /** The event's rowid in that table (D474: an event id is a number). */
20418
+ eventId: number().int(),
20364
20419
  kind: MediaFileKindEnum.optional(),
20365
20420
  deviceId: number()
20366
20421
  }), array(MediaFileSchema).readonly()), method(object({
@@ -20371,7 +20426,8 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20371
20426
  trackId: string(),
20372
20427
  deviceId: number()
20373
20428
  }), array(MediaFileInfoSchema).readonly()), method(object({
20374
- eventId: string(),
20429
+ ownerType: EventOwnerTypeSchema,
20430
+ eventId: number().int(),
20375
20431
  deviceId: number()
20376
20432
  }), array(MediaFileInfoSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), method(object({}), WipeObjectEmbeddingsResultSchema, {
20377
20433
  kind: "mutation",
@@ -24834,8 +24890,8 @@ var IdentitySchema = object({
24834
24890
  id: string(),
24835
24891
  name: string(),
24836
24892
  sampleCount: number().int().nonnegative(),
24837
- coverMediaKey: string().optional(),
24838
- /** Inline base64 of the cover sample's crop, resolved from `coverMediaKey`.
24893
+ coverMediaId: number().int().optional(),
24894
+ /** Inline base64 of the cover sample's crop, resolved from `coverMediaId`.
24839
24895
  * Lets the UI render the person's face avatar instead of a placeholder icon. */
24840
24896
  coverBase64: string().optional()
24841
24897
  });
@@ -24861,8 +24917,8 @@ var IdentitySampleAuditRowSchema = object({
24861
24917
  enrolledAt: number().int(),
24862
24918
  deviceId: number().int().optional(),
24863
24919
  source: _enum(["detected", "photo"]),
24864
- /** The enrolled crop's media key, so the panel can show the evidence. */
24865
- mediaKey: string().optional(),
24920
+ /** The enrolled crop's media row id, so the panel can show the evidence. */
24921
+ mediaId: number().int().optional(),
24866
24922
  /**
24867
24923
  * False = the sample is stamped with a DIFFERENT face model, and a cosine
24868
24924
  * across feature spaces is a well-formed float with no meaning. Every number
@@ -24931,15 +24987,15 @@ var FaceInfoSchema = object({
24931
24987
  */
24932
24988
  cropUrl: string().optional(),
24933
24989
  /** Design B: the face bbox (pixel space) on the key frame — lets a detail
24934
- * view draw the box over the native `keyFrameMediaKey` frame. Absent on
24990
+ * view draw the box over the native `keyFrameMediaId` frame. Absent on
24935
24991
  * legacy rows written before design B. */
24936
24992
  faceBbox: BoundingBoxSchema.optional(),
24937
24993
  /** Design B: MediaStore key of the track's native-resolution key frame.
24938
24994
  * Fetch the native JPEG via the event-media data-plane
24939
- * (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
24995
+ * (`/addon/<addonId>/event-media/m/<keyFrameMediaId>`). Absent when the
24940
24996
  * track produced no key frame (e.g. native/onboard source) — the UI falls
24941
24997
  * back to the inline `base64` face crop. */
24942
- keyFrameMediaKey: string().optional(),
24998
+ keyFrameMediaId: number().int().optional(),
24943
24999
  /** Winning identity-match cosine (0..1) for this face's track, when an
24944
25000
  * identity was auto-confirmed. Lets the UI surface WHY a face was assigned
24945
25001
  * (confidence badge / low-confidence audit). Absent on legacy rows and on
@@ -25008,11 +25064,14 @@ var FaceClusterSchema = object({
25008
25064
  * `data:image/jpeg;base64,…` from a row whose `key` sat right beside it, in a
25009
25065
  * dialog already rendering its key FRAME from the `event-media` plane.
25010
25066
  *
25011
- * `url` is `/addon/<addonId>/event-media/<encoded key>`. The plane resolves a
25012
- * media key directly, so this needed no new plane and no new access decision.
25067
+ * `url` is `/addon/<addonId>/event-media/m/<mediaId>` (D482). The plane
25068
+ * resolves a media row by its own id, so this needed no new plane and no new
25069
+ * access decision.
25013
25070
  */
25014
25071
  var MediaFileLiteSchema$1 = object({
25015
- key: string(),
25072
+ /** The media row's own id — the same address `MediaFileRef.mediaId` carries
25073
+ * (D482). It was the row's composite key, which embedded the owner. */
25074
+ mediaId: number().int(),
25016
25075
  kind: string(),
25017
25076
  url: string(),
25018
25077
  sizeBytes: number(),
@@ -25029,7 +25088,7 @@ method(object({
25029
25088
  * covers inline, ~10 KB of base64 per row, on a query this UI mounts
25030
25089
  * four times and the viewer holds at `staleTime: 30_000`.
25031
25090
  *
25032
- * Nothing loses its avatar: `coverMediaKey` is already on every row and
25091
+ * Nothing loses its avatar: `coverMediaId` is already on every row and
25033
25092
  * the `event-media` plane serves that key `immutable` with an ETag.
25034
25093
  *
25035
25094
  * **This is an INPUT field, so it does not reach the addon until the
@@ -27558,8 +27617,8 @@ var VehicleSchema = object({
27558
27617
  id: string(),
27559
27618
  name: string(),
27560
27619
  sampleCount: number().int().nonnegative(),
27561
- coverMediaKey: string().optional(),
27562
- /** Inline base64 of the cover sample's plate crop, resolved from `coverMediaKey`. */
27620
+ coverMediaId: number().int().optional(),
27621
+ /** Inline base64 of the cover sample's plate crop, resolved from `coverMediaId`. */
27563
27622
  coverBase64: string().optional()
27564
27623
  });
27565
27624
  var VehicleSampleInfoSchema = object({
@@ -27592,7 +27651,7 @@ var PlateInfoSchema = object({
27592
27651
  /** keyFrame parity: the plate bbox (pixel space) on the native key frame. */
27593
27652
  plateBbox: BoundingBoxSchema.optional(),
27594
27653
  /** keyFrame parity: MediaStore key of the track's native-resolution key frame. */
27595
- keyFrameMediaKey: string().optional(),
27654
+ keyFrameMediaId: number().int().optional(),
27596
27655
  base64: string().optional(),
27597
27656
  /**
27598
27657
  * Same crop as a data-plane URL, always present when the plate has a stored
@@ -27613,11 +27672,14 @@ var PlateInfoSchema = object({
27613
27672
  * `data:image/jpeg;base64,…` from a row whose `key` sat right beside it, in a
27614
27673
  * dialog already rendering its key FRAME from the `event-media` plane.
27615
27674
  *
27616
- * `url` is `/addon/<addonId>/event-media/<encoded key>`. The plane resolves a
27617
- * media key directly, so this needed no new plane and no new access decision.
27675
+ * `url` is `/addon/<addonId>/event-media/m/<mediaId>` (D482). The plane
27676
+ * resolves a media row by its own id, so this needed no new plane and no new
27677
+ * access decision.
27618
27678
  */
27619
27679
  var MediaFileLiteSchema = object({
27620
- key: string(),
27680
+ /** The media row's own id — the same address `MediaFileRef.mediaId` carries
27681
+ * (D482). It was the row's composite key, which embedded the owner. */
27682
+ mediaId: number().int(),
27621
27683
  kind: string(),
27622
27684
  url: string(),
27623
27685
  sizeBytes: number(),
@@ -27676,7 +27738,7 @@ method(object({
27676
27738
  }), method(object({
27677
27739
  /** Inline {@link VehicleSchema.coverBase64} on every row. Default
27678
27740
  * `false` — the vehicle twin of `faceGallery.listIdentities`'s
27679
- * option; `coverMediaKey` + the `event-media` plane carry the picture.
27741
+ * option; `coverMediaId` + the `event-media` plane carry the picture.
27680
27742
  * INPUT field: stripped by the hub router until the train ships, which
27681
27743
  * resolves to `false` and is exactly the intended default. */
27682
27744
  includeCrops: boolean().optional() }).optional(), array(VehicleSchema).readonly()), method(object({ name: string().min(1) }), VehicleSchema, {
@@ -29000,7 +29062,14 @@ var SceneReferenceSchema = object({
29000
29062
  modelId: string(),
29001
29063
  condition: SceneConditionSchema,
29002
29064
  capturedAt: number(),
29003
- thumbnailMediaId: string().optional(),
29065
+ /**
29066
+ * The reference thumbnail's media ROW id (D482).
29067
+ *
29068
+ * The name already said `mediaId` while the value was the row's composite
29069
+ * key — a leftover that read as done and was not. It is the row's own id
29070
+ * now, addressed at `/addon/<addonId>/event-media/m/<id>`.
29071
+ */
29072
+ thumbnailMediaId: number().int().optional(),
29004
29073
  /** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
29005
29074
  * anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
29006
29075
  * normalized rect frame a different piece of world, and the scene would
@@ -30448,7 +30517,7 @@ var StationaryObjectSchema = object({
30448
30517
  /** Enrichment label carried from the source track (identity / plate). */
30449
30518
  label: string().optional(),
30450
30519
  /** Native-resolution key-frame media key for the parked object's best image. */
30451
- keyFrameMediaKey: string().optional()
30520
+ keyFrameMediaId: number().int().optional()
30452
30521
  });
30453
30522
  var CameraOccupancySnapshotSchema = object({
30454
30523
  /** Frame timestamp of the inference result that produced this snapshot. */
@@ -31604,6 +31673,12 @@ Object.freeze({
31604
31673
  addonId: null,
31605
31674
  access: "create"
31606
31675
  },
31676
+ "dataStoreProvider.upsert": {
31677
+ capName: "data-store-provider",
31678
+ capScope: "system",
31679
+ addonId: null,
31680
+ access: "create"
31681
+ },
31607
31682
  "dayNight.getOptions": {
31608
31683
  capName: "day-night",
31609
31684
  capScope: "device",
@@ -35468,6 +35543,12 @@ Object.freeze({
35468
35543
  addonId: null,
35469
35544
  access: "create"
35470
35545
  },
35546
+ "settingsStore.upsert": {
35547
+ capName: "settings-store",
35548
+ capScope: "system",
35549
+ addonId: null,
35550
+ access: "create"
35551
+ },
35471
35552
  "smtpProvider.getStatus": {
35472
35553
  capName: "smtp-provider",
35473
35554
  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-BOzLlTTG.js");
5
+ const require_dist = require("../dist-DJhzrxHQ.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-mGk9oSvk.mjs";
1
+ import { a as EventCategory, i as BaseAddon, n as networkAccessCapability } from "../dist-cjpimBLk.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.98",
3
+ "version": "1.2.100",
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",