@camstack/addon-model-studio 1.1.129 → 1.1.131

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.
Files changed (17) hide show
  1. package/dist/{MotionZonesSettings-C0ZZHN5q.mjs → MotionZonesSettings-Bq4Rn5EJ.mjs} +2 -2
  2. package/dist/{PrivacyMaskSettings-D4uGl7zT.mjs → PrivacyMaskSettings-BoIP6Dhq.mjs} +4 -4
  3. package/dist/{SceneMonitorEditor-BKYzMLFb.mjs → SceneMonitorEditor-C8M6rkY7.mjs} +3 -3
  4. package/dist/_stub.js +10 -10
  5. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-CS5tkis3.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-D-IAFmmz.mjs} +4 -4
  6. package/dist/{_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CXCz80XV.mjs → _virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-D04vt1H4.mjs} +1 -1
  7. package/dist/{hostInit-BtQKjmWv.mjs → hostInit-DiQ1ZL5R.mjs} +3 -3
  8. package/dist/model-studio.addon.js +334 -16
  9. package/dist/model-studio.addon.mjs +334 -16
  10. package/dist/{player-overlays-CMrYqFCL.mjs → player-overlays-CNZeJiF2.mjs} +1 -1
  11. package/dist/remoteEntry.js +1 -1
  12. package/dist/{responsive-JVBuLbSa.mjs → responsive-DuDd1AFK.mjs} +1 -1
  13. package/dist/{square-BCP4gOno.mjs → square-DtHp8pdo.mjs} +1 -1
  14. package/dist/{trash-2-CeqN21XB.mjs → trash-2-B1QppmHH.mjs} +1 -1
  15. package/dist/{use-device-snapshot-UOdeTQpP.mjs → use-device-snapshot-Ddf11PHt.mjs} +1 -1
  16. package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-C_r2F6t8.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-DzZW_rbO.mjs} +1 -1
  17. package/package.json +1 -1
@@ -523,7 +523,7 @@ async function importScryptedCatalogModel(input, deps) {
523
523
  }
524
524
  }
525
525
  //#endregion
526
- //#region ../types/dist/event-category-ZyX6jcse.mjs
526
+ //#region ../types/dist/event-category-BVDXG4tB.mjs
527
527
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
528
528
  EventCategory["SystemBoot"] = "system.boot";
529
529
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -1140,6 +1140,20 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
1140
1140
  * pull-reconcile from the provider's `getStatus` on reconnect. */
1141
1141
  EventCategory["MeshNetworkChanged"] = "network.mesh.changed";
1142
1142
  EventCategory["BackupCompleted"] = "backup.completed";
1143
+ /**
1144
+ * A whole backup RUN finished — every destination attempted, win or lose.
1145
+ *
1146
+ * `backup.completed` fires once per DESTINATION, which is the right grain for
1147
+ * a progress UI and the wrong one for a notification: an operator with three
1148
+ * destinations would be told three times. And a run where two of three
1149
+ * destinations succeeded is not a clean success — a single "backup
1150
+ * completed" that hid the failed one would be a lie, so the count of each is
1151
+ * carried here and the message says both.
1152
+ *
1153
+ * Emitted by the backup orchestrator only after the destination loop, so a
1154
+ * run that dies during the BUILD phase produces no completion at all.
1155
+ */
1156
+ EventCategory["BackupRunCompleted"] = "backup.run-completed";
1143
1157
  EventCategory["BackupRestored"] = "backup.restored";
1144
1158
  EventCategory["NotificationDispatched"] = "notification.dispatched";
1145
1159
  EventCategory["NotificationFailed"] = "notification.failed";
