@camstack/addon-provider-rtsp 1.2.99 → 1.2.101

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 +292 -58
  2. package/dist/addon.mjs +292 -58
  3. package/package.json +1 -1
package/dist/addon.js CHANGED
@@ -23,7 +23,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
23
23
  //#endregion
24
24
  let node_net = require("node:net");
25
25
  node_net = __toESM(node_net);
26
- //#region ../types/dist/event-category-DAXzJeTX.mjs
26
+ //#region ../types/dist/event-category-ZyX6jcse.mjs
27
27
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
28
28
  EventCategory["SystemBoot"] = "system.boot";
29
29
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -584,7 +584,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
584
584
  * a package zone — a newly-appeared stationary object of a package class
585
585
  * that cleared the class / zone / dwell / size gates. Payload:
586
586
  * `PipelineAnalyticsPackageDeliveredPayload` carrying `{ deviceId,
587
- * entryId, className, zoneIds, keyFrameMediaKey?, bbox, timestamp }`.
587
+ * entryId, className, zoneIds, keyFrameMediaId?, bbox, timestamp }`.
588
588
  * Telemetry (D8): the durable record is the `package-events` store row;
589
589
  * this bus topic drives notifier rules + live UI. See
590
590
  * docs/superpowers/specs/2026-07-17-package-zones-design.md §5.1.
@@ -5370,7 +5370,7 @@ var ZodIssueCode = {
5370
5370
  var ZodFirstPartyTypeKind;
5371
5371
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5372
5372
  //#endregion
5373
- //#region ../types/dist/sleep-BnujYGPe.mjs
5373
+ //#region ../types/dist/sleep-DBKu2-U5.mjs
5374
5374
  /**
5375
5375
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5376
5376
  * window to float samples (D455).
@@ -7337,13 +7337,30 @@ new Set([
7337
7337
  "scene",
7338
7338
  "motion",
7339
7339
  "object",
7340
- "audio"
7340
+ "audio",
7341
+ "mosaic"
7341
7342
  ]);
7342
- new Set([
7343
+ /**
7344
+ * The owner types that are event tables, in the order the event-media resolver
7345
+ * should consider them. Exported so a consumer asking "is this key an event?"
7346
+ * does not re-spell the list and drift from it.
7347
+ */
7348
+ var EVENT_OWNER_TYPES = [
7343
7349
  "motion",
7344
7350
  "object",
7345
7351
  "audio"
7346
- ]);
7352
+ ];
7353
+ /**
7354
+ * The same list as a Zod enum, for the cap inputs that must NAME the table
7355
+ * (D482: `getEventMedia` / `listEventMedia` take an owner, and an owner is
7356
+ * `(table, id)`).
7357
+ *
7358
+ * Built FROM {@link EVENT_OWNER_TYPES} rather than re-spelled: a fourth event
7359
+ * table would otherwise be accepted by the codec and refused at the door, with
7360
+ * nothing failing until a caller asked.
7361
+ */
7362
+ var EventOwnerTypeSchema = _enum(EVENT_OWNER_TYPES);
7363
+ new Set(EVENT_OWNER_TYPES);
7347
7364
  var EncodeProfileSchema = object({
7348
7365
  video: object({
7349
7366
  codec: _enum([
@@ -7382,7 +7399,23 @@ var EncodeProfileSchema = object({
7382
7399
  "zerolatency",
7383
7400
  "film",
7384
7401
  "animation"
7385
- ]).optional()
7402
+ ]).optional(),
7403
+ /**
7404
+ * ONE slice per access unit.
7405
+ *
7406
+ * `-tune zerolatency` turns on x264's sliced threads, and a frame then leaves
7407
+ * the encoder as five NAL slices that share one RTP timestamp and carry one
7408
+ * marker bit. A libwebrtc depacketiser sees five frame-starts and one
7409
+ * frame-end per frame: the first pictures render and the video then freezes
7410
+ * for good while the audio, on its own plane, plays on. Measured on this hub
7411
+ * 2026-09-13 against the Echo, and reduced to one slice by this flag alone.
7412
+ *
7413
+ * A NAMED field and not a raw flag, because {@link EgressEncodeSchema} omits
7414
+ * `outputArgs` on purpose: an opaque array is part of the sharing key, so two
7415
+ * consumers meaning the same thing spelled differently would stop sharing one
7416
+ * child. Absent means "whatever the encoder does" — today's behaviour.
7417
+ */
7418
+ singleSlicePerFrame: boolean().optional()
7386
7419
  }),
7387
7420
  audio: union([literal("passthrough"), object({
7388
7421
  codec: _enum([
@@ -7432,7 +7465,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
7432
7465
  audio: "passthrough"
7433
7466
  };
7434
7467
  ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7435
- ({ ...BASE_LIVE_EGRESS_PROFILE });
7468
+ ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7436
7469
  /**
7437
7470
  * Deep wiring healthcheck — snapshot of active reachability probes across
7438
7471
  * every declared capability + widget of every installed plugin, on every
@@ -12574,6 +12607,16 @@ method(object({
12574
12607
  filter: QueryFilterSchema.optional(),
12575
12608
  columns: array(string()).readonly().optional()
12576
12609
  }), array(SettingsRecordSchema).readonly()), method(object({
12610
+ namespace: string().optional(),
12611
+ collection: string(),
12612
+ /** Declared columns identifying the slot; must be covered by a UNIQUE
12613
+ * index on the collection. Never empty. */
12614
+ conflict: array(string()).readonly(),
12615
+ record: BulkRecordSchema
12616
+ }), object({
12617
+ /** The id the row HAS: assigned by SQLite on an insert, or the existing
12618
+ * row's own id on an update. */
12619
+ id: union([string(), number()]) }), { kind: "mutation" }), method(object({
12577
12620
  namespace: string().optional(),
12578
12621
  collection: string(),
12579
12622
  record: object({
@@ -12708,6 +12751,14 @@ method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
12708
12751
  id: union([string(), number()]) }), {
12709
12752
  kind: "mutation",
12710
12753
  auth: "admin"
12754
+ }), method(object({
12755
+ namespace: string().optional(),
12756
+ collection: string(),
12757
+ conflict: array(string()).readonly(),
12758
+ record: BulkRecordSchema
12759
+ }), object({ id: union([string(), number()]) }), {
12760
+ kind: "mutation",
12761
+ auth: "admin"
12711
12762
  }), method(object({
12712
12763
  namespace: string().optional(),
12713
12764
  collection: string(),
@@ -19190,8 +19241,8 @@ var TrackPositionSchema = object({
19190
19241
  var TrackSnapshotSchema = object({
19191
19242
  timestamp: number(),
19192
19243
  position: TrackPositionSchema,
19193
- /** MediaStore key; resolve via `getTrackMedia({ trackId })`. */
19194
- mediaKey: string()
19244
+ /** The snapshot's media row id (D482); resolve via `listTrackMedia({ trackId })`. */
19245
+ mediaId: number().int()
19195
19246
  });
19196
19247
  /**
19197
19248
  * Normalized 0..1 trajectory envelope (min/max over every position bbox,
@@ -19795,14 +19846,14 @@ var ObjectEventSchema = object({
19795
19846
  * pixel-space `bbox` onto a displayed image. Omitted in slim projection. */
19796
19847
  frameWidth: number().optional(),
19797
19848
  frameHeight: number().optional(),
19798
- /** MediaStore key for the crop attached to this event (if any). */
19799
- mediaKey: string().optional(),
19800
- /** Design B: MediaStore key of the track's native-resolution key frame (the
19849
+ /** Media row id of the crop attached to this event (if any) — D482. */
19850
+ mediaId: number().int().optional(),
19851
+ /** Design B: media row id of the track's native-resolution key frame (the
19801
19852
  * best-detection full frame). Resolve via the event-media data-plane
19802
- * (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
19853
+ * (`/addon/<addonId>/event-media/m/<keyFrameMediaId>`) for a detail view that
19803
19854
  * draws `bbox` over the native frame. Absent on legacy rows / non-decoded
19804
- * sources — consumers fall back to `mediaKey` (the tight crop). */
19805
- keyFrameMediaKey: string().optional(),
19855
+ * sources — consumers fall back to `mediaId` (the tight crop). */
19856
+ keyFrameMediaId: number().int().optional(),
19806
19857
  /** Populated by B5 (recording playback URL for this event). */
19807
19858
  mediaUrl: string().optional(),
19808
19859
  /** The parent track's key-event importance [0,1], propagated to every object
@@ -19852,7 +19903,7 @@ var MediaFileKindEnum = _enum([
19852
19903
  * hub-main's heap on the way past — for an `<img>` that would have cached it.
19853
19904
  *
19854
19905
  * `url` points at the `event-media` data plane
19855
- * (`/addon/<addonId>/event-media/<storedKey>`), which serves the same blob
19906
+ * (`/addon/<addonId>/event-media/m/<mediaId>` — D482), which serves the same blob
19856
19907
  * with an ETag and `Cache-Control: immutable`, honours conditional GETs, can
19857
19908
  * render a `?variant=thumb`, and streams. The hub gate in front of it requires
19858
19909
  * a bearer or the session cookie (`access: 'authenticated'`), so the bytes are
@@ -19860,10 +19911,13 @@ var MediaFileKindEnum = _enum([
19860
19911
  * `data-plane-access.ts` for the rule and the one gap it does not close
19861
19912
  * (per-device scoping).
19862
19913
  *
19863
- * The URL is built from the row's **stored** key, which is not always its
19864
- * published `kind`: a track's face/plate crop is stored as `crop` under
19914
+ * The URL is built from the row's own id, which since D482 says nothing about
19915
+ * the row's owner or kind and that is the point. The published `kind` is not
19916
+ * the stored one (a track's face/plate crop is stored as `crop` under
19865
19917
  * `('face'|'plate', '<prefix>-<trackId>')` and published as
19866
- * `faceCrop`/`plateCrop`. `MediaStore.getByKey` knows only the stored key.
19918
+ * `faceCrop`/`plateCrop`), and under the old composite key the URL had to be
19919
+ * taken from `row.key` verbatim or it 404'd exactly those two rows. An id
19920
+ * cannot be mis-reconstructed, because there is nothing in it to reconstruct.
19867
19921
  *
19868
19922
  * ## `base64` is TRANSITIONAL and is going away
19869
19923
  *
@@ -19876,7 +19930,19 @@ var MediaFileKindEnum = _enum([
19876
19930
  * `analytics-query-facade.ts`; nothing else reads it.
19877
19931
  */
19878
19932
  var MediaFileSchema = object({
19879
- key: string(),
19933
+ /**
19934
+ * The media row's OWN id — the rowid SQLite assigned it (D482).
19935
+ *
19936
+ * It used to be the row's composite key, `<ownerType>:<ownerId>:<fileKind>
19937
+ * [:<timestampMs>]`, which embedded a FOREIGN id. D474 made event ids
19938
+ * per-table rowid aliases, so `object:101314` and `motion:101314` are two
19939
+ * different rows that spell the same number, and a track whose
19940
+ * `bestEventId` was an object event was served a motion event's snapshot —
19941
+ * a night-time thumbnail on an afternoon track, with no error anywhere. A
19942
+ * surrogate id cannot name the wrong row's owner, because it names no owner
19943
+ * at all.
19944
+ */
19945
+ mediaId: number().int(),
19880
19946
  kind: MediaFileKindEnum,
19881
19947
  sizeBytes: number(),
19882
19948
  timestamp: number()
@@ -19984,7 +20050,7 @@ var RetrainTrackSchema = object({
19984
20050
  });
19985
20051
  /** A frame the picker may offer — an index row, no blob was read to produce it. */
19986
20052
  var RetrainFrameCandidateSchema = object({
19987
- mediaKey: string(),
20053
+ mediaId: number().int(),
19988
20054
  kind: MediaFileKindEnum,
19989
20055
  timestamp: number(),
19990
20056
  sizeBytes: number().int(),
@@ -19998,7 +20064,7 @@ var RetrainFrameSchema = object({
19998
20064
  deviceId: number(),
19999
20065
  trackId: string(),
20000
20066
  /** Provenance only. It may already point at nothing — that is expected. */
20001
- sourceMediaKey: string(),
20067
+ sourceMediaId: number().int(),
20002
20068
  sourceKind: MediaFileKindEnum,
20003
20069
  sizeBytes: number().int(),
20004
20070
  width: number().int(),
@@ -20014,7 +20080,7 @@ var RetrainCopyRefusalSchema = _enum([
20014
20080
  var RetrainFrameSelectionSchema = object({
20015
20081
  copied: array(RetrainFrameSchema).readonly(),
20016
20082
  refused: array(object({
20017
- sourceMediaKey: string(),
20083
+ sourceMediaId: number().int(),
20018
20084
  reason: RetrainCopyRefusalSchema
20019
20085
  })).readonly()
20020
20086
  });
@@ -20022,7 +20088,7 @@ var RetrainFrameListSchema = object({
20022
20088
  candidates: array(RetrainFrameCandidateSchema).readonly(),
20023
20089
  copies: array(RetrainFrameSchema).readonly(),
20024
20090
  /** What the page pre-selects — the native key frame when one survives. */
20025
- autoPickMediaKey: string().optional()
20091
+ autoPickMediaId: number().int().optional()
20026
20092
  });
20027
20093
  /** What the operator asked the assist to look for. */
20028
20094
  var RetrainAssistSubjectSchema = discriminatedUnion("kind", [object({
@@ -20117,9 +20183,11 @@ var RecentTracksQueryInput = object({
20117
20183
  });
20118
20184
  /**
20119
20185
  * A Summary (D359): the per-camera session envelope that references tracks.
20120
- * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
20121
- * served by the event-media plane by key), null until the first frame with a
20122
- * member visible has been materialised.
20186
+ * `groupShotMediaId` is the media ROW id of its group shot (`ownerKind:
20187
+ * 'summary'`, served by the event-media plane at `/m/<id>`), null until the
20188
+ * first frame with a member visible has been materialised (D482 — it was the
20189
+ * row's composite key, which embedded the owner and could name another table's
20190
+ * row once event ids became per-table rowids).
20123
20191
  */
20124
20192
  var SummarySchema = object({
20125
20193
  id: string(),
@@ -20128,19 +20196,115 @@ var SummarySchema = object({
20128
20196
  lastActiveAt: number(),
20129
20197
  sealedAt: number().nullable(),
20130
20198
  memberCount: number().int().nonnegative(),
20131
- groupShotKey: string().nullable()
20199
+ groupShotMediaId: number().int().nullable()
20132
20200
  });
20133
20201
  var SummariesQueryInput = object({
20134
20202
  deviceIds: array(number()).min(1),
20135
20203
  since: number().optional(),
20136
20204
  until: number().optional(),
20137
- limit: number().int().min(1).max(200).default(50)
20205
+ limit: number().int().min(1).max(200).default(50),
20206
+ /** The same member-wise filter {@link listRecentSummaries} takes — one
20207
+ * meaning of "dog" on every summary surface. */
20208
+ classes: array(string().min(1).max(60)).max(40).optional()
20138
20209
  });
20139
- var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
20140
20210
  var SummaryDetailSchema = object({
20141
20211
  summary: SummarySchema,
20142
- /** Member track ids, in absorption order. */
20143
- trackIds: array(string()).readonly()
20212
+ /** Members in absorption order, oldest join first. */
20213
+ members: array(object({
20214
+ trackId: string(),
20215
+ /**
20216
+ * The track's class at the time it JOINED, or `null` when it was unresolved
20217
+ * and the track no longer exists to fill it.
20218
+ *
20219
+ * The join, not the latest opinion: class voting can re-decide a track's
20220
+ * class afterwards, and a group's composition is the history of who came
20221
+ * together. A consumer counts these to badge a thumbnail — "two people and a
20222
+ * dog" — rather than being handed a second, denormalised tally that would
20223
+ * drift from the members it claims to describe.
20224
+ */
20225
+ className: string().nullable(),
20226
+ /** `primary` is the one member that carries the group's identity. */
20227
+ role: _enum([
20228
+ "primary",
20229
+ "sibling",
20230
+ "child"
20231
+ ]).nullable(),
20232
+ joinedAt: number(),
20233
+ /** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
20234
+ * at read time. Absent when nothing resolved, never an empty string. */
20235
+ label: string().optional(),
20236
+ /** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
20237
+ * recognised nobody, and absent for a member whose track has been pruned —
20238
+ * a thumbnail that names the wrong person is worse than one naming nobody. */
20239
+ subLabel: string().optional()
20240
+ })).readonly()
20241
+ });
20242
+ /**
20243
+ * What a LIST of groups carries: the envelope plus what it is MADE OF.
20244
+ *
20245
+ * Coarse on purpose — the operator's rule is "only the rough data on the list,
20246
+ * we extend when we notice we need more". Enough to draw the card ("two people
20247
+ * and a dog") and no more. The MEMBERS, their names and the per-member links
20248
+ * are on {@link getSummary}: shipping every member of every group so a client
20249
+ * can count them turns a page of two hundred groups into a thousand records to
20250
+ * draw two hundred badges.
20251
+ */
20252
+ var SummaryListItemSchema = object({
20253
+ summary: SummarySchema,
20254
+ /** Class counts, most numerous first; `className: null` is a member whose
20255
+ * class never resolved, counted so the counts add up to `memberCount`. */
20256
+ classes: array(object({
20257
+ className: string().nullable(),
20258
+ count: number().int().positive()
20259
+ })).readonly()
20260
+ });
20261
+ var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
20262
+ /**
20263
+ * The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
20264
+ *
20265
+ * The reel on the cameras page and the Events gallery both ride a cursor, so a
20266
+ * summaries feed that could only answer "the last N for these cameras"
20267
+ * (`listSummaries`) would make groups available in the timeline and nowhere
20268
+ * else. Two feeds with different ordering contracts would be two ideas of what
20269
+ * "newest" means, on one screen.
20270
+ */
20271
+ var RecentSummariesQueryInput = object({
20272
+ /** Devices to merge. An empty array yields an empty page. */
20273
+ deviceIds: array(number()),
20274
+ /** Window lower bound on `lastActiveAt` (inclusive). */
20275
+ since: number().optional(),
20276
+ /** Window upper bound on `lastActiveAt` (inclusive). */
20277
+ until: number().optional(),
20278
+ limit: number().int().min(1).max(500).default(100),
20279
+ /** Opaque continuation cursor from a previous page's `nextCursor`. */
20280
+ cursor: string().optional(),
20281
+ /**
20282
+ * Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
20283
+ * deliberately the same name: the events filter tree emits one list of ticked
20284
+ * taxonomy nodes, and a summaries feed that called it something else would
20285
+ * make the operator's one filter component produce two shapes.
20286
+ *
20287
+ * A question about the MEMBERS: a group matches when ANY of them does. "Show
20288
+ * me the arrivals with a dog" has to return the group of four people who had
20289
+ * one with them; a filter on the group's own fields could only ever answer
20290
+ * about its primary.
20291
+ *
20292
+ * Matched against all THREE tiers of a member — the class (`animal`), the
20293
+ * sub-class (`dog`) and the instance (a name, a plate) — because which tier a
20294
+ * ticked node lives on is the taxonomy's business, not the caller's. `dog` is
20295
+ * an event kind in the tree and a tier-1 label on an `animal` track; a filter
20296
+ * that read only the class would answer "animal" and never "dog".
20297
+ *
20298
+ * ABSENT or EMPTY means no filter — absent is not a selection of none.
20299
+ */
20300
+ classes: array(string().min(1).max(60)).max(40).optional()
20301
+ });
20302
+ var RecentSummariesPageSchema = object({
20303
+ /** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
20304
+ * {@link listSummaries} — one list shape, so a card renders the same
20305
+ * whichever feed drew it. */
20306
+ summaries: array(SummaryListItemSchema).readonly(),
20307
+ nextCursor: string().nullable()
20144
20308
  });
20145
20309
  var RecentTracksPageSchema = object({
20146
20310
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
@@ -20554,7 +20718,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20554
20718
  classes: array(string()).optional(),
20555
20719
  /** See {@link ExcludeSourcesDoc}. */
20556
20720
  excludeSources: array(TrackSourceSchema).optional()
20557
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20721
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(RecentSummariesQueryInput, RecentSummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20558
20722
  kind: "mutation",
20559
20723
  auth: "admin"
20560
20724
  }), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
@@ -20682,7 +20846,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20682
20846
  }), method(object({
20683
20847
  deviceId: number(),
20684
20848
  trackId: string(),
20685
- mediaKeys: array(string()).min(1)
20849
+ mediaIds: array(number().int()).min(1)
20686
20850
  }), RetrainFrameSelectionSchema, {
20687
20851
  kind: "mutation",
20688
20852
  auth: "admin"
@@ -20750,7 +20914,10 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20750
20914
  kind: "query",
20751
20915
  auth: "admin"
20752
20916
  }), method(object({
20753
- eventId: string(),
20917
+ /** Which of the three event tables owns the row. */
20918
+ ownerType: EventOwnerTypeSchema,
20919
+ /** The event's rowid in that table (D474: an event id is a number). */
20920
+ eventId: number().int(),
20754
20921
  kind: MediaFileKindEnum.optional(),
20755
20922
  deviceId: number()
20756
20923
  }), array(MediaFileSchema).readonly()), method(object({
@@ -20761,7 +20928,8 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20761
20928
  trackId: string(),
20762
20929
  deviceId: number()
20763
20930
  }), array(MediaFileInfoSchema).readonly()), method(object({
20764
- eventId: string(),
20931
+ ownerType: EventOwnerTypeSchema,
20932
+ eventId: number().int(),
20765
20933
  deviceId: number()
20766
20934
  }), array(MediaFileInfoSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), method(object({}), WipeObjectEmbeddingsResultSchema, {
20767
20935
  kind: "mutation",
@@ -26066,8 +26234,8 @@ var IdentitySchema = object({
26066
26234
  id: string(),
26067
26235
  name: string(),
26068
26236
  sampleCount: number().int().nonnegative(),
26069
- coverMediaKey: string().optional(),
26070
- /** Inline base64 of the cover sample's crop, resolved from `coverMediaKey`.
26237
+ coverMediaId: number().int().optional(),
26238
+ /** Inline base64 of the cover sample's crop, resolved from `coverMediaId`.
26071
26239
  * Lets the UI render the person's face avatar instead of a placeholder icon. */
26072
26240
  coverBase64: string().optional()
26073
26241
  });
@@ -26093,8 +26261,8 @@ var IdentitySampleAuditRowSchema = object({
26093
26261
  enrolledAt: number().int(),
26094
26262
  deviceId: number().int().optional(),
26095
26263
  source: _enum(["detected", "photo"]),
26096
- /** The enrolled crop's media key, so the panel can show the evidence. */
26097
- mediaKey: string().optional(),
26264
+ /** The enrolled crop's media row id, so the panel can show the evidence. */
26265
+ mediaId: number().int().optional(),
26098
26266
  /**
26099
26267
  * False = the sample is stamped with a DIFFERENT face model, and a cosine
26100
26268
  * across feature spaces is a well-formed float with no meaning. Every number
@@ -26163,15 +26331,15 @@ var FaceInfoSchema = object({
26163
26331
  */
26164
26332
  cropUrl: string().optional(),
26165
26333
  /** Design B: the face bbox (pixel space) on the key frame — lets a detail
26166
- * view draw the box over the native `keyFrameMediaKey` frame. Absent on
26334
+ * view draw the box over the native `keyFrameMediaId` frame. Absent on
26167
26335
  * legacy rows written before design B. */
26168
26336
  faceBbox: BoundingBoxSchema.optional(),
26169
26337
  /** Design B: MediaStore key of the track's native-resolution key frame.
26170
26338
  * Fetch the native JPEG via the event-media data-plane
26171
- * (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
26339
+ * (`/addon/<addonId>/event-media/m/<keyFrameMediaId>`). Absent when the
26172
26340
  * track produced no key frame (e.g. native/onboard source) — the UI falls
26173
26341
  * back to the inline `base64` face crop. */
26174
- keyFrameMediaKey: string().optional(),
26342
+ keyFrameMediaId: number().int().optional(),
26175
26343
  /** Winning identity-match cosine (0..1) for this face's track, when an
26176
26344
  * identity was auto-confirmed. Lets the UI surface WHY a face was assigned
26177
26345
  * (confidence badge / low-confidence audit). Absent on legacy rows and on
@@ -26240,11 +26408,14 @@ var FaceClusterSchema = object({
26240
26408
  * `data:image/jpeg;base64,…` from a row whose `key` sat right beside it, in a
26241
26409
  * dialog already rendering its key FRAME from the `event-media` plane.
26242
26410
  *
26243
- * `url` is `/addon/<addonId>/event-media/<encoded key>`. The plane resolves a
26244
- * media key directly, so this needed no new plane and no new access decision.
26411
+ * `url` is `/addon/<addonId>/event-media/m/<mediaId>` (D482). The plane
26412
+ * resolves a media row by its own id, so this needed no new plane and no new
26413
+ * access decision.
26245
26414
  */
26246
26415
  var MediaFileLiteSchema$1 = object({
26247
- key: string(),
26416
+ /** The media row's own id — the same address `MediaFileRef.mediaId` carries
26417
+ * (D482). It was the row's composite key, which embedded the owner. */
26418
+ mediaId: number().int(),
26248
26419
  kind: string(),
26249
26420
  url: string(),
26250
26421
  sizeBytes: number(),
@@ -26261,7 +26432,7 @@ method(object({
26261
26432
  * covers inline, ~10 KB of base64 per row, on a query this UI mounts
26262
26433
  * four times and the viewer holds at `staleTime: 30_000`.
26263
26434
  *
26264
- * Nothing loses its avatar: `coverMediaKey` is already on every row and
26435
+ * Nothing loses its avatar: `coverMediaId` is already on every row and
26265
26436
  * the `event-media` plane serves that key `immutable` with an ETag.
26266
26437
  *
26267
26438
  * **This is an INPUT field, so it does not reach the addon until the
@@ -29624,8 +29795,8 @@ var VehicleSchema = object({
29624
29795
  id: string(),
29625
29796
  name: string(),
29626
29797
  sampleCount: number().int().nonnegative(),
29627
- coverMediaKey: string().optional(),
29628
- /** Inline base64 of the cover sample's plate crop, resolved from `coverMediaKey`. */
29798
+ coverMediaId: number().int().optional(),
29799
+ /** Inline base64 of the cover sample's plate crop, resolved from `coverMediaId`. */
29629
29800
  coverBase64: string().optional()
29630
29801
  });
29631
29802
  var VehicleSampleInfoSchema = object({
@@ -29658,7 +29829,7 @@ var PlateInfoSchema = object({
29658
29829
  /** keyFrame parity: the plate bbox (pixel space) on the native key frame. */
29659
29830
  plateBbox: BoundingBoxSchema.optional(),
29660
29831
  /** keyFrame parity: MediaStore key of the track's native-resolution key frame. */
29661
- keyFrameMediaKey: string().optional(),
29832
+ keyFrameMediaId: number().int().optional(),
29662
29833
  base64: string().optional(),
29663
29834
  /**
29664
29835
  * Same crop as a data-plane URL, always present when the plate has a stored
@@ -29679,11 +29850,14 @@ var PlateInfoSchema = object({
29679
29850
  * `data:image/jpeg;base64,…` from a row whose `key` sat right beside it, in a
29680
29851
  * dialog already rendering its key FRAME from the `event-media` plane.
29681
29852
  *
29682
- * `url` is `/addon/<addonId>/event-media/<encoded key>`. The plane resolves a
29683
- * media key directly, so this needed no new plane and no new access decision.
29853
+ * `url` is `/addon/<addonId>/event-media/m/<mediaId>` (D482). The plane
29854
+ * resolves a media row by its own id, so this needed no new plane and no new
29855
+ * access decision.
29684
29856
  */
29685
29857
  var MediaFileLiteSchema = object({
29686
- key: string(),
29858
+ /** The media row's own id — the same address `MediaFileRef.mediaId` carries
29859
+ * (D482). It was the row's composite key, which embedded the owner. */
29860
+ mediaId: number().int(),
29687
29861
  kind: string(),
29688
29862
  url: string(),
29689
29863
  sizeBytes: number(),
@@ -29742,7 +29916,7 @@ method(object({
29742
29916
  }), method(object({
29743
29917
  /** Inline {@link VehicleSchema.coverBase64} on every row. Default
29744
29918
  * `false` — the vehicle twin of `faceGallery.listIdentities`'s
29745
- * option; `coverMediaKey` + the `event-media` plane carry the picture.
29919
+ * option; `coverMediaId` + the `event-media` plane carry the picture.
29746
29920
  * INPUT field: stripped by the hub router until the train ships, which
29747
29921
  * resolves to `false` and is exactly the intended default. */
29748
29922
  includeCrops: boolean().optional() }).optional(), array(VehicleSchema).readonly()), method(object({ name: string().min(1) }), VehicleSchema, {
@@ -31311,7 +31485,14 @@ var SceneReferenceSchema = object({
31311
31485
  modelId: string(),
31312
31486
  condition: SceneConditionSchema,
31313
31487
  capturedAt: number(),
31314
- thumbnailMediaId: string().optional(),
31488
+ /**
31489
+ * The reference thumbnail's media ROW id (D482).
31490
+ *
31491
+ * The name already said `mediaId` while the value was the row's composite
31492
+ * key — a leftover that read as done and was not. It is the row's own id
31493
+ * now, addressed at `/addon/<addonId>/event-media/m/<id>`.
31494
+ */
31495
+ thumbnailMediaId: number().int().optional(),
31315
31496
  /** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
31316
31497
  * anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
31317
31498
  * normalized rect frame a different piece of world, and the scene would
@@ -32402,7 +32583,29 @@ var LoggingSettingsPatchSchema = object({
32402
32583
  * disarmed the channels it did not mention would make the Levels page and
32403
32584
  * the Diagnostics page fight over the same value.
32404
32585
  */
32405
- channels: array(LogChannelWindowPatchSchema).readonly().optional()
32586
+ channels: array(LogChannelWindowPatchSchema).readonly().optional(),
32587
+ /**
32588
+ * How many days the analytics OPS LOG is kept — the audit trail of what
32589
+ * retention actually deleted.
32590
+ *
32591
+ * It lives HERE, on the logging document, and not on the analytics addon's
32592
+ * settings form, on the operator's instruction: every other log-ish window in
32593
+ * this system is configured through this one document, and a retention audit
32594
+ * configured somewhere else is a second place to look when the question is
32595
+ * "what happened to my data".
32596
+ *
32597
+ * That placement has a cost worth stating: this document ships in the
32598
+ * framework closure, so this knob needs a published `@camstack/server` while
32599
+ * the four windows beside it (D485) reach a node on `camstack deploy`.
32600
+ *
32601
+ * `retention-model.ts` argued this one must NOT follow a device window,
32602
+ * because the audit trail is the history of the SWEEP and not of the camera.
32603
+ * That argument stands and is untouched — what changes is that 30 days stops
32604
+ * being a constant nobody can reach. `0` keeps it forever. The floor is 1 day
32605
+ * rather than 0-as-delete: an audit log truncated to nothing is precisely the
32606
+ * state in which the next 9.5 GiB leak cannot be explained.
32607
+ */
32608
+ opsLogRetentionDays: number().int().min(0).max(3650).optional()
32406
32609
  });
32407
32610
  /**
32408
32611
  * Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
@@ -32475,6 +32678,14 @@ var LoggingSettingsStateSchema = object({
32475
32678
  channels: array(LogChannelDescriptorSchema).readonly(),
32476
32679
  /** The channels ARMED right now, each with its deadline. */
32477
32680
  activeChannels: array(LogChannelWindowStateSchema).readonly(),
32681
+ /**
32682
+ * The ops-log window in days, as it is in force. `0` = kept forever.
32683
+ *
32684
+ * Reported rather than left to the caller's memory of what it wrote: this is
32685
+ * the value the analytics sweep will actually use, and an operator asking how
32686
+ * long their audit trail lives should not have to infer it from a default.
32687
+ */
32688
+ opsLogRetentionDays: number().int().min(0),
32478
32689
  persisted: boolean()
32479
32690
  });
32480
32691
  method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), method(_void(), FeatureManifestSchema), method(_void(), array(NetworkAddressSchema).readonly()), method(_void(), unknown().nullable(), { auth: "admin" }), method(record(string(), unknown()), _null(), {
@@ -33295,7 +33506,7 @@ var StationaryObjectSchema = object({
33295
33506
  /** Enrichment label carried from the source track (identity / plate). */
33296
33507
  label: string().optional(),
33297
33508
  /** Native-resolution key-frame media key for the parked object's best image. */
33298
- keyFrameMediaKey: string().optional()
33509
+ keyFrameMediaId: number().int().optional()
33299
33510
  });
33300
33511
  var CameraOccupancySnapshotSchema = object({
33301
33512
  /** Frame timestamp of the inference result that produced this snapshot. */
@@ -36099,6 +36310,12 @@ Object.freeze({
36099
36310
  addonId: null,
36100
36311
  access: "create"
36101
36312
  },
36313
+ "dataStoreProvider.upsert": {
36314
+ capName: "data-store-provider",
36315
+ capScope: "system",
36316
+ addonId: null,
36317
+ access: "create"
36318
+ },
36102
36319
  "dayNight.getOptions": {
36103
36320
  capName: "day-night",
36104
36321
  capScope: "device",
@@ -38535,6 +38752,12 @@ Object.freeze({
38535
38752
  addonId: null,
38536
38753
  access: "view"
38537
38754
  },
38755
+ "pipelineAnalytics.listRecentSummaries": {
38756
+ capName: "pipeline-analytics",
38757
+ capScope: "device",
38758
+ addonId: null,
38759
+ access: "view"
38760
+ },
38538
38761
  "pipelineAnalytics.listRecentTracks": {
38539
38762
  capName: "pipeline-analytics",
38540
38763
  capScope: "device",
@@ -39963,6 +40186,12 @@ Object.freeze({
39963
40186
  addonId: null,
39964
40187
  access: "create"
39965
40188
  },
40189
+ "settingsStore.upsert": {
40190
+ capName: "settings-store",
40191
+ capScope: "system",
40192
+ addonId: null,
40193
+ access: "create"
40194
+ },
39966
40195
  "smtpProvider.getStatus": {
39967
40196
  capName: "smtp-provider",
39968
40197
  capScope: "system",
@@ -42356,6 +42585,11 @@ Object.freeze({
42356
42585
  form: "single",
42357
42586
  optional: true
42358
42587
  }],
42588
+ "pipelineAnalytics.listRecentSummaries": [{
42589
+ name: "deviceIds",
42590
+ form: "array",
42591
+ optional: false
42592
+ }],
42359
42593
  "pipelineAnalytics.listRecentTracks": [{
42360
42594
  name: "deviceIds",
42361
42595
  form: "array",
package/dist/addon.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import net from "node:net";
2
- //#region ../types/dist/event-category-DAXzJeTX.mjs
2
+ //#region ../types/dist/event-category-ZyX6jcse.mjs
3
3
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4
4
  EventCategory["SystemBoot"] = "system.boot";
5
5
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -560,7 +560,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
560
560
  * a package zone — a newly-appeared stationary object of a package class
561
561
  * that cleared the class / zone / dwell / size gates. Payload:
562
562
  * `PipelineAnalyticsPackageDeliveredPayload` carrying `{ deviceId,
563
- * entryId, className, zoneIds, keyFrameMediaKey?, bbox, timestamp }`.
563
+ * entryId, className, zoneIds, keyFrameMediaId?, bbox, timestamp }`.
564
564
  * Telemetry (D8): the durable record is the `package-events` store row;
