@camstack/addon-provider-reolink 1.2.123 → 1.2.124

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
@@ -5372,7 +5372,7 @@ var ZodIssueCode = {
5372
5372
  var ZodFirstPartyTypeKind;
5373
5373
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5374
5374
  //#endregion
5375
- //#region ../types/dist/sleep-CnLyvg3w.mjs
5375
+ //#region ../types/dist/sleep-DBKu2-U5.mjs
5376
5376
  /**
5377
5377
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5378
5378
  * window to float samples (D455).
@@ -7413,7 +7413,23 @@ var EncodeProfileSchema = object({
7413
7413
  "zerolatency",
7414
7414
  "film",
7415
7415
  "animation"
7416
- ]).optional()
7416
+ ]).optional(),
7417
+ /**
7418
+ * ONE slice per access unit.
7419
+ *
7420
+ * `-tune zerolatency` turns on x264's sliced threads, and a frame then leaves
7421
+ * the encoder as five NAL slices that share one RTP timestamp and carry one
7422
+ * marker bit. A libwebrtc depacketiser sees five frame-starts and one
7423
+ * frame-end per frame: the first pictures render and the video then freezes
7424
+ * for good while the audio, on its own plane, plays on. Measured on this hub
7425
+ * 2026-09-13 against the Echo, and reduced to one slice by this flag alone.
7426
+ *
7427
+ * A NAMED field and not a raw flag, because {@link EgressEncodeSchema} omits
7428
+ * `outputArgs` on purpose: an opaque array is part of the sharing key, so two
7429
+ * consumers meaning the same thing spelled differently would stop sharing one
7430
+ * child. Absent means "whatever the encoder does" — today's behaviour.
7431
+ */
7432
+ singleSlicePerFrame: boolean().optional()
7417
7433
  }),
