@camstack/addon-provider-hikvision 1.2.106 → 1.2.108

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.
Files changed (3) hide show
  1. package/dist/addon.js +131 -50
  2. package/dist/addon.mjs +131 -50
  3. package/package.json +2 -2
package/dist/addon.js CHANGED
@@ -6,7 +6,7 @@ let node_crypto = require("node:crypto");
6
6
  let node_http = require("node:http");
7
7
  let node_https = require("node:https");
8
8
  let node_os = require("node:os");
9
- //#region ../types/dist/event-category-DAXzJeTX.mjs
9
+ //#region ../types/dist/event-category-ZyX6jcse.mjs
10
10
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
11
11
  EventCategory["SystemBoot"] = "system.boot";
12
12
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -567,7 +567,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
567
567
  * a package zone — a newly-appeared stationary object of a package class
568
568
  * that cleared the class / zone / dwell / size gates. Payload:
569
569
  * `PipelineAnalyticsPackageDeliveredPayload` carrying `{ deviceId,
570
- * entryId, className, zoneIds, keyFrameMediaKey?, bbox, timestamp }`.
570
+ * entryId, className, zoneIds, keyFrameMediaId?, bbox, timestamp }`.
571
571
  * Telemetry (D8): the durable record is the `package-events` store row;
572
572
  * this bus topic drives notifier rules + live UI. See
573
573
  * docs/superpowers/specs/2026-07-17-package-zones-design.md §5.1.
@@ -5353,7 +5353,7 @@ var ZodIssueCode = {
5353
5353
  var ZodFirstPartyTypeKind;
5354
5354
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5355
5355
  //#endregion
5356
- //#region ../types/dist/sleep-BnujYGPe.mjs
5356
+ //#region ../types/dist/sleep-CnLyvg3w.mjs
5357
5357
  /**
5358
5358
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5359
5359
  * window to float samples (D455).
@@ -7308,13 +7308,30 @@ new Set([
7308
7308
  "scene",
7309
7309
  "motion",
7310
7310
  "object",
7311
- "audio"
7311
+ "audio",
7312
+ "mosaic"
7312
7313
  ]);
7313
- new Set([
7314
+ /**
7315
+ * The owner types that are event tables, in the order the event-media resolver
7316
+ * should consider them. Exported so a consumer asking "is this key an event?"
7317
+ * does not re-spell the list and drift from it.
7318
+ */
7319
+ var EVENT_OWNER_TYPES = [
7314
7320
  "motion",
7315
7321
  "object",
7316
7322
  "audio"
7317
- ]);
7323
+ ];
7324
+ /**
7325
+ * The same list as a Zod enum, for the cap inputs that must NAME the table
7326
+ * (D482: `getEventMedia` / `listEventMedia` take an owner, and an owner is
7327
+ * `(table, id)`).
7328
+ *
7329
+ * Built FROM {@link EVENT_OWNER_TYPES} rather than re-spelled: a fourth event
7330
+ * table would otherwise be accepted by the codec and refused at the door, with
7331
+ * nothing failing until a caller asked.
7332
+ */
7333
+ var EventOwnerTypeSchema = _enum(EVENT_OWNER_TYPES);
7334
+ new Set(EVENT_OWNER_TYPES);
7318
7335
  var EncodeProfileSchema = object({
7319
7336
  video: object({
7320
7337
  codec: _enum([
@@ -12806,6 +12823,16 @@ method(object({
12806
12823
  filter: QueryFilterSchema.optional(),
12807
12824
  columns: array(string()).readonly().optional()
12808
12825
  }), array(SettingsRecordSchema).readonly()), method(object({
12826
+ namespace: string().optional(),
12827
+ collection: string(),
12828
+ /** Declared columns identifying the slot; must be covered by a UNIQUE
12829
+ * index on the collection. Never empty. */
12830
+ conflict: array(string()).readonly(),
12831
+ record: BulkRecordSchema
12832
+ }), object({
12833
+ /** The id the row HAS: assigned by SQLite on an insert, or the existing
12834
+ * row's own id on an update. */
12835
+ id: union([string(), number()]) }), { kind: "mutation" }), method(object({
12809
12836
  namespace: string().optional(),
12810
12837
  collection: string(),
12811
12838
  record: object({
@@ -12940,6 +12967,14 @@ method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
12940
12967
  id: union([string(), number()]) }), {
12941
12968
  kind: "mutation",
12942
12969
  auth: "admin"
12970
+ }), method(object({
12971
+ namespace: string().optional(),
12972
+ collection: string(),
12973
+ conflict: array(string()).readonly(),
12974
+ record: BulkRecordSchema
12975
+ }), object({ id: union([string(), number()]) }), {
12976
+ kind: "mutation",
12977
+ auth: "admin"
12943
12978
  }), method(object({
12944
12979
  namespace: string().optional(),
12945
12980
  collection: string(),
@@ -19441,8 +19476,8 @@ var TrackPositionSchema = object({
19441
19476
  var TrackSnapshotSchema = object({
19442
19477
  timestamp: number(),
19443
19478
  position: TrackPositionSchema,
19444
- /** MediaStore key; resolve via `getTrackMedia({ trackId })`. */
19445
- mediaKey: string()
19479
+ /** The snapshot's media row id (D482); resolve via `listTrackMedia({ trackId })`. */
19480
+ mediaId: number().int()
19446
19481
  });
19447
19482
  /**
19448
19483
  * Normalized 0..1 trajectory envelope (min/max over every position bbox,
@@ -20046,14 +20081,14 @@ var ObjectEventSchema = object({
20046
20081
  * pixel-space `bbox` onto a displayed image. Omitted in slim projection. */
20047
20082
  frameWidth: number().optional(),
20048
20083
  frameHeight: number().optional(),
20049
- /** MediaStore key for the crop attached to this event (if any). */
20050
- mediaKey: string().optional(),
20051
- /** Design B: MediaStore key of the track's native-resolution key frame (the
20084
+ /** Media row id of the crop attached to this event (if any) — D482. */
20085
+ mediaId: number().int().optional(),
20086
+ /** Design B: media row id of the track's native-resolution key frame (the
20052
20087
  * best-detection full frame). Resolve via the event-media data-plane
20053
- * (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
20088
+ * (`/addon/<addonId>/event-media/m/<keyFrameMediaId>`) for a detail view that
20054
20089
  * draws `bbox` over the native frame. Absent on legacy rows / non-decoded
20055
- * sources — consumers fall back to `mediaKey` (the tight crop). */
20056
- keyFrameMediaKey: string().optional(),
20090
+ * sources — consumers fall back to `mediaId` (the tight crop). */
20091
+ keyFrameMediaId: number().int().optional(),
20057
20092
  /** Populated by B5 (recording playback URL for this event). */
20058
20093
  mediaUrl: string().optional(),
20059
20094
  /** The parent track's key-event importance [0,1], propagated to every object
@@ -20103,7 +20138,7 @@ var MediaFileKindEnum = _enum([
20103
20138
  * hub-main's heap on the way past — for an `<img>` that would have cached it.
20104
20139
  *
20105
20140
  * `url` points at the `event-media` data plane
20106
- * (`/addon/<addonId>/event-media/<storedKey>`), which serves the same blob
20141
+ * (`/addon/<addonId>/event-media/m/<mediaId>` — D482), which serves the same blob
20107
20142
  * with an ETag and `Cache-Control: immutable`, honours conditional GETs, can
20108
20143
  * render a `?variant=thumb`, and streams. The hub gate in front of it requires
20109
20144
  * a bearer or the session cookie (`access: 'authenticated'`), so the bytes are
@@ -20111,10 +20146,13 @@ var MediaFileKindEnum = _enum([
20111
20146
  * `data-plane-access.ts` for the rule and the one gap it does not close
20112
20147
  * (per-device scoping).
20113
20148
  *
20114
- * The URL is built from the row's **stored** key, which is not always its
20115
- * published `kind`: a track's face/plate crop is stored as `crop` under
20149
+ * The URL is built from the row's own id, which since D482 says nothing about
20150
+ * the row's owner or kind — and that is the point. The published `kind` is not
20151
+ * the stored one (a track's face/plate crop is stored as `crop` under
20116
20152
  * `('face'|'plate', '<prefix>-<trackId>')` and published as
20117
- * `faceCrop`/`plateCrop`. `MediaStore.getByKey` knows only the stored key.
20153
+ * `faceCrop`/`plateCrop`), and under the old composite key the URL had to be
20154
+ * taken from `row.key` verbatim or it 404'd exactly those two rows. An id
20155
+ * cannot be mis-reconstructed, because there is nothing in it to reconstruct.
20118
20156
  *
20119
20157
  * ## `base64` is TRANSITIONAL and is going away
20120
20158
  *
@@ -20127,7 +20165,19 @@ var MediaFileKindEnum = _enum([
20127
20165
  * `analytics-query-facade.ts`; nothing else reads it.
20128
20166
  */
20129
20167
  var MediaFileSchema = object({
20130
- key: string(),
20168
+ /**
20169
+ * The media row's OWN id — the rowid SQLite assigned it (D482).
20170
+ *
20171
+ * It used to be the row's composite key, `<ownerType>:<ownerId>:<fileKind>
20172
+ * [:<timestampMs>]`, which embedded a FOREIGN id. D474 made event ids
20173
+ * per-table rowid aliases, so `object:101314` and `motion:101314` are two
20174
+ * different rows that spell the same number, and a track whose
20175
+ * `bestEventId` was an object event was served a motion event's snapshot —
20176
+ * a night-time thumbnail on an afternoon track, with no error anywhere. A
20177
+ * surrogate id cannot name the wrong row's owner, because it names no owner
20178
+ * at all.
20179
+ */
20180
+ mediaId: number().int(),
20131
20181
  kind: MediaFileKindEnum,
20132
20182
  sizeBytes: number(),
20133
20183
  timestamp: number()
@@ -20235,7 +20285,7 @@ var RetrainTrackSchema = object({
20235
20285
  });
20236
20286
  /** A frame the picker may offer — an index row, no blob was read to produce it. */
20237
20287
  var RetrainFrameCandidateSchema = object({
20238
- mediaKey: string(),
20288
+ mediaId: number().int(),
20239
20289
  kind: MediaFileKindEnum,
20240
20290
  timestamp: number(),
20241
20291
  sizeBytes: number().int(),
@@ -20249,7 +20299,7 @@ var RetrainFrameSchema = object({
20249
20299
  deviceId: number(),
20250
20300
  trackId: string(),
20251
20301
  /** Provenance only. It may already point at nothing — that is expected. */
20252
- sourceMediaKey: string(),
20302
+ sourceMediaId: number().int(),
20253
20303
  sourceKind: MediaFileKindEnum,
20254
20304
  sizeBytes: number().int(),
20255
20305
  width: number().int(),
@@ -20265,7 +20315,7 @@ var RetrainCopyRefusalSchema = _enum([
20265
20315
  var RetrainFrameSelectionSchema = object({
20266
20316
  copied: array(RetrainFrameSchema).readonly(),
20267
20317
  refused: array(object({
20268
- sourceMediaKey: string(),
20318
+ sourceMediaId: number().int(),
20269
20319
  reason: RetrainCopyRefusalSchema
20270
20320
  })).readonly()
20271
20321
  });
@@ -20273,7 +20323,7 @@ var RetrainFrameListSchema = object({
20273
20323
  candidates: array(RetrainFrameCandidateSchema).readonly(),
20274
20324
  copies: array(RetrainFrameSchema).readonly(),
20275
20325
  /** What the page pre-selects — the native key frame when one survives. */
20276
- autoPickMediaKey: string().optional()
20326
+ autoPickMediaId: number().int().optional()
20277
20327
  });
20278
20328
  /** What the operator asked the assist to look for. */
20279
20329
  var RetrainAssistSubjectSchema = discriminatedUnion("kind", [object({
@@ -20368,9 +20418,11 @@ var RecentTracksQueryInput = object({
20368
20418
  });
20369
20419
  /**
20370
20420
  * A Summary (D359): the per-camera session envelope that references tracks.
20371
- * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
20372
- * served by the event-media plane by key), null until the first frame with a
20373
- * member visible has been materialised.
20421
+ * `groupShotMediaId` is the media ROW id of its group shot (`ownerKind:
20422
+ * 'summary'`, served by the event-media plane at `/m/<id>`), null until the
20423
+ * first frame with a member visible has been materialised (D482 — it was the
20424
+ * row's composite key, which embedded the owner and could name another table's
20425
+ * row once event ids became per-table rowids).
20374
20426
  */
20375
20427
  var SummarySchema = object({
20376
20428
  id: string(),
@@ -20379,7 +20431,7 @@ var SummarySchema = object({
20379
20431
  lastActiveAt: number(),
20380
20432
  sealedAt: number().nullable(),
20381
20433
  memberCount: number().int().nonnegative(),
20382
- groupShotKey: string().nullable()
20434
+ groupShotMediaId: number().int().nullable()
20383
20435
  });
20384
20436
  var SummariesQueryInput = object({
20385
20437
  deviceIds: array(number()).min(1),
@@ -20933,7 +20985,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20933
20985
  }), method(object({
20934
20986
  deviceId: number(),
20935
20987
  trackId: string(),
20936
- mediaKeys: array(string()).min(1)
20988
+ mediaIds: array(number().int()).min(1)
20937
20989
  }), RetrainFrameSelectionSchema, {
20938
20990
  kind: "mutation",
20939
20991
  auth: "admin"
@@ -21001,7 +21053,10 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
21001
21053
  kind: "query",
21002
21054
  auth: "admin"
21003
21055
  }), method(object({
21004
- eventId: string(),
21056
+ /** Which of the three event tables owns the row. */
21057
+ ownerType: EventOwnerTypeSchema,
21058
+ /** The event's rowid in that table (D474: an event id is a number). */
21059
+ eventId: number().int(),
21005
21060
  kind: MediaFileKindEnum.optional(),
21006
21061
  deviceId: number()
21007
21062
  }), array(MediaFileSchema).readonly()), method(object({
@@ -21012,7 +21067,8 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
21012
21067
  trackId: string(),
21013
21068
  deviceId: number()
21014
21069
  }), array(MediaFileInfoSchema).readonly()), method(object({
21015
- eventId: string(),
21070
+ ownerType: EventOwnerTypeSchema,
21071
+ eventId: number().int(),
21016
21072
  deviceId: number()
21017
21073
  }), array(MediaFileInfoSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), method(object({}), WipeObjectEmbeddingsResultSchema, {
21018
21074
  kind: "mutation",
@@ -26309,8 +26365,8 @@ var IdentitySchema = object({
26309
26365
  id: string(),
26310
26366
  name: string(),
26311
26367
  sampleCount: number().int().nonnegative(),
26312
- coverMediaKey: string().optional(),
26313
- /** Inline base64 of the cover sample's crop, resolved from `coverMediaKey`.
26368
+ coverMediaId: number().int().optional(),
26369
+ /** Inline base64 of the cover sample's crop, resolved from `coverMediaId`.
26314
26370
  * Lets the UI render the person's face avatar instead of a placeholder icon. */
26315
26371
  coverBase64: string().optional()
26316
26372
  });
@@ -26336,8 +26392,8 @@ var IdentitySampleAuditRowSchema = object({
26336
26392
  enrolledAt: number().int(),
26337
26393
  deviceId: number().int().optional(),
26338
26394
  source: _enum(["detected", "photo"]),
26339
- /** The enrolled crop's media key, so the panel can show the evidence. */
26340
- mediaKey: string().optional(),
26395
+ /** The enrolled crop's media row id, so the panel can show the evidence. */
26396
+ mediaId: number().int().optional(),
26341
26397
  /**
26342
26398
  * False = the sample is stamped with a DIFFERENT face model, and a cosine
26343
26399
  * across feature spaces is a well-formed float with no meaning. Every number
@@ -26406,15 +26462,15 @@ var FaceInfoSchema = object({
26406
26462
  */
26407
26463
  cropUrl: string().optional(),
26408
26464
  /** Design B: the face bbox (pixel space) on the key frame — lets a detail
26409
- * view draw the box over the native `keyFrameMediaKey` frame. Absent on
26465
+ * view draw the box over the native `keyFrameMediaId` frame. Absent on
26410
26466
  * legacy rows written before design B. */
26411
26467
  faceBbox: BoundingBoxSchema.optional(),
26412
26468
  /** Design B: MediaStore key of the track's native-resolution key frame.
26413
26469
  * Fetch the native JPEG via the event-media data-plane
26414
- * (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
26470
+ * (`/addon/<addonId>/event-media/m/<keyFrameMediaId>`). Absent when the
26415
26471
  * track produced no key frame (e.g. native/onboard source) — the UI falls
26416
26472
  * back to the inline `base64` face crop. */
26417
- keyFrameMediaKey: string().optional(),
26473
+ keyFrameMediaId: number().int().optional(),
26418
26474
  /** Winning identity-match cosine (0..1) for this face's track, when an
26419
26475
  * identity was auto-confirmed. Lets the UI surface WHY a face was assigned
26420
26476
  * (confidence badge / low-confidence audit). Absent on legacy rows and on
@@ -26483,11 +26539,14 @@ var FaceClusterSchema = object({
26483
26539
  * `data:image/jpeg;base64,…` from a row whose `key` sat right beside it, in a
26484
26540
  * dialog already rendering its key FRAME from the `event-media` plane.
26485
26541
  *
26486
- * `url` is `/addon/<addonId>/event-media/<encoded key>`. The plane resolves a
26487
- * media key directly, so this needed no new plane and no new access decision.
26542
+ * `url` is `/addon/<addonId>/event-media/m/<mediaId>` (D482). The plane
26543
+ * resolves a media row by its own id, so this needed no new plane and no new
26544
+ * access decision.
26488
26545
  */
26489
26546
  var MediaFileLiteSchema$1 = object({
26490
- key: string(),
26547
+ /** The media row's own id — the same address `MediaFileRef.mediaId` carries
26548
+ * (D482). It was the row's composite key, which embedded the owner. */
26549
+ mediaId: number().int(),
26491
26550
  kind: string(),
26492
26551
  url: string(),
26493
26552
  sizeBytes: number(),
@@ -26504,7 +26563,7 @@ method(object({
26504
26563
  * covers inline, ~10 KB of base64 per row, on a query this UI mounts
26505
26564
  * four times and the viewer holds at `staleTime: 30_000`.
26506
26565
  *
26507
- * Nothing loses its avatar: `coverMediaKey` is already on every row and
26566
+ * Nothing loses its avatar: `coverMediaId` is already on every row and
26508
26567
  * the `event-media` plane serves that key `immutable` with an ETag.
26509
26568
  *
26510
26569
  * **This is an INPUT field, so it does not reach the addon until the
@@ -29938,8 +29997,8 @@ var VehicleSchema = object({
29938
29997
  id: string(),
29939
29998
  name: string(),
29940
29999
  sampleCount: number().int().nonnegative(),
29941
- coverMediaKey: string().optional(),
29942
- /** Inline base64 of the cover sample's plate crop, resolved from `coverMediaKey`. */
30000
+ coverMediaId: number().int().optional(),
30001
+ /** Inline base64 of the cover sample's plate crop, resolved from `coverMediaId`. */
29943
30002
  coverBase64: string().optional()
29944
30003
  });
29945
30004
  var VehicleSampleInfoSchema = object({
@@ -29972,7 +30031,7 @@ var PlateInfoSchema = object({
29972
30031
  /** keyFrame parity: the plate bbox (pixel space) on the native key frame. */
29973
30032
  plateBbox: BoundingBoxSchema.optional(),
29974
30033
  /** keyFrame parity: MediaStore key of the track's native-resolution key frame. */
29975
- keyFrameMediaKey: string().optional(),
30034
+ keyFrameMediaId: number().int().optional(),
29976
30035
  base64: string().optional(),
29977
30036
  /**
29978
30037
  * Same crop as a data-plane URL, always present when the plate has a stored
@@ -29993,11 +30052,14 @@ var PlateInfoSchema = object({
29993
30052
  * `data:image/jpeg;base64,…` from a row whose `key` sat right beside it, in a
29994
30053
  * dialog already rendering its key FRAME from the `event-media` plane.
29995
30054
  *
29996
- * `url` is `/addon/<addonId>/event-media/<encoded key>`. The plane resolves a
29997
- * media key directly, so this needed no new plane and no new access decision.
30055
+ * `url` is `/addon/<addonId>/event-media/m/<mediaId>` (D482). The plane
30056
+ * resolves a media row by its own id, so this needed no new plane and no new
30057
+ * access decision.
29998
30058
  */
29999
30059
  var MediaFileLiteSchema = object({
30000
- key: string(),
30060
+ /** The media row's own id — the same address `MediaFileRef.mediaId` carries
30061
+ * (D482). It was the row's composite key, which embedded the owner. */
30062
+ mediaId: number().int(),
30001
30063
  kind: string(),
30002
30064
  url: string(),
30003
30065
  sizeBytes: number(),
@@ -30056,7 +30118,7 @@ method(object({
30056
30118
  }), method(object({
30057
30119
  /** Inline {@link VehicleSchema.coverBase64} on every row. Default
30058
30120
  * `false` — the vehicle twin of `faceGallery.listIdentities`'s
30059
- * option; `coverMediaKey` + the `event-media` plane carry the picture.
30121
+ * option; `coverMediaId` + the `event-media` plane carry the picture.
30060
30122
  * INPUT field: stripped by the hub router until the train ships, which
30061
30123
  * resolves to `false` and is exactly the intended default. */
30062
30124
  includeCrops: boolean().optional() }).optional(), array(VehicleSchema).readonly()), method(object({ name: string().min(1) }), VehicleSchema, {
@@ -31712,7 +31774,14 @@ var SceneReferenceSchema = object({
31712
31774
  modelId: string(),
31713
31775
  condition: SceneConditionSchema,
31714
31776
  capturedAt: number(),
31715
- thumbnailMediaId: string().optional(),
31777
+ /**
31778
+ * The reference thumbnail's media ROW id (D482).
31779
+ *
31780
+ * The name already said `mediaId` while the value was the row's composite
31781
+ * key — a leftover that read as done and was not. It is the row's own id
31782
+ * now, addressed at `/addon/<addonId>/event-media/m/<id>`.
31783
+ */
31784
+ thumbnailMediaId: number().int().optional(),
31716
31785
  /** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
31717
31786
  * anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
31718
31787
  * normalized rect frame a different piece of world, and the scene would
@@ -33894,7 +33963,7 @@ var StationaryObjectSchema = object({
33894
33963
  /** Enrichment label carried from the source track (identity / plate). */
33895
33964
  label: string().optional(),
33896
33965
  /** Native-resolution key-frame media key for the parked object's best image. */
33897
- keyFrameMediaKey: string().optional()
33966
+ keyFrameMediaId: number().int().optional()
33898
33967
  });
33899
33968
  var CameraOccupancySnapshotSchema = object({
33900
33969
  /** Frame timestamp of the inference result that produced this snapshot. */
@@ -36865,6 +36934,12 @@ Object.freeze({
36865
36934
  addonId: null,
36866
36935
  access: "create"
36867
36936
  },
36937
+ "dataStoreProvider.upsert": {
36938
+ capName: "data-store-provider",
36939
+ capScope: "system",
36940
+ addonId: null,
36941
+ access: "create"
36942
+ },
36868
36943
  "dayNight.getOptions": {
36869
36944
  capName: "day-night",
36870
36945
  capScope: "device",
@@ -40729,6 +40804,12 @@ Object.freeze({
40729
40804
  addonId: null,
40730
40805
  access: "create"
40731
40806
  },
40807
+ "settingsStore.upsert": {
40808
+ capName: "settings-store",
40809
+ capScope: "system",
40810
+ addonId: null,
40811
+ access: "create"
40812
+ },
40732
40813
  "smtpProvider.getStatus": {
40733
40814
  capName: "smtp-provider",
40734
40815
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -7,7 +7,7 @@ import { networkInterfaces } from "node:os";
7
7
  var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
8
8
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
9
9
  //#endregion
10
- //#region ../types/dist/event-category-DAXzJeTX.mjs
10
+ //#region ../types/dist/event-category-ZyX6jcse.mjs
11
11
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
12
12
  EventCategory["SystemBoot"] = "system.boot";
13
13
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -568,7 +568,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
568
568
  * a package zone — a newly-appeared stationary object of a package class
569
569
  * that cleared the class / zone / dwell / size gates. Payload:
570
570
  * `PipelineAnalyticsPackageDeliveredPayload` carrying `{ deviceId,
571
- * entryId, className, zoneIds, keyFrameMediaKey?, bbox, timestamp }`.
571
+ * entryId, className, zoneIds, keyFrameMediaId?, bbox, timestamp }`.
572
572
  * Telemetry (D8): the durable record is the `package-events` store row;
