@camstack/addon-pipeline 1.2.285 → 1.2.287

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 (33) hide show
  1. package/dist/audio-analyzer/index.js +2 -2
  2. package/dist/audio-analyzer/index.mjs +2 -2
  3. package/dist/{default-detection-model-B9sgmjNE.js → default-detection-model-COWU8Rz0.js} +1 -1
  4. package/dist/{default-detection-model-BbaeqJWd.mjs → default-detection-model-GPkHN13Q.mjs} +1 -1
  5. package/dist/detection-pipeline/index.js +4 -4
  6. package/dist/detection-pipeline/index.mjs +4 -4
  7. package/dist/{dist-L6fspiMs.mjs → dist-B0wh1O_e.mjs} +432 -1
  8. package/dist/{dist-bAVvh6zw.js → dist-DiLFfaYv.js} +432 -1
  9. package/dist/motion-wasm/index.js +1 -1
  10. package/dist/motion-wasm/index.mjs +1 -1
  11. package/dist/{node-BAHXRXps.js → node-Beq3CXsJ.js} +1 -1
  12. package/dist/{node-BKSzm60G.mjs → node-UjSfDx5h.mjs} +1 -1
  13. package/dist/pipeline-runner/index.js +3 -3
  14. package/dist/pipeline-runner/index.mjs +3 -3
  15. package/dist/{process-memory-gIGkgoj7.mjs → process-memory-CU-Vka6-.mjs} +1 -1
  16. package/dist/{process-memory-B5Enn1QL.js → process-memory-hlScqZ3l.js} +1 -1
  17. package/dist/recorder/index.js +2 -2
  18. package/dist/recorder/index.mjs +2 -2
  19. package/dist/{segment-demux-js-DIMPKsLl.mjs → segment-demux-js-CbeSistI.mjs} +1 -1
  20. package/dist/{segment-demux-js-BCxiqxMJ.js → segment-demux-js-Cd4K5AFm.js} +1 -1
  21. package/dist/stream-broker/_stub.js +2 -2
  22. package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-BQppCOBh.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-BN28nLCx.mjs} +2 -2
  23. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DVp8RDes.mjs +26 -0
  24. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-6yZguAUw.mjs +26 -0
  25. package/dist/stream-broker/demux-worker-child.js +1 -1
  26. package/dist/stream-broker/demux-worker-child.mjs +1 -1
  27. package/dist/stream-broker/{hostInit-BMoj1Wh2.mjs → hostInit-2Mi5oqGe.mjs} +2 -2
  28. package/dist/stream-broker/index.js +125 -19
  29. package/dist/stream-broker/index.mjs +125 -19
  30. package/dist/stream-broker/remoteEntry.js +1 -1
  31. package/package.json +1 -1
  32. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BxqJbWC8.mjs +0 -26
  33. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-DWcIgV47.mjs +0 -26