7418
7434
  audio: union([literal("passthrough"), object({
7419
7435
  codec: _enum([
@@ -7463,7 +7479,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
7463
7479
  audio: "passthrough"
7464
7480
  };
7465
7481
  ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7466
- ({ ...BASE_LIVE_EGRESS_PROFILE });
7482
+ ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7467
7483
  /**
7468
7484
  * Deep wiring healthcheck — snapshot of active reachability probes across
7469
7485
  * every declared capability + widget of every installed plugin, on every
@@ -20774,13 +20790,109 @@ var SummariesQueryInput = object({
20774
20790
  deviceIds: array(number()).min(1),
20775
20791
  since: number().optional(),
20776
20792
  until: number().optional(),
20777
- limit: number().int().min(1).max(200).default(50)
20793
+ limit: number().int().min(1).max(200).default(50),
20794
+ /** The same member-wise filter {@link listRecentSummaries} takes — one
20795
+ * meaning of "dog" on every summary surface. */
20796
+ classes: array(string().min(1).max(60)).max(40).optional()
20778
20797
  });
20779
- var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
20780
20798
  var SummaryDetailSchema = object({
20781
20799
  summary: SummarySchema,
20782
- /** Member track ids, in absorption order. */
20783
- trackIds: array(string()).readonly()
20800
+ /** Members in absorption order, oldest join first. */
20801
+ members: array(object({
20802
+ trackId: string(),
20803
+ /**
20804
+ * The track's class at the time it JOINED, or `null` when it was unresolved
20805
+ * and the track no longer exists to fill it.
20806
+ *
20807
+ * The join, not the latest opinion: class voting can re-decide a track's
20808
+ * class afterwards, and a group's composition is the history of who came
20809
+ * together. A consumer counts these to badge a thumbnail — "two people and a
20810
+ * dog" — rather than being handed a second, denormalised tally that would
20811
+ * drift from the members it claims to describe.
20812
+ */
20813
+ className: string().nullable(),
20814
+ /** `primary` is the one member that carries the group's identity. */
20815
+ role: _enum([
20816
+ "primary",
20817
+ "sibling",
20818
+ "child"
20819
+ ]).nullable(),
20820
+ joinedAt: number(),
20821
+ /** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
20822
+ * at read time. Absent when nothing resolved, never an empty string. */
20823
+ label: string().optional(),
20824
+ /** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
20825
+ * recognised nobody, and absent for a member whose track has been pruned —
20826
+ * a thumbnail that names the wrong person is worse than one naming nobody. */
20827
+ subLabel: string().optional()
20828
+ })).readonly()
20829
+ });
20830
+ /**
20831
+ * What a LIST of groups carries: the envelope plus what it is MADE OF.
20832
+ *
20833
+ * Coarse on purpose — the operator's rule is "only the rough data on the list,
20834
+ * we extend when we notice we need more". Enough to draw the card ("two people
20835
+ * and a dog") and no more. The MEMBERS, their names and the per-member links
20836
+ * are on {@link getSummary}: shipping every member of every group so a client
20837
+ * can count them turns a page of two hundred groups into a thousand records to
20838
+ * draw two hundred badges.
20839
+ */
20840
+ var SummaryListItemSchema = object({
20841
+ summary: SummarySchema,
20842
+ /** Class counts, most numerous first; `className: null` is a member whose
20843
+ * class never resolved, counted so the counts add up to `memberCount`. */
20844
+ classes: array(object({
20845
+ className: string().nullable(),
20846
+ count: number().int().positive()
20847
+ })).readonly()
20848
+ });
20849
+ var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
20850
+ /**
20851
+ * The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
20852
+ *
20853
+ * The reel on the cameras page and the Events gallery both ride a cursor, so a
20854
+ * summaries feed that could only answer "the last N for these cameras"
20855
+ * (`listSummaries`) would make groups available in the timeline and nowhere
20856
+ * else. Two feeds with different ordering contracts would be two ideas of what
20857
+ * "newest" means, on one screen.
20858
+ */
20859
+ var RecentSummariesQueryInput = object({
20860
+ /** Devices to merge. An empty array yields an empty page. */
20861
+ deviceIds: array(number()),
20862
+ /** Window lower bound on `lastActiveAt` (inclusive). */
20863
+ since: number().optional(),
20864
+ /** Window upper bound on `lastActiveAt` (inclusive). */
20865
+ until: number().optional(),
20866
+ limit: number().int().min(1).max(500).default(100),
20867
+ /** Opaque continuation cursor from a previous page's `nextCursor`. */
20868
+ cursor: string().optional(),
20869
+ /**
20870
+ * Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
20871
+ * deliberately the same name: the events filter tree emits one list of ticked
20872
+ * taxonomy nodes, and a summaries feed that called it something else would
20873
+ * make the operator's one filter component produce two shapes.
20874
+ *
20875
+ * A question about the MEMBERS: a group matches when ANY of them does. "Show
20876
+ * me the arrivals with a dog" has to return the group of four people who had
20877
+ * one with them; a filter on the group's own fields could only ever answer
20878
+ * about its primary.
20879
+ *
20880
+ * Matched against all THREE tiers of a member — the class (`animal`), the
20881
+ * sub-class (`dog`) and the instance (a name, a plate) — because which tier a
20882
+ * ticked node lives on is the taxonomy's business, not the caller's. `dog` is
20883
+ * an event kind in the tree and a tier-1 label on an `animal` track; a filter
20884
+ * that read only the class would answer "animal" and never "dog".
20885
+ *
20886
+ * ABSENT or EMPTY means no filter — absent is not a selection of none.
20887
+ */
20888
+ classes: array(string().min(1).max(60)).max(40).optional()
20889
+ });
20890
+ var RecentSummariesPageSchema = object({
20891
+ /** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
20892
+ * {@link listSummaries} — one list shape, so a card renders the same
20893
+ * whichever feed drew it. */
20894
+ summaries: array(SummaryListItemSchema).readonly(),
20895
+ nextCursor: string().nullable()
20784
20896
  });
20785
20897
  var RecentTracksPageSchema = object({
20786
20898
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
@@ -21194,7 +21306,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
21194
21306
  classes: array(string()).optional(),
21195
21307
  /** See {@link ExcludeSourcesDoc}. */
21196
21308
  excludeSources: array(TrackSourceSchema).optional()
21197
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
21309
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(RecentSummariesQueryInput, RecentSummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
21198
21310
  kind: "mutation",
21199
21311
  auth: "admin"
21200
21312
  }), 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({
@@ -33356,7 +33468,29 @@ var LoggingSettingsPatchSchema = object({
33356
33468
  * disarmed the channels it did not mention would make the Levels page and
33357
33469
  * the Diagnostics page fight over the same value.
33358
33470
  */
33359
- channels: array(LogChannelWindowPatchSchema).readonly().optional()
33471
+ channels: array(LogChannelWindowPatchSchema).readonly().optional(),
33472
+ /**
33473
+ * How many days the analytics OPS LOG is kept — the audit trail of what
33474
+ * retention actually deleted.
33475
+ *
33476
+ * It lives HERE, on the logging document, and not on the analytics addon's
33477
+ * settings form, on the operator's instruction: every other log-ish window in
33478
+ * this system is configured through this one document, and a retention audit
33479
+ * configured somewhere else is a second place to look when the question is
33480
+ * "what happened to my data".
33481
+ *
33482
+ * That placement has a cost worth stating: this document ships in the
33483
+ * framework closure, so this knob needs a published `@camstack/server` while
33484
+ * the four windows beside it (D485) reach a node on `camstack deploy`.
33485
+ *
33486
+ * `retention-model.ts` argued this one must NOT follow a device window,
33487
+ * because the audit trail is the history of the SWEEP and not of the camera.
33488
+ * That argument stands and is untouched — what changes is that 30 days stops
33489
+ * being a constant nobody can reach. `0` keeps it forever. The floor is 1 day
33490
+ * rather than 0-as-delete: an audit log truncated to nothing is precisely the
33491
+ * state in which the next 9.5 GiB leak cannot be explained.
33492
+ */
33493
+ opsLogRetentionDays: number().int().min(0).max(3650).optional()
33360
33494
  });
33361
33495
  /**
33362
33496
  * Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
@@ -33429,6 +33563,14 @@ var LoggingSettingsStateSchema = object({
33429
33563
  channels: array(LogChannelDescriptorSchema).readonly(),
33430
33564
  /** The channels ARMED right now, each with its deadline. */
33431
33565
  activeChannels: array(LogChannelWindowStateSchema).readonly(),
33566
+ /**
33567
+ * The ops-log window in days, as it is in force. `0` = kept forever.
33568
+ *
33569
+ * Reported rather than left to the caller's memory of what it wrote: this is
33570
+ * the value the analytics sweep will actually use, and an operator asking how
33571
+ * long their audit trail lives should not have to infer it from a default.
33572
+ */
33573
+ opsLogRetentionDays: number().int().min(0),
33432
33574
  persisted: boolean()
33433
33575
  });
33434
33576
  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(), {
@@ -39607,6 +39749,12 @@ Object.freeze({
39607
39749
  addonId: null,
39608
39750
  access: "view"
39609
39751
  },
39752
+ "pipelineAnalytics.listRecentSummaries": {
39753
+ capName: "pipeline-analytics",
39754
+ capScope: "device",
39755
+ addonId: null,
39756
+ access: "view"
39757
+ },
39610
39758
  "pipelineAnalytics.listRecentTracks": {
39611
39759
  capName: "pipeline-analytics",
39612
39760
  capScope: "device",
@@ -43434,6 +43582,11 @@ Object.freeze({
43434
43582
  form: "single",
43435
43583
  optional: true
43436
43584
  }],
43585
+ "pipelineAnalytics.listRecentSummaries": [{
43586
+ name: "deviceIds",
43587
+ form: "array",
43588
+ optional: false
43589
+ }],
43437
43590
  "pipelineAnalytics.listRecentTracks": [{
43438
43591
  name: "deviceIds",
43439
43592
  form: "array",
package/dist/addon.mjs CHANGED
@@ -5367,7 +5367,7 @@ var ZodIssueCode = {
5367
5367
  var ZodFirstPartyTypeKind;
5368
5368
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5369
5369
  //#endregion
5370
- //#region ../types/dist/sleep-CnLyvg3w.mjs
5370
+ //#region ../types/dist/sleep-DBKu2-U5.mjs
5371
5371
  /**
5372
5372
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5373
5373
  * window to float samples (D455).
@@ -7408,7 +7408,23 @@ var EncodeProfileSchema = object({
7408
7408
  "zerolatency",
7409
7409
  "film",
7410
7410
  "animation"
7411
- ]).optional()
7411
+ ]).optional(),
7412
+ /**
7413
+ * ONE slice per access unit.
7414
+ *
7415
+ * `-tune zerolatency` turns on x264's sliced threads, and a frame then leaves
7416
+ * the encoder as five NAL slices that share one RTP timestamp and carry one
7417
+ * marker bit. A libwebrtc depacketiser sees five frame-starts and one
7418
+ * frame-end per frame: the first pictures render and the video then freezes
7419
+ * for good while the audio, on its own plane, plays on. Measured on this hub
7420
+ * 2026-09-13 against the Echo, and reduced to one slice by this flag alone.
7421
+ *
7422
+ * A NAMED field and not a raw flag, because {@link EgressEncodeSchema} omits
7423
+ * `outputArgs` on purpose: an opaque array is part of the sharing key, so two
7424
+ * consumers meaning the same thing spelled differently would stop sharing one
7425
+ * child. Absent means "whatever the encoder does" — today's behaviour.
7426
+ */
7427
+ singleSlicePerFrame: boolean().optional()
7412
7428
  }),
7413
7429
  audio: union([literal("passthrough"), object({
7414
7430
  codec: _enum([
@@ -7458,7 +7474,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
7458
7474
  audio: "passthrough"
7459
7475
  };
7460
7476
  ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7461
- ({ ...BASE_LIVE_EGRESS_PROFILE });
7477
+ ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7462
7478
  /**
7463
7479
  * Deep wiring healthcheck — snapshot of active reachability probes across
7464
7480
  * every declared capability + widget of every installed plugin, on every
@@ -20769,13 +20785,109 @@ var SummariesQueryInput = object({
20769
20785
  deviceIds: array(number()).min(1),
20770
20786
  since: number().optional(),
20771
20787
  until: number().optional(),
20772
- limit: number().int().min(1).max(200).default(50)
20788
+ limit: number().int().min(1).max(200).default(50),
20789
+ /** The same member-wise filter {@link listRecentSummaries} takes — one
20790
+ * meaning of "dog" on every summary surface. */
20791
+ classes: array(string().min(1).max(60)).max(40).optional()
20773
20792
  });
20774
- var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
20775
20793
  var SummaryDetailSchema = object({
20776
20794
  summary: SummarySchema,
20777
- /** Member track ids, in absorption order. */
20778
- trackIds: array(string()).readonly()
20795
+ /** Members in absorption order, oldest join first. */
20796
+ members: array(object({
20797
+ trackId: string(),
20798
+ /**
20799
+ * The track's class at the time it JOINED, or `null` when it was unresolved
20800
+ * and the track no longer exists to fill it.
20801
+ *
20802
+ * The join, not the latest opinion: class voting can re-decide a track's
20803
+ * class afterwards, and a group's composition is the history of who came
20804
+ * together. A consumer counts these to badge a thumbnail — "two people and a
20805
+ * dog" — rather than being handed a second, denormalised tally that would
20806
+ * drift from the members it claims to describe.
20807
+ */
20808
+ className: string().nullable(),
20809
+ /** `primary` is the one member that carries the group's identity. */
20810
+ role: _enum([
20811
+ "primary",
20812
+ "sibling",
20813
+ "child"
20814
+ ]).nullable(),
20815
+ joinedAt: number(),
20816
+ /** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
20817
+ * at read time. Absent when nothing resolved, never an empty string. */
20818
+ label: string().optional(),
20819
+ /** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
20820
+ * recognised nobody, and absent for a member whose track has been pruned —
20821
+ * a thumbnail that names the wrong person is worse than one naming nobody. */
20822
+ subLabel: string().optional()
20823
+ })).readonly()
20824
+ });
20825
+ /**
20826
+ * What a LIST of groups carries: the envelope plus what it is MADE OF.
20827
+ *
20828
+ * Coarse on purpose — the operator's rule is "only the rough data on the list,
20829
+ * we extend when we notice we need more". Enough to draw the card ("two people
20830
+ * and a dog") and no more. The MEMBERS, their names and the per-member links
20831
+ * are on {@link getSummary}: shipping every member of every group so a client
20832
+ * can count them turns a page of two hundred groups into a thousand records to
20833
+ * draw two hundred badges.
20834
+ */
20835
+ var SummaryListItemSchema = object({
20836
+ summary: SummarySchema,
20837
+ /** Class counts, most numerous first; `className: null` is a member whose
20838
+ * class never resolved, counted so the counts add up to `memberCount`. */
20839
+ classes: array(object({
20840
+ className: string().nullable(),
20841
+ count: number().int().positive()
20842
+ })).readonly()
20843
+ });
20844
+ var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
20845
+ /**
20846
+ * The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
20847
+ *
20848
+ * The reel on the cameras page and the Events gallery both ride a cursor, so a
20849
+ * summaries feed that could only answer "the last N for these cameras"
20850
+ * (`listSummaries`) would make groups available in the timeline and nowhere
20851
+ * else. Two feeds with different ordering contracts would be two ideas of what
20852
+ * "newest" means, on one screen.
20853
+ */
20854
+ var RecentSummariesQueryInput = object({
20855
+ /** Devices to merge. An empty array yields an empty page. */
20856
+ deviceIds: array(number()),
20857
+ /** Window lower bound on `lastActiveAt` (inclusive). */
20858
+ since: number().optional(),
20859
+ /** Window upper bound on `lastActiveAt` (inclusive). */
20860
+ until: number().optional(),
20861
+ limit: number().int().min(1).max(500).default(100),
20862
+ /** Opaque continuation cursor from a previous page's `nextCursor`. */
20863
+ cursor: string().optional(),
20864
+ /**
20865
+ * Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
20866
+ * deliberately the same name: the events filter tree emits one list of ticked
20867
+ * taxonomy nodes, and a summaries feed that called it something else would
20868
+ * make the operator's one filter component produce two shapes.
20869
+ *
20870
+ * A question about the MEMBERS: a group matches when ANY of them does. "Show
20871
+ * me the arrivals with a dog" has to return the group of four people who had
20872
+ * one with them; a filter on the group's own fields could only ever answer
20873
+ * about its primary.
20874
+ *
20875
+ * Matched against all THREE tiers of a member — the class (`animal`), the
20876
+ * sub-class (`dog`) and the instance (a name, a plate) — because which tier a
20877
+ * ticked node lives on is the taxonomy's business, not the caller's. `dog` is
20878
+ * an event kind in the tree and a tier-1 label on an `animal` track; a filter
20879
+ * that read only the class would answer "animal" and never "dog".
20880
+ *
20881
+ * ABSENT or EMPTY means no filter — absent is not a selection of none.
20882
+ */
20883
+ classes: array(string().min(1).max(60)).max(40).optional()
20884
+ });
20885
+ var RecentSummariesPageSchema = object({
20886
+ /** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
20887
+ * {@link listSummaries} — one list shape, so a card renders the same
20888
+ * whichever feed drew it. */
20889
+ summaries: array(SummaryListItemSchema).readonly(),
20890
+ nextCursor: string().nullable()
20779
20891
  });
20780
20892
  var RecentTracksPageSchema = object({
20781
20893
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
@@ -21189,7 +21301,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
21189
21301
  classes: array(string()).optional(),
21190
21302
  /** See {@link ExcludeSourcesDoc}. */
21191
21303
  excludeSources: array(TrackSourceSchema).optional()
21192
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
21304
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(RecentSummariesQueryInput, RecentSummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
21193
21305
  kind: "mutation",
21194
21306
  auth: "admin"
21195
21307
  }), 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({
@@ -33351,7 +33463,29 @@ var LoggingSettingsPatchSchema = object({
33351
33463
  * disarmed the channels it did not mention would make the Levels page and
33352
33464
  * the Diagnostics page fight over the same value.
33353
33465
  */
33354
- channels: array(LogChannelWindowPatchSchema).readonly().optional()
33466
+ channels: array(LogChannelWindowPatchSchema).readonly().optional(),
33467
+ /**
33468
+ * How many days the analytics OPS LOG is kept — the audit trail of what
33469
+ * retention actually deleted.
33470
+ *
33471
+ * It lives HERE, on the logging document, and not on the analytics addon's
33472
+ * settings form, on the operator's instruction: every other log-ish window in
33473
+ * this system is configured through this one document, and a retention audit
33474
+ * configured somewhere else is a second place to look when the question is
33475
+ * "what happened to my data".
33476
+ *
33477
+ * That placement has a cost worth stating: this document ships in the
33478
+ * framework closure, so this knob needs a published `@camstack/server` while
33479
+ * the four windows beside it (D485) reach a node on `camstack deploy`.
33480
+ *
33481
+ * `retention-model.ts` argued this one must NOT follow a device window,
33482
+ * because the audit trail is the history of the SWEEP and not of the camera.
33483
+ * That argument stands and is untouched — what changes is that 30 days stops
33484
+ * being a constant nobody can reach. `0` keeps it forever. The floor is 1 day
33485
+ * rather than 0-as-delete: an audit log truncated to nothing is precisely the
33486
+ * state in which the next 9.5 GiB leak cannot be explained.
33487
+ */
33488
+ opsLogRetentionDays: number().int().min(0).max(3650).optional()
33355
33489
  });
33356
33490
  /**
33357
33491
  * Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
@@ -33424,6 +33558,14 @@ var LoggingSettingsStateSchema = object({
33424
33558
  channels: array(LogChannelDescriptorSchema).readonly(),
33425
33559
  /** The channels ARMED right now, each with its deadline. */
33426
33560
  activeChannels: array(LogChannelWindowStateSchema).readonly(),
33561
+ /**
33562
+ * The ops-log window in days, as it is in force. `0` = kept forever.
33563
+ *
33564
+ * Reported rather than left to the caller's memory of what it wrote: this is
33565
+ * the value the analytics sweep will actually use, and an operator asking how
33566
+ * long their audit trail lives should not have to infer it from a default.
33567
+ */
33568
+ opsLogRetentionDays: number().int().min(0),
33427
33569
  persisted: boolean()
33428
33570
  });
33429
33571
  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(), {
@@ -39602,6 +39744,12 @@ Object.freeze({
39602
39744
  addonId: null,
39603
39745
  access: "view"
39604
39746
  },
39747
+ "pipelineAnalytics.listRecentSummaries": {
39748
+ capName: "pipeline-analytics",
39749
+ capScope: "device",
39750
+ addonId: null,
39751
+ access: "view"
39752
+ },
39605
39753
  "pipelineAnalytics.listRecentTracks": {
39606
39754
  capName: "pipeline-analytics",
39607
39755
  capScope: "device",
@@ -43429,6 +43577,11 @@ Object.freeze({
43429
43577
  form: "single",
43430
43578
  optional: true
43431
43579
  }],
43580
+ "pipelineAnalytics.listRecentSummaries": [{
43581
+ name: "deviceIds",
43582
+ form: "array",
43583
+ optional: false
43584
+ }],
43432
43585
  "pipelineAnalytics.listRecentTracks": [{
43433
43586
  name: "deviceIds",
43434
43587
  form: "array",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-reolink",
3
- "version": "1.2.123",
3
+ "version": "1.2.124",
4
4
  "description": "Reolink camera device provider addon for CamStack — native Baichuan protocol",
5
5
  "keywords": [
6
6
  "camstack",