@camstack/addon-notifiers 1.2.104 → 1.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
@@ -5376,7 +5376,7 @@ var ZodIssueCode = {
5376
5376
  var ZodFirstPartyTypeKind;
5377
5377
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5378
5378
  //#endregion
5379
- //#region ../types/dist/sleep-CnLyvg3w.mjs
5379
+ //#region ../types/dist/sleep-DBKu2-U5.mjs
5380
5380
  /**
5381
5381
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5382
5382
  * window to float samples (D455).
@@ -7506,7 +7506,23 @@ var EncodeProfileSchema = object({
7506
7506
  "zerolatency",
7507
7507
  "film",
7508
7508
  "animation"
7509
- ]).optional()
7509
+ ]).optional(),
7510
+ /**
7511
+ * ONE slice per access unit.
7512
+ *
7513
+ * `-tune zerolatency` turns on x264's sliced threads, and a frame then leaves
7514
+ * the encoder as five NAL slices that share one RTP timestamp and carry one
7515
+ * marker bit. A libwebrtc depacketiser sees five frame-starts and one
7516
+ * frame-end per frame: the first pictures render and the video then freezes
7517
+ * for good while the audio, on its own plane, plays on. Measured on this hub
7518
+ * 2026-09-13 against the Echo, and reduced to one slice by this flag alone.
7519
+ *
7520
+ * A NAMED field and not a raw flag, because {@link EgressEncodeSchema} omits
7521
+ * `outputArgs` on purpose: an opaque array is part of the sharing key, so two
7522
+ * consumers meaning the same thing spelled differently would stop sharing one
7523
+ * child. Absent means "whatever the encoder does" — today's behaviour.
7524
+ */
7525
+ singleSlicePerFrame: boolean().optional()
7510
7526
  }),