@@ -5360,7 +5360,7 @@ var ZodIssueCode = {
5360
5360
  var ZodFirstPartyTypeKind;
5361
5361
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5362
5362
  //#endregion
5363
- //#region ../types/dist/sleep-De1BvmWo.mjs
5363
+ //#region ../types/dist/sleep-i3eUVc-d.mjs
5364
5364
  /**
5365
5365
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5366
5366
  * window to float samples (D455).
@@ -15719,6 +15719,97 @@ method(object({ integrationId: string() }), object({ filters: array(AdoptionFilt
15719
15719
  auth: "admin"
15720
15720
  });
15721
15721
  /**
15722
+ * device-admin-link — "this device has a management page of its own, and here
15723
+ * is its address".
15724
+ *
15725
+ * ## Why this is not a `deviceConfig` cap
15726
+ *
15727
+ * There is nothing to edit. A `deviceConfig` cap (D14) exists so the framework
15728
+ * can DERIVE a settings form from `getOptions` + `getStatus` and route a flat
15729
+ * patch back through a setter; it costs a `builderId` reducer in
15730
+ * `device-config-contribution.ts` and a `*-config-schema.ts` beside it, and it
15731
+ * renders a form section. This cap answers ONE question with ONE read and
15732
+ * renders a button. Nothing about it is a form, so it carries no `deviceConfig`
15733
+ * block, no `settings`, no `runtimeState` and no reducer — exactly like
15734
+ * `reboot`, the other pure-RPC device-native cap.
15735
+ *
15736
+ * ## Absent, and the difference between "no page" and "we cannot say"
15737
+ *
15738
+ * The two are answered at DIFFERENT layers, on purpose:
15739
+ *
15740
+ * - **"We cannot say"** → the provider never registers the cap for that
15741
+ * device. A VeSync humidifier, a Petkit feeder, a Dreame vacuum and a Dreo
15742
+ * fan are reached only through a vendor cloud; there is no address to hand
15743
+ * out and no page to open. A Tuya plug, a Wyze camera and a Gree air
15744
+ * conditioner DO have a LAN IP, and still have no HTTP management page
15745
+ * behind it. None of them register, so `deviceManager.getBindings` never
15746
+ * lists the cap and no surface asks.
15747
+ * - **"This device has no page, and I know that"** → the provider registers
15748
+ * and `getAdminLink` returns `null`. This is the answer for a device whose
15749
+ * sibling DOES have a page: a Reolink battery camera reached over UDP by
15750
+ * `uid` with a blank `host`, an Ecowitt gateway configured in `listener`
15751
+ * transport, a Home Assistant broker authenticated by supervisor token
15752
+ * (which carries no `baseUrl` at all).
15753
+ *
15754
+ * Both draw NOTHING. A button that opens a browser error is worse than no
15755
+ * button, and D62 is the same rule from the other side: an off switch is
15756
+ * reported off, never made to look broken. There is no third state where the
15757
+ * UI renders a disabled button "because the device might have a page".
15758
+ *
15759
+ * ## The URL never carries credentials
15760
+ *
15761
+ * Not in userinfo, not in a query string. Every provider builds through
15762
+ * `buildDeviceAdminUrl` (`device-admin-link-url.ts`), which takes host, port,
15763
+ * scheme and path as separate arguments — there is no parameter a secret could
15764
+ * arrive in — and re-checks its own output for the `scheme://user:pass@` shape
15765
+ * that `scripts/check-no-credential-urls-in-fixtures.ts` bans from recorded
15766
+ * output. `scripts/check-admin-link-builder-is-the-only-url-source.ts` is what
15767
+ * keeps providers from hand-rolling one anyway.
15768
+ *
15769
+ * This matters here more than anywhere else in the repo, because every provider
15770
+ * that knows a device's host knows its PASSWORD too: `{ host, port, username,
15771
+ * password }` sit in one object on Hikvision, Amcrest, Reolink and ONVIF alike,
15772
+ * and `http://admin:hunter2@192.168.50.139/` is a URL a browser accepts. The
15773
+ * camera's own page will ask for its own login. That is correct, and pre-
15774
+ * filling it is the operator's business, not ours.
15775
+ *
15776
+ * ## It is a LAN fact
15777
+ *
15778
+ * The URL addresses the device where the NODE can see it. It is not proxied,
15779
+ * not made reachable from outside, and not sent anywhere. A surface renders it
15780
+ * as a link the operator's own browser follows, on the operator's own network,
15781
+ * or renders nothing.
15782
+ */
15783
+ /**
15784
+ * Whose page is it. The distinction is for the OPERATOR, who needs to know
15785
+ * before clicking whether he is about to land on a camera's own web server or
15786
+ * inside Home Assistant.
15787
+ */
15788
+ var AdminLinkTargetEnum = _enum(["device", "integration"]);
15789
+ var DeviceAdminLinkSchema = object({
15790
+ /**
15791
+ * Absolute `http(s)://` URL. Built by `buildDeviceAdminUrl` and therefore
15792
+ * free of userinfo and of any credential-shaped query key.
15793
+ */
15794
+ url: string(),
15795
+ /**
15796
+ * What the surface calls it — "Web UI", "Home Assistant", "UniFi controller".
15797
+ * The PROVIDER names it, because only the provider knows what the page is;
15798
+ * a UI that invented the label from the addon id would call the Home
15799
+ * Assistant device page "Provider Homeassistant".
15800
+ */
15801
+ label: string(),
15802
+ target: AdminLinkTargetEnum,
15803
+ /**
15804
+ * Host the URL points at, without scheme, port or path — for the tooltip, so
15805
+ * an operator can see WHERE the button goes before he follows it. Redundant
15806
+ * with `url` by construction; carried separately so no surface has to parse
15807
+ * a URL to show it.
15808
+ */
15809
+ host: string()
15810
+ });
15811
+ method(object({ deviceId: number().int().nonnegative() }), DeviceAdminLinkSchema.nullable(), { auth: "admin" });
15812
+ /**
15722
15813
  * `device-export` — collection cap for addons that export camstack
15723
15814
  * devices to external ecosystems (HomeAssistant via MQTT discovery,
15724
15815
  * HomeKit/HAP, Alexa Smart Home, …).
@@ -29598,6 +29689,307 @@ DeviceType.Camera, method(object({ deviceId: number() }), DayNightOptionsSchema)
29598
29689
  auth: "admin"
29599
29690
  });
29600
29691
  /**
29692
+ * Vendor-neutral **onboard** recording + storage cap — what the CAMERA
29693
+ * writes to the CAMERA's own card, on the camera's own schedule.
29694
+ *
29695
+ * This is NOT `recording.cap.ts`. That one is CamStack's recorder: our
29696
+ * footage ledger, our storage locations, our retention. This one has a
29697
+ * different authority — the camera's firmware — and per D62 it stores
29698
+ * nothing of its own. Every value here is read from the camera and every
29699
+ * write goes back to the camera; there is no CamStack-side mirror that
29700
+ * could disagree with the device.
29701
+ *
29702
+ * ## One shape, two firmwares
29703
+ *
29704
+ * Measured 2026-09-22 against the live fleet:
29705
+ *
29706
+ * | fact | Hikvision (ISAPI) | Reolink (Baichuan) |
29707
+ * | --- | --- | --- |
29708
+ * | storage | `ContentMgmt/Storage` `<hdd>` rows: status, capacity, freeSpace (MB) | `getHddInfoList` (cmd 102): `mount`, `format`, `capacity` GB + `capacityM` MB remainder |
29709
+ * | tracks | several (101 **and** 103 on both 1436 and 3833), each with its own schedule | one per channel |
29710
+ * | schedule | per track, 7 `ScheduleAction` blocks: DayOfWeek + TimeOfDay range + ONE `ActionRecordingMode` | per trigger type, a 168-char weekly HOUR mask |
29711
+ * | triggers | `CMR`, `MOTION` | `Normal`, `MD`, `people`, `vehicle`, `dog_cat`, `crossline`, `intrude`, `loitering` |
29712
+ * | pre-record | `PreRecordTimeSeconds` | `preRecordTime` |
29713
+ * | post-record | `PostRecordTimeSeconds` | `recordDelayTime` |
29714
+ * | overwrite | per track `LoopEnable` | `cycle`, with `cycleList` enumerating the accepted values |
29715
+ * | segment length | not exposed on V5.7.1 | `packageTime` (minutes) |
29716
+ *
29717
+ * The two schedule models look different and are the same thing in
29718
+ * different coordinates: both answer "for this trigger, during which
29719
+ * weekly windows does the camera record". {@link RecordWindow} is that
29720
+ * question in one shape — Hikvision's ranges map straight onto it,
29721
+ * Reolink's mask expands into hour-aligned windows.
29722
+ *
29723
+ * ## Union, not intersection
29724
+ *
29725
+ * **The same fields exist on every camera.** What differs per device is
29726
+ * which VALUES that device accepts, and that is what {@link
29727
+ * RecordingOnboardOptions} reports — a `{ readable, writable, reason }`
29728
+ * per field plus the schedule's own limits. A control a camera cannot
29729
+ * honour is rendered DISABLED WITH ITS REASON, never missing and never
29730
+ * dead: disabled must not look like broken.
29731
+ *
29732
+ * ## Refusal by name
29733
+ *
29734
+ * A write a camera cannot honour is refused with a sentence the operator
29735
+ * can read — never accepted and dropped. Both providers refuse through
29736
+ * {@link describeOnboardRefusal}, so the vocabulary is one function and
29737
+ * one test, not two hand-written vendor opinions.
29738
+ *
29739
+ * Follows the D14 `deviceConfig` archetype (see `stream-params.cap.ts`):
29740
+ * `getOptions` advertises per-camera availability, `getStatus` (auto-
29741
+ * injected from `status`) reports the live values, and a single
29742
+ * `setSettings` mutation applies a partial change. No hand-written
29743
+ * settings-contribution methods.
29744
+ */
29745
+ /**
29746
+ * What makes the camera start recording during a window.
29747
+ *
29748
+ * The union of both vendors' vocabularies. `continuous` is Hikvision's
29749
+ * `CMR` and Reolink's `Normal`; `motion` is `MOTION` / `MD`. The
29750
+ * object-class triggers are Reolink-only today and the smart-event ones
29751
+ * (`lineCrossing`, `intrusion`, `loitering`) are Reolink-only on the
29752
+ * firmwares measured — a camera that cannot record on a trigger simply
29753
+ * does not list it in `options.schedule.triggers`, and a window naming
29754
+ * it is REFUSED, not dropped.
29755
+ */
29756
+ var RecordTriggerSchema = _enum([
29757
+ "continuous",
29758
+ "motion",
29759
+ "person",
29760
+ "vehicle",
29761
+ "animal",
29762
+ "lineCrossing",
29763
+ "intrusion",
29764
+ "loitering",
29765
+ "alarmInput"
29766
+ ]);
29767
+ /**
29768
+ * One weekly recording window: "on `day`, from `startMinute` to
29769
+ * `endMinute`, record on `trigger`".
29770
+ *
29771
+ * `day` is 0 = Monday … 6 = Sunday (ISO order, which is also the order
29772
+ * both firmwares enumerate). Minutes are local camera time since
29773
+ * midnight; `endMinute` may be 1440, meaning end of day — that is
29774
+ * Hikvision's literal `24:00` and Reolink's 24th mask slot, and
29775
+ * collapsing it to 0 would turn a whole-day window into an empty one.
29776
+ */
29777
+ var RecordWindowSchema = object({
29778
+ trigger: RecordTriggerSchema,
29779
+ day: number().int().min(0).max(6),
29780
+ startMinute: number().int().min(0).max(1439),
29781
+ endMinute: number().int().min(1).max(1440)
29782
+ });
29783
+ /** Status of one physical volume, as the camera itself describes it. */
29784
+ var OnboardStorageVolumeSchema = object({
29785
+ /** The camera's own id for the volume (`hdd/id`, Reolink `HddInfo/number`). */
29786
+ id: string(),
29787
+ /** The camera's own name for it, when it gives one (`hddName`). */
29788
+ label: string().optional(),
29789
+ status: _enum([
29790
+ "ok",
29791
+ "unformatted",
29792
+ "error",
29793
+ "offline",
29794
+ "unknown"
29795
+ ]),
29796
+ /**
29797
+ * Total size in MB, or **null when the camera did not say**.
29798
+ *
29799
+ * Never 0 for an unreadable value: a measurement that failed is not a
29800
+ * measurement (D393), and a card whose size is unknown must not be
29801
+ * rendered as a card of size zero.
29802
+ */
29803
+ capacityMb: number().nullable(),
29804
+ /**
29805
+ * Free space in MB, or null when unknown.
29806
+ *
29807
+ * **Not a proxy for "has footage".** Measured 2026-09-22: 1436 and
29808
+ * 1439 both report exactly 11776 MB free — the fixed reserve a looping
29809
+ * card converges on once it has wrapped. At loop steady state the
29810
+ * number is identical whether the camera recorded yesterday or stopped
29811
+ * a month ago.
29812
+ */
29813
+ freeMb: number().nullable(),
29814
+ /** True when the camera reports the volume writable (`property` RW). */
29815
+ writable: boolean().optional()
29816
+ });
29817
+ object({
29818
+ storage: discriminatedUnion("kind", [
29819
+ object({
29820
+ kind: literal("present"),
29821
+ volumes: array(OnboardStorageVolumeSchema)
29822
+ }),
29823
+ object({
29824
+ kind: literal("absent"),
29825
+ reason: string()
29826
+ }),
29827
+ object({
29828
+ kind: literal("unknown"),
29829
+ reason: string()
29830
+ })
29831
+ ]),
29832
+ tracks: array(object({
29833
+ id: string(),
29834
+ enabled: boolean(),
29835
+ isVideo: boolean(),
29836
+ /** From the camera's own track description. Null when it does not say. */
29837
+ codec: string().nullable(),
29838
+ resolution: string().nullable(),
29839
+ /** Per-track overwrite flag, where the firmware keeps it per track. */
29840
+ overwriteWhenFull: boolean().nullable()
29841
+ })),
29842
+ /**
29843
+ * The track the write path targets — the enabled VIDEO one. Null when
29844
+ * no track could be identified, which is itself a refusal reason.
29845
+ */
29846
+ primaryTrackId: string().nullable(),
29847
+ /** Master "record to the card at all" switch. */
29848
+ enabled: boolean().nullable(),
29849
+ overwriteWhenFull: boolean().nullable(),
29850
+ preRecordSec: number().nullable(),
29851
+ postRecordSec: number().nullable(),
29852
+ /** Length of one recorded file, in minutes. */
29853
+ segmentMinutes: number().nullable(),
29854
+ /** The primary track's weekly windows, flattened. */
29855
+ windows: array(RecordWindowSchema),
29856
+ /**
29857
+ * How many windows the camera described that CamStack could NOT read —
29858
+ * an unrecognised trigger, an unparseable clock, a weekday it does not
29859
+ * name.
29860
+ *
29861
+ * A dropped window is work the reader threw away, and a schedule that
29862
+ * silently shows fewer rows than the camera holds is how an operator
29863
+ * saves back a schedule shorter than the one they were looking at
29864
+ * (D391). Non-zero means the window list is INCOMPLETE and a write
29865
+ * that replaces it would delete what was not shown — which is why a
29866
+ * provider reporting a non-zero count also reports the schedule as not
29867
+ * writable.
29868
+ */
29869
+ unreadableWindows: number(),
29870
+ /**
29871
+ * The camera is scheduled to record and has NO usable storage.
29872
+ *
29873
+ * A first-class fact because it is the fleet's most common silent
29874
+ * defect: measured 2026-09-22, 1441 and 3831 are both motion-recording
29875
+ * to a card that is not there. Neither the schedule nor the storage
29876
+ * read says anything wrong on its own; only the pair does.
29877
+ */
29878
+ recordingToNowhere: boolean(),
29879
+ lastFetchedAt: number()
29880
+ });
29881
+ /** Numeric range descriptor — `{ min, max, step }` per the getOptions convention. */
29882
+ var RangeSchema = object({
29883
+ min: number(),
29884
+ max: number(),
29885
+ step: number()
29886
+ });
29887
+ /**
29888
+ * The values a camera actually takes for a numeric field, when they are a SET
29889
+ * rather than a range.
29890
+ *
29891
+ * `{min,max,step}` cannot say what these two firmwares do. Measured on 1436
29892
+ * (I91DN) on 2026-09-22 by writing each value and reading it back:
29893
+ *
29894
+ * - pre-record: `0, 5, 10, 15, 20, 25, 30` and `2147483647` (INT32_MAX, the
29895
+ * camera's "no limit" — `-1` and `4294967295` both land on it);
29896
+ * - post-record: `5, 10, 30, 60, 120, 300, 600`.
29897
+ *
29898
+ * Neither is expressible as a step: the first has a sentinel two billion away
29899
+ * from its neighbours, the second doubles and then jumps. A range that tried
29900
+ * would forbid values the camera takes AND permit values it silently replaces
29901
+ * with 5 — wrong in both directions at once.
29902
+ *
29903
+ * `sentinel` names the member that is not a duration, so a surface can render
29904
+ * "no limit" instead of `2147483647` seconds.
29905
+ */
29906
+ var AllowedValuesSchema = object({
29907
+ values: array(number()).min(1),
29908
+ sentinel: object({
29909
+ value: number(),
29910
+ meaning: _enum(["no-limit", "disabled"])
29911
+ }).optional()
29912
+ });
29913
+ /**
29914
+ * Per-field availability on ONE camera.
29915
+ *
29916
+ * The field exists on every camera — this says whether this one can be
29917
+ * read and whether it can be written, and `reason` says why not when
29918
+ * either is false. The UI renders the control DISABLED with the reason
29919
+ * rather than hiding it, so a limitation is legible instead of looking
29920
+ * like a missing feature.
29921
+ */
29922
+ var OnboardFieldSupportSchema = object({
29923
+ readable: boolean(),
29924
+ writable: boolean(),
29925
+ /** Required whenever `readable` or `writable` is false. */
29926
+ reason: string().optional()
29927
+ });
29928
+ /** What this camera's schedule model can express. */
29929
+ var OnboardScheduleSupportSchema = object({
29930
+ support: OnboardFieldSupportSchema,
29931
+ /**
29932
+ * The smallest time step the camera can express, in minutes.
29933
+ *
29934
+ * Hikvision takes arbitrary minutes (`00:05:00`–`23:57:00` observed on
29935
+ * 1436's track 103). Reolink's schedule is a 7×24 HOUR mask, so 60. A
29936
+ * window whose edges are not a multiple of this is REFUSED rather than
29937
+ * quietly rounded — rounding is how an operator's 06:30 becomes 06:00
29938
+ * and nothing says so.
29939
+ */
29940
+ granularityMinutes: number(),
29941
+ /** Triggers this camera can record on. A window naming another is refused. */
29942
+ triggers: array(RecordTriggerSchema),
29943
+ /**
29944
+ * False when the camera stores ONE trigger per time range, so two
29945
+ * windows overlapping on the same day cannot carry different triggers.
29946
+ * True on Reolink, whose mask is per-trigger and independent.
29947
+ */
29948
+ supportsOverlappingTriggers: boolean()
29949
+ });
29950
+ var RecordingOnboardOptionsSchema = object({
29951
+ enabled: OnboardFieldSupportSchema,
29952
+ overwriteWhenFull: OnboardFieldSupportSchema,
29953
+ preRecordSec: OnboardFieldSupportSchema,
29954
+ preRecordSecRange: RangeSchema.optional(),
29955
+ /** Preferred over the range when the camera takes a SET, not a span. */
29956
+ preRecordSecAllowed: AllowedValuesSchema.optional(),
29957
+ postRecordSec: OnboardFieldSupportSchema,
29958
+ postRecordSecRange: RangeSchema.optional(),
29959
+ /** Preferred over the range when the camera takes a SET, not a span. */
29960
+ postRecordSecAllowed: AllowedValuesSchema.optional(),
29961
+ segmentMinutes: OnboardFieldSupportSchema,
29962
+ segmentMinutesRange: RangeSchema.optional(),
29963
+ /** Preferred over the range when the camera takes a SET, not a span. */
29964
+ segmentMinutesAllowed: AllowedValuesSchema.optional(),
29965
+ schedule: OnboardScheduleSupportSchema
29966
+ });
29967
+ /**
29968
+ * A partial change. Every field optional.
29969
+ *
29970
+ * Unlike the other `deviceConfig` caps, a provider here does **NOT**
29971
+ * silently ignore a field it cannot support — it refuses, by name,
29972
+ * through {@link describeOnboardRefusal}. Silence on a recording setting
29973
+ * is the failure D62 exists to prevent: the operator believes the camera
29974
+ * is recording the way the form says, and it is not.
29975
+ */
29976
+ var RecordingOnboardPatchSchema = object({
29977
+ enabled: boolean().optional(),
29978
+ overwriteWhenFull: boolean().optional(),
29979
+ preRecordSec: number().optional(),
29980
+ postRecordSec: number().optional(),
29981
+ segmentMinutes: number().optional(),
29982
+ /** The complete new window set for the primary track — not a delta. */
29983
+ windows: array(RecordWindowSchema).optional()
29984
+ });
29985
+ DeviceType.Camera, method(object({ deviceId: number() }), RecordingOnboardOptionsSchema), method(object({
29986
+ deviceId: number(),
29987
+ settings: RecordingOnboardPatchSchema
29988
+ }), _void(), {
29989
+ kind: "mutation",
29990
+ auth: "admin"
29991
+ });
29992
+ /**
29601
29993
  * Generic device-level status snapshot. Auto-registered by `BaseDevice`
29602
29994
  * for every device, regardless of provider — the kernel needs a uniform
29603
29995
  * cap-keyed slice for the basic device flags every consumer expects to
@@ -39159,6 +39551,12 @@ Object.freeze({
39159
39551
  addonId: null,
39160
39552
  access: "view"
39161
39553
  },
39554
+ "deviceAdminLink.getAdminLink": {
39555
+ capName: "device-admin-link",
39556
+ capScope: "device",
39557
+ addonId: null,
39558
+ access: "view"
39559
+ },
39162
39560
  "deviceAdoption.adopt": {
39163
39561
  capName: "device-adoption",
39164
39562
  capScope: "system",
@@ -43197,6 +43595,24 @@ Object.freeze({
43197
43595
  addonId: null,
43198
43596
  access: "view"
43199
43597
  },
43598
+ "recordingOnboard.getOptions": {
43599
+ capName: "recording-onboard",
43600
+ capScope: "device",
43601
+ addonId: null,
43602
+ access: "view"
43603
+ },
43604
+ "recordingOnboard.getStatus": {
43605
+ capName: "recording-onboard",
43606
+ capScope: "device",
43607
+ addonId: null,
43608
+ access: "view"
43609
+ },
43610
+ "recordingOnboard.setSettings": {
43611
+ capName: "recording-onboard",
43612
+ capScope: "device",
43613
+ addonId: null,
43614
+ access: "create"
43615
+ },
43200
43616
  "recordingSignal.getStatus": {
43201
43617
  capName: "recording-signal",
43202
43618
  capScope: "device",
@@ -45083,6 +45499,11 @@ Object.freeze({
45083
45499
  form: "single",
45084
45500
  optional: true
45085
45501
  }],
45502
+ "deviceAdminLink.getAdminLink": [{
45503
+ name: "deviceId",
45504
+ form: "single",
45505
+ optional: false
45506
+ }],
45086
45507
  "deviceAdoption.release": [{
45087
45508
  name: "camDeviceId",
45088
45509
  form: "single",
@@ -46468,6 +46889,16 @@ Object.freeze({
46468
46889
  form: "single",
46469
46890
  optional: true
46470
46891
  }],
46892
+ "recordingOnboard.getOptions": [{
46893
+ name: "deviceId",
46894
+ form: "single",
46895
+ optional: false
46896
+ }],
46897
+ "recordingOnboard.setSettings": [{
46898
+ name: "deviceId",
46899
+ form: "single",
46900
+ optional: false
46901
+ }],
46471
46902
  "recordingSignal.getStatus": [{
46472
46903
  name: "deviceId",
46473
46904
  form: "single",
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_dist = require("../dist-bAVvh6zw.js");
5
+ const require_dist = require("../dist-DiLFfaYv.js");
6
6
  const require_lazy_sharp = require("../lazy-sharp-BuwKlQLR.js");
7
7
  let node_fs = require("node:fs");
8
8
  let node_path = require("node:path");
@@ -1,4 +1,4 @@
1
- import { an as DeviceType, dn as hydrateSchema, it as evaluateZoneRules, tn as BaseAddon, xt as motionDetectionCapability } from "../dist-L6fspiMs.mjs";
1
+ import { an as DeviceType, dn as hydrateSchema, it as evaluateZoneRules, tn as BaseAddon, xt as motionDetectionCapability } from "../dist-B0wh1O_e.mjs";
2
2
  import { t as getSharp } from "../lazy-sharp-DXsqwpph.mjs";
3
3
  import { readFileSync } from "node:fs";
4
4
  import { join } from "node:path";
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require("./chunk-emK7D4bc.js");
2
- const require_dist = require("./dist-bAVvh6zw.js");
2
+ const require_dist = require("./dist-DiLFfaYv.js");
3
3
  let node_crypto = require("node:crypto");
4
4
  let node_fs = require("node:fs");
5
5
  node_fs = require_chunk.__toESM(node_fs, 1);
@@ -1,4 +1,4 @@
1
- import { $t as isSoftwareDecode, Jt as errMsg, Xt as Fmp4BoxSplitter, Zt as buildFfmpegArgs } from "./dist-L6fspiMs.mjs";
1
+ import { $t as isSoftwareDecode, Jt as errMsg, Xt as Fmp4BoxSplitter, Zt as buildFfmpegArgs } from "./dist-B0wh1O_e.mjs";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import { realpathSync } from "node:fs";
4
4
  import path from "node:path";
@@ -3,9 +3,9 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../chunk-emK7D4bc.js");
6
- const require_dist = require("../dist-bAVvh6zw.js");
7
- const require_node = require("../node-BAHXRXps.js");
8
- const require_default_detection_model = require("../default-detection-model-B9sgmjNE.js");
6
+ const require_dist = require("../dist-DiLFfaYv.js");
7
+ const require_node = require("../node-Beq3CXsJ.js");
8
+ const require_default_detection_model = require("../default-detection-model-COWU8Rz0.js");
9
9
  const require_worker_protocol = require("../worker-protocol-B2MfQLlu.js");
10
10
  const require_hub_hostname = require("../hub-hostname-DAJXlOgV.js");
11
11
  const require_lazy_sharp = require("../lazy-sharp-BuwKlQLR.js");
@@ -1,6 +1,6 @@
1
- import { An as string, D as NativeLeaseSettingsSchema, Dn as object, Dt as pickNativeLeaseOverride, E as NativeLeaseAdmissionSchema, En as number, Et as pickDetailCropConvention, Jt as errMsg, Mn as EventCategory, S as FailureCounters, Sn as boolean, T as MOTION_CLOSE_AFTER_MS, Tn as literal, Z as deriveDetailCropRect, _ as DEVICE_BACKEND_TO_FORMAT, bn as _enum, cn as customAction, ct as failureContributionCapability, g as DEFAULT_NATIVE_LEASE_SETTINGS, hn as nodePin, kt as pipelineRunnerCapability, ln as defineCustomActions, p as DEFAULT_DETAIL_CROP_CONVENTION, pt as loadContributionCapability, sn as createEvent, tn as BaseAddon, wn as lazy, xn as array } from "../dist-L6fspiMs.mjs";
2
- import { i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-BKSzm60G.mjs";
3
- import { a as localFrameRegistry, d as getStepDefinition, i as rootObjectGate, o as resolveFrameViewGeometry, r as macroGateVerdict } from "../default-detection-model-BbaeqJWd.mjs";
1
+ import { An as string, D as NativeLeaseSettingsSchema, Dn as object, Dt as pickNativeLeaseOverride, E as NativeLeaseAdmissionSchema, En as number, Et as pickDetailCropConvention, Jt as errMsg, Mn as EventCategory, S as FailureCounters, Sn as boolean, T as MOTION_CLOSE_AFTER_MS, Tn as literal, Z as deriveDetailCropRect, _ as DEVICE_BACKEND_TO_FORMAT, bn as _enum, cn as customAction, ct as failureContributionCapability, g as DEFAULT_NATIVE_LEASE_SETTINGS, hn as nodePin, kt as pipelineRunnerCapability, ln as defineCustomActions, p as DEFAULT_DETAIL_CROP_CONVENTION, pt as loadContributionCapability, sn as createEvent, tn as BaseAddon, wn as lazy, xn as array } from "../dist-B0wh1O_e.mjs";
2
+ import { i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-UjSfDx5h.mjs";
3
+ import { a as localFrameRegistry, d as getStepDefinition, i as rootObjectGate, o as resolveFrameViewGeometry, r as macroGateVerdict } from "../default-detection-model-GPkHN13Q.mjs";
4
4
  import { t as isWorkerReply } from "../worker-protocol-C_W-P_g-.mjs";
5
5
  import { t as resolveHubHostname } from "../hub-hostname-cCknRYKj.mjs";
6
6
  import { t as getSharp } from "../lazy-sharp-DXsqwpph.mjs";
@@ -1,4 +1,4 @@
1
- import { Ct as parseProcStatus } from "./dist-L6fspiMs.mjs";
1
+ import { Ct as parseProcStatus } from "./dist-B0wh1O_e.mjs";
2
2
  import * as fs from "node:fs";
3
3
  import { execFile } from "node:child_process";
4
4
  //#region src/shared/node-topology-platform.ts
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require("./chunk-emK7D4bc.js");
2
- const require_dist = require("./dist-bAVvh6zw.js");
2
+ const require_dist = require("./dist-DiLFfaYv.js");
3
3
  let node_fs = require("node:fs");
4
4
  node_fs = require_chunk.__toESM(node_fs);
5
5
  let node_child_process = require("node:child_process");
@@ -3,8 +3,8 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../chunk-emK7D4bc.js");
6
- const require_dist = require("../dist-bAVvh6zw.js");
7
- const require_node = require("../node-BAHXRXps.js");
6
+ const require_dist = require("../dist-DiLFfaYv.js");
7
+ const require_node = require("../node-Beq3CXsJ.js");
8
8
  const require_hub_hostname = require("../hub-hostname-DAJXlOgV.js");
9
9
  const require_restream_intent = require("../restream-intent-7uDNqMKs.js");
10
10
  const require_retire_root_keys = require("../retire-root-keys-Csb8z2f3.js");
@@ -1,5 +1,5 @@
1
- import { An as string, Dn as object, En as number, Ft as resolveCreateExportSubject, G as clipExportFailureOf, H as batteryCapability, Ht as storageOccupancyCapability, I as VISIT_MERGE_GAP_MS, Jt as errMsg, Kt as videoclipsCapability, Lt as resolveLocationMode, M as RECORDING_EXPORT_MAX_READ_BYTES, Mn as EventCategory, Mt as recordingExportCapability, N as RecordingConfigSchema, Nt as recordingSignalCapability, O as OpsLogEntrySchema, On as preprocess, P as RecordingSignalStatusSchema, Q as deriveRecordingMode, Sn as boolean, Vt as storageEvictableCapability, W as clipExportFailure, Wt as stripRetiredBandPreBufferSec, X as deriveBatteryPresence, _t as mayReadLocation, an as DeviceType, at as evictionPolicyForMode, bn as _enum, bt as modeMayWrite, cn as customAction, dn as hydrateSchema, ft as isFirstLevelMacroClass, hn as nodePin, i as BatteryStatusSchema, in as DeviceFeature, jt as recordingCapability, kn as record, ln as defineCustomActions, lt as gbToBytes, m as DEFAULT_EVENTS_BAND_BUFFER_SEC, ot as evictionPolicyOfLocation, pt as loadContributionCapability, rt as evaluateSensorEdge, st as exportSubjectOf, tn as BaseAddon, v as EVENT_OWNER_TYPES, vn as selectAssignedProfileSlots, vt as mayWriteToLocation, x as ExportRecordSchema, xn as array, y as EVENT_PAD_MS, yn as sleep$1, yt as migrateLegacyDeviceSignalConfig, zt as resolveRecordingProfiles } from "../dist-L6fspiMs.mjs";
2
- import { a as physicalRootOf, i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-BKSzm60G.mjs";
1
+ import { An as string, Dn as object, En as number, Ft as resolveCreateExportSubject, G as clipExportFailureOf, H as batteryCapability, Ht as storageOccupancyCapability, I as VISIT_MERGE_GAP_MS, Jt as errMsg, Kt as videoclipsCapability, Lt as resolveLocationMode, M as RECORDING_EXPORT_MAX_READ_BYTES, Mn as EventCategory, Mt as recordingExportCapability, N as RecordingConfigSchema, Nt as recordingSignalCapability, O as OpsLogEntrySchema, On as preprocess, P as RecordingSignalStatusSchema, Q as deriveRecordingMode, Sn as boolean, Vt as storageEvictableCapability, W as clipExportFailure, Wt as stripRetiredBandPreBufferSec, X as deriveBatteryPresence, _t as mayReadLocation, an as DeviceType, at as evictionPolicyForMode, bn as _enum, bt as modeMayWrite, cn as customAction, dn as hydrateSchema, ft as isFirstLevelMacroClass, hn as nodePin, i as BatteryStatusSchema, in as DeviceFeature, jt as recordingCapability, kn as record, ln as defineCustomActions, lt as gbToBytes, m as DEFAULT_EVENTS_BAND_BUFFER_SEC, ot as evictionPolicyOfLocation, pt as loadContributionCapability, rt as evaluateSensorEdge, st as exportSubjectOf, tn as BaseAddon, v as EVENT_OWNER_TYPES, vn as selectAssignedProfileSlots, vt as mayWriteToLocation, x as ExportRecordSchema, xn as array, y as EVENT_PAD_MS, yn as sleep$1, yt as migrateLegacyDeviceSignalConfig, zt as resolveRecordingProfiles } from "../dist-B0wh1O_e.mjs";
2
+ import { a as physicalRootOf, i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-UjSfDx5h.mjs";
3
3
  import { t as resolveHubHostname } from "../hub-hostname-cCknRYKj.mjs";
4
4
  import { d as PREBUFFER_MAX_MS, l as withRecordingIntent, r as RECORDING_PRE_ROLL_REQUEST_MS } from "../restream-intent-DyGmLAU9.mjs";
5
5
  import { n as RowMapStore, t as retireRootKeys } from "../retire-root-keys-DZvlso2l.mjs";
@@ -1,5 +1,5 @@
1
1
  import { r as __toESM, t as __commonJSMin } from "./chunk-DnnnRqeS.mjs";
2
- import { Jt as errMsg } from "./dist-L6fspiMs.mjs";
2
+ import { Jt as errMsg } from "./dist-B0wh1O_e.mjs";
3
3
  import { spawn } from "node:child_process";
4
4
  //#region src/stream-broker/recorded/avcc-annexb.ts
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require("./chunk-emK7D4bc.js");
2
- const require_dist = require("./dist-bAVvh6zw.js");
2
+ const require_dist = require("./dist-DiLFfaYv.js");
3
3
  let node_child_process = require("node:child_process");
4
4
  //#region src/stream-broker/recorded/avcc-annexb.ts
5
5
  /**
@@ -1,7 +1,7 @@
1
- import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, p as c, r as l, s as u, t as d, u as f } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-DWcIgV47.mjs";
1
+ import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, p as c, r as l, s as u, t as d, u as f } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-6yZguAUw.mjs";
2
2
  import { a as p, i as m, n as h, o as g, r as _, t as v } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare__react__loadShare__.js-C9j-2lBe.mjs";
3
3
  import { n as y, r as b, t as x } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-XO0-Pyu6.mjs";
4
- import { t as S } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BxqJbWC8.mjs";
4
+ import { t as S } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DVp8RDes.mjs";
5
5
  import { n as C, t as w } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-BO7TIbJV.mjs";
6
6
  //#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
7
7
  var T = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), E = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), D = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), O = (e) => {
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.2.243",
21
+ version: "1.2.244",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_stream_broker_widgets",
@@ -33,7 +33,7 @@ var e = {
33
33
  },
34
34
  "@camstack/ui-library": {
35
35
  name: "@camstack/ui-library",
36
- version: "1.2.196",
36
+ version: "1.2.197",
37
37
  scope: ["default"],
38
38
  loaded: !1,
39
39
  from: "addon_stream_broker_widgets",