@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
@@ -502,7 +502,7 @@ async function importScryptedCatalogModel(input, deps) {
502
502
  }
503
503
  }
504
504
  //#endregion
505
- //#region ../types/dist/event-category-ZyX6jcse.mjs
505
+ //#region ../types/dist/event-category-BVDXG4tB.mjs
506
506
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
507
507
  EventCategory["SystemBoot"] = "system.boot";
508
508
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -1119,6 +1119,20 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
1119
1119
  * pull-reconcile from the provider's `getStatus` on reconnect. */
1120
1120
  EventCategory["MeshNetworkChanged"] = "network.mesh.changed";
1121
1121
  EventCategory["BackupCompleted"] = "backup.completed";
1122
+ /**
1123
+ * A whole backup RUN finished — every destination attempted, win or lose.
1124
+ *
1125
+ * `backup.completed` fires once per DESTINATION, which is the right grain for
1126
+ * a progress UI and the wrong one for a notification: an operator with three
1127
+ * destinations would be told three times. And a run where two of three
1128
+ * destinations succeeded is not a clean success — a single "backup
1129
+ * completed" that hid the failed one would be a lie, so the count of each is
1130
+ * carried here and the message says both.
1131
+ *
1132
+ * Emitted by the backup orchestrator only after the destination loop, so a
1133
+ * run that dies during the BUILD phase produces no completion at all.
1134
+ */
1135
+ EventCategory["BackupRunCompleted"] = "backup.run-completed";
1122
1136
  EventCategory["BackupRestored"] = "backup.restored";
1123
1137
  EventCategory["NotificationDispatched"] = "notification.dispatched";
1124
1138
  EventCategory["NotificationFailed"] = "notification.failed";
@@ -5849,7 +5863,7 @@ var ZodIssueCode = {
5849
5863
  var ZodFirstPartyTypeKind;
5850
5864
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5851
5865
  //#endregion
5852
- //#region ../types/dist/sleep-CnLyvg3w.mjs
5866
+ //#region ../types/dist/sleep-DEuj7E3j.mjs
5853
5867
  /**
5854
5868
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5855
5869
  * window to float samples (D455).
@@ -7921,7 +7935,23 @@ var EncodeProfileSchema = object({
7921
7935
  "zerolatency",
7922
7936
  "film",
7923
7937
  "animation"
7924
- ]).optional()
7938
+ ]).optional(),
7939
+ /**
7940
+ * ONE slice per access unit.
7941
+ *
7942
+ * `-tune zerolatency` turns on x264's sliced threads, and a frame then leaves
7943
+ * the encoder as five NAL slices that share one RTP timestamp and carry one
7944
+ * marker bit. A libwebrtc depacketiser sees five frame-starts and one
7945
+ * frame-end per frame: the first pictures render and the video then freezes
7946
+ * for good while the audio, on its own plane, plays on. Measured on this hub
7947
+ * 2026-09-13 against the Echo, and reduced to one slice by this flag alone.
7948
+ *
7949
+ * A NAMED field and not a raw flag, because {@link EgressEncodeSchema} omits
7950
+ * `outputArgs` on purpose: an opaque array is part of the sharing key, so two
7951
+ * consumers meaning the same thing spelled differently would stop sharing one
7952
+ * child. Absent means "whatever the encoder does" — today's behaviour.
7953
+ */
7954
+ singleSlicePerFrame: boolean().optional()
7925
7955
  }),
