@camstack/addon-pipeline 1.2.339 → 1.2.340

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 (34) hide show
  1. package/dist/audio-analyzer/index.js +3 -3
  2. package/dist/audio-analyzer/index.mjs +3 -3
  3. package/dist/{custom-model-catalog-B5sCwSgr.mjs → custom-model-catalog-BOnN63HU.mjs} +5 -3
  4. package/dist/{custom-model-catalog-BY35vysX.js → custom-model-catalog-Cjbll1Sf.js} +5 -3
  5. package/dist/detection-pipeline/index.js +188 -17
  6. package/dist/detection-pipeline/index.mjs +213 -42
  7. package/dist/{dist-BUqvRc-c.js → dist-BWigCRRN.js} +320 -43
  8. package/dist/{dist-BylL-kRe.mjs → dist-CsA6fY6I.mjs} +303 -44
  9. package/dist/{model-catalogs-DygV-lXw.js → model-catalogs-BFBf8sHb.js} +1 -1
  10. package/dist/{model-catalogs-x1G07ScE.mjs → model-catalogs-D7JXV0_i.mjs} +1 -1
  11. package/dist/motion-wasm/index.js +1 -1
  12. package/dist/motion-wasm/index.mjs +1 -1
  13. package/dist/{node-4Vnc6mbI.mjs → node-BZ29vHq2.mjs} +1 -1
  14. package/dist/{node-r1KgYS72.js → node-D52HHrVZ.js} +1 -1
  15. package/dist/pipeline-runner/index.js +3 -3
  16. package/dist/pipeline-runner/index.mjs +3 -3
  17. package/dist/{process-memory-Dr9tFNCX.js → process-memory-C9U6dKxS.js} +1 -1
  18. package/dist/{process-memory-DOX7Esg9.mjs → process-memory-DOEeg2pL.mjs} +1 -1
  19. package/dist/recorder/index.js +6 -2
  20. package/dist/recorder/index.mjs +6 -2
  21. package/dist/{segment-demux-js-5UX_f1ey.js → segment-demux-js-CMZSmwMp.js} +1 -1
  22. package/dist/{segment-demux-js-Brk0ORQN.mjs → segment-demux-js-DDgwrz-e.mjs} +1 -1
  23. package/dist/stream-broker/_stub.js +2 -2
  24. package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-oF4bquCk.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-6JIjr_ur.mjs} +2 -2
  25. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js--yC-aoPc.mjs +26 -0
  26. package/dist/stream-broker/{_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-Bt8aa0wk.mjs → _virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-B-hhg2sP.mjs} +1 -1
  27. package/dist/stream-broker/demux-worker-child.js +1 -1
  28. package/dist/stream-broker/demux-worker-child.mjs +1 -1
  29. package/dist/stream-broker/{hostInit-BOteWKrZ.mjs → hostInit-Ck1wQfKk.mjs} +2 -2
  30. package/dist/stream-broker/index.js +3 -3
  31. package/dist/stream-broker/index.mjs +3 -3
  32. package/dist/stream-broker/remoteEntry.js +1 -1
  33. package/package.json +1 -1
  34. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-1Y-WK-Zy.mjs +0 -26
@@ -12943,6 +12943,40 @@ var ModelFormatEntrySchema = object({
12943
12943
  revision: string().min(1).optional()
12944
12944
  });
12945
12945
  /**
12946
+ * What a node holds for one (model, format) (D746). `current` is a complete
12947
+ * copy at its catalog revision — exactly what `downloaded: true` means.
12948
+ * `stale` is bytes on disk that are not (yet) proven current under D743/D744:
12949
+ * no or a different revision record, or a missing sibling. `missing` is no
12950
+ * copy. `downloaded` alone folds `stale` into "not downloaded", which hid
12951
+ * reclaimable bytes and a copy about to be replaced.
12952
+ */
12953
+ var ModelOnDiskStateSchema = _enum([
12954
+ "current",
12955
+ "stale",
12956
+ "missing"
12957
+ ]);
12958
+ /**
12959
+ * The numeric precision of one format's BUILD (D746) — reported only when the
12960
+ * build states it (file-name token, an INT8 variant, an EdgeTPU compile, a
12961
+ * CamStack Core ML export). Absent means "not stated", never "fp32".
12962
+ */
12963
+ var ModelFormatPrecisionSchema = _enum([
12964
+ "fp32",
12965
+ "fp16",
12966
+ "int8"
12967
+ ]);
12968
+ /**
12969
+ * One format of one model as a node's `pipelineExecutor.getSchema` reports it.
12970
+ * `onDisk` / `precision` are optional for version skew: a runner that predates
12971
+ * them omits them, and a reader falls back to `downloaded`.
12972
+ */
12973
+ var PipelineModelFormatStatusSchema = object({
12974
+ downloaded: boolean(),
12975
+ sizeMB: number(),
12976
+ onDisk: ModelOnDiskStateSchema.optional(),
12977
+ precision: ModelFormatPrecisionSchema.optional()
12978
+ });
12979
+ /**
12946
12980
  * Extra file that must be downloaded alongside the model (e.g., labels JSON, dict.txt).
12947
12981
  * The downloader fetches from `url` and saves to `{modelsDir}/{filename}`.
12948
12982
  */
@@ -26539,7 +26573,7 @@ var FrameRefSchema = object({
26539
26573
  timestamp: number(),
26540
26574
  capturedAt: number().optional()
26541
26575
  });
