@camstack/addon-terminal 0.1.104 → 0.1.106

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
@@ -31,7 +31,7 @@ let node_module = require("node:module");
31
31
  let sharp = require("sharp");
32
32
  sharp = __toESM(sharp);
33
33
  let node_http = require("node:http");
34
- //#region ../types/dist/event-category-DAXzJeTX.mjs
34
+ //#region ../types/dist/event-category-ZyX6jcse.mjs
35
35
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
36
36
  EventCategory["SystemBoot"] = "system.boot";
37
37
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -592,7 +592,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
592
592
  * a package zone — a newly-appeared stationary object of a package class
593
593
  * that cleared the class / zone / dwell / size gates. Payload:
594
594
  * `PipelineAnalyticsPackageDeliveredPayload` carrying `{ deviceId,
595
- * entryId, className, zoneIds, keyFrameMediaKey?, bbox, timestamp }`.
595
+ * entryId, className, zoneIds, keyFrameMediaId?, bbox, timestamp }`.
596
596
  * Telemetry (D8): the durable record is the `package-events` store row;
597
597
  * this bus topic drives notifier rules + live UI. See
598
598
  * docs/superpowers/specs/2026-07-17-package-zones-design.md §5.1.
@@ -5378,7 +5378,7 @@ var ZodIssueCode = {
5378
5378
  var ZodFirstPartyTypeKind;
5379
5379
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5380
5380
  //#endregion
5381
- //#region ../types/dist/sleep-BnujYGPe.mjs
5381
+ //#region ../types/dist/sleep-DBKu2-U5.mjs
5382
5382
  /**
5383
5383
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5384
5384
  * window to float samples (D455).
@@ -7404,13 +7404,30 @@ new Set([
7404
7404
  "scene",
7405
7405
  "motion",
7406
7406
  "object",
7407
- "audio"
7407
+ "audio",
7408
+ "mosaic"
7408
7409
  ]);
7409
- new Set([
7410
+ /**
7411
+ * The owner types that are event tables, in the order the event-media resolver
7412
+ * should consider them. Exported so a consumer asking "is this key an event?"
7413
+ * does not re-spell the list and drift from it.
7414
+ */
7415
+ var EVENT_OWNER_TYPES = [
7410
7416
  "motion",
7411
7417
  "object",
7412
7418
  "audio"
7413
- ]);
7419
+ ];
7420
+ /**
7421
+ * The same list as a Zod enum, for the cap inputs that must NAME the table
7422
+ * (D482: `getEventMedia` / `listEventMedia` take an owner, and an owner is
7423
+ * `(table, id)`).
7424
+ *
7425
+ * Built FROM {@link EVENT_OWNER_TYPES} rather than re-spelled: a fourth event
7426
+ * table would otherwise be accepted by the codec and refused at the door, with
7427
+ * nothing failing until a caller asked.
7428
+ */
7429
+ var EventOwnerTypeSchema = _enum(EVENT_OWNER_TYPES);
7430
+ new Set(EVENT_OWNER_TYPES);
7414
7431
  var EncodeProfileSchema = object({
7415
7432
  video: object({
7416
7433
  codec: _enum([
@@ -7449,7 +7466,23 @@ var EncodeProfileSchema = object({
7449
7466
  "zerolatency",
7450
7467
  "film",
7451
7468
  "animation"
7452
- ]).optional()
7469
+ ]).optional(),
7470
+ /**
7471
+ * ONE slice per access unit.
7472
+ *
7473
+ * `-tune zerolatency` turns on x264's sliced threads, and a frame then leaves
7474
+ * the encoder as five NAL slices that share one RTP timestamp and carry one
7475
+ * marker bit. A libwebrtc depacketiser sees five frame-starts and one
7476
+ * frame-end per frame: the first pictures render and the video then freezes
7477
+ * for good while the audio, on its own plane, plays on. Measured on this hub
7478
+ * 2026-09-13 against the Echo, and reduced to one slice by this flag alone.
7479
+ *
7480
+ * A NAMED field and not a raw flag, because {@link EgressEncodeSchema} omits
7481
+ * `outputArgs` on purpose: an opaque array is part of the sharing key, so two
7482
+ * consumers meaning the same thing spelled differently would stop sharing one
7483
+ * child. Absent means "whatever the encoder does" — today's behaviour.
7484
+ */
7485
+ singleSlicePerFrame: boolean().optional()
7453
7486
  }),
7454
7487
  audio: union([literal("passthrough"), object({
7455
7488
  codec: _enum([
@@ -7499,7 +7532,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
7499
7532
  audio: "passthrough"
7500
7533
  };
7501
7534
  ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7502
- ({ ...BASE_LIVE_EGRESS_PROFILE });
7535
+ ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7503
7536
  /**
7504
7537
  * Deep wiring healthcheck — snapshot of active reachability probes across
7505
7538
  * every declared capability + widget of every installed plugin, on every
@@ -12617,6 +12650,16 @@ method(object({
12617
12650
  filter: QueryFilterSchema.optional(),
12618
12651
  columns: array(string()).readonly().optional()
12619
12652
  }), array(SettingsRecordSchema).readonly()), method(object({
12653
+ namespace: string().optional(),
12654
+ collection: string(),
12655
+ /** Declared columns identifying the slot; must be covered by a UNIQUE
12656
+ * index on the collection. Never empty. */
12657
+ conflict: array(string()).readonly(),
12658
+ record: BulkRecordSchema
12659
+ }), object({
12660
+ /** The id the row HAS: assigned by SQLite on an insert, or the existing
12661
+ * row's own id on an update. */
12662
+ id: union([string(), number()]) }), { kind: "mutation" }), method(object({
12620
12663
  namespace: string().optional(),
12621
12664
  collection: string(),
12622
12665
  record: object({
@@ -12751,6 +12794,14 @@ method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
12751
12794
  id: union([string(), number()]) }), {
12752
12795
  kind: "mutation",
12753
12796
  auth: "admin"
12797
+ }), method(object({
12798
+ namespace: string().optional(),
12799
+ collection: string(),
12800
+ conflict: array(string()).readonly(),
12801
+ record: BulkRecordSchema
12802
+ }), object({ id: union([string(), number()]) }), {
12803
+ kind: "mutation",
12804
+ auth: "admin"
12754
12805
  }), method(object({
12755
12806
  namespace: string().optional(),
12756
12807
  collection: string(),
@@ -19152,8 +19203,8 @@ var TrackPositionSchema = object({
19152
19203
  var TrackSnapshotSchema = object({
19153
19204
  timestamp: number(),
19154
19205
  position: TrackPositionSchema,
19155
- /** MediaStore key; resolve via `getTrackMedia({ trackId })`. */
19156
- mediaKey: string()
19206
+ /** The snapshot's media row id (D482); resolve via `listTrackMedia({ trackId })`. */
19207
+ mediaId: number().int()
19157
19208
  });
19158
19209
  /**
19159
19210
  * Normalized 0..1 trajectory envelope (min/max over every position bbox,
@@ -19757,14 +19808,14 @@ var ObjectEventSchema = object({
19757
19808
  * pixel-space `bbox` onto a displayed image. Omitted in slim projection. */
19758
19809
  frameWidth: number().optional(),
19759
19810
  frameHeight: number().optional(),
19760
- /** MediaStore key for the crop attached to this event (if any). */
19761
- mediaKey: string().optional(),
19762
- /** Design B: MediaStore key of the track's native-resolution key frame (the
19811
+ /** Media row id of the crop attached to this event (if any) — D482. */
19812
+ mediaId: number().int().optional(),
19813
+ /** Design B: media row id of the track's native-resolution key frame (the
19763
19814
  * best-detection full frame). Resolve via the event-media data-plane
19764
- * (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
19815
+ * (`/addon/<addonId>/event-media/m/<keyFrameMediaId>`) for a detail view that
19765
19816
  * draws `bbox` over the native frame. Absent on legacy rows / non-decoded
19766
- * sources — consumers fall back to `mediaKey` (the tight crop). */
19767
- keyFrameMediaKey: string().optional(),
19817
+ * sources — consumers fall back to `mediaId` (the tight crop). */
19818
+ keyFrameMediaId: number().int().optional(),
19768
19819
  /** Populated by B5 (recording playback URL for this event). */
19769
19820
  mediaUrl: string().optional(),
19770
19821
  /** The parent track's key-event importance [0,1], propagated to every object
@@ -19814,7 +19865,7 @@ var MediaFileKindEnum = _enum([
19814
19865
  * hub-main's heap on the way past — for an `<img>` that would have cached it.
19815
19866
  *
19816
19867
  * `url` points at the `event-media` data plane
19817
- * (`/addon/<addonId>/event-media/<storedKey>`), which serves the same blob
19868
+ * (`/addon/<addonId>/event-media/m/<mediaId>` — D482), which serves the same blob
19818
19869
  * with an ETag and `Cache-Control: immutable`, honours conditional GETs, can
19819
19870
  * render a `?variant=thumb`, and streams. The hub gate in front of it requires
19820
19871
  * a bearer or the session cookie (`access: 'authenticated'`), so the bytes are
@@ -19822,10 +19873,13 @@ var MediaFileKindEnum = _enum([
19822
19873
  * `data-plane-access.ts` for the rule and the one gap it does not close
19823
19874
  * (per-device scoping).
19824
19875
  *
19825
- * The URL is built from the row's **stored** key, which is not always its
19826
- * published `kind`: a track's face/plate crop is stored as `crop` under
19876
+ * The URL is built from the row's own id, which since D482 says nothing about
19877
+ * the row's owner or kind and that is the point. The published `kind` is not
19878
+ * the stored one (a track's face/plate crop is stored as `crop` under
19827
19879
  * `('face'|'plate', '<prefix>-<trackId>')` and published as
19828
- * `faceCrop`/`plateCrop`. `MediaStore.getByKey` knows only the stored key.
19880
+ * `faceCrop`/`plateCrop`), and under the old composite key the URL had to be
19881
+ * taken from `row.key` verbatim or it 404'd exactly those two rows. An id
19882
+ * cannot be mis-reconstructed, because there is nothing in it to reconstruct.
19829
19883
  *
19830
19884
  * ## `base64` is TRANSITIONAL and is going away
19831
19885
  *
@@ -19838,7 +19892,19 @@ var MediaFileKindEnum = _enum([
19838
19892
  * `analytics-query-facade.ts`; nothing else reads it.
19839
19893
  */
19840
19894
  var MediaFileSchema = object({
19841
- key: string(),
19895
+ /**
19896
+ * The media row's OWN id — the rowid SQLite assigned it (D482).
19897
+ *
19898
+ * It used to be the row's composite key, `<ownerType>:<ownerId>:<fileKind>
19899
+ * [:<timestampMs>]`, which embedded a FOREIGN id. D474 made event ids
19900
+ * per-table rowid aliases, so `object:101314` and `motion:101314` are two
19901
+ * different rows that spell the same number, and a track whose
19902
+ * `bestEventId` was an object event was served a motion event's snapshot —
19903
+ * a night-time thumbnail on an afternoon track, with no error anywhere. A
19904
+ * surrogate id cannot name the wrong row's owner, because it names no owner
19905
+ * at all.
19906
+ */
19907
+ mediaId: number().int(),
19842
19908
  kind: MediaFileKindEnum,
19843
19909
  sizeBytes: number(),
19844
19910
  timestamp: number()
@@ -19946,7 +20012,7 @@ var RetrainTrackSchema = object({
19946
20012
  });
19947
20013
  /** A frame the picker may offer — an index row, no blob was read to produce it. */
19948
20014
  var RetrainFrameCandidateSchema = object({
19949
- mediaKey: string(),
20015
+ mediaId: number().int(),
19950
20016
  kind: MediaFileKindEnum,
19951
20017
  timestamp: number(),
19952
20018
  sizeBytes: number().int(),
@@ -19960,7 +20026,7 @@ var RetrainFrameSchema = object({
19960
20026
  deviceId: number(),
19961
20027
  trackId: string(),
19962
20028
  /** Provenance only. It may already point at nothing — that is expected. */
19963
- sourceMediaKey: string(),
20029
+ sourceMediaId: number().int(),
19964
20030
  sourceKind: MediaFileKindEnum,
19965
20031
  sizeBytes: number().int(),
19966
20032
  width: number().int(),
@@ -19976,7 +20042,7 @@ var RetrainCopyRefusalSchema = _enum([
19976
20042
  var RetrainFrameSelectionSchema = object({
19977
20043
  copied: array(RetrainFrameSchema).readonly(),
19978
20044
  refused: array(object({
19979
- sourceMediaKey: string(),
20045
+ sourceMediaId: number().int(),
19980
20046
  reason: RetrainCopyRefusalSchema
19981
20047
  })).readonly()
19982
20048
  });
@@ -19984,7 +20050,7 @@ var RetrainFrameListSchema = object({
19984
20050
  candidates: array(RetrainFrameCandidateSchema).readonly(),
19985
20051
  copies: array(RetrainFrameSchema).readonly(),
19986
20052
  /** What the page pre-selects — the native key frame when one survives. */
19987
- autoPickMediaKey: string().optional()
20053
+ autoPickMediaId: number().int().optional()
19988
20054
  });
19989
20055
  /** What the operator asked the assist to look for. */
19990
20056
  var RetrainAssistSubjectSchema = discriminatedUnion("kind", [object({
@@ -20079,9 +20145,11 @@ var RecentTracksQueryInput = object({
20079
20145
  });
20080
20146
  /**
20081
20147
  * A Summary (D359): the per-camera session envelope that references tracks.
20082
- * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
20083
- * served by the event-media plane by key), null until the first frame with a
20084
- * member visible has been materialised.
20148
+ * `groupShotMediaId` is the media ROW id of its group shot (`ownerKind:
20149
+ * 'summary'`, served by the event-media plane at `/m/<id>`), null until the
20150
+ * first frame with a member visible has been materialised (D482 — it was the
20151
+ * row's composite key, which embedded the owner and could name another table's
20152
+ * row once event ids became per-table rowids).
20085
20153
  */
20086
20154
  var SummarySchema = object({
20087
20155
  id: string(),
@@ -20090,19 +20158,115 @@ var SummarySchema = object({
20090
20158
  lastActiveAt: number(),
20091
20159
  sealedAt: number().nullable(),
20092
20160
  memberCount: number().int().nonnegative(),
20093
- groupShotKey: string().nullable()
20161
+ groupShotMediaId: number().int().nullable()
20094
20162
  });
20095
20163
  var SummariesQueryInput = object({
20096
20164
  deviceIds: array(number()).min(1),
20097
20165
  since: number().optional(),
20098
20166
  until: number().optional(),
20099
- limit: number().int().min(1).max(200).default(50)
20167
+ limit: number().int().min(1).max(200).default(50),
20168
+ /** The same member-wise filter {@link listRecentSummaries} takes — one
20169
+ * meaning of "dog" on every summary surface. */
20170
+ classes: array(string().min(1).max(60)).max(40).optional()
20100
20171
  });
20101
- var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
20102
20172
  var SummaryDetailSchema = object({
20103
20173
  summary: SummarySchema,
20104
- /** Member track ids, in absorption order. */
20105
- trackIds: array(string()).readonly()
20174
+ /** Members in absorption order, oldest join first. */
20175
+ members: array(object({
20176
+ trackId: string(),
20177
+ /**
20178
+ * The track's class at the time it JOINED, or `null` when it was unresolved
20179
+ * and the track no longer exists to fill it.
20180
+ *
20181
+ * The join, not the latest opinion: class voting can re-decide a track's
20182
+ * class afterwards, and a group's composition is the history of who came
20183
+ * together. A consumer counts these to badge a thumbnail — "two people and a
20184
+ * dog" — rather than being handed a second, denormalised tally that would
20185
+ * drift from the members it claims to describe.
20186
+ */
20187
+ className: string().nullable(),
20188
+ /** `primary` is the one member that carries the group's identity. */
20189
+ role: _enum([
20190
+ "primary",
20191
+ "sibling",
20192
+ "child"
20193
+ ]).nullable(),
20194
+ joinedAt: number(),
20195
+ /** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
20196
+ * at read time. Absent when nothing resolved, never an empty string. */
20197
+ label: string().optional(),
20198
+ /** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
20199
+ * recognised nobody, and absent for a member whose track has been pruned —
20200
+ * a thumbnail that names the wrong person is worse than one naming nobody. */
20201
+ subLabel: string().optional()
20202
+ })).readonly()
20203
+ });
20204
+ /**
20205
+ * What a LIST of groups carries: the envelope plus what it is MADE OF.
20206
+ *
20207
+ * Coarse on purpose — the operator's rule is "only the rough data on the list,
20208
+ * we extend when we notice we need more". Enough to draw the card ("two people
20209
+ * and a dog") and no more. The MEMBERS, their names and the per-member links
20210
+ * are on {@link getSummary}: shipping every member of every group so a client
20211
+ * can count them turns a page of two hundred groups into a thousand records to
20212
+ * draw two hundred badges.
20213
+ */
20214
+ var SummaryListItemSchema = object({
20215
+ summary: SummarySchema,
20216
+ /** Class counts, most numerous first; `className: null` is a member whose
20217
+ * class never resolved, counted so the counts add up to `memberCount`. */
20218
+ classes: array(object({
20219
+ className: string().nullable(),
20220
+ count: number().int().positive()
20221
+ })).readonly()
20222
+ });
20223
+ var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
20224
+ /**
20225
+ * The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
20226
+ *
20227
+ * The reel on the cameras page and the Events gallery both ride a cursor, so a
20228
+ * summaries feed that could only answer "the last N for these cameras"
20229
+ * (`listSummaries`) would make groups available in the timeline and nowhere
20230
+ * else. Two feeds with different ordering contracts would be two ideas of what
20231
+ * "newest" means, on one screen.
20232
+ */
20233
+ var RecentSummariesQueryInput = object({
20234
+ /** Devices to merge. An empty array yields an empty page. */
20235
+ deviceIds: array(number()),
20236
+ /** Window lower bound on `lastActiveAt` (inclusive). */
20237
+ since: number().optional(),
20238
+ /** Window upper bound on `lastActiveAt` (inclusive). */
20239
+ until: number().optional(),
20240
+ limit: number().int().min(1).max(500).default(100),
20241
+ /** Opaque continuation cursor from a previous page's `nextCursor`. */
20242
+ cursor: string().optional(),
20243
+ /**
20244
+ * Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
20245
+ * deliberately the same name: the events filter tree emits one list of ticked
20246
+ * taxonomy nodes, and a summaries feed that called it something else would
20247
+ * make the operator's one filter component produce two shapes.
20248
+ *
20249
+ * A question about the MEMBERS: a group matches when ANY of them does. "Show
20250
+ * me the arrivals with a dog" has to return the group of four people who had
20251
+ * one with them; a filter on the group's own fields could only ever answer
20252
+ * about its primary.
20253
+ *
20254
+ * Matched against all THREE tiers of a member — the class (`animal`), the
20255
+ * sub-class (`dog`) and the instance (a name, a plate) — because which tier a
20256
+ * ticked node lives on is the taxonomy's business, not the caller's. `dog` is
20257
+ * an event kind in the tree and a tier-1 label on an `animal` track; a filter
20258
+ * that read only the class would answer "animal" and never "dog".
20259
+ *
20260
+ * ABSENT or EMPTY means no filter — absent is not a selection of none.
20261
+ */
20262
+ classes: array(string().min(1).max(60)).max(40).optional()
20263
+ });
20264
+ var RecentSummariesPageSchema = object({
20265
+ /** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
20266
+ * {@link listSummaries} — one list shape, so a card renders the same
20267
+ * whichever feed drew it. */
20268
+ summaries: array(SummaryListItemSchema).readonly(),
20269
+ nextCursor: string().nullable()
20106
20270
  });
20107
20271
  var RecentTracksPageSchema = object({
20108
20272
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
@@ -20516,7 +20680,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20516
20680
  classes: array(string()).optional(),
20517
20681
  /** See {@link ExcludeSourcesDoc}. */
20518
20682
  excludeSources: array(TrackSourceSchema).optional()
20519
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20683
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(RecentSummariesQueryInput, RecentSummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20520
20684
  kind: "mutation",
20521
20685
  auth: "admin"
20522
20686
  }), 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({
@@ -20644,7 +20808,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20644
20808
  }), method(object({
20645
20809
  deviceId: number(),
20646
20810
  trackId: string(),
20647
- mediaKeys: array(string()).min(1)
20811
+ mediaIds: array(number().int()).min(1)
20648
20812
  }), RetrainFrameSelectionSchema, {
20649
20813
  kind: "mutation",
20650
20814
  auth: "admin"
@@ -20712,7 +20876,10 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20712
20876
  kind: "query",
20713
20877
  auth: "admin"
20714
20878
  }), method(object({
20715
- eventId: string(),
20879
+ /** Which of the three event tables owns the row. */
20880
+ ownerType: EventOwnerTypeSchema,
20881
+ /** The event's rowid in that table (D474: an event id is a number). */
20882
+ eventId: number().int(),
20716
20883
  kind: MediaFileKindEnum.optional(),
20717
20884
  deviceId: number()
20718
20885
  }), array(MediaFileSchema).readonly()), method(object({
@@ -20723,7 +20890,8 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20723
20890
  trackId: string(),
20724
20891
  deviceId: number()
20725
20892
  }), array(MediaFileInfoSchema).readonly()), method(object({
20726
- eventId: string(),
20893
+ ownerType: EventOwnerTypeSchema,
20894
+ eventId: number().int(),
20727
20895
  deviceId: number()
20728
20896
  }), array(MediaFileInfoSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), method(object({}), WipeObjectEmbeddingsResultSchema, {
20729
20897
  kind: "mutation",
@@ -26064,8 +26232,8 @@ var IdentitySchema = object({
26064
26232
  id: string(),
26065
26233
  name: string(),
26066
26234
  sampleCount: number().int().nonnegative(),
26067
- coverMediaKey: string().optional(),
26068
- /** Inline base64 of the cover sample's crop, resolved from `coverMediaKey`.
26235
+ coverMediaId: number().int().optional(),
26236
+ /** Inline base64 of the cover sample's crop, resolved from `coverMediaId`.
26069
26237
  * Lets the UI render the person's face avatar instead of a placeholder icon. */
26070
26238
  coverBase64: string().optional()
26071
26239
  });
@@ -26091,8 +26259,8 @@ var IdentitySampleAuditRowSchema = object({
26091
26259
  enrolledAt: number().int(),
26092
26260
  deviceId: number().int().optional(),
26093
26261
  source: _enum(["detected", "photo"]),
26094
- /** The enrolled crop's media key, so the panel can show the evidence. */
26095
- mediaKey: string().optional(),
26262
+ /** The enrolled crop's media row id, so the panel can show the evidence. */
26263
+ mediaId: number().int().optional(),
26096
26264
  /**
26097
26265
  * False = the sample is stamped with a DIFFERENT face model, and a cosine
26098
26266
  * across feature spaces is a well-formed float with no meaning. Every number
@@ -26161,15 +26329,15 @@ var FaceInfoSchema = object({
26161
26329
  */
26162
26330
  cropUrl: string().optional(),
26163
26331
  /** Design B: the face bbox (pixel space) on the key frame — lets a detail
26164
- * view draw the box over the native `keyFrameMediaKey` frame. Absent on
26332
+ * view draw the box over the native `keyFrameMediaId` frame. Absent on
26165
26333
  * legacy rows written before design B. */
26166
26334
  faceBbox: BoundingBoxSchema.optional(),
26167
26335
  /** Design B: MediaStore key of the track's native-resolution key frame.
26168
26336
  * Fetch the native JPEG via the event-media data-plane
26169
- * (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
26337
+ * (`/addon/<addonId>/event-media/m/<keyFrameMediaId>`). Absent when the
26170
26338
  * track produced no key frame (e.g. native/onboard source) — the UI falls
26171
26339
  * back to the inline `base64` face crop. */
26172
- keyFrameMediaKey: string().optional(),
26340
+ keyFrameMediaId: number().int().optional(),
26173
26341
  /** Winning identity-match cosine (0..1) for this face's track, when an
26174
26342
  * identity was auto-confirmed. Lets the UI surface WHY a face was assigned
26175
26343
  * (confidence badge / low-confidence audit). Absent on legacy rows and on
@@ -26238,11 +26406,14 @@ var FaceClusterSchema = object({
26238
26406
  * `data:image/jpeg;base64,…` from a row whose `key` sat right beside it, in a
26239
26407
  * dialog already rendering its key FRAME from the `event-media` plane.
26240
26408
  *
26241
- * `url` is `/addon/<addonId>/event-media/<encoded key>`. The plane resolves a
26242
- * media key directly, so this needed no new plane and no new access decision.
26409
+ * `url` is `/addon/<addonId>/event-media/m/<mediaId>` (D482). The plane
26410
+ * resolves a media row by its own id, so this needed no new plane and no new
26411
+ * access decision.
26243
26412
  */
26244
26413
  var MediaFileLiteSchema$1 = object({
26245
- key: string(),
26414
+ /** The media row's own id — the same address `MediaFileRef.mediaId` carries
26415
+ * (D482). It was the row's composite key, which embedded the owner. */
26416
+ mediaId: number().int(),
26246
26417
  kind: string(),
26247
26418
  url: string(),
26248
26419
  sizeBytes: number(),
@@ -26259,7 +26430,7 @@ method(object({
26259
26430
  * covers inline, ~10 KB of base64 per row, on a query this UI mounts
26260
26431
  * four times and the viewer holds at `staleTime: 30_000`.
26261
26432
  *
26262
- * Nothing loses its avatar: `coverMediaKey` is already on every row and
26433
+ * Nothing loses its avatar: `coverMediaId` is already on every row and
26263
26434
  * the `event-media` plane serves that key `immutable` with an ETag.
26264
26435
  *
26265
26436
  * **This is an INPUT field, so it does not reach the addon until the
@@ -29622,8 +29793,8 @@ var VehicleSchema = object({
29622
29793
  id: string(),
29623
29794
  name: string(),
29624
29795
  sampleCount: number().int().nonnegative(),
29625
- coverMediaKey: string().optional(),
29626
- /** Inline base64 of the cover sample's plate crop, resolved from `coverMediaKey`. */
29796
+ coverMediaId: number().int().optional(),
29797
+ /** Inline base64 of the cover sample's plate crop, resolved from `coverMediaId`. */
29627
29798
  coverBase64: string().optional()
29628
29799
  });
29629
29800
  var VehicleSampleInfoSchema = object({
@@ -29656,7 +29827,7 @@ var PlateInfoSchema = object({
29656
29827
  /** keyFrame parity: the plate bbox (pixel space) on the native key frame. */
29657
29828
  plateBbox: BoundingBoxSchema.optional(),
29658
29829
  /** keyFrame parity: MediaStore key of the track's native-resolution key frame. */
29659
- keyFrameMediaKey: string().optional(),
29830
+ keyFrameMediaId: number().int().optional(),
29660
29831
  base64: string().optional(),
29661
29832
  /**
29662
29833
  * Same crop as a data-plane URL, always present when the plate has a stored
@@ -29677,11 +29848,14 @@ var PlateInfoSchema = object({
29677
29848
  * `data:image/jpeg;base64,…` from a row whose `key` sat right beside it, in a
29678
29849
  * dialog already rendering its key FRAME from the `event-media` plane.
29679
29850
  *
29680
- * `url` is `/addon/<addonId>/event-media/<encoded key>`. The plane resolves a
29681
- * media key directly, so this needed no new plane and no new access decision.
29851
+ * `url` is `/addon/<addonId>/event-media/m/<mediaId>` (D482). The plane
29852
+ * resolves a media row by its own id, so this needed no new plane and no new
29853
+ * access decision.
29682
29854
  */
29683
29855
  var MediaFileLiteSchema = object({
29684
- key: string(),
29856
+ /** The media row's own id — the same address `MediaFileRef.mediaId` carries
29857
+ * (D482). It was the row's composite key, which embedded the owner. */
29858
+ mediaId: number().int(),
29685
29859
  kind: string(),
29686
29860
  url: string(),
29687
29861
  sizeBytes: number(),
@@ -29740,7 +29914,7 @@ method(object({
29740
29914
  }), method(object({
29741
29915
  /** Inline {@link VehicleSchema.coverBase64} on every row. Default
29742
29916
  * `false` — the vehicle twin of `faceGallery.listIdentities`'s
29743
- * option; `coverMediaKey` + the `event-media` plane carry the picture.
29917
+ * option; `coverMediaId` + the `event-media` plane carry the picture.
29744
29918
  * INPUT field: stripped by the hub router until the train ships, which
29745
29919
  * resolves to `false` and is exactly the intended default. */
29746
29920
  includeCrops: boolean().optional() }).optional(), array(VehicleSchema).readonly()), method(object({ name: string().min(1) }), VehicleSchema, {
@@ -31309,7 +31483,14 @@ var SceneReferenceSchema = object({
31309
31483
  modelId: string(),
31310
31484
  condition: SceneConditionSchema,
31311
31485
  capturedAt: number(),
31312
- thumbnailMediaId: string().optional(),
31486
+ /**
31487
+ * The reference thumbnail's media ROW id (D482).
31488
+ *
31489
+ * The name already said `mediaId` while the value was the row's composite
31490
+ * key — a leftover that read as done and was not. It is the row's own id
31491
+ * now, addressed at `/addon/<addonId>/event-media/m/<id>`.
31492
+ */
31493
+ thumbnailMediaId: number().int().optional(),
31313
31494
  /** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
31314
31495
  * anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
31315
31496
  * normalized rect frame a different piece of world, and the scene would
@@ -32400,7 +32581,29 @@ var LoggingSettingsPatchSchema = object({
32400
32581
  * disarmed the channels it did not mention would make the Levels page and
32401
32582
  * the Diagnostics page fight over the same value.
32402
32583
  */
32403
- channels: array(LogChannelWindowPatchSchema).readonly().optional()
32584
+ channels: array(LogChannelWindowPatchSchema).readonly().optional(),
32585
+ /**
32586
+ * How many days the analytics OPS LOG is kept — the audit trail of what
32587
+ * retention actually deleted.
32588
+ *
32589
+ * It lives HERE, on the logging document, and not on the analytics addon's
32590
+ * settings form, on the operator's instruction: every other log-ish window in
32591
+ * this system is configured through this one document, and a retention audit
32592
+ * configured somewhere else is a second place to look when the question is
32593
+ * "what happened to my data".
32594
+ *
32595
+ * That placement has a cost worth stating: this document ships in the
32596
+ * framework closure, so this knob needs a published `@camstack/server` while
32597
+ * the four windows beside it (D485) reach a node on `camstack deploy`.
32598
+ *
32599
+ * `retention-model.ts` argued this one must NOT follow a device window,
32600
+ * because the audit trail is the history of the SWEEP and not of the camera.
32601
+ * That argument stands and is untouched — what changes is that 30 days stops
32602
+ * being a constant nobody can reach. `0` keeps it forever. The floor is 1 day
32603
+ * rather than 0-as-delete: an audit log truncated to nothing is precisely the
32604
+ * state in which the next 9.5 GiB leak cannot be explained.
32605
+ */
32606
+ opsLogRetentionDays: number().int().min(0).max(3650).optional()
32404
32607
  });
32405
32608
  /**
32406
32609
  * Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
@@ -32473,6 +32676,14 @@ var LoggingSettingsStateSchema = object({
32473
32676
  channels: array(LogChannelDescriptorSchema).readonly(),
32474
32677
  /** The channels ARMED right now, each with its deadline. */
32475
32678
  activeChannels: array(LogChannelWindowStateSchema).readonly(),
32679
+ /**
32680
+ * The ops-log window in days, as it is in force. `0` = kept forever.
32681
+ *
32682
+ * Reported rather than left to the caller's memory of what it wrote: this is
32683
+ * the value the analytics sweep will actually use, and an operator asking how
32684
+ * long their audit trail lives should not have to infer it from a default.
32685
+ */
32686
+ opsLogRetentionDays: number().int().min(0),
32476
32687
  persisted: boolean()
32477
32688
  });
32478
32689
  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(), {
@@ -33293,7 +33504,7 @@ var StationaryObjectSchema = object({
33293
33504
  /** Enrichment label carried from the source track (identity / plate). */
33294
33505
  label: string().optional(),
33295
33506
  /** Native-resolution key-frame media key for the parked object's best image. */
33296
- keyFrameMediaKey: string().optional()
33507
+ keyFrameMediaId: number().int().optional()
33297
33508
  });
33298
33509
  var CameraOccupancySnapshotSchema = object({
33299
33510
  /** Frame timestamp of the inference result that produced this snapshot. */
@@ -35613,6 +35824,12 @@ Object.freeze({
35613
35824
  addonId: null,
35614
35825
  access: "create"
35615
35826
  },
35827
+ "dataStoreProvider.upsert": {
35828
+ capName: "data-store-provider",
35829
+ capScope: "system",
35830
+ addonId: null,
35831
+ access: "create"
35832
+ },
35616
35833
  "dayNight.getOptions": {
35617
35834
  capName: "day-night",
35618
35835
  capScope: "device",
@@ -38049,6 +38266,12 @@ Object.freeze({
38049
38266
  addonId: null,
38050
38267
  access: "view"
38051
38268
  },
38269
+ "pipelineAnalytics.listRecentSummaries": {
38270
+ capName: "pipeline-analytics",
38271
+ capScope: "device",
38272
+ addonId: null,
38273
+ access: "view"
38274
+ },
38052
38275
  "pipelineAnalytics.listRecentTracks": {
38053
38276
  capName: "pipeline-analytics",
38054
38277
  capScope: "device",
@@ -39477,6 +39700,12 @@ Object.freeze({
39477
39700
  addonId: null,
39478
39701
  access: "create"
39479
39702
  },
39703
+ "settingsStore.upsert": {
39704
+ capName: "settings-store",
39705
+ capScope: "system",
39706
+ addonId: null,
39707
+ access: "create"
39708
+ },
39480
39709
  "smtpProvider.getStatus": {
39481
39710
  capName: "smtp-provider",
39482
39711
  capScope: "system",
@@ -41870,6 +42099,11 @@ Object.freeze({
41870
42099
  form: "single",
41871
42100
  optional: true
41872
42101
  }],
42102
+ "pipelineAnalytics.listRecentSummaries": [{
42103
+ name: "deviceIds",
42104
+ form: "array",
42105
+ optional: false
42106
+ }],
41873
42107
  "pipelineAnalytics.listRecentTracks": [{
41874
42108
  name: "deviceIds",
41875
42109
  form: "array",
package/dist/addon.mjs CHANGED
@@ -8,7 +8,7 @@ import { createServer } from "node:http";
8
8
  //#region \0rolldown/runtime.js
9
9
  var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
10
10
  //#endregion
11
- //#region ../types/dist/event-category-DAXzJeTX.mjs
11
+ //#region ../types/dist/event-category-ZyX6jcse.mjs
12
12
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
13
13
  EventCategory["SystemBoot"] = "system.boot";
14
14
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -569,7 +569,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
569
569
  * a package zone — a newly-appeared stationary object of a package class
570
570
  * that cleared the class / zone / dwell / size gates. Payload:
571
571
  * `PipelineAnalyticsPackageDeliveredPayload` carrying `{ deviceId,
572
- * entryId, className, zoneIds, keyFrameMediaKey?, bbox, timestamp }`.
572
+ * entryId, className, zoneIds, keyFrameMediaId?, bbox, timestamp }`.
573
573
  * Telemetry (D8): the durable record is the `package-events` store row;
