@camstack/addon-provider-wyze 0.2.104 → 0.2.105

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
@@ -5378,7 +5378,7 @@ var ZodIssueCode = {
5378
5378
  var ZodFirstPartyTypeKind;
5379
5379
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5380
5380
  //#endregion
5381
- //#region ../types/dist/sleep-CnLyvg3w.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).
@@ -7407,7 +7407,23 @@ var EncodeProfileSchema = object({
7407
7407
  "zerolatency",
7408
7408
  "film",
7409
7409
  "animation"
7410
- ]).optional()
7410
+ ]).optional(),
7411
+ /**
7412
+ * ONE slice per access unit.
7413
+ *
7414
+ * `-tune zerolatency` turns on x264's sliced threads, and a frame then leaves
7415
+ * the encoder as five NAL slices that share one RTP timestamp and carry one
7416
+ * marker bit. A libwebrtc depacketiser sees five frame-starts and one
7417
+ * frame-end per frame: the first pictures render and the video then freezes
7418
+ * for good while the audio, on its own plane, plays on. Measured on this hub
7419
+ * 2026-09-13 against the Echo, and reduced to one slice by this flag alone.
7420
+ *
7421
+ * A NAMED field and not a raw flag, because {@link EgressEncodeSchema} omits
7422
+ * `outputArgs` on purpose: an opaque array is part of the sharing key, so two
7423
+ * consumers meaning the same thing spelled differently would stop sharing one
7424
+ * child. Absent means "whatever the encoder does" — today's behaviour.
7425
+ */
7426
+ singleSlicePerFrame: boolean().optional()
7411
7427
  }),
