@camstack/addon-provider-dreo 0.2.100 → 0.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
@@ -5382,7 +5382,7 @@ var ZodIssueCode = {
5382
5382
  var ZodFirstPartyTypeKind;
5383
5383
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5384
5384
  //#endregion
5385
- //#region ../types/dist/sleep-CnLyvg3w.mjs
5385
+ //#region ../types/dist/sleep-DBKu2-U5.mjs
5386
5386
  /**
5387
5387
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5388
5388
  * window to float samples (D455).
@@ -7411,7 +7411,23 @@ var EncodeProfileSchema = object({
7411
7411
  "zerolatency",
7412
7412
  "film",
7413
7413
  "animation"
7414
- ]).optional()
7414
+ ]).optional(),
7415
+ /**
7416
+ * ONE slice per access unit.
7417
+ *
7418
+ * `-tune zerolatency` turns on x264's sliced threads, and a frame then leaves
7419
+ * the encoder as five NAL slices that share one RTP timestamp and carry one
7420
+ * marker bit. A libwebrtc depacketiser sees five frame-starts and one
7421
+ * frame-end per frame: the first pictures render and the video then freezes
7422
+ * for good while the audio, on its own plane, plays on. Measured on this hub
7423
+ * 2026-09-13 against the Echo, and reduced to one slice by this flag alone.
7424
+ *
7425
+ * A NAMED field and not a raw flag, because {@link EgressEncodeSchema} omits
7426
+ * `outputArgs` on purpose: an opaque array is part of the sharing key, so two
7427
+ * consumers meaning the same thing spelled differently would stop sharing one
7428
+ * child. Absent means "whatever the encoder does" — today's behaviour.
7429
+ */
7430
+ singleSlicePerFrame: boolean().optional()
7415
7431
  }),
