@camstack/addon-provider-rtsp 1.2.100 → 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.
package/dist/addon.js CHANGED
@@ -5370,7 +5370,7 @@ var ZodIssueCode = {
5370
5370
  var ZodFirstPartyTypeKind;
5371
5371
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5372
5372
  //#endregion
5373
- //#region ../types/dist/sleep-CnLyvg3w.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).
@@ -7399,7 +7399,23 @@ var EncodeProfileSchema = object({
7399
7399
  "zerolatency",
7400
7400
  "film",
7401
7401
  "animation"
7402
- ]).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()
7403
7419
  }),
7404
7420
  audio: union([literal("passthrough"), object({
7405
7421
  codec: _enum([
@@ -7449,7 +7465,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
7449
7465
  audio: "passthrough"
7450
7466
  };
7451
7467
  ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7452
- ({ ...BASE_LIVE_EGRESS_PROFILE });
7468
+ ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7453
7469
  /**
7454
7470
  * Deep wiring healthcheck — snapshot of active reachability probes across
7455
7471
  * every declared capability + widget of every installed plugin, on every
@@ -20186,13 +20202,109 @@ var SummariesQueryInput = object({
20186
20202
  deviceIds: array(number()).min(1),
20187
20203
  since: number().optional(),
20188
20204
  until: number().optional(),
20189
- 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()
20190
20209
  });
20191
- var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
20192
20210
  var SummaryDetailSchema = object({
20193
20211
  summary: SummarySchema,
20194
- /** Member track ids, in absorption order. */
20195
- 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()
20196
20308
  });
20197
20309
  var RecentTracksPageSchema = object({
20198
20310
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
@@ -20606,7 +20718,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20606
20718
  classes: array(string()).optional(),
20607
20719
  /** See {@link ExcludeSourcesDoc}. */
20608
20720
  excludeSources: array(TrackSourceSchema).optional()
20609
- }), 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(), {
20610
20722
  kind: "mutation",
20611
20723
  auth: "admin"
20612
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({
@@ -32471,7 +32583,29 @@ var LoggingSettingsPatchSchema = object({
32471
32583
  * disarmed the channels it did not mention would make the Levels page and
32472
32584
  * the Diagnostics page fight over the same value.
32473
32585
  */
32474
- 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()
32475
32609
  });
32476
32610
  /**
32477
32611
  * Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
@@ -32544,6 +32678,14 @@ var LoggingSettingsStateSchema = object({
32544
32678
  channels: array(LogChannelDescriptorSchema).readonly(),
32545
32679
  /** The channels ARMED right now, each with its deadline. */
32546
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),
32547
32689
  persisted: boolean()
32548
32690
  });
32549
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(), {
@@ -38610,6 +38752,12 @@ Object.freeze({
38610
38752
  addonId: null,
38611
38753
  access: "view"
38612
38754
  },
38755
+ "pipelineAnalytics.listRecentSummaries": {
38756
+ capName: "pipeline-analytics",
38757
+ capScope: "device",
38758
+ addonId: null,
38759
+ access: "view"
38760
+ },
38613
38761
  "pipelineAnalytics.listRecentTracks": {
38614
38762
  capName: "pipeline-analytics",
38615
38763
  capScope: "device",
@@ -42437,6 +42585,11 @@ Object.freeze({
42437
42585
  form: "single",
42438
42586
  optional: true
42439
42587
  }],
42588
+ "pipelineAnalytics.listRecentSummaries": [{
42589
+ name: "deviceIds",
42590
+ form: "array",
42591
+ optional: false
42592
+ }],
42440
42593
  "pipelineAnalytics.listRecentTracks": [{
42441
42594
  name: "deviceIds",
42442
42595
  form: "array",
package/dist/addon.mjs CHANGED
@@ -5346,7 +5346,7 @@ var ZodIssueCode = {
5346
5346
  var ZodFirstPartyTypeKind;
5347
5347
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5348
5348
  //#endregion
5349
- //#region ../types/dist/sleep-CnLyvg3w.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).
@@ -7375,7 +7375,23 @@ var EncodeProfileSchema = object({
7375
7375
  "zerolatency",
7376
7376
  "film",
7377
7377
  "animation"
7378
- ]).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()
7379
7395
  }),
7380
7396
  audio: union([literal("passthrough"), object({
7381
7397
  codec: _enum([
@@ -7425,7 +7441,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
7425
7441
  audio: "passthrough"
7426
7442
  };
7427
7443
  ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7428
- ({ ...BASE_LIVE_EGRESS_PROFILE });
7444
+ ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7429
7445
  /**
7430
7446
  * Deep wiring healthcheck — snapshot of active reachability probes across
7431
7447
  * every declared capability + widget of every installed plugin, on every
@@ -20162,13 +20178,109 @@ var SummariesQueryInput = object({
20162
20178
  deviceIds: array(number()).min(1),
20163
20179
  since: number().optional(),
20164
20180
  until: number().optional(),
20165
- 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()
20166
20185
  });
20167
- var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
20168
20186
  var SummaryDetailSchema = object({
20169
20187
  summary: SummarySchema,
20170
- /** Member track ids, in absorption order. */
20171
- 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()
20172
20284
  });
20173
20285
  var RecentTracksPageSchema = object({
20174
20286
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
@@ -20582,7 +20694,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20582
20694
  classes: array(string()).optional(),
20583
20695
  /** See {@link ExcludeSourcesDoc}. */
20584
20696
  excludeSources: array(TrackSourceSchema).optional()
20585
- }), 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(), {
20586
20698
  kind: "mutation",
20587
20699
  auth: "admin"
20588
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({
@@ -32447,7 +32559,29 @@ var LoggingSettingsPatchSchema = object({
32447
32559
  * disarmed the channels it did not mention would make the Levels page and
32448
32560
  * the Diagnostics page fight over the same value.
32449
32561
  */
32450
- 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()
32451
32585
  });
32452
32586
  /**
32453
32587
  * Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
@@ -32520,6 +32654,14 @@ var LoggingSettingsStateSchema = object({
32520
32654
  channels: array(LogChannelDescriptorSchema).readonly(),
32521
32655
  /** The channels ARMED right now, each with its deadline. */
32522
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),
32523
32665
  persisted: boolean()
32524
32666
  });
32525
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(), {
@@ -38586,6 +38728,12 @@ Object.freeze({
38586
38728
  addonId: null,
38587
38729
  access: "view"
38588
38730
  },
38731
+ "pipelineAnalytics.listRecentSummaries": {
38732
+ capName: "pipeline-analytics",
38733
+ capScope: "device",
38734
+ addonId: null,
38735
+ access: "view"
38736
+ },
38589
38737
  "pipelineAnalytics.listRecentTracks": {
38590
38738
  capName: "pipeline-analytics",
38591
38739
  capScope: "device",
@@ -42413,6 +42561,11 @@ Object.freeze({
42413
42561
  form: "single",
42414
42562
  optional: true
42415
42563
  }],
42564
+ "pipelineAnalytics.listRecentSummaries": [{
42565
+ name: "deviceIds",
42566
+ form: "array",
42567
+ optional: false
42568
+ }],
42416
42569
  "pipelineAnalytics.listRecentTracks": [{
42417
42570
  name: "deviceIds",
42418
42571
  form: "array",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rtsp",
3
- "version": "1.2.100",
3
+ "version": "1.2.101",
4
4
  "description": "Generic RTSP camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",