573
573
  * this bus topic drives notifier rules + live UI. See
574
574
  * docs/superpowers/specs/2026-07-17-package-zones-design.md §5.1.
@@ -5354,7 +5354,7 @@ var ZodIssueCode = {
5354
5354
  var ZodFirstPartyTypeKind;
5355
5355
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5356
5356
  //#endregion
5357
- //#region ../types/dist/sleep-BnujYGPe.mjs
5357
+ //#region ../types/dist/sleep-CnLyvg3w.mjs
5358
5358
  /**
5359
5359
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5360
5360
  * window to float samples (D455).
@@ -7309,13 +7309,30 @@ new Set([
7309
7309
  "scene",
7310
7310
  "motion",
7311
7311
  "object",
7312
- "audio"
7312
+ "audio",
7313
+ "mosaic"
7313
7314
  ]);
7314
- new Set([
7315
+ /**
7316
+ * The owner types that are event tables, in the order the event-media resolver
7317
+ * should consider them. Exported so a consumer asking "is this key an event?"
7318
+ * does not re-spell the list and drift from it.
7319
+ */
7320
+ var EVENT_OWNER_TYPES = [
7315
7321
  "motion",
7316
7322
  "object",
7317
7323
  "audio"
7318
- ]);
7324
+ ];
7325
+ /**
7326
+ * The same list as a Zod enum, for the cap inputs that must NAME the table
7327
+ * (D482: `getEventMedia` / `listEventMedia` take an owner, and an owner is
7328
+ * `(table, id)`).
7329
+ *
7330
+ * Built FROM {@link EVENT_OWNER_TYPES} rather than re-spelled: a fourth event
7331
+ * table would otherwise be accepted by the codec and refused at the door, with
7332
+ * nothing failing until a caller asked.
7333
+ */
7334
+ var EventOwnerTypeSchema = _enum(EVENT_OWNER_TYPES);
7335
+ new Set(EVENT_OWNER_TYPES);
7319
7336
  var EncodeProfileSchema = object({
7320
7337
  video: object({
7321
7338
  codec: _enum([
@@ -12807,6 +12824,16 @@ method(object({
12807
12824
  filter: QueryFilterSchema.optional(),
12808
12825
  columns: array(string()).readonly().optional()
12809
12826
  }), array(SettingsRecordSchema).readonly()), method(object({
12827
+ namespace: string().optional(),
12828
+ collection: string(),
12829
+ /** Declared columns identifying the slot; must be covered by a UNIQUE
12830
+ * index on the collection. Never empty. */
12831
+ conflict: array(string()).readonly(),
12832
+ record: BulkRecordSchema
12833
+ }), object({
12834
+ /** The id the row HAS: assigned by SQLite on an insert, or the existing
12835
+ * row's own id on an update. */
12836
+ id: union([string(), number()]) }), { kind: "mutation" }), method(object({
12810
12837
  namespace: string().optional(),
12811
12838
  collection: string(),
12812
12839
  record: object({
@@ -12941,6 +12968,14 @@ method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
12941
12968
  id: union([string(), number()]) }), {
12942
12969
  kind: "mutation",
12943
12970
  auth: "admin"
12971
+ }), method(object({
12972
+ namespace: string().optional(),
12973
+ collection: string(),
12974
+ conflict: array(string()).readonly(),
12975
+ record: BulkRecordSchema
12976
+ }), object({ id: union([string(), number()]) }), {
12977
+ kind: "mutation",
12978
+ auth: "admin"
12944
12979
  }), method(object({
12945
12980
  namespace: string().optional(),
12946
12981
  collection: string(),
@@ -19442,8 +19477,8 @@ var TrackPositionSchema = object({
19442
19477
  var TrackSnapshotSchema = object({
19443
19478
  timestamp: number(),
19444
19479
  position: TrackPositionSchema,
19445
- /** MediaStore key; resolve via `getTrackMedia({ trackId })`. */
19446
- mediaKey: string()
19480
+ /** The snapshot's media row id (D482); resolve via `listTrackMedia({ trackId })`. */
19481
+ mediaId: number().int()
19447
19482
  });
19448
19483
  /**
19449
19484
  * Normalized 0..1 trajectory envelope (min/max over every position bbox,
@@ -20047,14 +20082,14 @@ var ObjectEventSchema = object({
20047
20082
  * pixel-space `bbox` onto a displayed image. Omitted in slim projection. */
20048
20083
  frameWidth: number().optional(),
20049
20084
  frameHeight: number().optional(),
20050
- /** MediaStore key for the crop attached to this event (if any). */
20051
- mediaKey: string().optional(),
20052
- /** Design B: MediaStore key of the track's native-resolution key frame (the
20085
+ /** Media row id of the crop attached to this event (if any) — D482. */
20086
+ mediaId: number().int().optional(),
20087
+ /** Design B: media row id of the track's native-resolution key frame (the
20053
20088
  * best-detection full frame). Resolve via the event-media data-plane
20054
- * (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
20089
+ * (`/addon/<addonId>/event-media/m/<keyFrameMediaId>`) for a detail view that
20055
20090
  * draws `bbox` over the native frame. Absent on legacy rows / non-decoded
20056
- * sources — consumers fall back to `mediaKey` (the tight crop). */
20057
- keyFrameMediaKey: string().optional(),
20091
+ * sources — consumers fall back to `mediaId` (the tight crop). */
20092
+ keyFrameMediaId: number().int().optional(),
20058
20093
  /** Populated by B5 (recording playback URL for this event). */
20059
20094
  mediaUrl: string().optional(),
20060
20095
  /** The parent track's key-event importance [0,1], propagated to every object
@@ -20104,7 +20139,7 @@ var MediaFileKindEnum = _enum([
20104
20139
  * hub-main's heap on the way past — for an `<img>` that would have cached it.
20105
20140
  *
20106
20141
  * `url` points at the `event-media` data plane
20107
- * (`/addon/<addonId>/event-media/<storedKey>`), which serves the same blob
20142
+ * (`/addon/<addonId>/event-media/m/<mediaId>` — D482), which serves the same blob
20108
20143
  * with an ETag and `Cache-Control: immutable`, honours conditional GETs, can
20109
20144
  * render a `?variant=thumb`, and streams. The hub gate in front of it requires
20110
20145
  * a bearer or the session cookie (`access: 'authenticated'`), so the bytes are
@@ -20112,10 +20147,13 @@ var MediaFileKindEnum = _enum([
20112
20147
  * `data-plane-access.ts` for the rule and the one gap it does not close
20113
20148
  * (per-device scoping).
20114
20149
  *
20115
- * The URL is built from the row's **stored** key, which is not always its
20116
- * published `kind`: a track's face/plate crop is stored as `crop` under
20150
+ * The URL is built from the row's own id, which since D482 says nothing about
20151
+ * the row's owner or kind — and that is the point. The published `kind` is not
20152
+ * the stored one (a track's face/plate crop is stored as `crop` under
20117
20153
  * `('face'|'plate', '<prefix>-<trackId>')` and published as
20118
- * `faceCrop`/`plateCrop`. `MediaStore.getByKey` knows only the stored key.
20154
+ * `faceCrop`/`plateCrop`), and under the old composite key the URL had to be
20155
+ * taken from `row.key` verbatim or it 404'd exactly those two rows. An id
20156
+ * cannot be mis-reconstructed, because there is nothing in it to reconstruct.
20119
20157
  *
20120
20158
  * ## `base64` is TRANSITIONAL and is going away
20121
20159
  *
@@ -20128,7 +20166,19 @@ var MediaFileKindEnum = _enum([
20128
20166
  * `analytics-query-facade.ts`; nothing else reads it.
20129
20167
  */
20130
20168
  var MediaFileSchema = object({
20131
- key: string(),
20169
+ /**
20170
+ * The media row's OWN id — the rowid SQLite assigned it (D482).
20171
+ *
20172
+ * It used to be the row's composite key, `<ownerType>:<ownerId>:<fileKind>
20173
+ * [:<timestampMs>]`, which embedded a FOREIGN id. D474 made event ids
20174
+ * per-table rowid aliases, so `object:101314` and `motion:101314` are two
20175
+ * different rows that spell the same number, and a track whose
20176
+ * `bestEventId` was an object event was served a motion event's snapshot —
20177
+ * a night-time thumbnail on an afternoon track, with no error anywhere. A
20178
+ * surrogate id cannot name the wrong row's owner, because it names no owner
20179
+ * at all.
20180
+ */
20181
+ mediaId: number().int(),
20132
20182
  kind: MediaFileKindEnum,
20133
20183
  sizeBytes: number(),
20134
20184
  timestamp: number()
@@ -20236,7 +20286,7 @@ var RetrainTrackSchema = object({
20236
20286
  });
20237
20287
  /** A frame the picker may offer — an index row, no blob was read to produce it. */
20238
20288
  var RetrainFrameCandidateSchema = object({
20239
- mediaKey: string(),
20289
+ mediaId: number().int(),
20240
20290
  kind: MediaFileKindEnum,
20241
20291
  timestamp: number(),
20242
20292
  sizeBytes: number().int(),
@@ -20250,7 +20300,7 @@ var RetrainFrameSchema = object({
20250
20300
  deviceId: number(),
20251
20301
  trackId: string(),
20252
20302
  /** Provenance only. It may already point at nothing — that is expected. */
20253
- sourceMediaKey: string(),
20303
+ sourceMediaId: number().int(),
20254
20304
  sourceKind: MediaFileKindEnum,
20255
20305
  sizeBytes: number().int(),
20256
20306
  width: number().int(),
@@ -20266,7 +20316,7 @@ var RetrainCopyRefusalSchema = _enum([
20266
20316
  var RetrainFrameSelectionSchema = object({
20267
20317
  copied: array(RetrainFrameSchema).readonly(),
20268
20318
  refused: array(object({
20269
- sourceMediaKey: string(),
20319
+ sourceMediaId: number().int(),
20270
20320
  reason: RetrainCopyRefusalSchema
20271
20321
  })).readonly()
20272
20322
  });
@@ -20274,7 +20324,7 @@ var RetrainFrameListSchema = object({
20274
20324
  candidates: array(RetrainFrameCandidateSchema).readonly(),
20275
20325
  copies: array(RetrainFrameSchema).readonly(),
20276
20326
  /** What the page pre-selects — the native key frame when one survives. */
20277
- autoPickMediaKey: string().optional()
20327
+ autoPickMediaId: number().int().optional()
20278
20328
  });
20279
20329
  /** What the operator asked the assist to look for. */
20280
20330
  var RetrainAssistSubjectSchema = discriminatedUnion("kind", [object({
@@ -20369,9 +20419,11 @@ var RecentTracksQueryInput = object({
20369
20419
  });
20370
20420
  /**
20371
20421
  * A Summary (D359): the per-camera session envelope that references tracks.
20372
- * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
20373
- * served by the event-media plane by key), null until the first frame with a
20374
- * member visible has been materialised.
20422
+ * `groupShotMediaId` is the media ROW id of its group shot (`ownerKind:
20423
+ * 'summary'`, served by the event-media plane at `/m/<id>`), null until the
20424
+ * first frame with a member visible has been materialised (D482 — it was the
20425
+ * row's composite key, which embedded the owner and could name another table's
20426
+ * row once event ids became per-table rowids).
20375
20427
  */
20376
20428
  var SummarySchema = object({
20377
20429
  id: string(),
@@ -20380,7 +20432,7 @@ var SummarySchema = object({
20380
20432
  lastActiveAt: number(),
20381
20433
  sealedAt: number().nullable(),
20382
20434
  memberCount: number().int().nonnegative(),
20383
- groupShotKey: string().nullable()
20435
+ groupShotMediaId: number().int().nullable()
20384
20436
  });
20385
20437
  var SummariesQueryInput = object({
20386
20438
  deviceIds: array(number()).min(1),
@@ -20934,7 +20986,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20934
20986
  }), method(object({
20935
20987
  deviceId: number(),
20936
20988
  trackId: string(),
20937
- mediaKeys: array(string()).min(1)
20989
+ mediaIds: array(number().int()).min(1)
20938
20990
  }), RetrainFrameSelectionSchema, {
20939
20991
  kind: "mutation",
20940
20992
  auth: "admin"
@@ -21002,7 +21054,10 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
21002
21054
  kind: "query",
21003
21055
  auth: "admin"
21004
21056
  }), method(object({
21005
- eventId: string(),
21057
+ /** Which of the three event tables owns the row. */
21058
+ ownerType: EventOwnerTypeSchema,
21059
+ /** The event's rowid in that table (D474: an event id is a number). */
21060
+ eventId: number().int(),
21006
21061
  kind: MediaFileKindEnum.optional(),
21007
21062
  deviceId: number()
21008
21063
  }), array(MediaFileSchema).readonly()), method(object({
@@ -21013,7 +21068,8 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
21013
21068
  trackId: string(),
21014
21069
  deviceId: number()
21015
21070
  }), array(MediaFileInfoSchema).readonly()), method(object({
21016
- eventId: string(),
21071
+ ownerType: EventOwnerTypeSchema,
21072
+ eventId: number().int(),
21017
21073
  deviceId: number()
21018
21074
  }), array(MediaFileInfoSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), method(object({}), WipeObjectEmbeddingsResultSchema, {
21019
21075
  kind: "mutation",
@@ -26310,8 +26366,8 @@ var IdentitySchema = object({
26310
26366
  id: string(),
26311
26367
  name: string(),
26312
26368
  sampleCount: number().int().nonnegative(),
26313
- coverMediaKey: string().optional(),
26314
- /** Inline base64 of the cover sample's crop, resolved from `coverMediaKey`.
26369
+ coverMediaId: number().int().optional(),
26370
+ /** Inline base64 of the cover sample's crop, resolved from `coverMediaId`.
26315
26371
  * Lets the UI render the person's face avatar instead of a placeholder icon. */
26316
26372
  coverBase64: string().optional()
26317
26373
  });
@@ -26337,8 +26393,8 @@ var IdentitySampleAuditRowSchema = object({
26337
26393
  enrolledAt: number().int(),
26338
26394
  deviceId: number().int().optional(),
26339
26395
  source: _enum(["detected", "photo"]),
26340
- /** The enrolled crop's media key, so the panel can show the evidence. */
26341
- mediaKey: string().optional(),
26396
+ /** The enrolled crop's media row id, so the panel can show the evidence. */
26397
+ mediaId: number().int().optional(),
26342
26398
  /**
26343
26399
  * False = the sample is stamped with a DIFFERENT face model, and a cosine
26344
26400
  * across feature spaces is a well-formed float with no meaning. Every number
@@ -26407,15 +26463,15 @@ var FaceInfoSchema = object({
26407
26463
  */
26408
26464
  cropUrl: string().optional(),
26409
26465
  /** Design B: the face bbox (pixel space) on the key frame — lets a detail
26410
- * view draw the box over the native `keyFrameMediaKey` frame. Absent on
26466
+ * view draw the box over the native `keyFrameMediaId` frame. Absent on
26411
26467
  * legacy rows written before design B. */
26412
26468
  faceBbox: BoundingBoxSchema.optional(),
26413
26469
  /** Design B: MediaStore key of the track's native-resolution key frame.
26414
26470
  * Fetch the native JPEG via the event-media data-plane
26415
- * (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
26471
+ * (`/addon/<addonId>/event-media/m/<keyFrameMediaId>`). Absent when the
26416
26472
  * track produced no key frame (e.g. native/onboard source) — the UI falls
26417
26473
  * back to the inline `base64` face crop. */
26418
- keyFrameMediaKey: string().optional(),
26474
+ keyFrameMediaId: number().int().optional(),
26419
26475
  /** Winning identity-match cosine (0..1) for this face's track, when an
26420
26476
  * identity was auto-confirmed. Lets the UI surface WHY a face was assigned
26421
26477
  * (confidence badge / low-confidence audit). Absent on legacy rows and on
@@ -26484,11 +26540,14 @@ var FaceClusterSchema = object({
26484
26540
  * `data:image/jpeg;base64,…` from a row whose `key` sat right beside it, in a
26485
26541
  * dialog already rendering its key FRAME from the `event-media` plane.
26486
26542
  *
26487
- * `url` is `/addon/<addonId>/event-media/<encoded key>`. The plane resolves a
26488
- * media key directly, so this needed no new plane and no new access decision.
26543
+ * `url` is `/addon/<addonId>/event-media/m/<mediaId>` (D482). The plane
26544
+ * resolves a media row by its own id, so this needed no new plane and no new
26545
+ * access decision.
26489
26546
  */
26490
26547
  var MediaFileLiteSchema$1 = object({
26491
- key: string(),
26548
+ /** The media row's own id — the same address `MediaFileRef.mediaId` carries
26549
+ * (D482). It was the row's composite key, which embedded the owner. */
26550
+ mediaId: number().int(),
26492
26551
  kind: string(),
26493
26552
  url: string(),
26494
26553
  sizeBytes: number(),
@@ -26505,7 +26564,7 @@ method(object({
26505
26564
  * covers inline, ~10 KB of base64 per row, on a query this UI mounts
26506
26565
  * four times and the viewer holds at `staleTime: 30_000`.
26507
26566
  *
26508
- * Nothing loses its avatar: `coverMediaKey` is already on every row and
26567
+ * Nothing loses its avatar: `coverMediaId` is already on every row and
26509
26568
  * the `event-media` plane serves that key `immutable` with an ETag.
26510
26569
  *
26511
26570
  * **This is an INPUT field, so it does not reach the addon until the
@@ -29939,8 +29998,8 @@ var VehicleSchema = object({
29939
29998
  id: string(),
29940
29999
  name: string(),
29941
30000
  sampleCount: number().int().nonnegative(),
29942
- coverMediaKey: string().optional(),
29943
- /** Inline base64 of the cover sample's plate crop, resolved from `coverMediaKey`. */
30001
+ coverMediaId: number().int().optional(),
30002
+ /** Inline base64 of the cover sample's plate crop, resolved from `coverMediaId`. */
29944
30003
  coverBase64: string().optional()
29945
30004
  });
29946
30005
  var VehicleSampleInfoSchema = object({
@@ -29973,7 +30032,7 @@ var PlateInfoSchema = object({
29973
30032
  /** keyFrame parity: the plate bbox (pixel space) on the native key frame. */
29974
30033
  plateBbox: BoundingBoxSchema.optional(),
29975
30034
  /** keyFrame parity: MediaStore key of the track's native-resolution key frame. */
29976
- keyFrameMediaKey: string().optional(),
30035
+ keyFrameMediaId: number().int().optional(),
29977
30036
  base64: string().optional(),
29978
30037
  /**
29979
30038
  * Same crop as a data-plane URL, always present when the plate has a stored
@@ -29994,11 +30053,14 @@ var PlateInfoSchema = object({
29994
30053
  * `data:image/jpeg;base64,…` from a row whose `key` sat right beside it, in a
29995
30054
  * dialog already rendering its key FRAME from the `event-media` plane.
29996
30055
  *
29997
- * `url` is `/addon/<addonId>/event-media/<encoded key>`. The plane resolves a
29998
- * media key directly, so this needed no new plane and no new access decision.
30056
+ * `url` is `/addon/<addonId>/event-media/m/<mediaId>` (D482). The plane
30057
+ * resolves a media row by its own id, so this needed no new plane and no new
30058
+ * access decision.
29999
30059
  */
30000
30060
  var MediaFileLiteSchema = object({
30001
- key: string(),
30061
+ /** The media row's own id — the same address `MediaFileRef.mediaId` carries
30062
+ * (D482). It was the row's composite key, which embedded the owner. */
30063
+ mediaId: number().int(),
30002
30064
  kind: string(),
30003
30065
  url: string(),
30004
30066
  sizeBytes: number(),
@@ -30057,7 +30119,7 @@ method(object({
30057
30119
  }), method(object({
30058
30120
  /** Inline {@link VehicleSchema.coverBase64} on every row. Default
30059
30121
  * `false` — the vehicle twin of `faceGallery.listIdentities`'s
30060
- * option; `coverMediaKey` + the `event-media` plane carry the picture.
30122
+ * option; `coverMediaId` + the `event-media` plane carry the picture.
30061
30123
  * INPUT field: stripped by the hub router until the train ships, which
30062
30124
  * resolves to `false` and is exactly the intended default. */
30063
30125
  includeCrops: boolean().optional() }).optional(), array(VehicleSchema).readonly()), method(object({ name: string().min(1) }), VehicleSchema, {
@@ -31713,7 +31775,14 @@ var SceneReferenceSchema = object({
31713
31775
  modelId: string(),
31714
31776
  condition: SceneConditionSchema,
31715
31777
  capturedAt: number(),
31716
- thumbnailMediaId: string().optional(),
31778
+ /**
31779
+ * The reference thumbnail's media ROW id (D482).
31780
+ *
31781
+ * The name already said `mediaId` while the value was the row's composite
31782
+ * key — a leftover that read as done and was not. It is the row's own id
31783
+ * now, addressed at `/addon/<addonId>/event-media/m/<id>`.
31784
+ */
31785
+ thumbnailMediaId: number().int().optional(),
31717
31786
  /** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
31718
31787
  * anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
31719
31788
  * normalized rect frame a different piece of world, and the scene would
@@ -33895,7 +33964,7 @@ var StationaryObjectSchema = object({
33895
33964
  /** Enrichment label carried from the source track (identity / plate). */
33896
33965
  label: string().optional(),
33897
33966
  /** Native-resolution key-frame media key for the parked object's best image. */
33898
- keyFrameMediaKey: string().optional()
33967
+ keyFrameMediaId: number().int().optional()
33899
33968
  });
33900
33969
  var CameraOccupancySnapshotSchema = object({
33901
33970
  /** Frame timestamp of the inference result that produced this snapshot. */
@@ -36866,6 +36935,12 @@ Object.freeze({
36866
36935
  addonId: null,
36867
36936
  access: "create"
36868
36937
  },
36938
+ "dataStoreProvider.upsert": {
36939
+ capName: "data-store-provider",
36940
+ capScope: "system",
36941
+ addonId: null,
36942
+ access: "create"
36943
+ },
36869
36944
  "dayNight.getOptions": {
36870
36945
  capName: "day-night",
36871
36946
  capScope: "device",
@@ -40730,6 +40805,12 @@ Object.freeze({
40730
40805
  addonId: null,
40731
40806
  access: "create"
40732
40807
  },
40808
+ "settingsStore.upsert": {
40809
+ capName: "settings-store",
40810
+ capScope: "system",
40811
+ addonId: null,
40812
+ access: "create"
40813
+ },
40733
40814
  "smtpProvider.getStatus": {
40734
40815
  capName: "smtp-provider",
40735
40816
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-hikvision",
3
- "version": "1.2.106",
3
+ "version": "1.2.108",
4
4
  "description": "Hikvision camera device provider addon for CamStack — ISAPI over HTTP(S) with digest auth (snapshot, alarm stream, RTSP discovery)",
5
5
  "keywords": [
6
6
  "camstack",
@@ -86,7 +86,7 @@
86
86
  "publish": "npm publish --access public"
87
87
  },
88
88
  "dependencies": {
89
- "werift": "^0.22.9"
89
+ "werift": "0.22.9"
90
90
  },
91
91
  "peerDependencies": {
92
92
  "@camstack/types": "*",