26542
- var ModelFormatSchema$1 = _enum([
26576
+ var ModelFormatSchema$2 = _enum([
26543
26577
  "onnx",
26544
26578
  "coreml",
26545
26579
  "openvino",
@@ -26557,7 +26591,7 @@ var PipelineSlotSchema = _enum([
26557
26591
  var PipelineEngineChoiceSchema = object({
26558
26592
  runtime: literal("python"),
26559
26593
  backend: string(),
26560
- format: ModelFormatSchema$1,
26594
+ format: ModelFormatSchema$2,
26561
26595
  device: string().optional()
26562
26596
  });
26563
26597
  /**
@@ -26614,10 +26648,7 @@ var PipelineTemplateSchema$1 = object({
26614
26648
  var PipelineModelOptionSchema = object({
26615
26649
  id: string(),
26616
26650
  name: string(),
26617
- formats: record(string(), object({
26618
- downloaded: boolean(),
26619
- sizeMB: number()
26620
- })),
26651
+ formats: record(string(), PipelineModelFormatStatusSchema),
26621
26652
  group: ModelVariantGroupSchema.optional(),
26622
26653
  legacy: boolean().optional(),
26623
26654
  provider: ModelProviderIdSchema.optional(),
@@ -26832,6 +26863,32 @@ var pipelineExecutorCapability = {
26832
26863
  auth: "admin"
26833
26864
  }),
26834
26865
  /**
26866
+ * Best settings (D745): the MODEL-BOUND thresholds (`bindsToModel` keys of
26867
+ * the object-detection root, and their binding keys) stored in THIS node's
26868
+ * per-camera detector settings — and, unless `dryRun`, remove them so the
26869
+ * running model's own defaults apply. Every other key of a camera's store
26870
+ * is kept. `nodeId` is the ROUTING key. `deviceIds` absent ⇒ every camera
26871
+ * with a store. A camera whose store could not be read is `refused`, never
26872
+ * reported as clean.
26873
+ */
26874
+ clearModelBoundDeviceOverrides: method(object({
26875
+ nodeId: string(),
26876
+ deviceIds: array(number()).readonly().optional(),
26877
+ dryRun: boolean()
26878
+ }), object({
26879
+ entries: array(object({
26880
+ deviceId: number(),
26881
+ keys: array(string()).readonly()
26882
+ })).readonly(),
26883
+ refused: array(object({
26884
+ deviceId: number(),
26885
+ reason: string()
26886
+ })).readonly()
26887
+ }), {
26888
+ kind: "mutation",
26889
+ auth: "admin"
26890
+ }),
26891
+ /**
26835
26892
  * Which of THIS node's inference devices the executor currently refuses,
26836
26893
  * and why. `nodeId` is the ROUTING key (stripped by the generated router).
26837
26894
  *
@@ -26926,12 +26983,12 @@ var pipelineExecutorCapability = {
26926
26983
  downloadModel: method(object({
26927
26984
  addonId: string(),
26928
26985
  modelId: string(),
26929
- format: ModelFormatSchema$1
26986
+ format: ModelFormatSchema$2
26930
26987
  }), DownloadModelResultSchema, { kind: "mutation" }),
26931
26988
  deleteModel: method(object({
26932
26989
  addonId: string(),
26933
26990
  modelId: string(),
26934
- format: ModelFormatSchema$1
26991
+ format: ModelFormatSchema$2
26935
26992
  }), object({ success: literal(true) }), { kind: "mutation" }),
26936
26993
  /**
26937
26994
  * Stateless single-frame execution. Callers (runner, benchmark) pass
@@ -27177,6 +27234,204 @@ var pipelineExecutorCapability = {
27177
27234
  getDetectionConfigSchema: method(_void(), ConfigUISchemaNullableBridge)
27178
27235
  }
27179
27236
  };
27237
+ /**
27238
+ * The wire shapes of the Best settings plan and apply (D745), used by the
27239
+ * `pipeline-orchestrator` cap. The recommender's own types
27240
+ * (`recommend.ts`, `demand.ts`) are the TS face of the same data; these
27241
+ * schemas are what crosses the cap boundary.
27242
+ */
27243
+ var ModelFormatSchema$1 = _enum(MODEL_FORMATS);
27244
+ var HardwareClassIdSchema = _enum([
27245
+ "intel-core-ultra",
27246
+ "intel-n-series",
27247
+ "apple-m-base",
27248
+ "apple-m-pro",
27249
+ "unknown"
27250
+ ]);
27251
+ var AcceleratorKindSchema = _enum([
27252
+ "intel-npu",
27253
+ "intel-igpu",
27254
+ "x86-cpu",
27255
+ "arm-cpu",
27256
+ "apple-ane",
27257
+ "coral"
27258
+ ]);
27259
+ var RecommendationReasonSchema = discriminatedUnion("kind", [
27260
+ object({
27261
+ kind: literal("fits"),
27262
+ utilisation: number()
27263
+ }),
27264
+ object({
27265
+ kind: literal("tie-faster"),
27266
+ over: string(),
27267
+ recallDelta: number()
27268
+ }),
27269
+ object({
27270
+ kind: literal("stepped-down"),
27271
+ from: string(),
27272
+ to: string(),
27273
+ limitedBy: string()
27274
+ }),
27275
+ object({
27276
+ kind: literal("no-fit-lightest"),
27277
+ utilisation: number()
27278
+ }),
27279
+ object({
27280
+ kind: literal("derived-latency"),
27281
+ modelId: string()
27282
+ }),
27283
+ object({
27284
+ kind: literal("estimated-load"),
27285
+ observedForMs: number().nullable()
27286
+ }),
27287
+ object({ kind: literal("cpu-device") }),
27288
+ object({ kind: literal("coral-untouched") }),
27289
+ object({ kind: literal("device-disabled") }),
27290
+ object({ kind: literal("device-unavailable") }),
27291
+ object({ kind: literal("node-offline") }),
27292
+ object({ kind: literal("no-hardware-facts") }),
27293
+ object({
27294
+ kind: literal("no-measured-data"),
27295
+ hardwareClass: HardwareClassIdSchema
27296
+ }),
27297
+ object({
27298
+ kind: literal("no-family-build"),
27299
+ format: ModelFormatSchema$1
27300
+ })
27301
+ ]);
27302
+ var DeviceDemandSchema = object({
27303
+ nodeId: string(),
27304
+ deviceKey: string(),
27305
+ demandFps: number(),
27306
+ maxCameraFps: number(),
27307
+ alwaysOnCameras: number(),
27308
+ onMotionSessions: number(),
27309
+ onMotionSource: _enum([
27310
+ "observed-24h",
27311
+ "estimate",
27312
+ "none"
27313
+ ]),
27314
+ observedForMs: number().nullable()
27315
+ });
27316
+ var DeviceModelChoiceSchema = object({
27317
+ modelId: string(),
27318
+ p50Ms: number(),
27319
+ fps: number(),
27320
+ measured: boolean(),
27321
+ utilisation: number(),
27322
+ personRecall: number()
27323
+ });
27324
+ var DeviceRecommendationSchema = object({
27325
+ deviceKey: string(),
27326
+ accelerator: AcceleratorKindSchema.nullable(),
27327
+ enabled: boolean(),
27328
+ available: boolean(),
27329
+ demand: DeviceDemandSchema.nullable(),
27330
+ chosen: DeviceModelChoiceSchema.nullable(),
27331
+ reasons: array(RecommendationReasonSchema).readonly()
27332
+ });
27333
+ var NodeRecommendationSchema = object({
27334
+ nodeId: string(),
27335
+ reachable: boolean(),
27336
+ hardwareClass: HardwareClassIdSchema.nullable(),
27337
+ cpuModel: string().nullable(),
27338
+ skipped: boolean(),
27339
+ acceleratorModelId: string().nullable(),
27340
+ devices: array(DeviceRecommendationSchema).readonly(),
27341
+ reasons: array(RecommendationReasonSchema).readonly()
27342
+ });
27343
+ var ModelPinChangeSchema = object({
27344
+ stepId: string(),
27345
+ before: string().nullable(),
27346
+ after: string().nullable()
27347
+ });
27348
+ var NodeDeviceChangeSchema = object({
27349
+ nodeId: string(),
27350
+ deviceKey: string(),
27351
+ madeExplicit: boolean(),
27352
+ modelPins: array(ModelPinChangeSchema).readonly(),
27353
+ thresholds: array(object({
27354
+ stepId: string(),
27355
+ keys: array(string()).readonly()
27356
+ })).readonly()
27357
+ });
27358
+ var CameraOverrideClearSchema = object({
27359
+ deviceId: number(),
27360
+ source: _enum(["step-override", "wholesale"]),
27361
+ nodeId: string(),
27362
+ deviceKey: string().nullable(),
27363
+ stepId: string(),
27364
+ modelIdBefore: string().nullable(),
27365
+ keys: array(string()).readonly()
27366
+ });
27367
+ var DetectorStoreClearSchema = object({
27368
+ deviceId: number(),
27369
+ keys: array(string()).readonly()
27370
+ });
27371
+ var BestSettingsWarningSchema = discriminatedUnion("kind", [
27372
+ object({
27373
+ kind: literal("detector-store-cluster-wide"),
27374
+ skippedNodes: array(string()).readonly()
27375
+ }),
27376
+ object({
27377
+ kind: literal("detector-store-unreadable"),
27378
+ error: string()
27379
+ }),
27380
+ object({
27381
+ kind: literal("coral-enabled"),
27382
+ nodeId: string(),
27383
+ deviceKey: string()
27384
+ })
27385
+ ]);
27386
+ var BestSettingsOptionsSchema = object({
27387
+ /** Share of each accelerator's throughput kept free (0.3–0.5). */
27388
+ headroom: number().min(.3).max(.5).default(.4) });
27389
+ var BestSettingsPlanSchema = object({
27390
+ /** Hash of everything the apply will write — the apply refuses a different one. */
27391
+ planHash: string(),
27392
+ family: literal("yolov9"),
27393
+ headroom: number(),
27394
+ generatedAt: number(),
27395
+ nodes: array(NodeRecommendationSchema).readonly(),
27396
+ nodeChanges: array(NodeDeviceChangeSchema).readonly(),
27397
+ cameraClears: array(CameraOverrideClearSchema).readonly(),
27398
+ detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
27399
+ warnings: array(BestSettingsWarningSchema).readonly()
27400
+ });
27401
+ var BestSettingsApplyInputSchema = object({
27402
+ planHash: string(),
27403
+ headroom: number().min(.3).max(.5).default(.4)
27404
+ });
27405
+ var BestSettingsPhaseResultSchema = object({
27406
+ phase: _enum([
27407
+ "download",
27408
+ "camera-overrides",
27409
+ "detector-thresholds",
27410
+ "node-models",
27411
+ "redispatch"
27412
+ ]),
27413
+ ok: boolean(),
27414
+ detail: string()
27415
+ });
27416
+ var BestSettingsApplyResultSchema = discriminatedUnion("kind", [
27417
+ object({
27418
+ kind: literal("applied"),
27419
+ planHash: string(),
27420
+ phases: array(BestSettingsPhaseResultSchema).readonly()
27421
+ }),
27422
+ object({
27423
+ kind: literal("aborted"),
27424
+ phases: array(BestSettingsPhaseResultSchema).readonly()
27425
+ }),
27426
+ object({
27427
+ kind: literal("stale"),
27428
+ plan: BestSettingsPlanSchema
27429
+ }),
27430
+ object({
27431
+ kind: literal("refused"),
27432
+ reason: _enum(["apply-in-progress"])
27433
+ })
27434
+ ]);
27180
27435
  object({
27181
27436
  activeCameras: number(),
27182
27437
  throttledCameras: number(),
@@ -29095,6 +29350,9 @@ method(object({
29095
29350
  }), {
29096
29351
  kind: "mutation",
29097
29352
  auth: "admin"
29353
+ }), method(BestSettingsOptionsSchema, BestSettingsPlanSchema, { auth: "admin" }), method(BestSettingsApplyInputSchema, BestSettingsApplyResultSchema, {
29354
+ kind: "mutation",
29355
+ auth: "admin"
29098
29356
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
29099
29357
  deviceId: number(),
29100
29358
  addonId: string(),
@@ -41168,6 +41426,8 @@ Object.freeze({
41168
41426
  vehicle: .65,
41169
41427
  animal: .65
41170
41428
  });
41429
+ var HF_REPO = "camstack/camstack-models";
41430
+ `${HF_REPO}`;
41171
41431
  /**
41172
41432
  * Accessory device helpers — shared across drivers.
41173
41433
  *
@@ -45704,6 +45964,12 @@ Object.freeze({
45704
45964
  addonId: null,
45705
45965
  access: "delete"
45706
45966
  },
45967
+ "pipelineExecutor.clearModelBoundDeviceOverrides": {
45968
+ capName: "pipeline-executor",
45969
+ capScope: "system",
45970
+ addonId: null,
45971
+ access: "delete"
45972
+ },
45707
45973
  "pipelineExecutor.deleteModel": {
45708
45974
  capName: "pipeline-executor",
45709
45975
  capScope: "system",
@@ -45920,6 +46186,12 @@ Object.freeze({
45920
46186
  addonId: null,
45921
46187
  access: "view"
45922
46188
  },
46189
+ "pipelineOrchestrator.applyBestSettings": {
46190
+ capName: "pipeline-orchestrator",
46191
+ capScope: "system",
46192
+ addonId: null,
46193
+ access: "create"
46194
+ },
45923
46195
  "pipelineOrchestrator.applyDeviceSettingsPatch": {
45924
46196
  capName: "pipeline-orchestrator",
45925
46197
  capScope: "system",
@@ -46094,6 +46366,12 @@ Object.freeze({
46094
46366
  addonId: null,
46095
46367
  access: "create"
46096
46368
  },
46369
+ "pipelineOrchestrator.planBestSettings": {
46370
+ capName: "pipeline-orchestrator",
46371
+ capScope: "system",
46372
+ addonId: null,
46373
+ access: "view"
46374
+ },
46097
46375
  "pipelineOrchestrator.rebalance": {
46098
46376
  capName: "pipeline-orchestrator",
46099
46377
  capScope: "system",
@@ -51516,6 +51794,11 @@ Object.freeze({
51516
51794
  form: "single",
51517
51795
  optional: false
51518
51796
  }],
51797
+ "pipelineExecutor.clearModelBoundDeviceOverrides": [{
51798
+ name: "deviceIds",
51799
+ form: "array",
51800
+ optional: true
51801
+ }],
51519
51802
  "pipelineExecutor.runPipeline": [{
51520
51803
  name: "deviceId",
51521
51804
  form: "single",
@@ -53422,41 +53705,6 @@ function stepModelRunsOnFormat(models, modelId, format) {
53422
53705
  }
53423
53706
  return models.some((m) => m.legacy !== true && hasBuild(m, format));
53424
53707
  }
53425
- /**
53426
- * Model-bound step settings (D738): an operator value that is only meaningful
53427
- * for ONE model, stored together with that model's id.
53428
- *
53429
- * The per-class confidence floors are the case it exists for. A score is a
53430
- * property of one detector's output scale — on this hub the median score of a
53431
- * correct person was 0.78 on `yolov9m-320-int8`, 0.68 on `yolo26s-320-int8`,
53432
- * 0.40 on `yolo26n-320-int8` and 0.89 on `yolo26s` (640) — so a floor tuned on
53433
- * one model is wrong on the next. The DEFAULT of such a field belongs to the
53434
- * model (the catalog entry); an operator OVERRIDE belongs to the model it was
53435
- * made for.
53436
- *
53437
- * The binding is checked at READ time against the model that RUNS, never
53438
- * enforced by a write on the model-change path: a model can change without any
53439
- * operator write at all (an unpinned root follows the elected device's
53440
- * hardware-aware default, D736), and an event-driven reset could be dropped
53441
- * (events are telemetry, D8/D11). So:
53442
- *
53443
- * effective = override when the stored binding names the running model
53444
- * | override when no binding is stored (a legacy / programmatic
53445
- * value — it applies to whatever runs, as before D738)
53446
- * | the running model's default, when it declares one
53447
- * | the field's global default.
53448
- *
53449
- * Storage shape: the value stays a plain number under its own key (every
53450
- * reader of the raw settings bag keeps working), and the binding is a SIBLING
53451
- * key, {@link modelBindingKey}. Both are flat so the shallow per-key merges of
53452
- * the settings layers (node fold, camera override) carry a value and its
53453
- * binding together whenever one layer writes both — which every writer here
53454
- * does.
53455
- *
53456
- * Lives in the bare `@camstack/types` entry, which every addon bundles, so the
53457
- * runner (`addon-pipeline`) and the editors (`ui-library`, `addon-admin-ui`)
53458
- * apply the same rule.
53459
- */
53460
53708
  /** Suffix of the sibling key that names the model a stored value was made for. */
53461
53709
  var MODEL_BINDING_SUFFIX = "ModelId";
53462
53710
  /** `minConfidencePerson` → `minConfidencePersonModelId`. */
@@ -53516,6 +53764,17 @@ function applyModelBoundSettings(settings, boundKeys, runningModelId) {
53516
53764
  }
53517
53765
  return out;
53518
53766
  }
53767
+ /**
53768
+ * The keys of every `bindsToModel` field of a step's config schema, groups
53769
+ * flattened (D738). One definition for the runner (which applies the binding)
53770
+ * and the orchestrator's Best settings (which clears those overrides, D745).
53771
+ */
53772
+ function collectModelBoundKeys(fields) {
53773
+ return fields.flatMap((field) => {
53774
+ if (field.type === "group") return collectModelBoundKeys(field.fields);
53775
+ return "key" in field && "bindsToModel" in field && field.bindsToModel === true ? [field.key] : [];
53776
+ });
53777
+ }
53519
53778
  /** Side of the square, as a multiple of the face box's longer side. */
53520
53779
  var ROOT_FACE_REFINE_SCALE = 1.6;
53521
53780
  /**
@@ -54734,4 +54993,4 @@ function enumerateInferenceDevices(hw) {
54734
54993
  return out;
54735
54994
  }
54736
54995
  //#endregion
54737
- export { cameraStreamsCapability as $, string as $n, resolveEgressDecodeHwAccel as $t, NativeLeaseSettingsSchema as A, createEvent as An, logChannelsCapability as At, RecordingSignalStatusSchema as B, parseProfileBrokerId as Bn, parseProcStatus as Bt, EncodeProfileSchema as C, DeviceType as Cn, gifFromMp4Args as Ct, LABEL_SUPPLY_MACRO as D, CAM_PROFILE_ORDER as Dn, linkedLabelStepId as Dt, G711_SCALE_CORRECTION_DB as E, BaseAddon as En, isFirstLevelMacroClass as Et, RECORDING_EXPORT_MAX_READ_BYTES as F, isEvent as Fn, memoizePinnedFfmpeg as Ft, addonWidgetsSourceCapability as G, boolean as Gn, pipelineRunnerCapability as Gt, VIDEOCLIPS_MAX_OFFER_BYTES as H, sleep as Hn, pickDetailCropConvention as Ht, RECORDING_SOURCE_CAMSTACK as I, makeProfileBrokerId as In, migrateLegacyDeviceSignalConfig as It, audioAnalysisCapability as J, literal as Jn, recordingCapability as Jt, allowedSuppliedEffect as K, discriminatedUnion as Kn, rankStreams as Kt, RECORDING_SOURCE_CAMSTACK_ADDON as L, makeSourceBrokerId as Ln, modeMayWrite as Lt, PoolMemoryWatchdog as M, defineCustomActions as Mn, maskUrlCredentials as Mt, RATE_CONTROL_RELAXED as N, expandAudioChunkToF32le as Nn, mayReadLocation as Nt, LABEL_SUPPLY_VOCABULARIES as O, CamProfileSchema as On, linkedStepOf as Ot, RATE_CONTROL_TIGHT as P, hydrateSchema as Pn, mayWriteToLocation as Pt, cameraOwnsMotionViaSensor as Q, record as Qn, resolveCreateExportSubject as Qt, ROOT_SUPPLIABLE_STEP_IDS as R, nodePin as Rn, motionDetectionCapability as Rt, EVENT_PAD_MS as S, DeviceFeature as Sn, gifDeriveSpeed as St, FailureCounters as T, BOOT_RECOVERY_BACKOFF_MS as Tn, inferModelProvider as Tt, VISIT_MERGE_GAP_MS as U, _enum as Un, pickNativeLeaseOverride as Ut, RingBuffer as V, selectAssignedProfileSlots as Vn, pickClusterStepSettings as Vt, YAMNET_TO_MACRO as W, array as Wn, pipelineExecutorCapability as Wt, audioKindId as X, object as Xn, recordingSignalCapability as Xt, audioAnalyzerCapability as Y, number as Yn, recordingExportCapability as Yt, batteryCapability as Z, preprocess as Zn, resolveClusterStepModelId as Zt, DEFAULT_DETAIL_CROP_CONVENTION as _, Fmp4BoxSplitter as _n, evictionPolicyOfLocation as _t, BackgroundRunRegistry as a, rootSuppliesOf as an, declareLogChannel as at, DEVICE_BACKEND_TO_FORMAT as b, invocationFromEncodeProfile as bn, ffmpegRate as bt, CLIP_STILL_REASON_CODE_HEADER as c, storageEvictableCapability as cn, deriveDetailCropRect as ct, CLUSTER_MODEL_SCOPED_STEPS as d, stripRetiredBandPreBufferSec as dn, detectionPipelineCapability as dt, resolveLocationMode as en, union as er, clipExportFailure as et, COCO_80_LABELS as f, supportedRuntimes as fn, egressTranscodeSharingKey as ft, DEFAULT_CLUSTER_STEP_SETTINGS as g, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS as gn, evictionPolicyForMode as gt, DEFAULT_AUDIO_ANALYZER_CONFIG as h, AUDIO_PRESETS as hn, evaluateZoneRules as ht, AUDIO_MACRO_LABELS as i, resolveRootSupply as in, createLogChannelsProvider as it, OpsLogEntrySchema as j, customAction as jn, mapAudioLabelToMacro as jt, NativeLeaseAdmissionSchema as k, audioChunkBytesPerSample as kn, loadContributionCapability as kt, CLIP_STILL_REASON_HEADER as l, storageOccupancyCapability as ln, deriveRecordingMode as lt, CROP_SUPPLY_SOURCES as m, webrtcSessionCapability as mn, enumerateInferenceDevices as mt, APPLE_SA_TO_MACRO as n, resolvePoolMemoryPolicy as nn, containingParentIndex as nt, BatteryStatusSchema as o, runtimeDevices as on, defaultDeviceFor as ot, COCO_TO_MACRO as p, videoclipsCapability as pn, egressTransportFromRequest as pt, applyModelBoundSettings as q, lazy as qn, recordingArchiveCapability as qt, AUDIO_BACKEND_CHOICES as r, resolveRecordingProfiles as rn, createHwAccelCache as rt, CLIP_BROKER_PACED_RATES as s, stepModelRunsOnFormat as sn, deriveBatteryPresence as st, APPEARANCE_BLOCKS as t, resolveModelBoundSetting as tn, EventCategory as tr, clipExportFailureOf as tt, CLIP_STREAM_TRANSPORT_HEADER as u, streamBrokerCapability as un, deriveRootFaceRefineRect as ut, DEFAULT_EVENTS_BAND_BUFFER_SEC as v, buildFfmpegArgs as vn, exportSubjectOf as vt, ExportRecordSchema as w, errMsg as wn, hfModelUrl as wt, EVENT_OWNER_TYPES as x, isSoftwareDecode as xn, gbToBytes as xt, DEFAULT_NATIVE_LEASE_SETTINGS as y, evaluateSensorEdge as yn, failureContributionCapability as yt, RecordingConfigSchema as z, parseJsonUnknown as zn, overlayClusterStepSettings as zt };
54996
+ export { cameraOwnsMotionViaSensor as $, object as $n, recordingSignalCapability as $t, NativeLeaseAdmissionSchema as A, CAM_PROFILE_ORDER as An, linkedStepOf as At, RecordingConfigSchema as B, makeSourceBrokerId as Bn, modelBindingKey as Bt, EncodeProfileSchema as C, invocationFromEncodeProfile as Cn, gbToBytes as Ct, HF_REPO as D, errMsg as Dn, inferModelProvider as Dt, G711_SCALE_CORRECTION_DB as E, DeviceType as En, hfModelUrl as Et, RATE_CONTROL_TIGHT as F, defineCustomActions as Fn, mayReadLocation as Ft, YAMNET_TO_MACRO as G, sleep as Gn, pickDetailCropConvention as Gt, RingBuffer as H, parseJsonUnknown as Hn, overlayClusterStepSettings as Ht, RECORDING_EXPORT_MAX_READ_BYTES as I, expandAudioChunkToF32le as In, mayWriteToLocation as It, applyModelBoundSettings as J, boolean as Jn, pipelineRunnerCapability as Jt, addonWidgetsSourceCapability as K, _enum as Kn, pickNativeLeaseOverride as Kt, RECORDING_SOURCE_CAMSTACK as L, hydrateSchema as Ln, memoizePinnedFfmpeg as Lt, OpsLogEntrySchema as M, audioChunkBytesPerSample as Mn, logChannelsCapability as Mt, PoolMemoryWatchdog as N, createEvent as Nn, mapAudioLabelToMacro as Nt, LABEL_SUPPLY_MACRO as O, BOOT_RECOVERY_BACKOFF_MS as On, isFirstLevelMacroClass as Ot, RATE_CONTROL_RELAXED as P, customAction as Pn, maskUrlCredentials as Pt, batteryCapability as Q, number as Qn, recordingExportCapability as Qt, RECORDING_SOURCE_CAMSTACK_ADDON as R, isEvent as Rn, migrateLegacyDeviceSignalConfig as Rt, EVENT_PAD_MS as S, evaluateSensorEdge as Sn, ffmpegRate as St, FailureCounters as T, DeviceFeature as Tn, gifFromMp4Args as Tt, VIDEOCLIPS_MAX_OFFER_BYTES as U, parseProfileBrokerId as Un, parseProcStatus as Ut, RecordingSignalStatusSchema as V, nodePin as Vn, motionDetectionCapability as Vt, VISIT_MERGE_GAP_MS as W, selectAssignedProfileSlots as Wn, pickClusterStepSettings as Wt, audioAnalyzerCapability as X, lazy as Xn, recordingArchiveCapability as Xt, audioAnalysisCapability as Y, discriminatedUnion as Yn, rankStreams as Yt, audioKindId as Z, literal as Zn, recordingCapability as Zt, DEFAULT_DETAIL_CROP_CONVENTION as _, webrtcSessionCapability as _n, evaluateZoneRules as _t, BackgroundRunRegistry as a, resolvePoolMemoryPolicy as an, createHwAccelCache as at, DEVICE_BACKEND_TO_FORMAT as b, Fmp4BoxSplitter as bn, exportSubjectOf as bt, CLIP_STILL_REASON_CODE_HEADER as c, rootSuppliesOf as cn, defaultDeviceFor as ct, CLUSTER_MODEL_SCOPED_STEPS as d, storageEvictableCapability as dn, deriveRecordingMode as dt, resolveClusterStepModelId as en, preprocess as er, cameraStreamsCapability as et, COCO_80_LABELS as f, storageOccupancyCapability as fn, deriveRootFaceRefineRect as ft, DEFAULT_CLUSTER_STEP_SETTINGS as g, videoclipsCapability as gn, enumerateInferenceDevices as gt, DEFAULT_AUDIO_ANALYZER_CONFIG as h, supportedRuntimes as hn, egressTransportFromRequest as ht, AUDIO_MACRO_LABELS as i, resolveModelBoundSetting as in, EventCategory as ir, containingParentIndex as it, NativeLeaseSettingsSchema as j, CamProfileSchema as jn, loadContributionCapability as jt, LABEL_SUPPLY_VOCABULARIES as k, BaseAddon as kn, linkedLabelStepId as kt, CLIP_STILL_REASON_HEADER as l, runtimeDevices as ln, deriveBatteryPresence as lt, CROP_SUPPLY_SOURCES as m, stripRetiredBandPreBufferSec as mn, egressTranscodeSharingKey as mt, APPLE_SA_TO_MACRO as n, resolveEgressDecodeHwAccel as nn, string as nr, clipExportFailureOf as nt, BatteryStatusSchema as o, resolveRecordingProfiles as on, createLogChannelsProvider as ot, COCO_TO_MACRO as p, streamBrokerCapability as pn, detectionPipelineCapability as pt, allowedSuppliedEffect as q, array as qn, pipelineExecutorCapability as qt, AUDIO_BACKEND_CHOICES as r, resolveLocationMode as rn, union as rr, collectModelBoundKeys as rt, CLIP_BROKER_PACED_RATES as s, resolveRootSupply as sn, declareLogChannel as st, APPEARANCE_BLOCKS as t, resolveCreateExportSubject as tn, record as tr, clipExportFailure as tt, CLIP_STREAM_TRANSPORT_HEADER as u, stepModelRunsOnFormat as un, deriveDetailCropRect as ut, DEFAULT_EVENTS_BAND_BUFFER_SEC as v, AUDIO_PRESETS as vn, evictionPolicyForMode as vt, ExportRecordSchema as w, isSoftwareDecode as wn, gifDeriveSpeed as wt, EVENT_OWNER_TYPES as x, buildFfmpegArgs as xn, failureContributionCapability as xt, DEFAULT_NATIVE_LEASE_SETTINGS as y, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS as yn, evictionPolicyOfLocation as yt, ROOT_SUPPLIABLE_STEP_IDS as z, makeProfileBrokerId as zn, modeMayWrite as zt };
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-BUqvRc-c.js");
1
+ const require_dist = require("./dist-BWigCRRN.js");
2
2
  //#region src/detection-pipeline/registry/model-licenses.ts
3
3
  var COCO_DATA = {
4
4
  name: "COCO 2017",
@@ -1,4 +1,4 @@
1
- import { wt as hfModelUrl } from "./dist-BylL-kRe.mjs";
1
+ import { Et as hfModelUrl } from "./dist-CsA6fY6I.mjs";
2
2
  //#region src/detection-pipeline/registry/model-licenses.ts
3
3
  var COCO_DATA = {
4
4
  name: "COCO 2017",
@@ -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-BUqvRc-c.js");
5
+ const require_dist = require("../dist-BWigCRRN.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 { Cn as DeviceType, En as BaseAddon, Pn as hydrateSchema, Rt as motionDetectionCapability, ht as evaluateZoneRules } from "../dist-BylL-kRe.mjs";
1
+ import { En as DeviceType, Ln as hydrateSchema, Vt as motionDetectionCapability, _t as evaluateZoneRules, kn as BaseAddon } from "../dist-CsA6fY6I.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,4 +1,4 @@
1
- import { _n as Fmp4BoxSplitter, vn as buildFfmpegArgs, wn as errMsg, xn as isSoftwareDecode } from "./dist-BylL-kRe.mjs";
1
+ import { Dn as errMsg, bn as Fmp4BoxSplitter, wn as isSoftwareDecode, xn as buildFfmpegArgs } from "./dist-CsA6fY6I.mjs";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import { realpathSync } from "node:fs";
4
4
  import path from "node:path";
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require("./chunk-emK7D4bc.js");
2
- const require_dist = require("./dist-BUqvRc-c.js");
2
+ const require_dist = require("./dist-BWigCRRN.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);
@@ -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-BUqvRc-c.js");
7
- const require_node = require("../node-r1KgYS72.js");
8
- const require_custom_model_catalog = require("../custom-model-catalog-BY35vysX.js");
6
+ const require_dist = require("../dist-BWigCRRN.js");
7
+ const require_node = require("../node-D52HHrVZ.js");
8
+ const require_custom_model_catalog = require("../custom-model-catalog-Cjbll1Sf.js");
9
9
  const require_hub_hostname = require("../hub-hostname-DAJXlOgV.js");
10
10
  const require_lazy_sharp = require("../lazy-sharp-BuwKlQLR.js");
11
11
  const require_restream_intent = require("../restream-intent-7uDNqMKs.js");
@@ -1,6 +1,6 @@
1
- import { $n as string, A as NativeLeaseSettingsSchema, An as createEvent, En as BaseAddon, Gn as boolean, Gt as pipelineRunnerCapability, Ht as pickDetailCropConvention, Jn as literal, K as allowedSuppliedEffect, Mn as defineCustomActions, Ot as linkedStepOf, Q as cameraOwnsMotionViaSensor, R as ROOT_SUPPLIABLE_STEP_IDS, Rn as nodePin, T as FailureCounters, Un as _enum, Ut as pickNativeLeaseOverride, Wn as array, Xn as object, Yn as number, _ as DEFAULT_DETAIL_CROP_CONVENTION, a as BackgroundRunRegistry, an as rootSuppliesOf, ct as deriveDetailCropRect, in as resolveRootSupply, jn as customAction, k as NativeLeaseAdmissionSchema, kt as loadContributionCapability, m as CROP_SUPPLY_SOURCES, qn as lazy, tn as resolveModelBoundSetting, tr as EventCategory, ut as deriveRootFaceRefineRect, wn as errMsg, y as DEFAULT_NATIVE_LEASE_SETTINGS, yt as failureContributionCapability } from "../dist-BylL-kRe.mjs";
2
- import { i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-4Vnc6mbI.mjs";
3
- import { a as stepsForElectedPool, b as getStepDefinition, d as rootObjectGate, f as localFrameRegistry, h as resolveFrameViewGeometry, i as placeDetailStep, l as resolveDefaultDetectionModel, m as createSessionDecodeCoordinator, p as isSessionDecodeReadGone, s as resolveDeviceEngine, t as CustomModelCatalog, u as macroGateVerdict, y as getStep } from "../custom-model-catalog-B5sCwSgr.mjs";
1
+ import { $ as cameraOwnsMotionViaSensor, $n as object, A as NativeLeaseAdmissionSchema, At as linkedStepOf, Dn as errMsg, Fn as defineCustomActions, Gt as pickDetailCropConvention, Jn as boolean, Jt as pipelineRunnerCapability, Kn as _enum, Kt as pickNativeLeaseOverride, Nn as createEvent, Pn as customAction, Qn as number, T as FailureCounters, Vn as nodePin, Xn as lazy, Zn as literal, _ as DEFAULT_DETAIL_CROP_CONVENTION, a as BackgroundRunRegistry, cn as rootSuppliesOf, ft as deriveRootFaceRefineRect, in as resolveModelBoundSetting, ir as EventCategory, j as NativeLeaseSettingsSchema, jt as loadContributionCapability, kn as BaseAddon, m as CROP_SUPPLY_SOURCES, nr as string, q as allowedSuppliedEffect, qn as array, sn as resolveRootSupply, ut as deriveDetailCropRect, xt as failureContributionCapability, y as DEFAULT_NATIVE_LEASE_SETTINGS, z as ROOT_SUPPLIABLE_STEP_IDS } from "../dist-CsA6fY6I.mjs";
2
+ import { i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-BZ29vHq2.mjs";
3
+ import { a as stepsForElectedPool, b as getStepDefinition, d as rootObjectGate, f as localFrameRegistry, h as resolveFrameViewGeometry, i as placeDetailStep, l as resolveDefaultDetectionModel, m as createSessionDecodeCoordinator, p as isSessionDecodeReadGone, s as resolveDeviceEngine, t as CustomModelCatalog, u as macroGateVerdict, y as getStep } from "../custom-model-catalog-BOnN63HU.mjs";
4
4
  import { t as resolveHubHostname } from "../hub-hostname-cCknRYKj.mjs";
5
5
  import { t as getSharp } from "../lazy-sharp-DXsqwpph.mjs";
6
6
  import { c as withDetectionIntent, o as preRollRequestOf, t as DETECTION_PRE_ROLL_REQUEST_MS } from "../restream-intent-DyGmLAU9.mjs";
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require("./chunk-emK7D4bc.js");
2
- const require_dist = require("./dist-BUqvRc-c.js");
2
+ const require_dist = require("./dist-BWigCRRN.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");
@@ -1,4 +1,4 @@
1
- import { Bt as parseProcStatus } from "./dist-BylL-kRe.mjs";
1
+ import { Ut as parseProcStatus } from "./dist-CsA6fY6I.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
@@ -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-BUqvRc-c.js");
7
- const require_node = require("../node-r1KgYS72.js");
6
+ const require_dist = require("../dist-BWigCRRN.js");
7
+ const require_node = require("../node-D52HHrVZ.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");
@@ -6047,6 +6047,10 @@ Object.freeze({
6047
6047
  "reclaimDebugMedia": { "mode": "report" },
6048
6048
  "searchObjectEvents": { "limit": 50 }
6049
6049
  },
6050
+ "pipeline-orchestrator": {
6051
+ "applyBestSettings": { "headroom": .4 },
6052
+ "planBestSettings": { "headroom": .4 }
6053
+ },
6050
6054
  "pipeline-runner": {
6051
6055
  "attachCamera": {
6052
6056
  "detectionMode": "on-motion",
@@ -1,5 +1,5 @@
1
- import { $n as string, B as RecordingSignalStatusSchema, Cn as DeviceType, En as BaseAddon, Et as isFirstLevelMacroClass, F as RECORDING_EXPORT_MAX_READ_BYTES, Ft as memoizePinnedFfmpeg, Gn as boolean, H as VIDEOCLIPS_MAX_OFFER_BYTES, Hn as sleep$1, I as RECORDING_SOURCE_CAMSTACK, It as migrateLegacyDeviceSignalConfig, Jt as recordingCapability, L as RECORDING_SOURCE_CAMSTACK_ADDON, Lt as modeMayWrite, Mn as defineCustomActions, Nt as mayReadLocation, Pn as hydrateSchema, Pt as mayWriteToLocation, Qn as record, Qt as resolveCreateExportSubject, Rn as nodePin, S as EVENT_PAD_MS, Sn as DeviceFeature, U as VISIT_MERGE_GAP_MS, Un as _enum, Vn as selectAssignedProfileSlots, Wn as array, Xn as object, Xt as recordingSignalCapability, Yn as number, Yt as recordingExportCapability, Z as batteryCapability, Zn as preprocess, _t as evictionPolicyOfLocation, cn as storageEvictableCapability, dn as stripRetiredBandPreBufferSec, en as resolveLocationMode, et as clipExportFailure, gt as evictionPolicyForMode, j as OpsLogEntrySchema, jn as customAction, kt as loadContributionCapability, ln as storageOccupancyCapability, lt as deriveRecordingMode, o as BatteryStatusSchema, pn as videoclipsCapability, qt as recordingArchiveCapability, rn as resolveRecordingProfiles, s as CLIP_BROKER_PACED_RATES, st as deriveBatteryPresence, tr as EventCategory, tt as clipExportFailureOf, v as DEFAULT_EVENTS_BAND_BUFFER_SEC, vt as exportSubjectOf, w as ExportRecordSchema, wn as errMsg$1, x as EVENT_OWNER_TYPES, xt as gbToBytes, yn as evaluateSensorEdge, z as RecordingConfigSchema } from "../dist-BylL-kRe.mjs";
2
- import { a as physicalRootOf, i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-4Vnc6mbI.mjs";
1
+ import { $n as object, $t as recordingSignalCapability, B as RecordingConfigSchema, Ct as gbToBytes, Dn as errMsg$1, En as DeviceType, Fn as defineCustomActions, Ft as mayReadLocation, Gn as sleep$1, I as RECORDING_EXPORT_MAX_READ_BYTES, It as mayWriteToLocation, Jn as boolean, Kn as _enum, L as RECORDING_SOURCE_CAMSTACK, Ln as hydrateSchema, Lt as memoizePinnedFfmpeg, M as OpsLogEntrySchema, Ot as isFirstLevelMacroClass, Pn as customAction, Q as batteryCapability, Qn as number, Qt as recordingExportCapability, R as RECORDING_SOURCE_CAMSTACK_ADDON, Rt as migrateLegacyDeviceSignalConfig, S as EVENT_PAD_MS, Sn as evaluateSensorEdge, Tn as DeviceFeature, U as VIDEOCLIPS_MAX_OFFER_BYTES, V as RecordingSignalStatusSchema, Vn as nodePin, W as VISIT_MERGE_GAP_MS, Wn as selectAssignedProfileSlots, Xt as recordingArchiveCapability, Zt as recordingCapability, bt as exportSubjectOf, dn as storageEvictableCapability, dt as deriveRecordingMode, er as preprocess, fn as storageOccupancyCapability, gn as videoclipsCapability, ir as EventCategory, jt as loadContributionCapability, kn as BaseAddon, lt as deriveBatteryPresence, mn as stripRetiredBandPreBufferSec, nr as string, nt as clipExportFailureOf, o as BatteryStatusSchema, on as resolveRecordingProfiles, qn as array, rn as resolveLocationMode, s as CLIP_BROKER_PACED_RATES, tn as resolveCreateExportSubject, tr as record, tt as clipExportFailure, v as DEFAULT_EVENTS_BAND_BUFFER_SEC, vt as evictionPolicyForMode, w as ExportRecordSchema, x as EVENT_OWNER_TYPES, yt as evictionPolicyOfLocation, zt as modeMayWrite } from "../dist-CsA6fY6I.mjs";
2
+ import { a as physicalRootOf, i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-BZ29vHq2.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";
@@ -6039,6 +6039,10 @@ Object.freeze({
6039
6039
  "reclaimDebugMedia": { "mode": "report" },
6040
6040
  "searchObjectEvents": { "limit": 50 }
6041
6041
  },
6042
+ "pipeline-orchestrator": {
6043
+ "applyBestSettings": { "headroom": .4 },
6044
+ "planBestSettings": { "headroom": .4 }
6045
+ },
6042
6046
  "pipeline-runner": {
6043
6047
  "attachCamera": {
6044
6048
  "detectionMode": "on-motion",
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require("./chunk-emK7D4bc.js");
2
- const require_dist = require("./dist-BUqvRc-c.js");
2
+ const require_dist = require("./dist-BWigCRRN.js");
3
3
  let node_child_process = require("node:child_process");
4
4
  //#region src/stream-broker/recorded/avcc-annexb.ts
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { r as __toESM, t as __commonJSMin } from "./chunk-DnnnRqeS.mjs";
2
- import { wn as errMsg } from "./dist-BylL-kRe.mjs";
2
+ import { Dn as errMsg } from "./dist-CsA6fY6I.mjs";
3
3
  import { spawn } from "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-Bt8aa0wk.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-B-hhg2sP.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-1Y-WK-Zy.mjs";
4
+ import { t as S } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js--yC-aoPc.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) => {