7511
7527
  audio: union([literal("passthrough"), object({
7512
7528
  codec: _enum([
@@ -7556,7 +7572,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
7556
7572
  audio: "passthrough"
7557
7573
  };
7558
7574
  ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7559
- ({ ...BASE_LIVE_EGRESS_PROFILE });
7575
+ ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7560
7576
  /**
7561
7577
  * Deep wiring healthcheck — snapshot of active reachability probes across
7562
7578
  * every declared capability + widget of every installed plugin, on every
@@ -19948,13 +19964,109 @@ var SummariesQueryInput = object({
19948
19964
  deviceIds: array(number()).min(1),
19949
19965
  since: number().optional(),
19950
19966
  until: number().optional(),
19951
- limit: number().int().min(1).max(200).default(50)
19967
+ limit: number().int().min(1).max(200).default(50),
19968
+ /** The same member-wise filter {@link listRecentSummaries} takes — one
19969
+ * meaning of "dog" on every summary surface. */
19970
+ classes: array(string().min(1).max(60)).max(40).optional()
19952
19971
  });
19953
- var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19954
19972
  var SummaryDetailSchema = object({
19955
19973
  summary: SummarySchema,
19956
- /** Member track ids, in absorption order. */
19957
- trackIds: array(string()).readonly()
19974
+ /** Members in absorption order, oldest join first. */
19975
+ members: array(object({
19976
+ trackId: string(),
19977
+ /**
19978
+ * The track's class at the time it JOINED, or `null` when it was unresolved
19979
+ * and the track no longer exists to fill it.
19980
+ *
19981
+ * The join, not the latest opinion: class voting can re-decide a track's
19982
+ * class afterwards, and a group's composition is the history of who came
19983
+ * together. A consumer counts these to badge a thumbnail — "two people and a
19984
+ * dog" — rather than being handed a second, denormalised tally that would
19985
+ * drift from the members it claims to describe.
19986
+ */
19987
+ className: string().nullable(),
19988
+ /** `primary` is the one member that carries the group's identity. */
19989
+ role: _enum([
19990
+ "primary",
19991
+ "sibling",
19992
+ "child"
19993
+ ]).nullable(),
19994
+ joinedAt: number(),
19995
+ /** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
19996
+ * at read time. Absent when nothing resolved, never an empty string. */
19997
+ label: string().optional(),
19998
+ /** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
19999
+ * recognised nobody, and absent for a member whose track has been pruned —
20000
+ * a thumbnail that names the wrong person is worse than one naming nobody. */
20001
+ subLabel: string().optional()
20002
+ })).readonly()
20003
+ });
20004
+ /**
20005
+ * What a LIST of groups carries: the envelope plus what it is MADE OF.
20006
+ *
20007
+ * Coarse on purpose — the operator's rule is "only the rough data on the list,
20008
+ * we extend when we notice we need more". Enough to draw the card ("two people
20009
+ * and a dog") and no more. The MEMBERS, their names and the per-member links
20010
+ * are on {@link getSummary}: shipping every member of every group so a client
20011
+ * can count them turns a page of two hundred groups into a thousand records to
20012
+ * draw two hundred badges.
20013
+ */
20014
+ var SummaryListItemSchema = object({
20015
+ summary: SummarySchema,
20016
+ /** Class counts, most numerous first; `className: null` is a member whose
20017
+ * class never resolved, counted so the counts add up to `memberCount`. */
20018
+ classes: array(object({
20019
+ className: string().nullable(),
20020
+ count: number().int().positive()
20021
+ })).readonly()
20022
+ });
20023
+ var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
20024
+ /**
20025
+ * The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
20026
+ *
20027
+ * The reel on the cameras page and the Events gallery both ride a cursor, so a
20028
+ * summaries feed that could only answer "the last N for these cameras"
20029
+ * (`listSummaries`) would make groups available in the timeline and nowhere
20030
+ * else. Two feeds with different ordering contracts would be two ideas of what
20031
+ * "newest" means, on one screen.
20032
+ */
20033
+ var RecentSummariesQueryInput = object({
20034
+ /** Devices to merge. An empty array yields an empty page. */
20035
+ deviceIds: array(number()),
20036
+ /** Window lower bound on `lastActiveAt` (inclusive). */
20037
+ since: number().optional(),
20038
+ /** Window upper bound on `lastActiveAt` (inclusive). */
20039
+ until: number().optional(),
20040
+ limit: number().int().min(1).max(500).default(100),
20041
+ /** Opaque continuation cursor from a previous page's `nextCursor`. */
20042
+ cursor: string().optional(),
20043
+ /**
20044
+ * Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
20045
+ * deliberately the same name: the events filter tree emits one list of ticked
20046
+ * taxonomy nodes, and a summaries feed that called it something else would
20047
+ * make the operator's one filter component produce two shapes.
20048
+ *
20049
+ * A question about the MEMBERS: a group matches when ANY of them does. "Show
20050
+ * me the arrivals with a dog" has to return the group of four people who had
20051
+ * one with them; a filter on the group's own fields could only ever answer
20052
+ * about its primary.
20053
+ *
20054
+ * Matched against all THREE tiers of a member — the class (`animal`), the
20055
+ * sub-class (`dog`) and the instance (a name, a plate) — because which tier a
20056
+ * ticked node lives on is the taxonomy's business, not the caller's. `dog` is
20057
+ * an event kind in the tree and a tier-1 label on an `animal` track; a filter
20058
+ * that read only the class would answer "animal" and never "dog".
20059
+ *
20060
+ * ABSENT or EMPTY means no filter — absent is not a selection of none.
20061
+ */
20062
+ classes: array(string().min(1).max(60)).max(40).optional()
20063
+ });
20064
+ var RecentSummariesPageSchema = object({
20065
+ /** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
20066
+ * {@link listSummaries} — one list shape, so a card renders the same
20067
+ * whichever feed drew it. */
20068
+ summaries: array(SummaryListItemSchema).readonly(),
20069
+ nextCursor: string().nullable()
19958
20070
  });
19959
20071
  var RecentTracksPageSchema = object({
19960
20072
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
@@ -20368,7 +20480,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20368
20480
  classes: array(string()).optional(),
20369
20481
  /** See {@link ExcludeSourcesDoc}. */
20370
20482
  excludeSources: array(TrackSourceSchema).optional()
20371
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20483
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(RecentSummariesQueryInput, RecentSummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20372
20484
  kind: "mutation",
20373
20485
  auth: "admin"
20374
20486
  }), 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({
@@ -29974,7 +30086,29 @@ var LoggingSettingsPatchSchema = object({
29974
30086
  * disarmed the channels it did not mention would make the Levels page and
29975
30087
  * the Diagnostics page fight over the same value.
29976
30088
  */
29977
- channels: array(LogChannelWindowPatchSchema).readonly().optional()
30089
+ channels: array(LogChannelWindowPatchSchema).readonly().optional(),
30090
+ /**
30091
+ * How many days the analytics OPS LOG is kept — the audit trail of what
30092
+ * retention actually deleted.
30093
+ *
30094
+ * It lives HERE, on the logging document, and not on the analytics addon's
30095
+ * settings form, on the operator's instruction: every other log-ish window in
30096
+ * this system is configured through this one document, and a retention audit
30097
+ * configured somewhere else is a second place to look when the question is
30098
+ * "what happened to my data".
30099
+ *
30100
+ * That placement has a cost worth stating: this document ships in the
30101
+ * framework closure, so this knob needs a published `@camstack/server` while
30102
+ * the four windows beside it (D485) reach a node on `camstack deploy`.
30103
+ *
30104
+ * `retention-model.ts` argued this one must NOT follow a device window,
30105
+ * because the audit trail is the history of the SWEEP and not of the camera.
30106
+ * That argument stands and is untouched — what changes is that 30 days stops
30107
+ * being a constant nobody can reach. `0` keeps it forever. The floor is 1 day
30108
+ * rather than 0-as-delete: an audit log truncated to nothing is precisely the
30109
+ * state in which the next 9.5 GiB leak cannot be explained.
30110
+ */
30111
+ opsLogRetentionDays: number().int().min(0).max(3650).optional()
29978
30112
  });
29979
30113
  /**
29980
30114
  * Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
@@ -30047,6 +30181,14 @@ var LoggingSettingsStateSchema = object({
30047
30181
  channels: array(LogChannelDescriptorSchema).readonly(),
30048
30182
  /** The channels ARMED right now, each with its deadline. */
30049
30183
  activeChannels: array(LogChannelWindowStateSchema).readonly(),
30184
+ /**
30185
+ * The ops-log window in days, as it is in force. `0` = kept forever.
30186
+ *
30187
+ * Reported rather than left to the caller's memory of what it wrote: this is
30188
+ * the value the analytics sweep will actually use, and an operator asking how
30189
+ * long their audit trail lives should not have to infer it from a default.
30190
+ */
30191
+ opsLogRetentionDays: number().int().min(0),
30050
30192
  persisted: boolean()
30051
30193
  });
30052
30194
  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(), {
@@ -34206,6 +34348,12 @@ Object.freeze({
34206
34348
  addonId: null,
34207
34349
  access: "view"
34208
34350
  },
34351
+ "pipelineAnalytics.listRecentSummaries": {
34352
+ capName: "pipeline-analytics",
34353
+ capScope: "device",
34354
+ addonId: null,
34355
+ access: "view"
34356
+ },
34209
34357
  "pipelineAnalytics.listRecentTracks": {
34210
34358
  capName: "pipeline-analytics",
34211
34359
  capScope: "device",
@@ -38033,6 +38181,11 @@ Object.freeze({
38033
38181
  form: "single",
38034
38182
  optional: true
38035
38183
  }],
38184
+ "pipelineAnalytics.listRecentSummaries": [{
38185
+ name: "deviceIds",
38186
+ form: "array",
38187
+ optional: false
38188
+ }],
38036
38189
  "pipelineAnalytics.listRecentTracks": [{
38037
38190
  name: "deviceIds",
38038
38191
  form: "array",
package/dist/addon.mjs CHANGED
@@ -5349,7 +5349,7 @@ var ZodIssueCode = {
5349
5349
  var ZodFirstPartyTypeKind;
5350
5350
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5351
5351
  //#endregion
5352
- //#region ../types/dist/sleep-CnLyvg3w.mjs
5352
+ //#region ../types/dist/sleep-DBKu2-U5.mjs
5353
5353
  /**
5354
5354
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5355
5355
  * window to float samples (D455).
@@ -7479,7 +7479,23 @@ var EncodeProfileSchema = object({
7479
7479
  "zerolatency",
7480
7480
  "film",
7481
7481
  "animation"
7482
- ]).optional()
7482
+ ]).optional(),
7483
+ /**
7484
+ * ONE slice per access unit.
7485
+ *
7486
+ * `-tune zerolatency` turns on x264's sliced threads, and a frame then leaves
7487
+ * the encoder as five NAL slices that share one RTP timestamp and carry one
7488
+ * marker bit. A libwebrtc depacketiser sees five frame-starts and one
7489
+ * frame-end per frame: the first pictures render and the video then freezes
7490
+ * for good while the audio, on its own plane, plays on. Measured on this hub
7491
+ * 2026-09-13 against the Echo, and reduced to one slice by this flag alone.
7492
+ *
7493
+ * A NAMED field and not a raw flag, because {@link EgressEncodeSchema} omits
7494
+ * `outputArgs` on purpose: an opaque array is part of the sharing key, so two
7495
+ * consumers meaning the same thing spelled differently would stop sharing one
7496
+ * child. Absent means "whatever the encoder does" — today's behaviour.
7497
+ */
7498
+ singleSlicePerFrame: boolean().optional()
7483
7499
  }),
7484
7500
  audio: union([literal("passthrough"), object({
7485
7501
  codec: _enum([
@@ -7529,7 +7545,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
7529
7545
  audio: "passthrough"
7530
7546
  };
7531
7547
  ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7532
- ({ ...BASE_LIVE_EGRESS_PROFILE });
7548
+ ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7533
7549
  /**
7534
7550
  * Deep wiring healthcheck — snapshot of active reachability probes across
7535
7551
  * every declared capability + widget of every installed plugin, on every
@@ -19921,13 +19937,109 @@ var SummariesQueryInput = object({
19921
19937
  deviceIds: array(number()).min(1),
19922
19938
  since: number().optional(),
19923
19939
  until: number().optional(),
19924
- limit: number().int().min(1).max(200).default(50)
19940
+ limit: number().int().min(1).max(200).default(50),
19941
+ /** The same member-wise filter {@link listRecentSummaries} takes — one
19942
+ * meaning of "dog" on every summary surface. */
19943
+ classes: array(string().min(1).max(60)).max(40).optional()
19925
19944
  });
19926
- var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19927
19945
  var SummaryDetailSchema = object({
19928
19946
  summary: SummarySchema,
19929
- /** Member track ids, in absorption order. */
19930
- trackIds: array(string()).readonly()
19947
+ /** Members in absorption order, oldest join first. */
19948
+ members: array(object({
19949
+ trackId: string(),
19950
+ /**
19951
+ * The track's class at the time it JOINED, or `null` when it was unresolved
19952
+ * and the track no longer exists to fill it.
19953
+ *
19954
+ * The join, not the latest opinion: class voting can re-decide a track's
19955
+ * class afterwards, and a group's composition is the history of who came
19956
+ * together. A consumer counts these to badge a thumbnail — "two people and a
19957
+ * dog" — rather than being handed a second, denormalised tally that would
19958
+ * drift from the members it claims to describe.
19959
+ */
19960
+ className: string().nullable(),
19961
+ /** `primary` is the one member that carries the group's identity. */
19962
+ role: _enum([
19963
+ "primary",
19964
+ "sibling",
19965
+ "child"
19966
+ ]).nullable(),
19967
+ joinedAt: number(),
19968
+ /** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
19969
+ * at read time. Absent when nothing resolved, never an empty string. */
19970
+ label: string().optional(),
19971
+ /** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
19972
+ * recognised nobody, and absent for a member whose track has been pruned —
19973
+ * a thumbnail that names the wrong person is worse than one naming nobody. */
19974
+ subLabel: string().optional()
19975
+ })).readonly()
19976
+ });
19977
+ /**
19978
+ * What a LIST of groups carries: the envelope plus what it is MADE OF.
19979
+ *
19980
+ * Coarse on purpose — the operator's rule is "only the rough data on the list,
19981
+ * we extend when we notice we need more". Enough to draw the card ("two people
19982
+ * and a dog") and no more. The MEMBERS, their names and the per-member links
19983
+ * are on {@link getSummary}: shipping every member of every group so a client
19984
+ * can count them turns a page of two hundred groups into a thousand records to
19985
+ * draw two hundred badges.
19986
+ */
19987
+ var SummaryListItemSchema = object({
19988
+ summary: SummarySchema,
19989
+ /** Class counts, most numerous first; `className: null` is a member whose
19990
+ * class never resolved, counted so the counts add up to `memberCount`. */
19991
+ classes: array(object({
19992
+ className: string().nullable(),
19993
+ count: number().int().positive()
19994
+ })).readonly()
19995
+ });
19996
+ var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
19997
+ /**
19998
+ * The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
19999
+ *
20000
+ * The reel on the cameras page and the Events gallery both ride a cursor, so a
20001
+ * summaries feed that could only answer "the last N for these cameras"
20002
+ * (`listSummaries`) would make groups available in the timeline and nowhere
20003
+ * else. Two feeds with different ordering contracts would be two ideas of what
20004
+ * "newest" means, on one screen.
20005
+ */
20006
+ var RecentSummariesQueryInput = object({
20007
+ /** Devices to merge. An empty array yields an empty page. */
20008
+ deviceIds: array(number()),
20009
+ /** Window lower bound on `lastActiveAt` (inclusive). */
20010
+ since: number().optional(),
20011
+ /** Window upper bound on `lastActiveAt` (inclusive). */
20012
+ until: number().optional(),
20013
+ limit: number().int().min(1).max(500).default(100),
20014
+ /** Opaque continuation cursor from a previous page's `nextCursor`. */
20015
+ cursor: string().optional(),
20016
+ /**
20017
+ * Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
20018
+ * deliberately the same name: the events filter tree emits one list of ticked
20019
+ * taxonomy nodes, and a summaries feed that called it something else would
20020
+ * make the operator's one filter component produce two shapes.
20021
+ *
20022
+ * A question about the MEMBERS: a group matches when ANY of them does. "Show
20023
+ * me the arrivals with a dog" has to return the group of four people who had
20024
+ * one with them; a filter on the group's own fields could only ever answer
20025
+ * about its primary.
20026
+ *
20027
+ * Matched against all THREE tiers of a member — the class (`animal`), the
20028
+ * sub-class (`dog`) and the instance (a name, a plate) — because which tier a
20029
+ * ticked node lives on is the taxonomy's business, not the caller's. `dog` is
20030
+ * an event kind in the tree and a tier-1 label on an `animal` track; a filter
20031
+ * that read only the class would answer "animal" and never "dog".
20032
+ *
20033
+ * ABSENT or EMPTY means no filter — absent is not a selection of none.
20034
+ */
20035
+ classes: array(string().min(1).max(60)).max(40).optional()
20036
+ });
20037
+ var RecentSummariesPageSchema = object({
20038
+ /** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
20039
+ * {@link listSummaries} — one list shape, so a card renders the same
20040
+ * whichever feed drew it. */
20041
+ summaries: array(SummaryListItemSchema).readonly(),
20042
+ nextCursor: string().nullable()
19931
20043
  });
19932
20044
  var RecentTracksPageSchema = object({
19933
20045
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
@@ -20341,7 +20453,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20341
20453
  classes: array(string()).optional(),
20342
20454
  /** See {@link ExcludeSourcesDoc}. */
20343
20455
  excludeSources: array(TrackSourceSchema).optional()
20344
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20456
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(RecentSummariesQueryInput, RecentSummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20345
20457
  kind: "mutation",
20346
20458
  auth: "admin"
20347
20459
  }), 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({
@@ -29947,7 +30059,29 @@ var LoggingSettingsPatchSchema = object({
29947
30059
  * disarmed the channels it did not mention would make the Levels page and
29948
30060
  * the Diagnostics page fight over the same value.
29949
30061
  */
29950
- channels: array(LogChannelWindowPatchSchema).readonly().optional()
30062
+ channels: array(LogChannelWindowPatchSchema).readonly().optional(),
30063
+ /**
30064
+ * How many days the analytics OPS LOG is kept — the audit trail of what
30065
+ * retention actually deleted.
30066
+ *
30067
+ * It lives HERE, on the logging document, and not on the analytics addon's
30068
+ * settings form, on the operator's instruction: every other log-ish window in
30069
+ * this system is configured through this one document, and a retention audit
30070
+ * configured somewhere else is a second place to look when the question is
30071
+ * "what happened to my data".
30072
+ *
30073
+ * That placement has a cost worth stating: this document ships in the
30074
+ * framework closure, so this knob needs a published `@camstack/server` while
30075
+ * the four windows beside it (D485) reach a node on `camstack deploy`.
30076
+ *
30077
+ * `retention-model.ts` argued this one must NOT follow a device window,
30078
+ * because the audit trail is the history of the SWEEP and not of the camera.
30079
+ * That argument stands and is untouched — what changes is that 30 days stops
30080
+ * being a constant nobody can reach. `0` keeps it forever. The floor is 1 day
30081
+ * rather than 0-as-delete: an audit log truncated to nothing is precisely the
30082
+ * state in which the next 9.5 GiB leak cannot be explained.
30083
+ */
30084
+ opsLogRetentionDays: number().int().min(0).max(3650).optional()
29951
30085
  });
29952
30086
  /**
29953
30087
  * Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
@@ -30020,6 +30154,14 @@ var LoggingSettingsStateSchema = object({
30020
30154
  channels: array(LogChannelDescriptorSchema).readonly(),
30021
30155
  /** The channels ARMED right now, each with its deadline. */
30022
30156
  activeChannels: array(LogChannelWindowStateSchema).readonly(),
30157
+ /**
30158
+ * The ops-log window in days, as it is in force. `0` = kept forever.
30159
+ *
30160
+ * Reported rather than left to the caller's memory of what it wrote: this is
30161
+ * the value the analytics sweep will actually use, and an operator asking how
30162
+ * long their audit trail lives should not have to infer it from a default.
30163
+ */
30164
+ opsLogRetentionDays: number().int().min(0),
30023
30165
  persisted: boolean()
30024
30166
  });
30025
30167
  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(), {
@@ -34179,6 +34321,12 @@ Object.freeze({
34179
34321
  addonId: null,
34180
34322
  access: "view"
34181
34323
  },
34324
+ "pipelineAnalytics.listRecentSummaries": {
34325
+ capName: "pipeline-analytics",
34326
+ capScope: "device",
34327
+ addonId: null,
34328
+ access: "view"
34329
+ },
34182
34330
  "pipelineAnalytics.listRecentTracks": {
34183
34331
  capName: "pipeline-analytics",
34184
34332
  capScope: "device",
@@ -38006,6 +38154,11 @@ Object.freeze({
38006
38154
  form: "single",
38007
38155
  optional: true
38008
38156
  }],
38157
+ "pipelineAnalytics.listRecentSummaries": [{
38158
+ name: "deviceIds",
38159
+ form: "array",
38160
+ optional: false
38161
+ }],
38009
38162
  "pipelineAnalytics.listRecentTracks": [{
38010
38163
  name: "deviceIds",
38011
38164
  form: "array",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-notifiers",
3
- "version": "1.2.104",
3
+ "version": "1.2.105",
4
4
  "description": "System notifiers addon for CamStack — a `notification-output` collection provider hosting per-kind notifier adapters (ntfy, pushover, gotify, telegram, discord, webhook, zentik).",
5
5
  "keywords": [
6
6
  "camstack",