@@ -5870,7 +5884,7 @@ var ZodIssueCode = {
5870
5884
  var ZodFirstPartyTypeKind;
5871
5885
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5872
5886
  //#endregion
5873
- //#region ../types/dist/sleep-CnLyvg3w.mjs
5887
+ //#region ../types/dist/sleep-DEuj7E3j.mjs
5874
5888
  /**
5875
5889
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5876
5890
  * window to float samples (D455).
@@ -7942,7 +7956,23 @@ var EncodeProfileSchema = object({
7942
7956
  "zerolatency",
7943
7957
  "film",
7944
7958
  "animation"
7945
- ]).optional()
7959
+ ]).optional(),
7960
+ /**
7961
+ * ONE slice per access unit.
7962
+ *
7963
+ * `-tune zerolatency` turns on x264's sliced threads, and a frame then leaves
7964
+ * the encoder as five NAL slices that share one RTP timestamp and carry one
7965
+ * marker bit. A libwebrtc depacketiser sees five frame-starts and one
7966
+ * frame-end per frame: the first pictures render and the video then freezes
7967
+ * for good while the audio, on its own plane, plays on. Measured on this hub
7968
+ * 2026-09-13 against the Echo, and reduced to one slice by this flag alone.
7969
+ *
7970
+ * A NAMED field and not a raw flag, because {@link EgressEncodeSchema} omits
7971
+ * `outputArgs` on purpose: an opaque array is part of the sharing key, so two
7972
+ * consumers meaning the same thing spelled differently would stop sharing one
7973
+ * child. Absent means "whatever the encoder does" — today's behaviour.
7974
+ */
7975
+ singleSlicePerFrame: boolean().optional()
7946
7976
  }),