574
574
  * this bus topic drives notifier rules + live UI. See
575
575
  * docs/superpowers/specs/2026-07-17-package-zones-design.md §5.1.
@@ -5355,7 +5355,7 @@ var ZodIssueCode = {
5355
5355
  var ZodFirstPartyTypeKind;
5356
5356
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5357
5357
  //#endregion
5358
- //#region ../types/dist/sleep-BnujYGPe.mjs
5358
+ //#region ../types/dist/sleep-DBKu2-U5.mjs
5359
5359
  /**
5360
5360
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5361
5361
  * window to float samples (D455).
@@ -7381,13 +7381,30 @@ new Set([
7381
7381
  "scene",
7382
7382
  "motion",
7383
7383
  "object",
7384
- "audio"
7384
+ "audio",
7385
+ "mosaic"
7385
7386
  ]);
7386
- new Set([
7387
+ /**
7388
+ * The owner types that are event tables, in the order the event-media resolver
7389
+ * should consider them. Exported so a consumer asking "is this key an event?"
7390
+ * does not re-spell the list and drift from it.
7391
+ */
7392
+ var EVENT_OWNER_TYPES = [
7387
7393
  "motion",
7388
7394
  "object",
7389
7395
  "audio"
7390
- ]);
7396
+ ];
7397
+ /**
7398
+ * The same list as a Zod enum, for the cap inputs that must NAME the table
7399
+ * (D482: `getEventMedia` / `listEventMedia` take an owner, and an owner is
7400
+ * `(table, id)`).
7401
+ *
7402
+ * Built FROM {@link EVENT_OWNER_TYPES} rather than re-spelled: a fourth event
7403
+ * table would otherwise be accepted by the codec and refused at the door, with
7404
+ * nothing failing until a caller asked.
7405
+ */
7406
+ var EventOwnerTypeSchema = _enum(EVENT_OWNER_TYPES);
7407
+ new Set(EVENT_OWNER_TYPES);
7391
7408
  var EncodeProfileSchema = object({
7392
7409
  video: object({
7393
7410
  codec: _enum([
@@ -7426,7 +7443,23 @@ var EncodeProfileSchema = object({
7426
7443
  "zerolatency",
7427
7444
  "film",
7428
7445
  "animation"
7429
- ]).optional()
7446
+ ]).optional(),
7447
+ /**
7448
+ * ONE slice per access unit.
7449
+ *
7450
+ * `-tune zerolatency` turns on x264's sliced threads, and a frame then leaves
7451
+ * the encoder as five NAL slices that share one RTP timestamp and carry one
7452
+ * marker bit. A libwebrtc depacketiser sees five frame-starts and one
7453
+ * frame-end per frame: the first pictures render and the video then freezes
7454
+ * for good while the audio, on its own plane, plays on. Measured on this hub
7455
+ * 2026-09-13 against the Echo, and reduced to one slice by this flag alone.
7456
+ *
7457
+ * A NAMED field and not a raw flag, because {@link EgressEncodeSchema} omits
7458
+ * `outputArgs` on purpose: an opaque array is part of the sharing key, so two
7459
+ * consumers meaning the same thing spelled differently would stop sharing one
7460
+ * child. Absent means "whatever the encoder does" — today's behaviour.
7461
+ */
7462
+ singleSlicePerFrame: boolean().optional()
7430
7463
  }),
7431
7464
  audio: union([literal("passthrough"), object({
7432
7465
  codec: _enum([
@@ -7476,7 +7509,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
7476
7509
  audio: "passthrough"
7477
7510
  };
7478
7511
  ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7479
- ({ ...BASE_LIVE_EGRESS_PROFILE });
7512
+ ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7480
7513
  /**
7481
7514
  * Deep wiring healthcheck — snapshot of active reachability probes across
7482
7515
  * every declared capability + widget of every installed plugin, on every
@@ -12594,6 +12627,16 @@ method(object({
12594
12627
  filter: QueryFilterSchema.optional(),
12595
12628
  columns: array(string()).readonly().optional()
12596
12629
  }), array(SettingsRecordSchema).readonly()), method(object({
12630
+ namespace: string().optional(),
12631
+ collection: string(),
12632
+ /** Declared columns identifying the slot; must be covered by a UNIQUE
12633
+ * index on the collection. Never empty. */
12634
+ conflict: array(string()).readonly(),
12635
+ record: BulkRecordSchema
12636
+ }), object({
12637
+ /** The id the row HAS: assigned by SQLite on an insert, or the existing
12638
+ * row's own id on an update. */
12639
+ id: union([string(), number()]) }), { kind: "mutation" }), method(object({
12597
12640
  namespace: string().optional(),
12598
12641
  collection: string(),
12599
12642
  record: object({
@@ -12728,6 +12771,14 @@ method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
12728
12771
  id: union([string(), number()]) }), {
12729
12772
  kind: "mutation",
12730
12773
  auth: "admin"
12774
+ }), method(object({
12775
+ namespace: string().optional(),
12776
+ collection: string(),
12777
+ conflict: array(string()).readonly(),
12778
+ record: BulkRecordSchema
12779
+ }), object({ id: union([string(), number()]) }), {
12780
+ kind: "mutation",
12781
+ auth: "admin"
12731
12782
  }), method(object({
12732
12783
  namespace: string().optional(),
12733
12784
  collection: string(),
@@ -19129,8 +19180,8 @@ var TrackPositionSchema = object({
19129
19180
  var TrackSnapshotSchema = object({
19130
19181
  timestamp: number(),
19131
19182
  position: TrackPositionSchema,
19132
- /** MediaStore key; resolve via `getTrackMedia({ trackId })`. */
19133
- mediaKey: string()
19183
+ /** The snapshot's media row id (D482); resolve via `listTrackMedia({ trackId })`. */
19184
+ mediaId: number().int()
19134
19185
  });
19135
19186
  /**
19136
19187
  * Normalized 0..1 trajectory envelope (min/max over every position bbox,
@@ -19734,14 +19785,14 @@ var ObjectEventSchema = object({
19734
19785
  * pixel-space `bbox` onto a displayed image. Omitted in slim projection. */
19735
19786
  frameWidth: number().optional(),
19736
19787
  frameHeight: number().optional(),
19737
- /** MediaStore key for the crop attached to this event (if any). */
19738
- mediaKey: string().optional(),
19739
- /** Design B: MediaStore key of the track's native-resolution key frame (the
19788
+ /** Media row id of the crop attached to this event (if any) — D482. */
19789
+ mediaId: number().int().optional(),
19790
+ /** Design B: media row id of the track's native-resolution key frame (the
19740
19791
  * best-detection full frame). Resolve via the event-media data-plane
19741
- * (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
19792
+ * (`/addon/<addonId>/event-media/m/<keyFrameMediaId>`) for a detail view that
19742
19793
  * draws `bbox` over the native frame. Absent on legacy rows / non-decoded
19743
- * sources — consumers fall back to `mediaKey` (the tight crop). */
19744
- keyFrameMediaKey: string().optional(),
19794
+ * sources — consumers fall back to `mediaId` (the tight crop). */
19795
+ keyFrameMediaId: number().int().optional(),
19745
19796
  /** Populated by B5 (recording playback URL for this event). */
19746
19797
  mediaUrl: string().optional(),
19747
19798
  /** The parent track's key-event importance [0,1], propagated to every object
@@ -19791,7 +19842,7 @@ var MediaFileKindEnum = _enum([
19791
19842
  * hub-main's heap on the way past — for an `<img>` that would have cached it.
19792
19843
  *
19793
19844
  * `url` points at the `event-media` data plane
19794
- * (`/addon/<addonId>/event-media/<storedKey>`), which serves the same blob
19845
+ * (`/addon/<addonId>/event-media/m/<mediaId>` — D482), which serves the same blob
19795
19846
  * with an ETag and `Cache-Control: immutable`, honours conditional GETs, can
19796
19847
  * render a `?variant=thumb`, and streams. The hub gate in front of it requires
19797
19848
  * a bearer or the session cookie (`access: 'authenticated'`), so the bytes are
@@ -19799,10 +19850,13 @@ var MediaFileKindEnum = _enum([
19799
19850
  * `data-plane-access.ts` for the rule and the one gap it does not close
19800
19851
  * (per-device scoping).
19801
19852
  *
19802
- * The URL is built from the row's **stored** key, which is not always its
19803
- * published `kind`: a track's face/plate crop is stored as `crop` under
19853
+ * The URL is built from the row's own id, which since D482 says nothing about
19854
+ * the row's owner or kind and that is the point. The published `kind` is not
19855
+ * the stored one (a track's face/plate crop is stored as `crop` under
19804
19856
  * `('face'|'plate', '<prefix>-<trackId>')` and published as
19805
- * `faceCrop`/`plateCrop`. `MediaStore.getByKey` knows only the stored key.
19857
+ * `faceCrop`/`plateCrop`), and under the old composite key the URL had to be
19858
+ * taken from `row.key` verbatim or it 404'd exactly those two rows. An id
19859
+ * cannot be mis-reconstructed, because there is nothing in it to reconstruct.
19806
19860
  *
19807
19861
  * ## `base64` is TRANSITIONAL and is going away
19808
19862
  *
@@ -19815,7 +19869,19 @@ var MediaFileKindEnum = _enum([
19815
19869
  * `analytics-query-facade.ts`; nothing else reads it.
19816
19870
  */
19817
19871
  var MediaFileSchema = object({
19818
- key: string(),
19872
+ /**
19873
+ * The media row's OWN id — the rowid SQLite assigned it (D482).
19874
+ *
19875
+ * It used to be the row's composite key, `<ownerType>:<ownerId>:<fileKind>
19876
+ * [:<timestampMs>]`, which embedded a FOREIGN id. D474 made event ids
19877
+ * per-table rowid aliases, so `object:101314` and `motion:101314` are two
19878
+ * different rows that spell the same number, and a track whose
19879
+ * `bestEventId` was an object event was served a motion event's snapshot —
19880
+ * a night-time thumbnail on an afternoon track, with no error anywhere. A
19881
+ * surrogate id cannot name the wrong row's owner, because it names no owner
19882
+ * at all.
19883
+ */
19884
+ mediaId: number().int(),
19819
19885
  kind: MediaFileKindEnum,
19820
19886
  sizeBytes: number(),
19821
19887
  timestamp: number()
@@ -19923,7 +19989,7 @@ var RetrainTrackSchema = object({
19923
19989
  });
19924
19990
  /** A frame the picker may offer — an index row, no blob was read to produce it. */
19925
19991
  var RetrainFrameCandidateSchema = object({
19926
- mediaKey: string(),
19992
+ mediaId: number().int(),
19927
19993
  kind: MediaFileKindEnum,
19928
19994
  timestamp: number(),
19929
19995
  sizeBytes: number().int(),
@@ -19937,7 +20003,7 @@ var RetrainFrameSchema = object({
19937
20003
  deviceId: number(),
19938
20004
  trackId: string(),
19939
20005
  /** Provenance only. It may already point at nothing — that is expected. */
19940
- sourceMediaKey: string(),
20006
+ sourceMediaId: number().int(),
19941
20007
  sourceKind: MediaFileKindEnum,
19942
20008
  sizeBytes: number().int(),
19943
20009
  width: number().int(),
@@ -19953,7 +20019,7 @@ var RetrainCopyRefusalSchema = _enum([
19953
20019
  var RetrainFrameSelectionSchema = object({
19954
20020
  copied: array(RetrainFrameSchema).readonly(),
19955
20021
  refused: array(object({
19956
- sourceMediaKey: string(),
20022
+ sourceMediaId: number().int(),
19957
20023
  reason: RetrainCopyRefusalSchema
19958
20024
  })).readonly()
19959
20025
  });
@@ -19961,7 +20027,7 @@ var RetrainFrameListSchema = object({
19961
20027
  candidates: array(RetrainFrameCandidateSchema).readonly(),
19962
20028
  copies: array(RetrainFrameSchema).readonly(),
19963
20029
  /** What the page pre-selects — the native key frame when one survives. */
19964
- autoPickMediaKey: string().optional()
20030
+ autoPickMediaId: number().int().optional()
19965
20031
  });
19966
20032
  /** What the operator asked the assist to look for. */
19967
20033
  var RetrainAssistSubjectSchema = discriminatedUnion("kind", [object({
@@ -20056,9 +20122,11 @@ var RecentTracksQueryInput = object({
20056
20122
  });
20057
20123
  /**
20058
20124
  * A Summary (D359): the per-camera session envelope that references tracks.
20059
- * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
20060
- * served by the event-media plane by key), null until the first frame with a
20061
- * member visible has been materialised.
20125
+ * `groupShotMediaId` is the media ROW id of its group shot (`ownerKind:
20126
+ * 'summary'`, served by the event-media plane at `/m/<id>`), null until the
20127
+ * first frame with a member visible has been materialised (D482 — it was the
20128
+ * row's composite key, which embedded the owner and could name another table's
20129
+ * row once event ids became per-table rowids).
20062
20130
  */
20063
20131
  var SummarySchema = object({
20064
20132
  id: string(),
@@ -20067,19 +20135,115 @@ var SummarySchema = object({
20067
20135
  lastActiveAt: number(),
20068
20136
  sealedAt: number().nullable(),
20069
20137
  memberCount: number().int().nonnegative(),
20070
- groupShotKey: string().nullable()
20138
+ groupShotMediaId: number().int().nullable()
20071
20139
  });
20072
20140
  var SummariesQueryInput = object({
20073
20141
  deviceIds: array(number()).min(1),
20074
20142
  since: number().optional(),
20075
20143
  until: number().optional(),
20076
- limit: number().int().min(1).max(200).default(50)
20144
+ limit: number().int().min(1).max(200).default(50),
20145
+ /** The same member-wise filter {@link listRecentSummaries} takes — one
20146
+ * meaning of "dog" on every summary surface. */
20147
+ classes: array(string().min(1).max(60)).max(40).optional()
20077
20148
  });
20078
- var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
20079
20149
  var SummaryDetailSchema = object({
20080
20150
  summary: SummarySchema,
20081
- /** Member track ids, in absorption order. */
20082
- trackIds: array(string()).readonly()
20151
+ /** Members in absorption order, oldest join first. */
20152
+ members: array(object({
20153
+ trackId: string(),
20154
+ /**
20155
+ * The track's class at the time it JOINED, or `null` when it was unresolved
20156
+ * and the track no longer exists to fill it.
20157
+ *
20158
+ * The join, not the latest opinion: class voting can re-decide a track's
20159
+ * class afterwards, and a group's composition is the history of who came
20160
+ * together. A consumer counts these to badge a thumbnail — "two people and a
20161
+ * dog" — rather than being handed a second, denormalised tally that would
20162
+ * drift from the members it claims to describe.
20163
+ */
20164
+ className: string().nullable(),
20165
+ /** `primary` is the one member that carries the group's identity. */
20166
+ role: _enum([
20167
+ "primary",
20168
+ "sibling",
20169
+ "child"
20170
+ ]).nullable(),
20171
+ joinedAt: number(),
20172
+ /** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
20173
+ * at read time. Absent when nothing resolved, never an empty string. */
20174
+ label: string().optional(),
20175
+ /** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
20176
+ * recognised nobody, and absent for a member whose track has been pruned —
20177
+ * a thumbnail that names the wrong person is worse than one naming nobody. */
20178
+ subLabel: string().optional()
20179
+ })).readonly()
20180
+ });
20181
+ /**
20182
+ * What a LIST of groups carries: the envelope plus what it is MADE OF.
20183
+ *
20184
+ * Coarse on purpose — the operator's rule is "only the rough data on the list,
20185
+ * we extend when we notice we need more". Enough to draw the card ("two people
20186
+ * and a dog") and no more. The MEMBERS, their names and the per-member links
20187
+ * are on {@link getSummary}: shipping every member of every group so a client
20188
+ * can count them turns a page of two hundred groups into a thousand records to
20189
+ * draw two hundred badges.
20190
+ */
20191
+ var SummaryListItemSchema = object({
20192
+ summary: SummarySchema,
20193
+ /** Class counts, most numerous first; `className: null` is a member whose
20194
+ * class never resolved, counted so the counts add up to `memberCount`. */
20195
+ classes: array(object({
20196
+ className: string().nullable(),
20197
+ count: number().int().positive()
20198
+ })).readonly()
20199
+ });
20200
+ var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
20201
+ /**
20202
+ * The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
20203
+ *
20204
+ * The reel on the cameras page and the Events gallery both ride a cursor, so a
20205
+ * summaries feed that could only answer "the last N for these cameras"
20206
+ * (`listSummaries`) would make groups available in the timeline and nowhere
20207
+ * else. Two feeds with different ordering contracts would be two ideas of what
20208
+ * "newest" means, on one screen.
20209
+ */
20210
+ var RecentSummariesQueryInput = object({
20211
+ /** Devices to merge. An empty array yields an empty page. */
20212
+ deviceIds: array(number()),
20213
+ /** Window lower bound on `lastActiveAt` (inclusive). */
20214
+ since: number().optional(),
20215
+ /** Window upper bound on `lastActiveAt` (inclusive). */
20216
+ until: number().optional(),
20217
+ limit: number().int().min(1).max(500).default(100),
20218
+ /** Opaque continuation cursor from a previous page's `nextCursor`. */
20219
+ cursor: string().optional(),
20220
+ /**
20221
+ * Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
20222
+ * deliberately the same name: the events filter tree emits one list of ticked
20223
+ * taxonomy nodes, and a summaries feed that called it something else would
20224
+ * make the operator's one filter component produce two shapes.
20225
+ *
20226
+ * A question about the MEMBERS: a group matches when ANY of them does. "Show
20227
+ * me the arrivals with a dog" has to return the group of four people who had
20228
+ * one with them; a filter on the group's own fields could only ever answer
20229
+ * about its primary.
20230
+ *
20231
+ * Matched against all THREE tiers of a member — the class (`animal`), the
20232
+ * sub-class (`dog`) and the instance (a name, a plate) — because which tier a
20233
+ * ticked node lives on is the taxonomy's business, not the caller's. `dog` is
20234
+ * an event kind in the tree and a tier-1 label on an `animal` track; a filter
20235
+ * that read only the class would answer "animal" and never "dog".
20236
+ *
20237
+ * ABSENT or EMPTY means no filter — absent is not a selection of none.
20238
+ */
20239
+ classes: array(string().min(1).max(60)).max(40).optional()
20240
+ });
20241
+ var RecentSummariesPageSchema = object({
20242
+ /** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
20243
+ * {@link listSummaries} — one list shape, so a card renders the same
20244
+ * whichever feed drew it. */
20245
+ summaries: array(SummaryListItemSchema).readonly(),
20246
+ nextCursor: string().nullable()
20083
20247
  });
20084
20248
  var RecentTracksPageSchema = object({
20085
20249
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
@@ -20493,7 +20657,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20493
20657
  classes: array(string()).optional(),
20494
20658
  /** See {@link ExcludeSourcesDoc}. */
20495
20659
  excludeSources: array(TrackSourceSchema).optional()
20496
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20660
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(RecentSummariesQueryInput, RecentSummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20497
20661
  kind: "mutation",
20498
20662
  auth: "admin"
20499
20663
  }), 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({
@@ -20621,7 +20785,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20621
20785
  }), method(object({
20622
20786
  deviceId: number(),
20623
20787
  trackId: string(),
20624
- mediaKeys: array(string()).min(1)
20788
+ mediaIds: array(number().int()).min(1)
20625
20789
  }), RetrainFrameSelectionSchema, {
20626
20790
  kind: "mutation",
20627
20791
  auth: "admin"
@@ -20689,7 +20853,10 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20689
20853
  kind: "query",
20690
20854
  auth: "admin"
20691
20855
  }), method(object({
20692
- eventId: string(),
20856
+ /** Which of the three event tables owns the row. */
20857
+ ownerType: EventOwnerTypeSchema,
20858
+ /** The event's rowid in that table (D474: an event id is a number). */
20859
+ eventId: number().int(),
20693
20860
  kind: MediaFileKindEnum.optional(),
20694
20861
  deviceId: number()
20695
20862
  }), array(MediaFileSchema).readonly()), method(object({
@@ -20700,7 +20867,8 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20700
20867
  trackId: string(),
20701
20868
  deviceId: number()
20702
20869
  }), array(MediaFileInfoSchema).readonly()), method(object({
20703
- eventId: string(),
20870
+ ownerType: EventOwnerTypeSchema,
20871
+ eventId: number().int(),
20704
20872
  deviceId: number()
20705
20873
  }), array(MediaFileInfoSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), method(object({}), WipeObjectEmbeddingsResultSchema, {
20706
20874
  kind: "mutation",
@@ -26041,8 +26209,8 @@ var IdentitySchema = object({
26041
26209
  id: string(),
26042
26210
  name: string(),
26043
26211
  sampleCount: number().int().nonnegative(),
26044
- coverMediaKey: string().optional(),
26045
- /** Inline base64 of the cover sample's crop, resolved from `coverMediaKey`.
26212
+ coverMediaId: number().int().optional(),
26213
+ /** Inline base64 of the cover sample's crop, resolved from `coverMediaId`.
26046
26214
  * Lets the UI render the person's face avatar instead of a placeholder icon. */
26047
26215
  coverBase64: string().optional()
26048
26216
  });
@@ -26068,8 +26236,8 @@ var IdentitySampleAuditRowSchema = object({
26068
26236
  enrolledAt: number().int(),
26069
26237
  deviceId: number().int().optional(),
26070
26238
  source: _enum(["detected", "photo"]),
26071
- /** The enrolled crop's media key, so the panel can show the evidence. */
26072
- mediaKey: string().optional(),
26239
+ /** The enrolled crop's media row id, so the panel can show the evidence. */
26240
+ mediaId: number().int().optional(),
26073
26241
  /**
26074
26242
  * False = the sample is stamped with a DIFFERENT face model, and a cosine
26075
26243
  * across feature spaces is a well-formed float with no meaning. Every number
@@ -26138,15 +26306,15 @@ var FaceInfoSchema = object({
26138
26306
  */
26139
26307
  cropUrl: string().optional(),
26140
26308
  /** Design B: the face bbox (pixel space) on the key frame — lets a detail
26141
- * view draw the box over the native `keyFrameMediaKey` frame. Absent on
26309
+ * view draw the box over the native `keyFrameMediaId` frame. Absent on
26142
26310
  * legacy rows written before design B. */
26143
26311
  faceBbox: BoundingBoxSchema.optional(),
26144
26312
  /** Design B: MediaStore key of the track's native-resolution key frame.
26145
26313
  * Fetch the native JPEG via the event-media data-plane
26146
- * (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
26314
+ * (`/addon/<addonId>/event-media/m/<keyFrameMediaId>`). Absent when the
26147
26315
  * track produced no key frame (e.g. native/onboard source) — the UI falls
26148
26316
  * back to the inline `base64` face crop. */
26149
- keyFrameMediaKey: string().optional(),
26317
+ keyFrameMediaId: number().int().optional(),
26150
26318
  /** Winning identity-match cosine (0..1) for this face's track, when an
26151
26319
  * identity was auto-confirmed. Lets the UI surface WHY a face was assigned
26152
26320
  * (confidence badge / low-confidence audit). Absent on legacy rows and on
@@ -26215,11 +26383,14 @@ var FaceClusterSchema = object({
26215
26383
  * `data:image/jpeg;base64,…` from a row whose `key` sat right beside it, in a
26216
26384
  * dialog already rendering its key FRAME from the `event-media` plane.
26217
26385
  *
26218
- * `url` is `/addon/<addonId>/event-media/<encoded key>`. The plane resolves a
26219
- * media key directly, so this needed no new plane and no new access decision.
26386
+ * `url` is `/addon/<addonId>/event-media/m/<mediaId>` (D482). The plane
26387
+ * resolves a media row by its own id, so this needed no new plane and no new
26388
+ * access decision.
26220
26389
  */
26221
26390
  var MediaFileLiteSchema$1 = object({
26222
- key: string(),
26391
+ /** The media row's own id — the same address `MediaFileRef.mediaId` carries
26392
+ * (D482). It was the row's composite key, which embedded the owner. */
26393
+ mediaId: number().int(),
26223
26394
  kind: string(),
26224
26395
  url: string(),
26225
26396
  sizeBytes: number(),
@@ -26236,7 +26407,7 @@ method(object({
26236
26407
  * covers inline, ~10 KB of base64 per row, on a query this UI mounts
26237
26408
  * four times and the viewer holds at `staleTime: 30_000`.
26238
26409
  *
26239
- * Nothing loses its avatar: `coverMediaKey` is already on every row and
26410
+ * Nothing loses its avatar: `coverMediaId` is already on every row and
26240
26411
  * the `event-media` plane serves that key `immutable` with an ETag.
26241
26412
  *
26242
26413
  * **This is an INPUT field, so it does not reach the addon until the
@@ -29599,8 +29770,8 @@ var VehicleSchema = object({
29599
29770
  id: string(),
29600
29771
  name: string(),
29601
29772
  sampleCount: number().int().nonnegative(),
29602
- coverMediaKey: string().optional(),
29603
- /** Inline base64 of the cover sample's plate crop, resolved from `coverMediaKey`. */
29773
+ coverMediaId: number().int().optional(),
29774
+ /** Inline base64 of the cover sample's plate crop, resolved from `coverMediaId`. */
29604
29775
  coverBase64: string().optional()
29605
29776
  });
29606
29777
  var VehicleSampleInfoSchema = object({
@@ -29633,7 +29804,7 @@ var PlateInfoSchema = object({
29633
29804
  /** keyFrame parity: the plate bbox (pixel space) on the native key frame. */
29634
29805
  plateBbox: BoundingBoxSchema.optional(),
29635
29806
  /** keyFrame parity: MediaStore key of the track's native-resolution key frame. */
29636
- keyFrameMediaKey: string().optional(),
29807
+ keyFrameMediaId: number().int().optional(),
29637
29808
  base64: string().optional(),
29638
29809
  /**
29639
29810
  * Same crop as a data-plane URL, always present when the plate has a stored
@@ -29654,11 +29825,14 @@ var PlateInfoSchema = object({
29654
29825
  * `data:image/jpeg;base64,…` from a row whose `key` sat right beside it, in a
29655
29826
  * dialog already rendering its key FRAME from the `event-media` plane.
29656
29827
  *
29657
- * `url` is `/addon/<addonId>/event-media/<encoded key>`. The plane resolves a
29658
- * media key directly, so this needed no new plane and no new access decision.
29828
+ * `url` is `/addon/<addonId>/event-media/m/<mediaId>` (D482). The plane
29829
+ * resolves a media row by its own id, so this needed no new plane and no new
29830
+ * access decision.
29659
29831
  */
29660
29832
  var MediaFileLiteSchema = object({
29661
- key: string(),
29833
+ /** The media row's own id — the same address `MediaFileRef.mediaId` carries
29834
+ * (D482). It was the row's composite key, which embedded the owner. */
29835
+ mediaId: number().int(),
29662
29836
  kind: string(),
29663
29837
  url: string(),
29664
29838
  sizeBytes: number(),
@@ -29717,7 +29891,7 @@ method(object({
29717
29891
  }), method(object({
29718
29892
  /** Inline {@link VehicleSchema.coverBase64} on every row. Default
29719
29893
  * `false` — the vehicle twin of `faceGallery.listIdentities`'s
29720
- * option; `coverMediaKey` + the `event-media` plane carry the picture.
29894
+ * option; `coverMediaId` + the `event-media` plane carry the picture.
29721
29895
  * INPUT field: stripped by the hub router until the train ships, which
29722
29896
  * resolves to `false` and is exactly the intended default. */
29723
29897
  includeCrops: boolean().optional() }).optional(), array(VehicleSchema).readonly()), method(object({ name: string().min(1) }), VehicleSchema, {
@@ -31286,7 +31460,14 @@ var SceneReferenceSchema = object({
31286
31460
  modelId: string(),
31287
31461
  condition: SceneConditionSchema,
31288
31462
  capturedAt: number(),
31289
- thumbnailMediaId: string().optional(),
31463
+ /**
31464
+ * The reference thumbnail's media ROW id (D482).
31465
+ *
31466
+ * The name already said `mediaId` while the value was the row's composite
31467
+ * key — a leftover that read as done and was not. It is the row's own id
31468
+ * now, addressed at `/addon/<addonId>/event-media/m/<id>`.
31469
+ */
31470
+ thumbnailMediaId: number().int().optional(),
31290
31471
  /** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
31291
31472
  * anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
31292
31473
  * normalized rect frame a different piece of world, and the scene would
@@ -32377,7 +32558,29 @@ var LoggingSettingsPatchSchema = object({
32377
32558
  * disarmed the channels it did not mention would make the Levels page and
32378
32559
  * the Diagnostics page fight over the same value.
32379
32560
  */
32380
- channels: array(LogChannelWindowPatchSchema).readonly().optional()
32561
+ channels: array(LogChannelWindowPatchSchema).readonly().optional(),
32562
+ /**
32563
+ * How many days the analytics OPS LOG is kept — the audit trail of what
32564
+ * retention actually deleted.
32565
+ *
32566
+ * It lives HERE, on the logging document, and not on the analytics addon's
32567
+ * settings form, on the operator's instruction: every other log-ish window in
32568
+ * this system is configured through this one document, and a retention audit
32569
+ * configured somewhere else is a second place to look when the question is
32570
+ * "what happened to my data".
32571
+ *
32572
+ * That placement has a cost worth stating: this document ships in the
32573
+ * framework closure, so this knob needs a published `@camstack/server` while
32574
+ * the four windows beside it (D485) reach a node on `camstack deploy`.
32575
+ *
32576
+ * `retention-model.ts` argued this one must NOT follow a device window,
32577
+ * because the audit trail is the history of the SWEEP and not of the camera.
32578
+ * That argument stands and is untouched — what changes is that 30 days stops
32579
+ * being a constant nobody can reach. `0` keeps it forever. The floor is 1 day
32580
+ * rather than 0-as-delete: an audit log truncated to nothing is precisely the
32581
+ * state in which the next 9.5 GiB leak cannot be explained.
32582
+ */
32583
+ opsLogRetentionDays: number().int().min(0).max(3650).optional()
32381
32584
  });
32382
32585
  /**
32383
32586
  * Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
@@ -32450,6 +32653,14 @@ var LoggingSettingsStateSchema = object({
32450
32653
  channels: array(LogChannelDescriptorSchema).readonly(),
32451
32654
  /** The channels ARMED right now, each with its deadline. */
32452
32655
  activeChannels: array(LogChannelWindowStateSchema).readonly(),
32656
+ /**
32657
+ * The ops-log window in days, as it is in force. `0` = kept forever.
32658
+ *
32659
+ * Reported rather than left to the caller's memory of what it wrote: this is
32660
+ * the value the analytics sweep will actually use, and an operator asking how
32661
+ * long their audit trail lives should not have to infer it from a default.
32662
+ */
32663
+ opsLogRetentionDays: number().int().min(0),
32453
32664
  persisted: boolean()
32454
32665
  });
32455
32666
  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(), {
@@ -33270,7 +33481,7 @@ var StationaryObjectSchema = object({
33270
33481
  /** Enrichment label carried from the source track (identity / plate). */
33271
33482
  label: string().optional(),
33272
33483
  /** Native-resolution key-frame media key for the parked object's best image. */
33273
- keyFrameMediaKey: string().optional()
33484
+ keyFrameMediaId: number().int().optional()
33274
33485
  });
33275
33486
  var CameraOccupancySnapshotSchema = object({
33276
33487
  /** Frame timestamp of the inference result that produced this snapshot. */
@@ -35590,6 +35801,12 @@ Object.freeze({
35590
35801
  addonId: null,
35591
35802
  access: "create"
35592
35803
  },
35804
+ "dataStoreProvider.upsert": {
35805
+ capName: "data-store-provider",
35806
+ capScope: "system",
35807
+ addonId: null,
35808
+ access: "create"
35809
+ },
35593
35810
  "dayNight.getOptions": {
35594
35811
  capName: "day-night",
35595
35812
  capScope: "device",
@@ -38026,6 +38243,12 @@ Object.freeze({
38026
38243
  addonId: null,
38027
38244
  access: "view"
38028
38245
  },
38246
+ "pipelineAnalytics.listRecentSummaries": {
38247
+ capName: "pipeline-analytics",
38248
+ capScope: "device",
38249
+ addonId: null,
38250
+ access: "view"
38251
+ },
38029
38252
  "pipelineAnalytics.listRecentTracks": {
38030
38253
  capName: "pipeline-analytics",
38031
38254
  capScope: "device",
@@ -39454,6 +39677,12 @@ Object.freeze({
39454
39677
  addonId: null,
39455
39678
  access: "create"
39456
39679
  },
39680
+ "settingsStore.upsert": {
39681
+ capName: "settings-store",
39682
+ capScope: "system",
39683
+ addonId: null,
39684
+ access: "create"
39685
+ },
39457
39686
  "smtpProvider.getStatus": {
39458
39687
  capName: "smtp-provider",
39459
39688
  capScope: "system",
@@ -41847,6 +42076,11 @@ Object.freeze({
41847
42076
  form: "single",
41848
42077
  optional: true
41849
42078
  }],
42079
+ "pipelineAnalytics.listRecentSummaries": [{
42080
+ name: "deviceIds",
42081
+ form: "array",
42082
+ optional: false
42083
+ }],
41850
42084
  "pipelineAnalytics.listRecentTracks": [{
41851
42085
  name: "deviceIds",
41852
42086
  form: "array",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-terminal",
3
- "version": "0.1.104",
3
+ "version": "0.1.106",
4
4
  "description": "Interactive terminal sessions (pty + xterm) as a CamStack addon",
5
5
  "keywords": [
6
6
  "camstack",