7416
7432
  audio: union([literal("passthrough"), object({
7417
7433
  codec: _enum([
@@ -7461,7 +7477,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
7461
7477
  audio: "passthrough"
7462
7478
  };
7463
7479
  ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7464
- ({ ...BASE_LIVE_EGRESS_PROFILE });
7480
+ ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7465
7481
  /**
7466
7482
  * Deep wiring healthcheck — snapshot of active reachability probes across
7467
7483
  * every declared capability + widget of every installed plugin, on every
@@ -20183,13 +20199,109 @@ var SummariesQueryInput = object({
20183
20199
  deviceIds: array(number()).min(1),
20184
20200
  since: number().optional(),
20185
20201
  until: number().optional(),
20186
- limit: number().int().min(1).max(200).default(50)
20202
+ limit: number().int().min(1).max(200).default(50),
20203
+ /** The same member-wise filter {@link listRecentSummaries} takes — one
20204
+ * meaning of "dog" on every summary surface. */
20205
+ classes: array(string().min(1).max(60)).max(40).optional()
20187
20206
  });
20188
- var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
20189
20207
  var SummaryDetailSchema = object({
20190
20208
  summary: SummarySchema,
20191
- /** Member track ids, in absorption order. */
20192
- trackIds: array(string()).readonly()
20209
+ /** Members in absorption order, oldest join first. */
20210
+ members: array(object({
20211
+ trackId: string(),
20212
+ /**
20213
+ * The track's class at the time it JOINED, or `null` when it was unresolved
20214
+ * and the track no longer exists to fill it.
20215
+ *
20216
+ * The join, not the latest opinion: class voting can re-decide a track's
20217
+ * class afterwards, and a group's composition is the history of who came
20218
+ * together. A consumer counts these to badge a thumbnail — "two people and a
20219
+ * dog" — rather than being handed a second, denormalised tally that would
20220
+ * drift from the members it claims to describe.
20221
+ */
20222
+ className: string().nullable(),
20223
+ /** `primary` is the one member that carries the group's identity. */
20224
+ role: _enum([
20225
+ "primary",
20226
+ "sibling",
20227
+ "child"
20228
+ ]).nullable(),
20229
+ joinedAt: number(),
20230
+ /** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
20231
+ * at read time. Absent when nothing resolved, never an empty string. */
20232
+ label: string().optional(),
20233
+ /** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
20234
+ * recognised nobody, and absent for a member whose track has been pruned —
20235
+ * a thumbnail that names the wrong person is worse than one naming nobody. */
20236
+ subLabel: string().optional()
20237
+ })).readonly()
20238
+ });
20239
+ /**
20240
+ * What a LIST of groups carries: the envelope plus what it is MADE OF.
20241
+ *
20242
+ * Coarse on purpose — the operator's rule is "only the rough data on the list,
20243
+ * we extend when we notice we need more". Enough to draw the card ("two people
20244
+ * and a dog") and no more. The MEMBERS, their names and the per-member links
20245
+ * are on {@link getSummary}: shipping every member of every group so a client
20246
+ * can count them turns a page of two hundred groups into a thousand records to
20247
+ * draw two hundred badges.
20248
+ */
20249
+ var SummaryListItemSchema = object({
20250
+ summary: SummarySchema,
20251
+ /** Class counts, most numerous first; `className: null` is a member whose
20252
+ * class never resolved, counted so the counts add up to `memberCount`. */
20253
+ classes: array(object({
20254
+ className: string().nullable(),
20255
+ count: number().int().positive()
20256
+ })).readonly()
20257
+ });
20258
+ var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
20259
+ /**
20260
+ * The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
20261
+ *
20262
+ * The reel on the cameras page and the Events gallery both ride a cursor, so a
20263
+ * summaries feed that could only answer "the last N for these cameras"
20264
+ * (`listSummaries`) would make groups available in the timeline and nowhere
20265
+ * else. Two feeds with different ordering contracts would be two ideas of what
20266
+ * "newest" means, on one screen.
20267
+ */
20268
+ var RecentSummariesQueryInput = object({
20269
+ /** Devices to merge. An empty array yields an empty page. */
20270
+ deviceIds: array(number()),
20271
+ /** Window lower bound on `lastActiveAt` (inclusive). */
20272
+ since: number().optional(),
20273
+ /** Window upper bound on `lastActiveAt` (inclusive). */
20274
+ until: number().optional(),
20275
+ limit: number().int().min(1).max(500).default(100),
20276
+ /** Opaque continuation cursor from a previous page's `nextCursor`. */
20277
+ cursor: string().optional(),
20278
+ /**
20279
+ * Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
20280
+ * deliberately the same name: the events filter tree emits one list of ticked
20281
+ * taxonomy nodes, and a summaries feed that called it something else would
20282
+ * make the operator's one filter component produce two shapes.
20283
+ *
20284
+ * A question about the MEMBERS: a group matches when ANY of them does. "Show
20285
+ * me the arrivals with a dog" has to return the group of four people who had
20286
+ * one with them; a filter on the group's own fields could only ever answer
20287
+ * about its primary.
20288
+ *
20289
+ * Matched against all THREE tiers of a member — the class (`animal`), the
20290
+ * sub-class (`dog`) and the instance (a name, a plate) — because which tier a
20291
+ * ticked node lives on is the taxonomy's business, not the caller's. `dog` is
20292
+ * an event kind in the tree and a tier-1 label on an `animal` track; a filter
20293
+ * that read only the class would answer "animal" and never "dog".
20294
+ *
20295
+ * ABSENT or EMPTY means no filter — absent is not a selection of none.
20296
+ */
20297
+ classes: array(string().min(1).max(60)).max(40).optional()
20298
+ });
20299
+ var RecentSummariesPageSchema = object({
20300
+ /** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
20301
+ * {@link listSummaries} — one list shape, so a card renders the same
20302
+ * whichever feed drew it. */
20303
+ summaries: array(SummaryListItemSchema).readonly(),
20304
+ nextCursor: string().nullable()
20193
20305
  });
20194
20306
  var RecentTracksPageSchema = object({
20195
20307
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
@@ -20603,7 +20715,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20603
20715
  classes: array(string()).optional(),
20604
20716
  /** See {@link ExcludeSourcesDoc}. */
20605
20717
  excludeSources: array(TrackSourceSchema).optional()
20606
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20718
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(RecentSummariesQueryInput, RecentSummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20607
20719
  kind: "mutation",
20608
20720
  auth: "admin"
20609
20721
  }), 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({
@@ -32364,7 +32476,29 @@ var LoggingSettingsPatchSchema = object({
32364
32476
  * disarmed the channels it did not mention would make the Levels page and
32365
32477
  * the Diagnostics page fight over the same value.
32366
32478
  */
32367
- channels: array(LogChannelWindowPatchSchema).readonly().optional()
32479
+ channels: array(LogChannelWindowPatchSchema).readonly().optional(),
32480
+ /**
32481
+ * How many days the analytics OPS LOG is kept — the audit trail of what
32482
+ * retention actually deleted.
32483
+ *
32484
+ * It lives HERE, on the logging document, and not on the analytics addon's
32485
+ * settings form, on the operator's instruction: every other log-ish window in
32486
+ * this system is configured through this one document, and a retention audit
32487
+ * configured somewhere else is a second place to look when the question is
32488
+ * "what happened to my data".
32489
+ *
32490
+ * That placement has a cost worth stating: this document ships in the
32491
+ * framework closure, so this knob needs a published `@camstack/server` while
32492
+ * the four windows beside it (D485) reach a node on `camstack deploy`.
32493
+ *
32494
+ * `retention-model.ts` argued this one must NOT follow a device window,
32495
+ * because the audit trail is the history of the SWEEP and not of the camera.
32496
+ * That argument stands and is untouched — what changes is that 30 days stops
32497
+ * being a constant nobody can reach. `0` keeps it forever. The floor is 1 day
32498
+ * rather than 0-as-delete: an audit log truncated to nothing is precisely the
32499
+ * state in which the next 9.5 GiB leak cannot be explained.
32500
+ */
32501
+ opsLogRetentionDays: number().int().min(0).max(3650).optional()
32368
32502
  });
32369
32503
  /**
32370
32504
  * Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
@@ -32437,6 +32571,14 @@ var LoggingSettingsStateSchema = object({
32437
32571
  channels: array(LogChannelDescriptorSchema).readonly(),
32438
32572
  /** The channels ARMED right now, each with its deadline. */
32439
32573
  activeChannels: array(LogChannelWindowStateSchema).readonly(),
32574
+ /**
32575
+ * The ops-log window in days, as it is in force. `0` = kept forever.
32576
+ *
32577
+ * Reported rather than left to the caller's memory of what it wrote: this is
32578
+ * the value the analytics sweep will actually use, and an operator asking how
32579
+ * long their audit trail lives should not have to infer it from a default.
32580
+ */
32581
+ opsLogRetentionDays: number().int().min(0),
32440
32582
  persisted: boolean()
32441
32583
  });
32442
32584
  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(), {
@@ -38437,6 +38579,12 @@ Object.freeze({
38437
38579
  addonId: null,
38438
38580
  access: "view"
38439
38581
  },
38582
+ "pipelineAnalytics.listRecentSummaries": {
38583
+ capName: "pipeline-analytics",
38584
+ capScope: "device",
38585
+ addonId: null,
38586
+ access: "view"
38587
+ },
38440
38588
  "pipelineAnalytics.listRecentTracks": {
38441
38589
  capName: "pipeline-analytics",
38442
38590
  capScope: "device",
@@ -42264,6 +42412,11 @@ Object.freeze({
42264
42412
  form: "single",
42265
42413
  optional: true
42266
42414
  }],
42415
+ "pipelineAnalytics.listRecentSummaries": [{
42416
+ name: "deviceIds",
42417
+ form: "array",
42418
+ optional: false
42419
+ }],
42267
42420
  "pipelineAnalytics.listRecentTracks": [{
42268
42421
  name: "deviceIds",
42269
42422
  form: "array",
package/dist/addon.mjs CHANGED
@@ -5383,7 +5383,7 @@ var ZodIssueCode = {
5383
5383
  var ZodFirstPartyTypeKind;
5384
5384
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5385
5385
  //#endregion
5386
- //#region ../types/dist/sleep-CnLyvg3w.mjs
5386
+ //#region ../types/dist/sleep-DBKu2-U5.mjs
5387
5387
  /**
5388
5388
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5389
5389
  * window to float samples (D455).
@@ -7412,7 +7412,23 @@ var EncodeProfileSchema = object({
7412
7412
  "zerolatency",
7413
7413
  "film",
7414
7414
  "animation"
7415
- ]).optional()
7415
+ ]).optional(),
7416
+ /**
7417
+ * ONE slice per access unit.
7418
+ *
7419
+ * `-tune zerolatency` turns on x264's sliced threads, and a frame then leaves
7420
+ * the encoder as five NAL slices that share one RTP timestamp and carry one
7421
+ * marker bit. A libwebrtc depacketiser sees five frame-starts and one
7422
+ * frame-end per frame: the first pictures render and the video then freezes
7423
+ * for good while the audio, on its own plane, plays on. Measured on this hub
7424
+ * 2026-09-13 against the Echo, and reduced to one slice by this flag alone.
7425
+ *
7426
+ * A NAMED field and not a raw flag, because {@link EgressEncodeSchema} omits
7427
+ * `outputArgs` on purpose: an opaque array is part of the sharing key, so two
7428
+ * consumers meaning the same thing spelled differently would stop sharing one
7429
+ * child. Absent means "whatever the encoder does" — today's behaviour.
7430
+ */
7431
+ singleSlicePerFrame: boolean().optional()
7416
7432
  }),
7417
7433
  audio: union([literal("passthrough"), object({
7418
7434
  codec: _enum([
@@ -7462,7 +7478,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
7462
7478
  audio: "passthrough"
7463
7479
  };
7464
7480
  ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7465
- ({ ...BASE_LIVE_EGRESS_PROFILE });
7481
+ ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7466
7482
  /**
7467
7483
  * Deep wiring healthcheck — snapshot of active reachability probes across
7468
7484
  * every declared capability + widget of every installed plugin, on every
@@ -20184,13 +20200,109 @@ var SummariesQueryInput = object({
20184
20200
  deviceIds: array(number()).min(1),
20185
20201
  since: number().optional(),
20186
20202
  until: number().optional(),
20187
- limit: number().int().min(1).max(200).default(50)
20203
+ limit: number().int().min(1).max(200).default(50),
20204
+ /** The same member-wise filter {@link listRecentSummaries} takes — one
20205
+ * meaning of "dog" on every summary surface. */
20206
+ classes: array(string().min(1).max(60)).max(40).optional()
20188
20207
  });
20189
- var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
20190
20208
  var SummaryDetailSchema = object({
20191
20209
  summary: SummarySchema,
20192
- /** Member track ids, in absorption order. */
20193
- trackIds: array(string()).readonly()
20210
+ /** Members in absorption order, oldest join first. */
20211
+ members: array(object({
20212
+ trackId: string(),
20213
+ /**
20214
+ * The track's class at the time it JOINED, or `null` when it was unresolved
20215
+ * and the track no longer exists to fill it.
20216
+ *
20217
+ * The join, not the latest opinion: class voting can re-decide a track's
20218
+ * class afterwards, and a group's composition is the history of who came
20219
+ * together. A consumer counts these to badge a thumbnail — "two people and a
20220
+ * dog" — rather than being handed a second, denormalised tally that would
20221
+ * drift from the members it claims to describe.
20222
+ */
20223
+ className: string().nullable(),
20224
+ /** `primary` is the one member that carries the group's identity. */
20225
+ role: _enum([
20226
+ "primary",
20227
+ "sibling",
20228
+ "child"
20229
+ ]).nullable(),
20230
+ joinedAt: number(),
20231
+ /** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
20232
+ * at read time. Absent when nothing resolved, never an empty string. */
20233
+ label: string().optional(),
20234
+ /** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
20235
+ * recognised nobody, and absent for a member whose track has been pruned —
20236
+ * a thumbnail that names the wrong person is worse than one naming nobody. */
20237
+ subLabel: string().optional()
20238
+ })).readonly()
20239
+ });
20240
+ /**
20241
+ * What a LIST of groups carries: the envelope plus what it is MADE OF.
20242
+ *
20243
+ * Coarse on purpose — the operator's rule is "only the rough data on the list,
20244
+ * we extend when we notice we need more". Enough to draw the card ("two people
20245
+ * and a dog") and no more. The MEMBERS, their names and the per-member links
20246
+ * are on {@link getSummary}: shipping every member of every group so a client
20247
+ * can count them turns a page of two hundred groups into a thousand records to
20248
+ * draw two hundred badges.
20249
+ */
20250
+ var SummaryListItemSchema = object({
20251
+ summary: SummarySchema,
20252
+ /** Class counts, most numerous first; `className: null` is a member whose
20253
+ * class never resolved, counted so the counts add up to `memberCount`. */
20254
+ classes: array(object({
20255
+ className: string().nullable(),
20256
+ count: number().int().positive()
20257
+ })).readonly()
20258
+ });
20259
+ var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
20260
+ /**
20261
+ * The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
20262
+ *
20263
+ * The reel on the cameras page and the Events gallery both ride a cursor, so a
20264
+ * summaries feed that could only answer "the last N for these cameras"
20265
+ * (`listSummaries`) would make groups available in the timeline and nowhere
20266
+ * else. Two feeds with different ordering contracts would be two ideas of what
20267
+ * "newest" means, on one screen.
20268
+ */
20269
+ var RecentSummariesQueryInput = object({
20270
+ /** Devices to merge. An empty array yields an empty page. */
20271
+ deviceIds: array(number()),
20272
+ /** Window lower bound on `lastActiveAt` (inclusive). */
20273
+ since: number().optional(),
20274
+ /** Window upper bound on `lastActiveAt` (inclusive). */
20275
+ until: number().optional(),
20276
+ limit: number().int().min(1).max(500).default(100),
20277
+ /** Opaque continuation cursor from a previous page's `nextCursor`. */
20278
+ cursor: string().optional(),
20279
+ /**
20280
+ * Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
20281
+ * deliberately the same name: the events filter tree emits one list of ticked
20282
+ * taxonomy nodes, and a summaries feed that called it something else would
20283
+ * make the operator's one filter component produce two shapes.
20284
+ *
20285
+ * A question about the MEMBERS: a group matches when ANY of them does. "Show
20286
+ * me the arrivals with a dog" has to return the group of four people who had
20287
+ * one with them; a filter on the group's own fields could only ever answer
20288
+ * about its primary.
20289
+ *
20290
+ * Matched against all THREE tiers of a member — the class (`animal`), the
20291
+ * sub-class (`dog`) and the instance (a name, a plate) — because which tier a
20292
+ * ticked node lives on is the taxonomy's business, not the caller's. `dog` is
20293
+ * an event kind in the tree and a tier-1 label on an `animal` track; a filter
20294
+ * that read only the class would answer "animal" and never "dog".
20295
+ *
20296
+ * ABSENT or EMPTY means no filter — absent is not a selection of none.
20297
+ */
20298
+ classes: array(string().min(1).max(60)).max(40).optional()
20299
+ });
20300
+ var RecentSummariesPageSchema = object({
20301
+ /** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
20302
+ * {@link listSummaries} — one list shape, so a card renders the same
20303
+ * whichever feed drew it. */
20304
+ summaries: array(SummaryListItemSchema).readonly(),
20305
+ nextCursor: string().nullable()
20194
20306
  });
20195
20307
  var RecentTracksPageSchema = object({
20196
20308
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
@@ -20604,7 +20716,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20604
20716
  classes: array(string()).optional(),
20605
20717
  /** See {@link ExcludeSourcesDoc}. */
20606
20718
  excludeSources: array(TrackSourceSchema).optional()
20607
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20719
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(RecentSummariesQueryInput, RecentSummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20608
20720
  kind: "mutation",
20609
20721
  auth: "admin"
20610
20722
  }), 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({
@@ -32365,7 +32477,29 @@ var LoggingSettingsPatchSchema = object({
32365
32477
  * disarmed the channels it did not mention would make the Levels page and
32366
32478
  * the Diagnostics page fight over the same value.
32367
32479
  */
32368
- channels: array(LogChannelWindowPatchSchema).readonly().optional()
32480
+ channels: array(LogChannelWindowPatchSchema).readonly().optional(),
32481
+ /**
32482
+ * How many days the analytics OPS LOG is kept — the audit trail of what
32483
+ * retention actually deleted.
32484
+ *
32485
+ * It lives HERE, on the logging document, and not on the analytics addon's
32486
+ * settings form, on the operator's instruction: every other log-ish window in
32487
+ * this system is configured through this one document, and a retention audit
32488
+ * configured somewhere else is a second place to look when the question is
32489
+ * "what happened to my data".
32490
+ *
32491
+ * That placement has a cost worth stating: this document ships in the
32492
+ * framework closure, so this knob needs a published `@camstack/server` while
32493
+ * the four windows beside it (D485) reach a node on `camstack deploy`.
32494
+ *
32495
+ * `retention-model.ts` argued this one must NOT follow a device window,
32496
+ * because the audit trail is the history of the SWEEP and not of the camera.
32497
+ * That argument stands and is untouched — what changes is that 30 days stops
32498
+ * being a constant nobody can reach. `0` keeps it forever. The floor is 1 day
32499
+ * rather than 0-as-delete: an audit log truncated to nothing is precisely the
32500
+ * state in which the next 9.5 GiB leak cannot be explained.
32501
+ */
32502
+ opsLogRetentionDays: number().int().min(0).max(3650).optional()
32369
32503
  });
32370
32504
  /**
32371
32505
  * Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
@@ -32438,6 +32572,14 @@ var LoggingSettingsStateSchema = object({
32438
32572
  channels: array(LogChannelDescriptorSchema).readonly(),
32439
32573
  /** The channels ARMED right now, each with its deadline. */
32440
32574
  activeChannels: array(LogChannelWindowStateSchema).readonly(),
32575
+ /**
32576
+ * The ops-log window in days, as it is in force. `0` = kept forever.
32577
+ *
32578
+ * Reported rather than left to the caller's memory of what it wrote: this is
32579
+ * the value the analytics sweep will actually use, and an operator asking how
32580
+ * long their audit trail lives should not have to infer it from a default.
32581
+ */
32582
+ opsLogRetentionDays: number().int().min(0),
32441
32583
  persisted: boolean()
32442
32584
  });
32443
32585
  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(), {
@@ -38438,6 +38580,12 @@ Object.freeze({
38438
38580
  addonId: null,
38439
38581
  access: "view"
38440
38582
  },
38583
+ "pipelineAnalytics.listRecentSummaries": {
38584
+ capName: "pipeline-analytics",
38585
+ capScope: "device",
38586
+ addonId: null,
38587
+ access: "view"
38588
+ },
38441
38589
  "pipelineAnalytics.listRecentTracks": {
38442
38590
  capName: "pipeline-analytics",
38443
38591
  capScope: "device",
@@ -42265,6 +42413,11 @@ Object.freeze({
42265
42413
  form: "single",
42266
42414
  optional: true
42267
42415
  }],
42416
+ "pipelineAnalytics.listRecentSummaries": [{
42417
+ name: "deviceIds",
42418
+ form: "array",
42419
+ optional: false
42420
+ }],
42268
42421
  "pipelineAnalytics.listRecentTracks": [{
42269
42422
  name: "deviceIds",
42270
42423
  form: "array",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-dreo",
3
- "version": "0.2.100",
3
+ "version": "0.2.101",
4
4
  "description": "Dreo smart-device (fan / air-circulator / purifier / heater / humidifier) device-provider addon for CamStack — wraps the @apocaliss92/nodedreo Dreo cloud client (REST + WebSocket)",
5
5
  "keywords": [
6
6
  "camstack",