7947
7977
  audio: union([literal("passthrough"), object({
7948
7978
  codec: _enum([
@@ -7992,7 +8022,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
7992
8022
  audio: "passthrough"
7993
8023
  };
7994
8024
  ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7995
- ({ ...BASE_LIVE_EGRESS_PROFILE });
8025
+ ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7996
8026
  /**
7997
8027
  * Deep wiring healthcheck — snapshot of active reachability probes across
7998
8028
  * every declared capability + widget of every installed plugin, on every
@@ -12059,6 +12089,58 @@ method(ListInputSchema, array(BrokerInfoSchema$1)), method(GetInputSchema, Broke
12059
12089
  auth: "admin"
12060
12090
  }), method(GetStateInputSchema, unknown().nullable()), method(_void(), RegistryStatusSchema);
12061
12091
  DeviceType.Camera;
12092
+ /**
12093
+ * The signals a device can emit to WAKE its own stream.
12094
+ *
12095
+ * A camera whose stream is built on demand sleeps until something asks for it,
12096
+ * and "something" cannot be a consumer that is merely attached — a Frigate-style
12097
+ * puller holds a session open for ever, and treating that as demand would keep
12098
+ * a battery camera awake for ever, which is the whole thing the battery is for
12099
+ * (D173). So the wake has to come from the CAMERA: an event it noticed by
12100
+ * itself, with no stream running.
12101
+ *
12102
+ * ## The vocabulary is the PROVIDER'S, not ours
12103
+ *
12104
+ * Like `consumables`, this cap declares no vocabulary of its own. A provider
12105
+ * names each signal with a `code` it chooses and a `label` an operator reads.
12106
+ * Reolink offers motion and camera-native detection; another provider may offer
12107
+ * a tamper, a doorbell press, a PIR, or something no camera in this fleet has
12108
+ * yet. A fixed enum here would mean every new signal is a framework release.
12109
+ *
12110
+ * It is deliberately NOT derived from the caps a device already binds. Whether
12111
+ * a camera CAN push firmware motion is expressed by `motionSources` containing
12112
+ * `'onboard'`, and whether it does AI on-camera by the `native-object-detection`
12113
+ * binding — but both answer "what drives the detection pipeline", which is a
12114
+ * different question from "what may wake a sleeping stream". A camera can do
12115
+ * the first and not be trusted with the second, and the operator picks per
12116
+ * camera. Two questions, two authorities.
12117
+ *
12118
+ * ## Availability is not permission
12119
+ *
12120
+ * `listSignals` says what the device CAN emit. Whether a given signal actually
12121
+ * wakes the stream is the operator's per-camera choice, held by the broker
12122
+ * alongside the cooldown — see the stream-broker cap's wake settings. A
12123
+ * provider declaring a signal is not a provider enabling it.
12124
+ */
12125
+ /** One signal a device can emit. */
12126
+ var StreamSignalSchema = object({
12127
+ /** Stable id chosen by the provider, e.g. `'motion'`, `'person'`, `'tamper'`. */
12128
+ code: string().min(1),
12129
+ /** What an operator reads in the picker. The provider's own wording. */
12130
+ label: string().min(1),
12131
+ /**
12132
+ * Whether the provider recommends this signal ON when a camera is first set
12133
+ * up. A provider knows which of its signals are cheap and reliable; an
12134
+ * operator should not have to discover that by trial. Reolink recommends
12135
+ * both of its own.
12136
+ */
12137
+ recommended: boolean()
12138
+ });
12139
+ object({
12140
+ signals: array(StreamSignalSchema),
12141
+ lastFetchedAt: number()
12142
+ });
12143
+ Object.values(DeviceType), method(_void(), array(StreamSignalSchema).readonly());
12062
12144
  /** Stream delivery format. (Relocated from the retired `streaming-engine` cap.) */
12063
12145
  var StreamFormatSchema = _enum([
12064
12146
  "webrtc",
@@ -12455,6 +12537,22 @@ var EgressTranscodeSchema = object({
12455
12537
  camStreamId: string().nullable()
12456
12538
  });
12457
12539
  method(object({
12540
+ deviceId: number().int().nonnegative(),
12541
+ /** The provider's signal code. */
12542
+ code: string().min(1),
12543
+ /** Ms epoch. Absent ⇒ now. */
12544
+ at: number().optional()
12545
+ }), object({
12546
+ /** Whether the broker acted on it, and if not, why. */
12547
+ accepted: boolean(),
12548
+ reason: _enum([
12549
+ "woke",
12550
+ "hold-extended",
12551
+ "not-enabled",
12552
+ "no-consumer",
12553
+ "unknown-code"
12554
+ ])
12555
+ }), { kind: "mutation" }), method(object({
12458
12556
  deviceId: number().int().nonnegative(),
12459
12557
  camStreamId: string().min(1),
12460
12558
  kind: CamStreamKindSchema,
@@ -12709,6 +12807,16 @@ var PickStreamRequirementsSchema = object({
12709
12807
  acceptCodecs: array(StreamCodecSchema).readonly().optional(),
12710
12808
  /** Minimum vertical resolution. Streams shorter than this are dropped. */
12711
12809
  minHeight: number().int().positive().optional(),
12810
+ /**
12811
+ * Maximum vertical resolution. Streams TALLER than this are dropped.
12812
+ *
12813
+ * A consumer can have a ceiling as real as its floor: Alexa documents
12814
+ * 480p to 1080p, and a 4K stream is as unusable to an Echo as a 360p one.
12815
+ * Without this the ceiling had to be re-implemented by every caller — and
12816
+ * one caller implementing it privately is how a second scoring authority
12817
+ * gets born.
12818
+ */
12819
+ maxHeight: number().int().positive().optional(),
12712
12820
  /** Minimum horizontal resolution. */
12713
12821
  minWidth: number().int().positive().optional(),
12714
12822
  /**
@@ -12725,7 +12833,22 @@ var PickStreamRequirementsSchema = object({
12725
12833
  * transcoded" guard: if the device is already serving the consumer's
12726
12834
  * codec end-to-end, there's nothing to optimise.
12727
12835
  */
12728
- requireSiblingCodec: array(StreamCodecSchema).readonly().optional()
12836
+ requireSiblingCodec: array(StreamCodecSchema).readonly().optional(),
12837
+ /**
12838
+ * Whether a stream the consumer CANNOT decode may still be picked, on the
12839
+ * understanding that it will be transcoded.
12840
+ *
12841
+ * Default `false` — today's behaviour, and the right one for a bypass
12842
+ * question ("is there a stream I can forward untouched?"). Set `true` to
12843
+ * ask the larger question: "what is the best stream for me, transcoding if
12844
+ * I must?" A stream that satisfies `acceptCodecs` always outranks one that
12845
+ * does not, so a passthrough is never lost to a transcode; the answer says
12846
+ * which it is in {@link PickedCamStreamSchema.transcodes}.
12847
+ *
12848
+ * This is what lets one picker serve both the bypass and the full source
12849
+ * choice, instead of a consumer scoring privately when the bypass misses.
12850
+ */
12851
+ allowTranscode: boolean().optional()
12729
12852
  }).readonly();
12730
12853
  var PickStreamPreferencesSchema = object({
12731
12854
  /**
@@ -12739,12 +12862,32 @@ var PickStreamPreferencesSchema = object({
12739
12862
  * picks the tallest stream; `'lowest'` picks the shortest (used by
12740
12863
  * memory-constrained consumers / Apple Home guest sessions).
12741
12864
  */
12742
- resolutionPreference: _enum(["highest", "lowest"]).optional()
12865
+ resolutionPreference: _enum(["highest", "lowest"]).optional(),
12866
+ /**
12867
+ * The height the consumer actually wants to DELIVER.
12868
+ *
12869
+ * Not a constraint — an ordering. With it set, the SMALLEST stream at or
12870
+ * above the target wins, and only if nothing reaches it does the tallest
12871
+ * take over. Pulling 1296 lines to draw 720 on a 1280x800 Echo panel costs
12872
+ * a decode and buys nothing, and `resolutionPreference: 'highest'` cannot
12873
+ * express that: it says "as big as possible", which is a different wish.
12874
+ *
12875
+ * Ignored when absent, so every existing caller keeps its ordering.
12876
+ */
12877
+ targetHeight: number().int().positive().optional()
12743
12878
  }).readonly();
12744
12879
  var PickedCamStreamSchema = object({
12745
12880
  camStreamId: string(),
12746
12881
  codec: string().optional(),
12747
12882
  resolution: CamStreamResolutionSchema.optional(),
12883
+ /**
12884
+ * Whether serving this stream requires a decode + re-encode.
12885
+ *
12886
+ * `false` is a stream the consumer can take as it stands. Only ever `true`
12887
+ * when the caller asked for it with `allowTranscode`, so a caller that did
12888
+ * not ask cannot be handed a cost it never agreed to pay.
12889
+ */
12890
+ transcodes: boolean(),
12748
12891
  /** One-line explanation of why this stream won — for logs / debug UI. */
12749
12892
  reason: string()
12750
12893
  });
@@ -16977,6 +17120,8 @@ var NcSystemEventKindSchema = _enum([
16977
17120
  "device-enabled",
16978
17121
  "device-battery-low",
16979
17122
  "device-battery-normal",
17123
+ "device-consumable-low",
17124
+ "device-consumable-normal",
16980
17125
  "stream-online",
16981
17126
  "stream-offline",
16982
17127
  "node-online",
@@ -16995,6 +17140,7 @@ var NcSystemEventKindSchema = _enum([
16995
17140
  "addon-updated",
16996
17141
  "server-updated",
16997
17142
  "export-completed",
17143
+ "backup-completed",
16998
17144
  "camera-online",
16999
17145
  "camera-offline",
17000
17146
  "camera-disabled",
@@ -20391,13 +20537,109 @@ var SummariesQueryInput = object({
20391
20537
  deviceIds: array(number()).min(1),
20392
20538
  since: number().optional(),
20393
20539
  until: number().optional(),
20394
- limit: number().int().min(1).max(200).default(50)
20540
+ limit: number().int().min(1).max(200).default(50),
20541
+ /** The same member-wise filter {@link listRecentSummaries} takes — one
20542
+ * meaning of "dog" on every summary surface. */
20543
+ classes: array(string().min(1).max(60)).max(40).optional()
20395
20544
  });
20396
- var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
20397
20545
  var SummaryDetailSchema = object({
20398
20546
  summary: SummarySchema,
20399
- /** Member track ids, in absorption order. */
20400
- trackIds: array(string()).readonly()
20547
+ /** Members in absorption order, oldest join first. */
20548
+ members: array(object({
20549
+ trackId: string(),
20550
+ /**
20551
+ * The track's class at the time it JOINED, or `null` when it was unresolved
20552
+ * and the track no longer exists to fill it.
20553
+ *
20554
+ * The join, not the latest opinion: class voting can re-decide a track's
20555
+ * class afterwards, and a group's composition is the history of who came
20556
+ * together. A consumer counts these to badge a thumbnail — "two people and a
20557
+ * dog" — rather than being handed a second, denormalised tally that would
20558
+ * drift from the members it claims to describe.
20559
+ */
20560
+ className: string().nullable(),
20561
+ /** `primary` is the one member that carries the group's identity. */
20562
+ role: _enum([
20563
+ "primary",
20564
+ "sibling",
20565
+ "child"
20566
+ ]).nullable(),
20567
+ joinedAt: number(),
20568
+ /** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
20569
+ * at read time. Absent when nothing resolved, never an empty string. */
20570
+ label: string().optional(),
20571
+ /** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
20572
+ * recognised nobody, and absent for a member whose track has been pruned —
20573
+ * a thumbnail that names the wrong person is worse than one naming nobody. */
20574
+ subLabel: string().optional()
20575
+ })).readonly()
20576
+ });
20577
+ /**
20578
+ * What a LIST of groups carries: the envelope plus what it is MADE OF.
20579
+ *
20580
+ * Coarse on purpose — the operator's rule is "only the rough data on the list,
20581
+ * we extend when we notice we need more". Enough to draw the card ("two people
20582
+ * and a dog") and no more. The MEMBERS, their names and the per-member links
20583
+ * are on {@link getSummary}: shipping every member of every group so a client
20584
+ * can count them turns a page of two hundred groups into a thousand records to
20585
+ * draw two hundred badges.
20586
+ */
20587
+ var SummaryListItemSchema = object({
20588
+ summary: SummarySchema,
20589
+ /** Class counts, most numerous first; `className: null` is a member whose
20590
+ * class never resolved, counted so the counts add up to `memberCount`. */
20591
+ classes: array(object({
20592
+ className: string().nullable(),
20593
+ count: number().int().positive()
20594
+ })).readonly()
20595
+ });
20596
+ var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
20597
+ /**
20598
+ * The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
20599
+ *
20600
+ * The reel on the cameras page and the Events gallery both ride a cursor, so a
20601
+ * summaries feed that could only answer "the last N for these cameras"
20602
+ * (`listSummaries`) would make groups available in the timeline and nowhere
20603
+ * else. Two feeds with different ordering contracts would be two ideas of what
20604
+ * "newest" means, on one screen.
20605
+ */
20606
+ var RecentSummariesQueryInput = object({
20607
+ /** Devices to merge. An empty array yields an empty page. */
20608
+ deviceIds: array(number()),
20609
+ /** Window lower bound on `lastActiveAt` (inclusive). */
20610
+ since: number().optional(),
20611
+ /** Window upper bound on `lastActiveAt` (inclusive). */
20612
+ until: number().optional(),
20613
+ limit: number().int().min(1).max(500).default(100),
20614
+ /** Opaque continuation cursor from a previous page's `nextCursor`. */
20615
+ cursor: string().optional(),
20616
+ /**
20617
+ * Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
20618
+ * deliberately the same name: the events filter tree emits one list of ticked
20619
+ * taxonomy nodes, and a summaries feed that called it something else would
20620
+ * make the operator's one filter component produce two shapes.
20621
+ *
20622
+ * A question about the MEMBERS: a group matches when ANY of them does. "Show
20623
+ * me the arrivals with a dog" has to return the group of four people who had
20624
+ * one with them; a filter on the group's own fields could only ever answer
20625
+ * about its primary.
20626
+ *
20627
+ * Matched against all THREE tiers of a member — the class (`animal`), the
20628
+ * sub-class (`dog`) and the instance (a name, a plate) — because which tier a
20629
+ * ticked node lives on is the taxonomy's business, not the caller's. `dog` is
20630
+ * an event kind in the tree and a tier-1 label on an `animal` track; a filter
20631
+ * that read only the class would answer "animal" and never "dog".
20632
+ *
20633
+ * ABSENT or EMPTY means no filter — absent is not a selection of none.
20634
+ */
20635
+ classes: array(string().min(1).max(60)).max(40).optional()
20636
+ });
20637
+ var RecentSummariesPageSchema = object({
20638
+ /** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
20639
+ * {@link listSummaries} — one list shape, so a card renders the same
20640
+ * whichever feed drew it. */
20641
+ summaries: array(SummaryListItemSchema).readonly(),
20642
+ nextCursor: string().nullable()
20401
20643
  });
20402
20644
  var RecentTracksPageSchema = object({
20403
20645
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
@@ -20811,7 +21053,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20811
21053
  classes: array(string()).optional(),
20812
21054
  /** See {@link ExcludeSourcesDoc}. */
20813
21055
  excludeSources: array(TrackSourceSchema).optional()
20814
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
21056
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(RecentSummariesQueryInput, RecentSummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20815
21057
  kind: "mutation",
20816
21058
  auth: "admin"
20817
21059
  }), 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({
@@ -24140,10 +24382,28 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
24140
24382
  }), boolean()), method(object({
24141
24383
  deviceId: number().int().nonnegative(),
24142
24384
  sessionId: string()
24143
- }), object({ pendingRenegotiation: object({
24144
- target: WebrtcStreamTargetSchema,
24145
- epoch: number()
24146
- }).nullable() }));
24385
+ }), object({
24386
+ pendingRenegotiation: object({
24387
+ target: WebrtcStreamTargetSchema,
24388
+ epoch: number()
24389
+ }).nullable(),
24390
+ /**
24391
+ * Whether the session still EXISTS.
24392
+ *
24393
+ * A consumer that holds a resource for the life of a session needs to
24394
+ * be able to ask, because a session does not always end the way it
24395
+ * began. Measured on this hub 2026-09-13: an Echo that got stuck never
24396
+ * sent `SessionDisconnected`, so the Alexa exporter's
24397
+ * `releaseEgressTranscode` never ran, and a 2304x1296 HEVC to 720p
24398
+ * H.264 transcode kept running for NOBODY for more than twenty
24399
+ * minutes. The WebRTC session had logged `WebRTC session closed`
24400
+ * minutes earlier — the broker knew; the holder had no way to ask.
24401
+ *
24402
+ * `false` for a session id the provider has never heard of, which is
24403
+ * the same answer as "it ended": either way nothing is holding it up.
24404
+ */
24405
+ alive: boolean()
24406
+ }));
24147
24407
  object({
24148
24408
  /** All accessory children of the parent. */
24149
24409
  childDeviceIds: array(number()).readonly(),
@@ -30417,7 +30677,29 @@ var LoggingSettingsPatchSchema = object({
30417
30677
  * disarmed the channels it did not mention would make the Levels page and
30418
30678
  * the Diagnostics page fight over the same value.
30419
30679
  */
30420
- channels: array(LogChannelWindowPatchSchema).readonly().optional()
30680
+ channels: array(LogChannelWindowPatchSchema).readonly().optional(),
30681
+ /**
30682
+ * How many days the analytics OPS LOG is kept — the audit trail of what
30683
+ * retention actually deleted.
30684
+ *
30685
+ * It lives HERE, on the logging document, and not on the analytics addon's
30686
+ * settings form, on the operator's instruction: every other log-ish window in
30687
+ * this system is configured through this one document, and a retention audit
30688
+ * configured somewhere else is a second place to look when the question is
30689
+ * "what happened to my data".
30690
+ *
30691
+ * That placement has a cost worth stating: this document ships in the
30692
+ * framework closure, so this knob needs a published `@camstack/server` while
30693
+ * the four windows beside it (D485) reach a node on `camstack deploy`.
30694
+ *
30695
+ * `retention-model.ts` argued this one must NOT follow a device window,
30696
+ * because the audit trail is the history of the SWEEP and not of the camera.
30697
+ * That argument stands and is untouched — what changes is that 30 days stops
30698
+ * being a constant nobody can reach. `0` keeps it forever. The floor is 1 day
30699
+ * rather than 0-as-delete: an audit log truncated to nothing is precisely the
30700
+ * state in which the next 9.5 GiB leak cannot be explained.
30701
+ */
30702
+ opsLogRetentionDays: number().int().min(0).max(3650).optional()
30421
30703
  });
30422
30704
  /**
30423
30705
  * Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
@@ -30490,6 +30772,14 @@ var LoggingSettingsStateSchema = object({
30490
30772
  channels: array(LogChannelDescriptorSchema).readonly(),
30491
30773
  /** The channels ARMED right now, each with its deadline. */
30492
30774
  activeChannels: array(LogChannelWindowStateSchema).readonly(),
30775
+ /**
30776
+ * The ops-log window in days, as it is in force. `0` = kept forever.
30777
+ *
30778
+ * Reported rather than left to the caller's memory of what it wrote: this is
30779
+ * the value the analytics sweep will actually use, and an operator asking how
30780
+ * long their audit trail lives should not have to infer it from a default.
30781
+ */
30782
+ opsLogRetentionDays: number().int().min(0),
30493
30783
  persisted: boolean()
30494
30784
  });
30495
30785
  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(), {
@@ -34649,6 +34939,12 @@ Object.freeze({
34649
34939
  addonId: null,
34650
34940
  access: "view"
34651
34941
  },
34942
+ "pipelineAnalytics.listRecentSummaries": {
34943
+ capName: "pipeline-analytics",
34944
+ capScope: "device",
34945
+ addonId: null,
34946
+ access: "view"
34947
+ },
34652
34948
  "pipelineAnalytics.listRecentTracks": {
34653
34949
  capName: "pipeline-analytics",
34654
34950
  capScope: "device",
@@ -36611,6 +36907,12 @@ Object.freeze({
36611
36907
  addonId: null,
36612
36908
  access: "create"
36613
36909
  },
36910
+ "streamBroker.reportStreamSignal": {
36911
+ capName: "stream-broker",
36912
+ capScope: "system",
36913
+ addonId: null,
36914
+ access: "create"
36915
+ },
36614
36916
  "streamBroker.restartProfile": {
36615
36917
  capName: "stream-broker",
36616
36918
  capScope: "system",
@@ -36695,6 +36997,12 @@ Object.freeze({
36695
36997
  addonId: null,
36696
36998
  access: "create"
36697
36999
  },
37000
+ "streamSignals.listSignals": {
37001
+ capName: "stream-signals",
37002
+ capScope: "device",
37003
+ addonId: null,
37004
+ access: "view"
37005
+ },
36698
37006
  "switch.setState": {
36699
37007
  capName: "switch",
36700
37008
  capScope: "device",
@@ -38476,6 +38784,11 @@ Object.freeze({
38476
38784
  form: "single",
38477
38785
  optional: true
38478
38786
  }],
38787
+ "pipelineAnalytics.listRecentSummaries": [{
38788
+ name: "deviceIds",
38789
+ form: "array",
38790
+ optional: false
38791
+ }],
38479
38792
  "pipelineAnalytics.listRecentTracks": [{
38480
38793
  name: "deviceIds",
38481
38794
  form: "array",
@@ -39062,6 +39375,11 @@ Object.freeze({
39062
39375
  form: "single",
39063
39376
  optional: false
39064
39377
  }],
39378
+ "streamBroker.reportStreamSignal": [{
39379
+ name: "deviceId",
39380
+ form: "single",
39381
+ optional: false
39382
+ }],
39065
39383
  "streamBroker.restartProfile": [{
39066
39384
  name: "deviceId",
39067
39385
  form: "single",