7926
7956
  audio: union([literal("passthrough"), object({
7927
7957
  codec: _enum([
@@ -7971,7 +8001,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
7971
8001
  audio: "passthrough"
7972
8002
  };
7973
8003
  ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7974
- ({ ...BASE_LIVE_EGRESS_PROFILE });
8004
+ ({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
7975
8005
  /**
7976
8006
  * Deep wiring healthcheck — snapshot of active reachability probes across
7977
8007
  * every declared capability + widget of every installed plugin, on every
@@ -12038,6 +12068,58 @@ method(ListInputSchema, array(BrokerInfoSchema$1)), method(GetInputSchema, Broke
12038
12068
  auth: "admin"
12039
12069
  }), method(GetStateInputSchema, unknown().nullable()), method(_void(), RegistryStatusSchema);
12040
12070
  DeviceType.Camera;
12071
+ /**
12072
+ * The signals a device can emit to WAKE its own stream.
12073
+ *
12074
+ * A camera whose stream is built on demand sleeps until something asks for it,
12075
+ * and "something" cannot be a consumer that is merely attached — a Frigate-style
12076
+ * puller holds a session open for ever, and treating that as demand would keep
12077
+ * a battery camera awake for ever, which is the whole thing the battery is for
12078
+ * (D173). So the wake has to come from the CAMERA: an event it noticed by
12079
+ * itself, with no stream running.
12080
+ *
12081
+ * ## The vocabulary is the PROVIDER'S, not ours
12082
+ *
12083
+ * Like `consumables`, this cap declares no vocabulary of its own. A provider
12084
+ * names each signal with a `code` it chooses and a `label` an operator reads.
12085
+ * Reolink offers motion and camera-native detection; another provider may offer
12086
+ * a tamper, a doorbell press, a PIR, or something no camera in this fleet has
12087
+ * yet. A fixed enum here would mean every new signal is a framework release.
12088
+ *
12089
+ * It is deliberately NOT derived from the caps a device already binds. Whether
12090
+ * a camera CAN push firmware motion is expressed by `motionSources` containing
12091
+ * `'onboard'`, and whether it does AI on-camera by the `native-object-detection`
12092
+ * binding — but both answer "what drives the detection pipeline", which is a
12093
+ * different question from "what may wake a sleeping stream". A camera can do
12094
+ * the first and not be trusted with the second, and the operator picks per
12095
+ * camera. Two questions, two authorities.
12096
+ *
12097
+ * ## Availability is not permission
12098
+ *
12099
+ * `listSignals` says what the device CAN emit. Whether a given signal actually
12100
+ * wakes the stream is the operator's per-camera choice, held by the broker
12101
+ * alongside the cooldown — see the stream-broker cap's wake settings. A
12102
+ * provider declaring a signal is not a provider enabling it.
12103
+ */
12104
+ /** One signal a device can emit. */
12105
+ var StreamSignalSchema = object({
12106
+ /** Stable id chosen by the provider, e.g. `'motion'`, `'person'`, `'tamper'`. */
12107
+ code: string().min(1),
12108
+ /** What an operator reads in the picker. The provider's own wording. */
12109
+ label: string().min(1),
12110
+ /**
12111
+ * Whether the provider recommends this signal ON when a camera is first set
12112
+ * up. A provider knows which of its signals are cheap and reliable; an
12113
+ * operator should not have to discover that by trial. Reolink recommends
12114
+ * both of its own.
12115
+ */
12116
+ recommended: boolean()
12117
+ });
12118
+ object({
12119
+ signals: array(StreamSignalSchema),
12120
+ lastFetchedAt: number()
12121
+ });
12122
+ Object.values(DeviceType), method(_void(), array(StreamSignalSchema).readonly());
12041
12123
  /** Stream delivery format. (Relocated from the retired `streaming-engine` cap.) */
12042
12124
  var StreamFormatSchema = _enum([
12043
12125
  "webrtc",
@@ -12434,6 +12516,22 @@ var EgressTranscodeSchema = object({
12434
12516
  camStreamId: string().nullable()
12435
12517
  });
12436
12518
  method(object({
12519
+ deviceId: number().int().nonnegative(),
12520
+ /** The provider's signal code. */
12521
+ code: string().min(1),
12522
+ /** Ms epoch. Absent ⇒ now. */
12523
+ at: number().optional()
12524
+ }), object({
12525
+ /** Whether the broker acted on it, and if not, why. */
12526
+ accepted: boolean(),
12527
+ reason: _enum([
12528
+ "woke",
12529
+ "hold-extended",
12530
+ "not-enabled",
12531
+ "no-consumer",
12532
+ "unknown-code"
12533
+ ])
12534
+ }), { kind: "mutation" }), method(object({
12437
12535
  deviceId: number().int().nonnegative(),
12438
12536
  camStreamId: string().min(1),
12439
12537
  kind: CamStreamKindSchema,
@@ -12688,6 +12786,16 @@ var PickStreamRequirementsSchema = object({
12688
12786
  acceptCodecs: array(StreamCodecSchema).readonly().optional(),
12689
12787
  /** Minimum vertical resolution. Streams shorter than this are dropped. */
12690
12788
  minHeight: number().int().positive().optional(),
12789
+ /**
12790
+ * Maximum vertical resolution. Streams TALLER than this are dropped.
12791
+ *
12792
+ * A consumer can have a ceiling as real as its floor: Alexa documents
12793
+ * 480p to 1080p, and a 4K stream is as unusable to an Echo as a 360p one.
12794
+ * Without this the ceiling had to be re-implemented by every caller — and
12795
+ * one caller implementing it privately is how a second scoring authority
12796
+ * gets born.
12797
+ */
12798
+ maxHeight: number().int().positive().optional(),
12691
12799
  /** Minimum horizontal resolution. */
12692
12800
  minWidth: number().int().positive().optional(),
12693
12801
  /**
@@ -12704,7 +12812,22 @@ var PickStreamRequirementsSchema = object({
12704
12812
  * transcoded" guard: if the device is already serving the consumer's
12705
12813
  * codec end-to-end, there's nothing to optimise.
12706
12814
  */
12707
- requireSiblingCodec: array(StreamCodecSchema).readonly().optional()
12815
+ requireSiblingCodec: array(StreamCodecSchema).readonly().optional(),
12816
+ /**
12817
+ * Whether a stream the consumer CANNOT decode may still be picked, on the
12818
+ * understanding that it will be transcoded.
12819
+ *
12820
+ * Default `false` — today's behaviour, and the right one for a bypass
12821
+ * question ("is there a stream I can forward untouched?"). Set `true` to
12822
+ * ask the larger question: "what is the best stream for me, transcoding if
12823
+ * I must?" A stream that satisfies `acceptCodecs` always outranks one that
12824
+ * does not, so a passthrough is never lost to a transcode; the answer says
12825
+ * which it is in {@link PickedCamStreamSchema.transcodes}.
12826
+ *
12827
+ * This is what lets one picker serve both the bypass and the full source
12828
+ * choice, instead of a consumer scoring privately when the bypass misses.
12829
+ */
12830
+ allowTranscode: boolean().optional()
12708
12831
  }).readonly();
12709
12832
  var PickStreamPreferencesSchema = object({
12710
12833
  /**
@@ -12718,12 +12841,32 @@ var PickStreamPreferencesSchema = object({
12718
12841
  * picks the tallest stream; `'lowest'` picks the shortest (used by
12719
12842
  * memory-constrained consumers / Apple Home guest sessions).
12720
12843
  */
12721
- resolutionPreference: _enum(["highest", "lowest"]).optional()
12844
+ resolutionPreference: _enum(["highest", "lowest"]).optional(),
12845
+ /**
12846
+ * The height the consumer actually wants to DELIVER.
12847
+ *
12848
+ * Not a constraint — an ordering. With it set, the SMALLEST stream at or
12849
+ * above the target wins, and only if nothing reaches it does the tallest
12850
+ * take over. Pulling 1296 lines to draw 720 on a 1280x800 Echo panel costs
12851
+ * a decode and buys nothing, and `resolutionPreference: 'highest'` cannot
12852
+ * express that: it says "as big as possible", which is a different wish.
12853
+ *
12854
+ * Ignored when absent, so every existing caller keeps its ordering.
12855
+ */
12856
+ targetHeight: number().int().positive().optional()
12722
12857
  }).readonly();
12723
12858
  var PickedCamStreamSchema = object({
12724
12859
  camStreamId: string(),
12725
12860
  codec: string().optional(),
12726
12861
  resolution: CamStreamResolutionSchema.optional(),
12862
+ /**
12863
+ * Whether serving this stream requires a decode + re-encode.
12864
+ *
12865
+ * `false` is a stream the consumer can take as it stands. Only ever `true`
12866
+ * when the caller asked for it with `allowTranscode`, so a caller that did
12867
+ * not ask cannot be handed a cost it never agreed to pay.
12868
+ */
12869
+ transcodes: boolean(),
12727
12870
  /** One-line explanation of why this stream won — for logs / debug UI. */
12728
12871
  reason: string()
12729
12872
  });
@@ -16956,6 +17099,8 @@ var NcSystemEventKindSchema = _enum([
16956
17099
  "device-enabled",
16957
17100
  "device-battery-low",
16958
17101
  "device-battery-normal",
17102
+ "device-consumable-low",
17103
+ "device-consumable-normal",
16959
17104
  "stream-online",
16960
17105
  "stream-offline",
16961
17106
  "node-online",
@@ -16974,6 +17119,7 @@ var NcSystemEventKindSchema = _enum([
16974
17119
  "addon-updated",
16975
17120
  "server-updated",
16976
17121
  "export-completed",
17122
+ "backup-completed",
16977
17123
  "camera-online",
16978
17124
  "camera-offline",
16979
17125
  "camera-disabled",
@@ -20370,13 +20516,109 @@ var SummariesQueryInput = object({
20370
20516
  deviceIds: array(number()).min(1),
20371
20517
  since: number().optional(),
20372
20518
  until: number().optional(),
20373
- limit: number().int().min(1).max(200).default(50)
20519
+ limit: number().int().min(1).max(200).default(50),
20520
+ /** The same member-wise filter {@link listRecentSummaries} takes — one
20521
+ * meaning of "dog" on every summary surface. */
20522
+ classes: array(string().min(1).max(60)).max(40).optional()
20374
20523
  });
20375
- var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
20376
20524
  var SummaryDetailSchema = object({
20377
20525
  summary: SummarySchema,
20378
- /** Member track ids, in absorption order. */
20379
- trackIds: array(string()).readonly()
20526
+ /** Members in absorption order, oldest join first. */
20527
+ members: array(object({
20528
+ trackId: string(),
20529
+ /**
20530
+ * The track's class at the time it JOINED, or `null` when it was unresolved
20531
+ * and the track no longer exists to fill it.
20532
+ *
20533
+ * The join, not the latest opinion: class voting can re-decide a track's
20534
+ * class afterwards, and a group's composition is the history of who came
20535
+ * together. A consumer counts these to badge a thumbnail — "two people and a
20536
+ * dog" — rather than being handed a second, denormalised tally that would
20537
+ * drift from the members it claims to describe.
20538
+ */
20539
+ className: string().nullable(),
20540
+ /** `primary` is the one member that carries the group's identity. */
20541
+ role: _enum([
20542
+ "primary",
20543
+ "sibling",
20544
+ "child"
20545
+ ]).nullable(),
20546
+ joinedAt: number(),
20547
+ /** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
20548
+ * at read time. Absent when nothing resolved, never an empty string. */
20549
+ label: string().optional(),
20550
+ /** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
20551
+ * recognised nobody, and absent for a member whose track has been pruned —
20552
+ * a thumbnail that names the wrong person is worse than one naming nobody. */
20553
+ subLabel: string().optional()
20554
+ })).readonly()
20555
+ });
20556
+ /**
20557
+ * What a LIST of groups carries: the envelope plus what it is MADE OF.
20558
+ *
20559
+ * Coarse on purpose — the operator's rule is "only the rough data on the list,
20560
+ * we extend when we notice we need more". Enough to draw the card ("two people
20561
+ * and a dog") and no more. The MEMBERS, their names and the per-member links
20562
+ * are on {@link getSummary}: shipping every member of every group so a client
20563
+ * can count them turns a page of two hundred groups into a thousand records to
20564
+ * draw two hundred badges.
20565
+ */
20566
+ var SummaryListItemSchema = object({
20567
+ summary: SummarySchema,
20568
+ /** Class counts, most numerous first; `className: null` is a member whose
20569
+ * class never resolved, counted so the counts add up to `memberCount`. */
20570
+ classes: array(object({
20571
+ className: string().nullable(),
20572
+ count: number().int().positive()
20573
+ })).readonly()
20574
+ });
20575
+ var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
20576
+ /**
20577
+ * The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
20578
+ *
20579
+ * The reel on the cameras page and the Events gallery both ride a cursor, so a
20580
+ * summaries feed that could only answer "the last N for these cameras"
20581
+ * (`listSummaries`) would make groups available in the timeline and nowhere
20582
+ * else. Two feeds with different ordering contracts would be two ideas of what
20583
+ * "newest" means, on one screen.
20584
+ */
20585
+ var RecentSummariesQueryInput = object({
20586
+ /** Devices to merge. An empty array yields an empty page. */
20587
+ deviceIds: array(number()),
20588
+ /** Window lower bound on `lastActiveAt` (inclusive). */
20589
+ since: number().optional(),
20590
+ /** Window upper bound on `lastActiveAt` (inclusive). */
20591
+ until: number().optional(),
20592
+ limit: number().int().min(1).max(500).default(100),
20593
+ /** Opaque continuation cursor from a previous page's `nextCursor`. */
20594
+ cursor: string().optional(),
20595
+ /**
20596
+ * Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
20597
+ * deliberately the same name: the events filter tree emits one list of ticked
20598
+ * taxonomy nodes, and a summaries feed that called it something else would
20599
+ * make the operator's one filter component produce two shapes.
20600
+ *
20601
+ * A question about the MEMBERS: a group matches when ANY of them does. "Show
20602
+ * me the arrivals with a dog" has to return the group of four people who had
20603
+ * one with them; a filter on the group's own fields could only ever answer
20604
+ * about its primary.
20605
+ *
20606
+ * Matched against all THREE tiers of a member — the class (`animal`), the
20607
+ * sub-class (`dog`) and the instance (a name, a plate) — because which tier a
20608
+ * ticked node lives on is the taxonomy's business, not the caller's. `dog` is
20609
+ * an event kind in the tree and a tier-1 label on an `animal` track; a filter
20610
+ * that read only the class would answer "animal" and never "dog".
20611
+ *
20612
+ * ABSENT or EMPTY means no filter — absent is not a selection of none.
20613
+ */
20614
+ classes: array(string().min(1).max(60)).max(40).optional()
20615
+ });
20616
+ var RecentSummariesPageSchema = object({
20617
+ /** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
20618
+ * {@link listSummaries} — one list shape, so a card renders the same
20619
+ * whichever feed drew it. */
20620
+ summaries: array(SummaryListItemSchema).readonly(),
20621
+ nextCursor: string().nullable()
20380
20622
  });
20381
20623
  var RecentTracksPageSchema = object({
20382
20624
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
@@ -20790,7 +21032,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20790
21032
  classes: array(string()).optional(),
20791
21033
  /** See {@link ExcludeSourcesDoc}. */
20792
21034
  excludeSources: array(TrackSourceSchema).optional()
20793
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
21035
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(RecentSummariesQueryInput, RecentSummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20794
21036
  kind: "mutation",
20795
21037
  auth: "admin"
20796
21038
  }), 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({
@@ -24119,10 +24361,28 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
24119
24361
  }), boolean()), method(object({
24120
24362
  deviceId: number().int().nonnegative(),
24121
24363
  sessionId: string()
24122
- }), object({ pendingRenegotiation: object({
24123
- target: WebrtcStreamTargetSchema,
24124
- epoch: number()
24125
- }).nullable() }));
24364
+ }), object({
24365
+ pendingRenegotiation: object({
24366
+ target: WebrtcStreamTargetSchema,
24367
+ epoch: number()
24368
+ }).nullable(),
24369
+ /**
24370
+ * Whether the session still EXISTS.
24371
+ *
24372
+ * A consumer that holds a resource for the life of a session needs to
24373
+ * be able to ask, because a session does not always end the way it
24374
+ * began. Measured on this hub 2026-09-13: an Echo that got stuck never
24375
+ * sent `SessionDisconnected`, so the Alexa exporter's
24376
+ * `releaseEgressTranscode` never ran, and a 2304x1296 HEVC to 720p
24377
+ * H.264 transcode kept running for NOBODY for more than twenty
24378
+ * minutes. The WebRTC session had logged `WebRTC session closed`
24379
+ * minutes earlier — the broker knew; the holder had no way to ask.
24380
+ *
24381
+ * `false` for a session id the provider has never heard of, which is
24382
+ * the same answer as "it ended": either way nothing is holding it up.
24383
+ */
24384
+ alive: boolean()
24385
+ }));
24126
24386
  object({
24127
24387
  /** All accessory children of the parent. */
24128
24388
  childDeviceIds: array(number()).readonly(),
@@ -30396,7 +30656,29 @@ var LoggingSettingsPatchSchema = object({
30396
30656
  * disarmed the channels it did not mention would make the Levels page and
30397
30657
  * the Diagnostics page fight over the same value.
30398
30658
  */
30399
- channels: array(LogChannelWindowPatchSchema).readonly().optional()
30659
+ channels: array(LogChannelWindowPatchSchema).readonly().optional(),
30660
+ /**
30661
+ * How many days the analytics OPS LOG is kept — the audit trail of what
30662
+ * retention actually deleted.
30663
+ *
30664
+ * It lives HERE, on the logging document, and not on the analytics addon's
30665
+ * settings form, on the operator's instruction: every other log-ish window in
30666
+ * this system is configured through this one document, and a retention audit
30667
+ * configured somewhere else is a second place to look when the question is
30668
+ * "what happened to my data".
30669
+ *
30670
+ * That placement has a cost worth stating: this document ships in the
30671
+ * framework closure, so this knob needs a published `@camstack/server` while
30672
+ * the four windows beside it (D485) reach a node on `camstack deploy`.
30673
+ *
30674
+ * `retention-model.ts` argued this one must NOT follow a device window,
30675
+ * because the audit trail is the history of the SWEEP and not of the camera.
30676
+ * That argument stands and is untouched — what changes is that 30 days stops
30677
+ * being a constant nobody can reach. `0` keeps it forever. The floor is 1 day
30678
+ * rather than 0-as-delete: an audit log truncated to nothing is precisely the
30679
+ * state in which the next 9.5 GiB leak cannot be explained.
30680
+ */
30681
+ opsLogRetentionDays: number().int().min(0).max(3650).optional()
30400
30682
  });
30401
30683
  /**
30402
30684
  * Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
@@ -30469,6 +30751,14 @@ var LoggingSettingsStateSchema = object({
30469
30751
  channels: array(LogChannelDescriptorSchema).readonly(),
30470
30752
  /** The channels ARMED right now, each with its deadline. */
30471
30753
  activeChannels: array(LogChannelWindowStateSchema).readonly(),
30754
+ /**
30755
+ * The ops-log window in days, as it is in force. `0` = kept forever.
30756
+ *
30757
+ * Reported rather than left to the caller's memory of what it wrote: this is
30758
+ * the value the analytics sweep will actually use, and an operator asking how
30759
+ * long their audit trail lives should not have to infer it from a default.
30760
+ */
30761
+ opsLogRetentionDays: number().int().min(0),
30472
30762
  persisted: boolean()
30473
30763
  });
30474
30764
  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(), {
@@ -34628,6 +34918,12 @@ Object.freeze({
34628
34918
  addonId: null,
34629
34919
  access: "view"
34630
34920
  },
34921
+ "pipelineAnalytics.listRecentSummaries": {
34922
+ capName: "pipeline-analytics",
34923
+ capScope: "device",
34924
+ addonId: null,
34925
+ access: "view"
34926
+ },
34631
34927
  "pipelineAnalytics.listRecentTracks": {
34632
34928
  capName: "pipeline-analytics",
34633
34929
  capScope: "device",
@@ -36590,6 +36886,12 @@ Object.freeze({
36590
36886
  addonId: null,
36591
36887
  access: "create"
36592
36888
  },
36889
+ "streamBroker.reportStreamSignal": {
36890
+ capName: "stream-broker",
36891
+ capScope: "system",
36892
+ addonId: null,
36893
+ access: "create"
36894
+ },
36593
36895
  "streamBroker.restartProfile": {
36594
36896
  capName: "stream-broker",
36595
36897
  capScope: "system",
@@ -36674,6 +36976,12 @@ Object.freeze({
36674
36976
  addonId: null,
36675
36977
  access: "create"
36676
36978
  },
36979
+ "streamSignals.listSignals": {
36980
+ capName: "stream-signals",
36981
+ capScope: "device",
36982
+ addonId: null,
36983
+ access: "view"
36984
+ },
36677
36985
  "switch.setState": {
36678
36986
  capName: "switch",
36679
36987
  capScope: "device",
@@ -38455,6 +38763,11 @@ Object.freeze({
38455
38763
  form: "single",
38456
38764
  optional: true
38457
38765
  }],
38766
+ "pipelineAnalytics.listRecentSummaries": [{
38767
+ name: "deviceIds",
38768
+ form: "array",
38769
+ optional: false
38770
+ }],
38458
38771
  "pipelineAnalytics.listRecentTracks": [{
38459
38772
  name: "deviceIds",
38460
38773
  form: "array",
@@ -39041,6 +39354,11 @@ Object.freeze({
39041
39354
  form: "single",
39042
39355
  optional: false
39043
39356
  }],
39357
+ "streamBroker.reportStreamSignal": [{
39358
+ name: "deviceId",
39359
+ form: "single",
39360
+ optional: false
39361
+ }],
39044
39362
  "streamBroker.restartProfile": [{
39045
39363
  name: "deviceId",
39046
39364
  form: "single",
@@ -1,5 +1,5 @@
1
1
  import { h as e, l as t, u as n, y as r } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DJDHChgO.mjs";
2
- import { o as i, s as a } from "./responsive-JVBuLbSa.mjs";
2
+ import { o as i, s as a } from "./responsive-DuDd1AFK.mjs";
3
3
  import { n as o, r as s, t as c } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
4
4
  var l = a("chevron-down", [["path", {
5
5
  d: "m6 9 6 6 6-6",
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-C_r2F6t8.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-DzZW_rbO.mjs";
2
2
  export { t as get, e as init };
@@ -1,6 +1,6 @@
1
1
  import { c as e, g as t, h as n, l as r, n as i, p as a, r as o, t as s, u as c, y as l } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DJDHChgO.mjs";
2
2
  import "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
3
- import { n as u } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CXCz80XV.mjs";
3
+ import { n as u } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-D04vt1H4.mjs";
4
4
  //#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
5
5
  l();
6
6
  var d = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), f = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), p = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), m = (e) => {
@@ -1,4 +1,4 @@
1
- import { s as e } from "./responsive-JVBuLbSa.mjs";
1
+ import { s as e } from "./responsive-DuDd1AFK.mjs";
2
2
  var t = e("eye-off", [
3
3
  ["path", {
4
4
  d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",
@@ -1,4 +1,4 @@
1
- import { s as e } from "./responsive-JVBuLbSa.mjs";
1
+ import { s as e } from "./responsive-DuDd1AFK.mjs";
2
2
  var t = e("trash-2", [
3
3
  ["path", {
4
4
  d: "M10 11v6",
@@ -1,5 +1,5 @@
1
1
  import { c as e, h as t, p as n, y as r } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DJDHChgO.mjs";
2
- import { s as i } from "./responsive-JVBuLbSa.mjs";
2
+ import { s as i } from "./responsive-DuDd1AFK.mjs";
3
3
  var a = i("camera", [["path", {
4
4
  d: "M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",
5
5
  key: "18u6gg"
@@ -2753,7 +2753,7 @@ async function rr(e) {
2753
2753
  }
2754
2754
  }
2755
2755
  async function ir() {
2756
- return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-CS5tkis3.mjs")).catch((e) => {
2756
+ return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-D-IAFmmz.mjs")).catch((e) => {
2757
2757
  throw tr = void 0, e;
2758
2758
  }), tr;
2759
2759
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-model-studio",
3
- "version": "1.1.129",
3
+ "version": "1.1.131",
4
4
  "description": "Custom detection model registry, conversion & distribution for CamStack",
5
5
  "keywords": [
6
6
  "camstack",