565
565
  * this bus topic drives notifier rules + live UI. See
566
566
  * docs/superpowers/specs/2026-07-17-package-zones-design.md §5.1.
@@ -5346,7 +5346,7 @@ var ZodIssueCode = {
5346
5346
  var ZodFirstPartyTypeKind;
5347
5347
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5348
5348
  //#endregion
5349
- //#region ../types/dist/sleep-BnujYGPe.mjs
5349
+ //#region ../types/dist/sleep-DBKu2-U5.mjs
5350
5350
  /**
5351
5351
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5352
5352
  * window to float samples (D455).
@@ -7313,13 +7313,30 @@ new Set([
7313
7313
  "scene",
7314
7314
  "motion",
7315
7315
  "object",
7316
- "audio"
7316
+ "audio",
7317
+ "mosaic"
7317
7318
  ]);
7318
- new Set([
7319
+ /**
7320
+ * The owner types that are event tables, in the order the event-media resolver
7321
+ * should consider them. Exported so a consumer asking "is this key an event?"
7322
+ * does not re-spell the list and drift from it.
7323
+ */
7324
+ var EVENT_OWNER_TYPES = [
7319
7325
  "motion",
7320
7326
  "object",
7321
7327
  "audio"
7322
- ]);
7328
+ ];
7329
+ /**
7330
+ * The same list as a Zod enum, for the cap inputs that must NAME the table
7331
+ * (D482: `getEventMedia` / `listEventMedia` take an owner, and an owner is
7332
+ * `(table, id)`).
7333
+ *
7334
+ * Built FROM {@link EVENT_OWNER_TYPES} rather than re-spelled: a fourth event
7335
+ * table would otherwise be accepted by the codec and refused at the door, with
7336
+ * nothing failing until a caller asked.
7337
+ */
7338
+ var EventOwnerTypeSchema = _enum(EVENT_OWNER_TYPES);
7339
+ new Set(EVENT_OWNER_TYPES);
7323
7340
  var EncodeProfileSchema = object({
7324
7341
  video: object({
7325
7342
  codec: _enum([
@@ -7358,7 +7375,23 @@ var EncodeProfileSchema = object({
7358
7375
  "zerolatency",
7359
7376
  "film",
7360
7377
  "animation"
7361
- ]).optional()
7378
+ ]).optional(),
7379
+ /**
7380
+ * ONE slice per access unit.
7381
+ *
7382
+ * `-tune zerolatency` turns on x264's sliced threads, and a frame then leaves
7383
+ * the encoder as five NAL slices that share one RTP timestamp and carry one
7384
+ * marker bit. A libwebrtc depacketiser sees five frame-starts and one
7385
+ * frame-end per frame: the first pictures render and the video then freezes
7386
+ * for good while the audio, on its own plane, plays on. Measured on this hub
7387
+ * 2026-09-13 against the Echo, and reduced to one slice by this flag alone.
7388
+ *
7389
+ * A NAMED field and not a raw flag, because {@link EgressEncodeSchema} omits
7390
+ * `outputArgs` on purpose: an opaque array is part of the sharing key, so two
7391
+ * consumers meaning the same thing spelled differently would stop sharing one
7392
+ * child. Absent means "whatever the encoder does" — today's behaviour.
7393
+ */
7394
+ singleSlicePerFrame: boolean().optional()
7362
7395
  }),
7363
7396
  audio: union([literal("passthrough"), object({
7364
7397
  codec: _enum([
@@ -7408,7 +7441,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
7408
7441
  audio: "passthrough"
7409
7442
  };
7410
7443
  ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7411
- ({ ...BASE_LIVE_EGRESS_PROFILE });
7444
+ ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7412
7445
  /**
7413
7446
  * Deep wiring healthcheck — snapshot of active reachability probes across
7414
7447
  * every declared capability + widget of every installed plugin, on every
@@ -12550,6 +12583,16 @@ method(object({
12550
12583
  filter: QueryFilterSchema.optional(),
12551
12584
  columns: array(string()).readonly().optional()
12552
12585
  }), array(SettingsRecordSchema).readonly()), method(object({
12586
+ namespace: string().optional(),
12587
+ collection: string(),
12588
+ /** Declared columns identifying the slot; must be covered by a UNIQUE
12589
+ * index on the collection. Never empty. */
12590
+ conflict: array(string()).readonly(),
12591
+ record: BulkRecordSchema
12592
+ }), object({
12593
+ /** The id the row HAS: assigned by SQLite on an insert, or the existing
12594
+ * row's own id on an update. */
12595
+ id: union([string(), number()]) }), { kind: "mutation" }), method(object({
12553
12596
  namespace: string().optional(),
12554
12597
  collection: string(),
12555
12598
  record: object({
@@ -12684,6 +12727,14 @@ method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
12684
12727
  id: union([string(), number()]) }), {
12685
12728
  kind: "mutation",
12686
12729
  auth: "admin"
12730
+ }), method(object({
12731
+ namespace: string().optional(),
12732
+ collection: string(),
12733
+ conflict: array(string()).readonly(),
12734
+ record: BulkRecordSchema
12735
+ }), object({ id: union([string(), number()]) }), {
12736
+ kind: "mutation",
12737
+ auth: "admin"
12687
12738
  }), method(object({
12688
12739
  namespace: string().optional(),
12689
12740
  collection: string(),
@@ -19166,8 +19217,8 @@ var TrackPositionSchema = object({
19166
19217
  var TrackSnapshotSchema = object({
19167
19218
  timestamp: number(),
19168
19219
  position: TrackPositionSchema,
19169
- /** MediaStore key; resolve via `getTrackMedia({ trackId })`. */
19170
- mediaKey: string()
19220
+ /** The snapshot's media row id (D482); resolve via `listTrackMedia({ trackId })`. */
19221
+ mediaId: number().int()
19171
19222
  });
19172
19223
  /**
19173
19224
  * Normalized 0..1 trajectory envelope (min/max over every position bbox,
@@ -19771,14 +19822,14 @@ var ObjectEventSchema = object({
19771
19822
  * pixel-space `bbox` onto a displayed image. Omitted in slim projection. */
19772
19823
  frameWidth: number().optional(),
19773
19824
  frameHeight: number().optional(),
19774
- /** MediaStore key for the crop attached to this event (if any). */
19775
- mediaKey: string().optional(),
19776
- /** Design B: MediaStore key of the track's native-resolution key frame (the
19825
+ /** Media row id of the crop attached to this event (if any) — D482. */
19826
+ mediaId: number().int().optional(),
19827
+ /** Design B: media row id of the track's native-resolution key frame (the
19777
19828
  * best-detection full frame). Resolve via the event-media data-plane
19778
- * (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
19829
+ * (`/addon/<addonId>/event-media/m/<keyFrameMediaId>`) for a detail view that
19779
19830
  * draws `bbox` over the native frame. Absent on legacy rows / non-decoded
19780
- * sources — consumers fall back to `mediaKey` (the tight crop). */
19781
- keyFrameMediaKey: string().optional(),
19831
+ * sources — consumers fall back to `mediaId` (the tight crop). */
19832
+ keyFrameMediaId: number().int().optional(),
19782
19833
  /** Populated by B5 (recording playback URL for this event). */
19783
19834
  mediaUrl: string().optional(),
19784
19835
  /** The parent track's key-event importance [0,1], propagated to every object
@@ -19828,7 +19879,7 @@ var MediaFileKindEnum = _enum([
19828
19879
  * hub-main's heap on the way past — for an `<img>` that would have cached it.
19829
19880
  *
19830
19881
  * `url` points at the `event-media` data plane
19831
- * (`/addon/<addonId>/event-media/<storedKey>`), which serves the same blob
19882
+ * (`/addon/<addonId>/event-media/m/<mediaId>` — D482), which serves the same blob
19832
19883
  * with an ETag and `Cache-Control: immutable`, honours conditional GETs, can
19833
19884
  * render a `?variant=thumb`, and streams. The hub gate in front of it requires
19834
19885
  * a bearer or the session cookie (`access: 'authenticated'`), so the bytes are
@@ -19836,10 +19887,13 @@ var MediaFileKindEnum = _enum([
19836
19887
  * `data-plane-access.ts` for the rule and the one gap it does not close
19837
19888
  * (per-device scoping).
19838
19889
  *
19839
- * The URL is built from the row's **stored** key, which is not always its
19840
- * published `kind`: a track's face/plate crop is stored as `crop` under
19890
+ * The URL is built from the row's own id, which since D482 says nothing about
19891
+ * the row's owner or kind and that is the point. The published `kind` is not
19892
+ * the stored one (a track's face/plate crop is stored as `crop` under
19841
19893
  * `('face'|'plate', '<prefix>-<trackId>')` and published as
19842
- * `faceCrop`/`plateCrop`. `MediaStore.getByKey` knows only the stored key.
19894
+ * `faceCrop`/`plateCrop`), and under the old composite key the URL had to be
19895
+ * taken from `row.key` verbatim or it 404'd exactly those two rows. An id
19896
+ * cannot be mis-reconstructed, because there is nothing in it to reconstruct.
19843
19897
  *
19844
19898
  * ## `base64` is TRANSITIONAL and is going away
19845
19899
  *
@@ -19852,7 +19906,19 @@ var MediaFileKindEnum = _enum([
19852
19906
  * `analytics-query-facade.ts`; nothing else reads it.
19853
19907
  */
19854
19908
  var MediaFileSchema = object({
19855
- key: string(),
19909
+ /**
19910
+ * The media row's OWN id — the rowid SQLite assigned it (D482).
19911
+ *
19912
+ * It used to be the row's composite key, `<ownerType>:<ownerId>:<fileKind>
19913
+ * [:<timestampMs>]`, which embedded a FOREIGN id. D474 made event ids
19914
+ * per-table rowid aliases, so `object:101314` and `motion:101314` are two
19915
+ * different rows that spell the same number, and a track whose
19916
+ * `bestEventId` was an object event was served a motion event's snapshot —
19917
+ * a night-time thumbnail on an afternoon track, with no error anywhere. A
19918
+ * surrogate id cannot name the wrong row's owner, because it names no owner
19919
+ * at all.
19920
+ */
19921
+ mediaId: number().int(),
19856
19922
  kind: MediaFileKindEnum,
19857
19923
  sizeBytes: number(),
19858
19924
  timestamp: number()
@@ -19960,7 +20026,7 @@ var RetrainTrackSchema = object({
19960
20026
  });
19961
20027
  /** A frame the picker may offer — an index row, no blob was read to produce it. */
19962
20028
  var RetrainFrameCandidateSchema = object({
19963
- mediaKey: string(),
20029
+ mediaId: number().int(),
19964
20030
  kind: MediaFileKindEnum,
19965
20031
  timestamp: number(),
19966
20032
  sizeBytes: number().int(),
@@ -19974,7 +20040,7 @@ var RetrainFrameSchema = object({
19974
20040
  deviceId: number(),
19975
20041
  trackId: string(),
19976
20042
  /** Provenance only. It may already point at nothing — that is expected. */
19977
- sourceMediaKey: string(),
20043
+ sourceMediaId: number().int(),
19978
20044
  sourceKind: MediaFileKindEnum,
19979
20045
  sizeBytes: number().int(),
19980
20046
  width: number().int(),
@@ -19990,7 +20056,7 @@ var RetrainCopyRefusalSchema = _enum([
19990
20056
  var RetrainFrameSelectionSchema = object({
19991
20057
  copied: array(RetrainFrameSchema).readonly(),
19992
20058
  refused: array(object({
19993
- sourceMediaKey: string(),
20059
+ sourceMediaId: number().int(),
19994
20060
  reason: RetrainCopyRefusalSchema
19995
20061
  })).readonly()
19996
20062
  });
@@ -19998,7 +20064,7 @@ var RetrainFrameListSchema = object({
19998
20064
  candidates: array(RetrainFrameCandidateSchema).readonly(),
19999
20065
  copies: array(RetrainFrameSchema).readonly(),
20000
20066
  /** What the page pre-selects — the native key frame when one survives. */
20001
- autoPickMediaKey: string().optional()
20067
+ autoPickMediaId: number().int().optional()
20002
20068
  });
20003
20069
  /** What the operator asked the assist to look for. */
20004
20070
  var RetrainAssistSubjectSchema = discriminatedUnion("kind", [object({
@@ -20093,9 +20159,11 @@ var RecentTracksQueryInput = object({
20093
20159
  });
20094
20160
  /**
20095
20161
  * A Summary (D359): the per-camera session envelope that references tracks.
20096
- * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
20097
- * served by the event-media plane by key), null until the first frame with a
20098
- * member visible has been materialised.
20162
+ * `groupShotMediaId` is the media ROW id of its group shot (`ownerKind:
20163
+ * 'summary'`, served by the event-media plane at `/m/<id>`), null until the
20164
+ * first frame with a member visible has been materialised (D482 — it was the
20165
+ * row's composite key, which embedded the owner and could name another table's
20166
+ * row once event ids became per-table rowids).
20099
20167
  */
20100
20168
  var SummarySchema = object({
20101
20169
  id: string(),
@@ -20104,19 +20172,115 @@ var SummarySchema = object({
20104
20172
  lastActiveAt: number(),
20105
20173
  sealedAt: number().nullable(),
20106
20174
  memberCount: number().int().nonnegative(),
20107
- groupShotKey: string().nullable()
20175
+ groupShotMediaId: number().int().nullable()
20108
20176
  });
20109
20177
  var SummariesQueryInput = object({
20110
20178
  deviceIds: array(number()).min(1),
20111
20179
  since: number().optional(),
20112
20180
  until: number().optional(),
20113
- limit: number().int().min(1).max(200).default(50)
20181
+ limit: number().int().min(1).max(200).default(50),
20182
+ /** The same member-wise filter {@link listRecentSummaries} takes — one
20183
+ * meaning of "dog" on every summary surface. */
20184
+ classes: array(string().min(1).max(60)).max(40).optional()
20114
20185
  });
20115
- var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
20116
20186
  var SummaryDetailSchema = object({
20117
20187
  summary: SummarySchema,
20118
- /** Member track ids, in absorption order. */
20119
- trackIds: array(string()).readonly()
20188
+ /** Members in absorption order, oldest join first. */
20189
+ members: array(object({
20190
+ trackId: string(),
20191
+ /**
20192
+ * The track's class at the time it JOINED, or `null` when it was unresolved
20193
+ * and the track no longer exists to fill it.
20194
+ *
20195
+ * The join, not the latest opinion: class voting can re-decide a track's
20196
+ * class afterwards, and a group's composition is the history of who came
20197
+ * together. A consumer counts these to badge a thumbnail — "two people and a
20198
+ * dog" — rather than being handed a second, denormalised tally that would
20199
+ * drift from the members it claims to describe.
20200
+ */
20201
+ className: string().nullable(),
20202
+ /** `primary` is the one member that carries the group's identity. */
20203
+ role: _enum([
20204
+ "primary",
20205
+ "sibling",
20206
+ "child"
20207
+ ]).nullable(),
20208
+ joinedAt: number(),
20209
+ /** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
20210
+ * at read time. Absent when nothing resolved, never an empty string. */
20211
+ label: string().optional(),
20212
+ /** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
20213
+ * recognised nobody, and absent for a member whose track has been pruned —
20214
+ * a thumbnail that names the wrong person is worse than one naming nobody. */
20215
+ subLabel: string().optional()
20216
+ })).readonly()
20217
+ });
20218
+ /**
20219
+ * What a LIST of groups carries: the envelope plus what it is MADE OF.
20220
+ *
20221
+ * Coarse on purpose — the operator's rule is "only the rough data on the list,
20222
+ * we extend when we notice we need more". Enough to draw the card ("two people
20223
+ * and a dog") and no more. The MEMBERS, their names and the per-member links
20224
+ * are on {@link getSummary}: shipping every member of every group so a client
20225
+ * can count them turns a page of two hundred groups into a thousand records to
20226
+ * draw two hundred badges.
20227
+ */
20228
+ var SummaryListItemSchema = object({
20229
+ summary: SummarySchema,
20230
+ /** Class counts, most numerous first; `className: null` is a member whose
20231
+ * class never resolved, counted so the counts add up to `memberCount`. */
20232
+ classes: array(object({
20233
+ className: string().nullable(),
20234
+ count: number().int().positive()
20235
+ })).readonly()
20236
+ });
20237
+ var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
20238
+ /**
20239
+ * The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
20240
+ *
20241
+ * The reel on the cameras page and the Events gallery both ride a cursor, so a
20242
+ * summaries feed that could only answer "the last N for these cameras"
20243
+ * (`listSummaries`) would make groups available in the timeline and nowhere
20244
+ * else. Two feeds with different ordering contracts would be two ideas of what
20245
+ * "newest" means, on one screen.
20246
+ */
20247
+ var RecentSummariesQueryInput = object({
20248
+ /** Devices to merge. An empty array yields an empty page. */
20249
+ deviceIds: array(number()),
20250
+ /** Window lower bound on `lastActiveAt` (inclusive). */
20251
+ since: number().optional(),
20252
+ /** Window upper bound on `lastActiveAt` (inclusive). */
20253
+ until: number().optional(),
20254
+ limit: number().int().min(1).max(500).default(100),
20255
+ /** Opaque continuation cursor from a previous page's `nextCursor`. */
20256
+ cursor: string().optional(),
20257
+ /**
20258
+ * Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
20259
+ * deliberately the same name: the events filter tree emits one list of ticked
20260
+ * taxonomy nodes, and a summaries feed that called it something else would
20261
+ * make the operator's one filter component produce two shapes.
20262
+ *
20263
+ * A question about the MEMBERS: a group matches when ANY of them does. "Show
20264
+ * me the arrivals with a dog" has to return the group of four people who had
20265
+ * one with them; a filter on the group's own fields could only ever answer
20266
+ * about its primary.
20267
+ *
20268
+ * Matched against all THREE tiers of a member — the class (`animal`), the
20269
+ * sub-class (`dog`) and the instance (a name, a plate) — because which tier a
20270
+ * ticked node lives on is the taxonomy's business, not the caller's. `dog` is
20271
+ * an event kind in the tree and a tier-1 label on an `animal` track; a filter
20272
+ * that read only the class would answer "animal" and never "dog".
20273
+ *
20274
+ * ABSENT or EMPTY means no filter — absent is not a selection of none.
20275
+ */
20276
+ classes: array(string().min(1).max(60)).max(40).optional()
20277
+ });
20278
+ var RecentSummariesPageSchema = object({
20279
+ /** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
20280
+ * {@link listSummaries} — one list shape, so a card renders the same
20281
+ * whichever feed drew it. */
20282
+ summaries: array(SummaryListItemSchema).readonly(),
20283
+ nextCursor: string().nullable()
20120
20284
  });
20121
20285
  var RecentTracksPageSchema = object({
20122
20286
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
@@ -20530,7 +20694,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20530
20694
  classes: array(string()).optional(),
20531
20695
  /** See {@link ExcludeSourcesDoc}. */
20532
20696
  excludeSources: array(TrackSourceSchema).optional()
20533
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20697
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(RecentSummariesQueryInput, RecentSummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20534
20698
  kind: "mutation",
20535
20699
  auth: "admin"
20536
20700
  }), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
@@ -20658,7 +20822,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20658
20822
  }), method(object({
20659
20823
  deviceId: number(),
20660
20824
  trackId: string(),
20661
- mediaKeys: array(string()).min(1)
20825
+ mediaIds: array(number().int()).min(1)
20662
20826
  }), RetrainFrameSelectionSchema, {
20663
20827
  kind: "mutation",
20664
20828
  auth: "admin"
@@ -20726,7 +20890,10 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20726
20890
  kind: "query",
20727
20891
  auth: "admin"
20728
20892
  }), method(object({
20729
- eventId: string(),
20893
+ /** Which of the three event tables owns the row. */
20894
+ ownerType: EventOwnerTypeSchema,
20895
+ /** The event's rowid in that table (D474: an event id is a number). */
20896
+ eventId: number().int(),
20730
20897
  kind: MediaFileKindEnum.optional(),
20731
20898
  deviceId: number()
20732
20899
  }), array(MediaFileSchema).readonly()), method(object({
@@ -20737,7 +20904,8 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20737
20904
  trackId: string(),
20738
20905
  deviceId: number()
20739
20906
  }), array(MediaFileInfoSchema).readonly()), method(object({
20740
- eventId: string(),
20907
+ ownerType: EventOwnerTypeSchema,
20908
+ eventId: number().int(),
20741
20909
  deviceId: number()
20742
20910
  }), array(MediaFileInfoSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), method(object({}), WipeObjectEmbeddingsResultSchema, {
20743
20911
  kind: "mutation",
@@ -26042,8 +26210,8 @@ var IdentitySchema = object({
26042
26210
  id: string(),
26043
26211
  name: string(),
26044
26212
  sampleCount: number().int().nonnegative(),
26045
- coverMediaKey: string().optional(),
26046
- /** Inline base64 of the cover sample's crop, resolved from `coverMediaKey`.
26213
+ coverMediaId: number().int().optional(),
26214
+ /** Inline base64 of the cover sample's crop, resolved from `coverMediaId`.
26047
26215
  * Lets the UI render the person's face avatar instead of a placeholder icon. */
26048
26216
  coverBase64: string().optional()
26049
26217
  });
@@ -26069,8 +26237,8 @@ var IdentitySampleAuditRowSchema = object({
26069
26237
  enrolledAt: number().int(),
26070
26238
  deviceId: number().int().optional(),
26071
26239
  source: _enum(["detected", "photo"]),
26072
- /** The enrolled crop's media key, so the panel can show the evidence. */
26073
- mediaKey: string().optional(),
26240
+ /** The enrolled crop's media row id, so the panel can show the evidence. */
26241
+ mediaId: number().int().optional(),
26074
26242
  /**
26075
26243
  * False = the sample is stamped with a DIFFERENT face model, and a cosine
26076
26244
  * across feature spaces is a well-formed float with no meaning. Every number
@@ -26139,15 +26307,15 @@ var FaceInfoSchema = object({
26139
26307
  */
26140
26308
  cropUrl: string().optional(),
26141
26309
  /** Design B: the face bbox (pixel space) on the key frame — lets a detail
26142
- * view draw the box over the native `keyFrameMediaKey` frame. Absent on
26310
+ * view draw the box over the native `keyFrameMediaId` frame. Absent on
26143
26311
  * legacy rows written before design B. */
26144
26312
  faceBbox: BoundingBoxSchema.optional(),
26145
26313
  /** Design B: MediaStore key of the track's native-resolution key frame.
26146
26314
  * Fetch the native JPEG via the event-media data-plane
26147
- * (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
26315
+ * (`/addon/<addonId>/event-media/m/<keyFrameMediaId>`). Absent when the
26148
26316
  * track produced no key frame (e.g. native/onboard source) — the UI falls
26149
26317
  * back to the inline `base64` face crop. */
26150
- keyFrameMediaKey: string().optional(),
26318
+ keyFrameMediaId: number().int().optional(),
26151
26319
  /** Winning identity-match cosine (0..1) for this face's track, when an
26152
26320
  * identity was auto-confirmed. Lets the UI surface WHY a face was assigned
26153
26321
  * (confidence badge / low-confidence audit). Absent on legacy rows and on
@@ -26216,11 +26384,14 @@ var FaceClusterSchema = object({
26216
26384
  * `data:image/jpeg;base64,…` from a row whose `key` sat right beside it, in a
26217
26385
  * dialog already rendering its key FRAME from the `event-media` plane.
26218
26386
  *
26219
- * `url` is `/addon/<addonId>/event-media/<encoded key>`. The plane resolves a
26220
- * media key directly, so this needed no new plane and no new access decision.
26387
+ * `url` is `/addon/<addonId>/event-media/m/<mediaId>` (D482). The plane
26388
+ * resolves a media row by its own id, so this needed no new plane and no new
26389
+ * access decision.
26221
26390
  */
26222
26391
  var MediaFileLiteSchema$1 = object({
26223
- key: string(),
26392
+ /** The media row's own id — the same address `MediaFileRef.mediaId` carries
26393
+ * (D482). It was the row's composite key, which embedded the owner. */
26394
+ mediaId: number().int(),
26224
26395
  kind: string(),
26225
26396
  url: string(),
26226
26397
  sizeBytes: number(),
@@ -26237,7 +26408,7 @@ method(object({
26237
26408
  * covers inline, ~10 KB of base64 per row, on a query this UI mounts
26238
26409
  * four times and the viewer holds at `staleTime: 30_000`.
26239
26410
  *
26240
- * Nothing loses its avatar: `coverMediaKey` is already on every row and
26411
+ * Nothing loses its avatar: `coverMediaId` is already on every row and
26241
26412
  * the `event-media` plane serves that key `immutable` with an ETag.
26242
26413
  *
26243
26414
  * **This is an INPUT field, so it does not reach the addon until the
@@ -29600,8 +29771,8 @@ var VehicleSchema = object({
29600
29771
  id: string(),
29601
29772
  name: string(),
29602
29773
  sampleCount: number().int().nonnegative(),
29603
- coverMediaKey: string().optional(),
29604
- /** Inline base64 of the cover sample's plate crop, resolved from `coverMediaKey`. */
29774
+ coverMediaId: number().int().optional(),
29775
+ /** Inline base64 of the cover sample's plate crop, resolved from `coverMediaId`. */
29605
29776
  coverBase64: string().optional()
29606
29777
  });
29607
29778
  var VehicleSampleInfoSchema = object({
@@ -29634,7 +29805,7 @@ var PlateInfoSchema = object({
29634
29805
  /** keyFrame parity: the plate bbox (pixel space) on the native key frame. */
29635
29806
  plateBbox: BoundingBoxSchema.optional(),
29636
29807
  /** keyFrame parity: MediaStore key of the track's native-resolution key frame. */
29637
- keyFrameMediaKey: string().optional(),
29808
+ keyFrameMediaId: number().int().optional(),
29638
29809
  base64: string().optional(),
29639
29810
  /**
29640
29811
  * Same crop as a data-plane URL, always present when the plate has a stored
@@ -29655,11 +29826,14 @@ var PlateInfoSchema = object({
29655
29826
  * `data:image/jpeg;base64,…` from a row whose `key` sat right beside it, in a
29656
29827
  * dialog already rendering its key FRAME from the `event-media` plane.
29657
29828
  *
29658
- * `url` is `/addon/<addonId>/event-media/<encoded key>`. The plane resolves a
29659
- * media key directly, so this needed no new plane and no new access decision.
29829
+ * `url` is `/addon/<addonId>/event-media/m/<mediaId>` (D482). The plane
29830
+ * resolves a media row by its own id, so this needed no new plane and no new
29831
+ * access decision.
29660
29832
  */
29661
29833
  var MediaFileLiteSchema = object({
29662
- key: string(),
29834
+ /** The media row's own id — the same address `MediaFileRef.mediaId` carries
29835
+ * (D482). It was the row's composite key, which embedded the owner. */
29836
+ mediaId: number().int(),
29663
29837
  kind: string(),
29664
29838
  url: string(),
29665
29839
  sizeBytes: number(),
@@ -29718,7 +29892,7 @@ method(object({
29718
29892
  }), method(object({
29719
29893
  /** Inline {@link VehicleSchema.coverBase64} on every row. Default
29720
29894
  * `false` — the vehicle twin of `faceGallery.listIdentities`'s
29721
- * option; `coverMediaKey` + the `event-media` plane carry the picture.
29895
+ * option; `coverMediaId` + the `event-media` plane carry the picture.
29722
29896
  * INPUT field: stripped by the hub router until the train ships, which
29723
29897
  * resolves to `false` and is exactly the intended default. */
29724
29898
  includeCrops: boolean().optional() }).optional(), array(VehicleSchema).readonly()), method(object({ name: string().min(1) }), VehicleSchema, {
@@ -31287,7 +31461,14 @@ var SceneReferenceSchema = object({
31287
31461
  modelId: string(),
31288
31462
  condition: SceneConditionSchema,
31289
31463
  capturedAt: number(),
31290
- thumbnailMediaId: string().optional(),
31464
+ /**
31465
+ * The reference thumbnail's media ROW id (D482).
31466
+ *
31467
+ * The name already said `mediaId` while the value was the row's composite
31468
+ * key — a leftover that read as done and was not. It is the row's own id
31469
+ * now, addressed at `/addon/<addonId>/event-media/m/<id>`.
31470
+ */
31471
+ thumbnailMediaId: number().int().optional(),
31291
31472
  /** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
31292
31473
  * anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
31293
31474
  * normalized rect frame a different piece of world, and the scene would
@@ -32378,7 +32559,29 @@ var LoggingSettingsPatchSchema = object({
32378
32559
  * disarmed the channels it did not mention would make the Levels page and
32379
32560
  * the Diagnostics page fight over the same value.
32380
32561
  */
32381
- channels: array(LogChannelWindowPatchSchema).readonly().optional()
32562
+ channels: array(LogChannelWindowPatchSchema).readonly().optional(),
32563
+ /**
32564
+ * How many days the analytics OPS LOG is kept — the audit trail of what
32565
+ * retention actually deleted.
32566
+ *
32567
+ * It lives HERE, on the logging document, and not on the analytics addon's
32568
+ * settings form, on the operator's instruction: every other log-ish window in
32569
+ * this system is configured through this one document, and a retention audit
32570
+ * configured somewhere else is a second place to look when the question is
32571
+ * "what happened to my data".
32572
+ *
32573
+ * That placement has a cost worth stating: this document ships in the
32574
+ * framework closure, so this knob needs a published `@camstack/server` while
32575
+ * the four windows beside it (D485) reach a node on `camstack deploy`.
32576
+ *
32577
+ * `retention-model.ts` argued this one must NOT follow a device window,
32578
+ * because the audit trail is the history of the SWEEP and not of the camera.
32579
+ * That argument stands and is untouched — what changes is that 30 days stops
32580
+ * being a constant nobody can reach. `0` keeps it forever. The floor is 1 day
32581
+ * rather than 0-as-delete: an audit log truncated to nothing is precisely the
32582
+ * state in which the next 9.5 GiB leak cannot be explained.
32583
+ */
32584
+ opsLogRetentionDays: number().int().min(0).max(3650).optional()
32382
32585
  });
32383
32586
  /**
32384
32587
  * Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
@@ -32451,6 +32654,14 @@ var LoggingSettingsStateSchema = object({
32451
32654
  channels: array(LogChannelDescriptorSchema).readonly(),
32452
32655
  /** The channels ARMED right now, each with its deadline. */
32453
32656
  activeChannels: array(LogChannelWindowStateSchema).readonly(),
32657
+ /**
32658
+ * The ops-log window in days, as it is in force. `0` = kept forever.
32659
+ *
32660
+ * Reported rather than left to the caller's memory of what it wrote: this is
32661
+ * the value the analytics sweep will actually use, and an operator asking how
32662
+ * long their audit trail lives should not have to infer it from a default.
32663
+ */
32664
+ opsLogRetentionDays: number().int().min(0),
32454
32665
  persisted: boolean()
32455
32666
  });
32456
32667
  method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), method(_void(), FeatureManifestSchema), method(_void(), array(NetworkAddressSchema).readonly()), method(_void(), unknown().nullable(), { auth: "admin" }), method(record(string(), unknown()), _null(), {
@@ -33271,7 +33482,7 @@ var StationaryObjectSchema = object({
33271
33482
  /** Enrichment label carried from the source track (identity / plate). */
33272
33483
  label: string().optional(),
33273
33484
  /** Native-resolution key-frame media key for the parked object's best image. */
33274
- keyFrameMediaKey: string().optional()
33485
+ keyFrameMediaId: number().int().optional()
33275
33486
  });
33276
33487
  var CameraOccupancySnapshotSchema = object({
33277
33488
  /** Frame timestamp of the inference result that produced this snapshot. */
@@ -36075,6 +36286,12 @@ Object.freeze({
36075
36286
  addonId: null,
36076
36287
  access: "create"
36077
36288
  },
36289
+ "dataStoreProvider.upsert": {
36290
+ capName: "data-store-provider",
36291
+ capScope: "system",
36292
+ addonId: null,
36293
+ access: "create"
36294
+ },
36078
36295
  "dayNight.getOptions": {
36079
36296
  capName: "day-night",
36080
36297
  capScope: "device",
@@ -38511,6 +38728,12 @@ Object.freeze({
38511
38728
  addonId: null,
38512
38729
  access: "view"
38513
38730
  },
38731
+ "pipelineAnalytics.listRecentSummaries": {
38732
+ capName: "pipeline-analytics",
38733
+ capScope: "device",
38734
+ addonId: null,
38735
+ access: "view"
38736
+ },
38514
38737
  "pipelineAnalytics.listRecentTracks": {
38515
38738
  capName: "pipeline-analytics",
38516
38739
  capScope: "device",
@@ -39939,6 +40162,12 @@ Object.freeze({
39939
40162
  addonId: null,
39940
40163
  access: "create"
39941
40164
  },
40165
+ "settingsStore.upsert": {
40166
+ capName: "settings-store",
40167
+ capScope: "system",
40168
+ addonId: null,
40169
+ access: "create"
40170
+ },
39942
40171
  "smtpProvider.getStatus": {
39943
40172
  capName: "smtp-provider",
39944
40173
  capScope: "system",
@@ -42332,6 +42561,11 @@ Object.freeze({
42332
42561
  form: "single",
42333
42562
  optional: true
42334
42563
  }],
42564
+ "pipelineAnalytics.listRecentSummaries": [{
42565
+ name: "deviceIds",
42566
+ form: "array",
42567
+ optional: false
42568
+ }],
42335
42569
  "pipelineAnalytics.listRecentTracks": [{
42336
42570
  name: "deviceIds",
42337
42571
  form: "array",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rtsp",
3
- "version": "1.2.99",
3
+ "version": "1.2.101",
4
4
  "description": "Generic RTSP camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",