7412
7428
  audio: union([literal("passthrough"), object({
7413
7429
  codec: _enum([
@@ -7457,7 +7473,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
7457
7473
  audio: "passthrough"
7458
7474
  };
7459
7475
  ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7460
- ({ ...BASE_LIVE_EGRESS_PROFILE });
7476
+ ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7461
7477
  /**
7462
7478
  * Deep wiring healthcheck — snapshot of active reachability probes across
7463
7479
  * every declared capability + widget of every installed plugin, on every
@@ -20179,13 +20195,109 @@ var SummariesQueryInput = object({
20179
20195
  deviceIds: array(number()).min(1),
20180
20196
  since: number().optional(),
20181
20197
  until: number().optional(),
20182
- limit: number().int().min(1).max(200).default(50)
20198
+ limit: number().int().min(1).max(200).default(50),
20199
+ /** The same member-wise filter {@link listRecentSummaries} takes — one
20200
+ * meaning of "dog" on every summary surface. */
20201
+ classes: array(string().min(1).max(60)).max(40).optional()
20183
20202
  });
20184
- var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
20185
20203
  var SummaryDetailSchema = object({
20186
20204
  summary: SummarySchema,
20187
- /** Member track ids, in absorption order. */
20188
- trackIds: array(string()).readonly()
20205
+ /** Members in absorption order, oldest join first. */
20206
+ members: array(object({
20207
+ trackId: string(),
20208
+ /**
20209
+ * The track's class at the time it JOINED, or `null` when it was unresolved
20210
+ * and the track no longer exists to fill it.
20211
+ *
20212
+ * The join, not the latest opinion: class voting can re-decide a track's
20213
+ * class afterwards, and a group's composition is the history of who came
20214
+ * together. A consumer counts these to badge a thumbnail — "two people and a
20215
+ * dog" — rather than being handed a second, denormalised tally that would
20216
+ * drift from the members it claims to describe.
20217
+ */
20218
+ className: string().nullable(),
20219
+ /** `primary` is the one member that carries the group's identity. */
20220
+ role: _enum([
20221
+ "primary",
20222
+ "sibling",
20223
+ "child"
20224
+ ]).nullable(),
20225
+ joinedAt: number(),
20226
+ /** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
20227
+ * at read time. Absent when nothing resolved, never an empty string. */
20228
+ label: string().optional(),
20229
+ /** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
20230
+ * recognised nobody, and absent for a member whose track has been pruned —
20231
+ * a thumbnail that names the wrong person is worse than one naming nobody. */
20232
+ subLabel: string().optional()
20233
+ })).readonly()
20234
+ });
20235
+ /**
20236
+ * What a LIST of groups carries: the envelope plus what it is MADE OF.
20237
+ *
20238
+ * Coarse on purpose — the operator's rule is "only the rough data on the list,
20239
+ * we extend when we notice we need more". Enough to draw the card ("two people
20240
+ * and a dog") and no more. The MEMBERS, their names and the per-member links
20241
+ * are on {@link getSummary}: shipping every member of every group so a client
20242
+ * can count them turns a page of two hundred groups into a thousand records to
20243
+ * draw two hundred badges.
20244
+ */
20245
+ var SummaryListItemSchema = object({
20246
+ summary: SummarySchema,
20247
+ /** Class counts, most numerous first; `className: null` is a member whose
20248
+ * class never resolved, counted so the counts add up to `memberCount`. */
20249
+ classes: array(object({
20250
+ className: string().nullable(),
20251
+ count: number().int().positive()
20252
+ })).readonly()
20253
+ });
20254
+ var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
20255
+ /**
20256
+ * The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
20257
+ *
20258
+ * The reel on the cameras page and the Events gallery both ride a cursor, so a
20259
+ * summaries feed that could only answer "the last N for these cameras"
20260
+ * (`listSummaries`) would make groups available in the timeline and nowhere
20261
+ * else. Two feeds with different ordering contracts would be two ideas of what
20262
+ * "newest" means, on one screen.
20263
+ */
20264
+ var RecentSummariesQueryInput = object({
20265
+ /** Devices to merge. An empty array yields an empty page. */
20266
+ deviceIds: array(number()),
20267
+ /** Window lower bound on `lastActiveAt` (inclusive). */
20268
+ since: number().optional(),
20269
+ /** Window upper bound on `lastActiveAt` (inclusive). */
20270
+ until: number().optional(),
20271
+ limit: number().int().min(1).max(500).default(100),
20272
+ /** Opaque continuation cursor from a previous page's `nextCursor`. */
20273
+ cursor: string().optional(),
20274
+ /**
20275
+ * Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
20276
+ * deliberately the same name: the events filter tree emits one list of ticked
20277
+ * taxonomy nodes, and a summaries feed that called it something else would
20278
+ * make the operator's one filter component produce two shapes.
20279
+ *
20280
+ * A question about the MEMBERS: a group matches when ANY of them does. "Show
20281
+ * me the arrivals with a dog" has to return the group of four people who had
20282
+ * one with them; a filter on the group's own fields could only ever answer
20283
+ * about its primary.
20284
+ *
20285
+ * Matched against all THREE tiers of a member — the class (`animal`), the
20286
+ * sub-class (`dog`) and the instance (a name, a plate) — because which tier a
20287
+ * ticked node lives on is the taxonomy's business, not the caller's. `dog` is
20288
+ * an event kind in the tree and a tier-1 label on an `animal` track; a filter
20289
+ * that read only the class would answer "animal" and never "dog".
20290
+ *
20291
+ * ABSENT or EMPTY means no filter — absent is not a selection of none.
20292
+ */
20293
+ classes: array(string().min(1).max(60)).max(40).optional()
20294
+ });
20295
+ var RecentSummariesPageSchema = object({
20296
+ /** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
20297
+ * {@link listSummaries} — one list shape, so a card renders the same
20298
+ * whichever feed drew it. */
20299
+ summaries: array(SummaryListItemSchema).readonly(),
20300
+ nextCursor: string().nullable()
20189
20301
  });
20190
20302
  var RecentTracksPageSchema = object({
20191
20303
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
@@ -20599,7 +20711,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20599
20711
  classes: array(string()).optional(),
20600
20712
  /** See {@link ExcludeSourcesDoc}. */
20601
20713
  excludeSources: array(TrackSourceSchema).optional()
20602
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20714
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(RecentSummariesQueryInput, RecentSummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20603
20715
  kind: "mutation",
20604
20716
  auth: "admin"
20605
20717
  }), 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({
@@ -32464,7 +32576,29 @@ var LoggingSettingsPatchSchema = object({
32464
32576
  * disarmed the channels it did not mention would make the Levels page and
32465
32577
  * the Diagnostics page fight over the same value.
32466
32578
  */
32467
- channels: array(LogChannelWindowPatchSchema).readonly().optional()
32579
+ channels: array(LogChannelWindowPatchSchema).readonly().optional(),
32580
+ /**
32581
+ * How many days the analytics OPS LOG is kept — the audit trail of what
32582
+ * retention actually deleted.
32583
+ *
32584
+ * It lives HERE, on the logging document, and not on the analytics addon's
32585
+ * settings form, on the operator's instruction: every other log-ish window in
32586
+ * this system is configured through this one document, and a retention audit
32587
+ * configured somewhere else is a second place to look when the question is
32588
+ * "what happened to my data".
32589
+ *
32590
+ * That placement has a cost worth stating: this document ships in the
32591
+ * framework closure, so this knob needs a published `@camstack/server` while
32592
+ * the four windows beside it (D485) reach a node on `camstack deploy`.
32593
+ *
32594
+ * `retention-model.ts` argued this one must NOT follow a device window,
32595
+ * because the audit trail is the history of the SWEEP and not of the camera.
32596
+ * That argument stands and is untouched — what changes is that 30 days stops
32597
+ * being a constant nobody can reach. `0` keeps it forever. The floor is 1 day
32598
+ * rather than 0-as-delete: an audit log truncated to nothing is precisely the
32599
+ * state in which the next 9.5 GiB leak cannot be explained.
32600
+ */
32601
+ opsLogRetentionDays: number().int().min(0).max(3650).optional()
32468
32602
  });
32469
32603
  /**
32470
32604
  * Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
@@ -32537,6 +32671,14 @@ var LoggingSettingsStateSchema = object({
32537
32671
  channels: array(LogChannelDescriptorSchema).readonly(),
32538
32672
  /** The channels ARMED right now, each with its deadline. */
32539
32673
  activeChannels: array(LogChannelWindowStateSchema).readonly(),
32674
+ /**
32675
+ * The ops-log window in days, as it is in force. `0` = kept forever.
32676
+ *
32677
+ * Reported rather than left to the caller's memory of what it wrote: this is
32678
+ * the value the analytics sweep will actually use, and an operator asking how
32679
+ * long their audit trail lives should not have to infer it from a default.
32680
+ */
32681
+ opsLogRetentionDays: number().int().min(0),
32540
32682
  persisted: boolean()
32541
32683
  });
32542
32684
  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(), {
@@ -38537,6 +38679,12 @@ Object.freeze({
38537
38679
  addonId: null,
38538
38680
  access: "view"
38539
38681
  },
38682
+ "pipelineAnalytics.listRecentSummaries": {
38683
+ capName: "pipeline-analytics",
38684
+ capScope: "device",
38685
+ addonId: null,
38686
+ access: "view"
38687
+ },
38540
38688
  "pipelineAnalytics.listRecentTracks": {
38541
38689
  capName: "pipeline-analytics",
38542
38690
  capScope: "device",
@@ -42364,6 +42512,11 @@ Object.freeze({
42364
42512
  form: "single",
42365
42513
  optional: true
42366
42514
  }],
42515
+ "pipelineAnalytics.listRecentSummaries": [{
42516
+ name: "deviceIds",
42517
+ form: "array",
42518
+ optional: false
42519
+ }],
42367
42520
  "pipelineAnalytics.listRecentTracks": [{
42368
42521
  name: "deviceIds",
42369
42522
  form: "array",
package/dist/addon.mjs CHANGED
@@ -5357,7 +5357,7 @@ var ZodIssueCode = {
5357
5357
  var ZodFirstPartyTypeKind;
5358
5358
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5359
5359
  //#endregion
5360
- //#region ../types/dist/sleep-CnLyvg3w.mjs
5360
+ //#region ../types/dist/sleep-DBKu2-U5.mjs
5361
5361
  /**
5362
5362
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5363
5363
  * window to float samples (D455).
@@ -7386,7 +7386,23 @@ var EncodeProfileSchema = object({
7386
7386
  "zerolatency",
7387
7387
  "film",
7388
7388
  "animation"
7389
- ]).optional()
7389
+ ]).optional(),
7390
+ /**
7391
+ * ONE slice per access unit.
7392
+ *
7393
+ * `-tune zerolatency` turns on x264's sliced threads, and a frame then leaves
7394
+ * the encoder as five NAL slices that share one RTP timestamp and carry one
7395
+ * marker bit. A libwebrtc depacketiser sees five frame-starts and one
7396
+ * frame-end per frame: the first pictures render and the video then freezes
7397
+ * for good while the audio, on its own plane, plays on. Measured on this hub
7398
+ * 2026-09-13 against the Echo, and reduced to one slice by this flag alone.
7399
+ *
7400
+ * A NAMED field and not a raw flag, because {@link EgressEncodeSchema} omits
7401
+ * `outputArgs` on purpose: an opaque array is part of the sharing key, so two
7402
+ * consumers meaning the same thing spelled differently would stop sharing one
7403
+ * child. Absent means "whatever the encoder does" — today's behaviour.
7404
+ */
7405
+ singleSlicePerFrame: boolean().optional()
7390
7406
  }),
7391
7407
  audio: union([literal("passthrough"), object({
7392
7408
  codec: _enum([
@@ -7436,7 +7452,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
7436
7452
  audio: "passthrough"
7437
7453
  };
7438
7454
  ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7439
- ({ ...BASE_LIVE_EGRESS_PROFILE });
7455
+ ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7440
7456
  /**
7441
7457
  * Deep wiring healthcheck — snapshot of active reachability probes across
7442
7458
  * every declared capability + widget of every installed plugin, on every
@@ -20158,13 +20174,109 @@ var SummariesQueryInput = object({
20158
20174
  deviceIds: array(number()).min(1),
20159
20175
  since: number().optional(),
20160
20176
  until: number().optional(),
20161
- limit: number().int().min(1).max(200).default(50)
20177
+ limit: number().int().min(1).max(200).default(50),
20178
+ /** The same member-wise filter {@link listRecentSummaries} takes — one
20179
+ * meaning of "dog" on every summary surface. */
20180
+ classes: array(string().min(1).max(60)).max(40).optional()
20162
20181
  });
20163
- var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
20164
20182
  var SummaryDetailSchema = object({
20165
20183
  summary: SummarySchema,
20166
- /** Member track ids, in absorption order. */
20167
- trackIds: array(string()).readonly()
20184
+ /** Members in absorption order, oldest join first. */
20185
+ members: array(object({
20186
+ trackId: string(),
20187
+ /**
20188
+ * The track's class at the time it JOINED, or `null` when it was unresolved
20189
+ * and the track no longer exists to fill it.
20190
+ *
20191
+ * The join, not the latest opinion: class voting can re-decide a track's
20192
+ * class afterwards, and a group's composition is the history of who came
20193
+ * together. A consumer counts these to badge a thumbnail — "two people and a
20194
+ * dog" — rather than being handed a second, denormalised tally that would
20195
+ * drift from the members it claims to describe.
20196
+ */
20197
+ className: string().nullable(),
20198
+ /** `primary` is the one member that carries the group's identity. */
20199
+ role: _enum([
20200
+ "primary",
20201
+ "sibling",
20202
+ "child"
20203
+ ]).nullable(),
20204
+ joinedAt: number(),
20205
+ /** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
20206
+ * at read time. Absent when nothing resolved, never an empty string. */
20207
+ label: string().optional(),
20208
+ /** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
20209
+ * recognised nobody, and absent for a member whose track has been pruned —
20210
+ * a thumbnail that names the wrong person is worse than one naming nobody. */
20211
+ subLabel: string().optional()
20212
+ })).readonly()
20213
+ });
20214
+ /**
20215
+ * What a LIST of groups carries: the envelope plus what it is MADE OF.
20216
+ *
20217
+ * Coarse on purpose — the operator's rule is "only the rough data on the list,
20218
+ * we extend when we notice we need more". Enough to draw the card ("two people
20219
+ * and a dog") and no more. The MEMBERS, their names and the per-member links
20220
+ * are on {@link getSummary}: shipping every member of every group so a client
20221
+ * can count them turns a page of two hundred groups into a thousand records to
20222
+ * draw two hundred badges.
20223
+ */
20224
+ var SummaryListItemSchema = object({
20225
+ summary: SummarySchema,
20226
+ /** Class counts, most numerous first; `className: null` is a member whose
20227
+ * class never resolved, counted so the counts add up to `memberCount`. */
20228
+ classes: array(object({
20229
+ className: string().nullable(),
20230
+ count: number().int().positive()
20231
+ })).readonly()
20232
+ });
20233
+ var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
20234
+ /**
20235
+ * The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
20236
+ *
20237
+ * The reel on the cameras page and the Events gallery both ride a cursor, so a
20238
+ * summaries feed that could only answer "the last N for these cameras"
20239
+ * (`listSummaries`) would make groups available in the timeline and nowhere
20240
+ * else. Two feeds with different ordering contracts would be two ideas of what
20241
+ * "newest" means, on one screen.
20242
+ */
20243
+ var RecentSummariesQueryInput = object({
20244
+ /** Devices to merge. An empty array yields an empty page. */
20245
+ deviceIds: array(number()),
20246
+ /** Window lower bound on `lastActiveAt` (inclusive). */
20247
+ since: number().optional(),
20248
+ /** Window upper bound on `lastActiveAt` (inclusive). */
20249
+ until: number().optional(),
20250
+ limit: number().int().min(1).max(500).default(100),
20251
+ /** Opaque continuation cursor from a previous page's `nextCursor`. */
20252
+ cursor: string().optional(),
20253
+ /**
20254
+ * Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
20255
+ * deliberately the same name: the events filter tree emits one list of ticked
20256
+ * taxonomy nodes, and a summaries feed that called it something else would
20257
+ * make the operator's one filter component produce two shapes.
20258
+ *
20259
+ * A question about the MEMBERS: a group matches when ANY of them does. "Show
20260
+ * me the arrivals with a dog" has to return the group of four people who had
20261
+ * one with them; a filter on the group's own fields could only ever answer
20262
+ * about its primary.
20263
+ *
20264
+ * Matched against all THREE tiers of a member — the class (`animal`), the
20265
+ * sub-class (`dog`) and the instance (a name, a plate) — because which tier a
20266
+ * ticked node lives on is the taxonomy's business, not the caller's. `dog` is
20267
+ * an event kind in the tree and a tier-1 label on an `animal` track; a filter
20268
+ * that read only the class would answer "animal" and never "dog".
20269
+ *
20270
+ * ABSENT or EMPTY means no filter — absent is not a selection of none.
20271
+ */
20272
+ classes: array(string().min(1).max(60)).max(40).optional()
20273
+ });
20274
+ var RecentSummariesPageSchema = object({
20275
+ /** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
20276
+ * {@link listSummaries} — one list shape, so a card renders the same
20277
+ * whichever feed drew it. */
20278
+ summaries: array(SummaryListItemSchema).readonly(),
20279
+ nextCursor: string().nullable()
20168
20280
  });
20169
20281
  var RecentTracksPageSchema = object({
20170
20282
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
@@ -20578,7 +20690,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20578
20690
  classes: array(string()).optional(),
20579
20691
  /** See {@link ExcludeSourcesDoc}. */
20580
20692
  excludeSources: array(TrackSourceSchema).optional()
20581
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20693
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(RecentSummariesQueryInput, RecentSummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20582
20694
  kind: "mutation",
20583
20695
  auth: "admin"
20584
20696
  }), 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({
@@ -32443,7 +32555,29 @@ var LoggingSettingsPatchSchema = object({
32443
32555
  * disarmed the channels it did not mention would make the Levels page and
32444
32556
  * the Diagnostics page fight over the same value.
32445
32557
  */
32446
- channels: array(LogChannelWindowPatchSchema).readonly().optional()
32558
+ channels: array(LogChannelWindowPatchSchema).readonly().optional(),
32559
+ /**
32560
+ * How many days the analytics OPS LOG is kept — the audit trail of what
32561
+ * retention actually deleted.
32562
+ *
32563
+ * It lives HERE, on the logging document, and not on the analytics addon's
32564
+ * settings form, on the operator's instruction: every other log-ish window in
32565
+ * this system is configured through this one document, and a retention audit
32566
+ * configured somewhere else is a second place to look when the question is
32567
+ * "what happened to my data".
32568
+ *
32569
+ * That placement has a cost worth stating: this document ships in the
32570
+ * framework closure, so this knob needs a published `@camstack/server` while
32571
+ * the four windows beside it (D485) reach a node on `camstack deploy`.
32572
+ *
32573
+ * `retention-model.ts` argued this one must NOT follow a device window,
32574
+ * because the audit trail is the history of the SWEEP and not of the camera.
32575
+ * That argument stands and is untouched — what changes is that 30 days stops
32576
+ * being a constant nobody can reach. `0` keeps it forever. The floor is 1 day
32577
+ * rather than 0-as-delete: an audit log truncated to nothing is precisely the
32578
+ * state in which the next 9.5 GiB leak cannot be explained.
32579
+ */
32580
+ opsLogRetentionDays: number().int().min(0).max(3650).optional()
32447
32581
  });
32448
32582
  /**
32449
32583
  * Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
@@ -32516,6 +32650,14 @@ var LoggingSettingsStateSchema = object({
32516
32650
  channels: array(LogChannelDescriptorSchema).readonly(),
32517
32651
  /** The channels ARMED right now, each with its deadline. */
32518
32652
  activeChannels: array(LogChannelWindowStateSchema).readonly(),
32653
+ /**
32654
+ * The ops-log window in days, as it is in force. `0` = kept forever.
32655
+ *
32656
+ * Reported rather than left to the caller's memory of what it wrote: this is
32657
+ * the value the analytics sweep will actually use, and an operator asking how
32658
+ * long their audit trail lives should not have to infer it from a default.
32659
+ */
32660
+ opsLogRetentionDays: number().int().min(0),
32519
32661
  persisted: boolean()
32520
32662
  });
32521
32663
  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(), {
@@ -38516,6 +38658,12 @@ Object.freeze({
38516
38658
  addonId: null,
38517
38659
  access: "view"
38518
38660
  },
38661
+ "pipelineAnalytics.listRecentSummaries": {
38662
+ capName: "pipeline-analytics",
38663
+ capScope: "device",
38664
+ addonId: null,
38665
+ access: "view"
38666
+ },
38519
38667
  "pipelineAnalytics.listRecentTracks": {
38520
38668
  capName: "pipeline-analytics",
38521
38669
  capScope: "device",
@@ -42343,6 +42491,11 @@ Object.freeze({
42343
42491
  form: "single",
42344
42492
  optional: true
42345
42493
  }],
42494
+ "pipelineAnalytics.listRecentSummaries": [{
42495
+ name: "deviceIds",
42496
+ form: "array",
42497
+ optional: false
42498
+ }],
42346
42499
  "pipelineAnalytics.listRecentTracks": [{
42347
42500
  name: "deviceIds",
42348
42501
  form: "array",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-wyze",
3
- "version": "0.2.104",
3
+ "version": "0.2.105",
4
4
  "description": "Wyze camera device-provider addon for CamStack — wraps the @apocaliss92/wyze-bridge-js P2P/DTLS client, feeding the stream-broker via the pull-rfc4571 lazy-publish path (a structural twin of addon-provider-reolink)",
5
5
  "keywords": [
6
6
  "camstack",