@camstack/addon-pipeline-orchestrator 0.1.16 → 0.1.18

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 (26) hide show
  1. package/dist/@mf-types.zip +0 -0
  2. package/dist/ReactKonva-JXCACcqD.mjs +7267 -0
  3. package/dist/_CoreInternals-B7PHssO3.mjs +3808 -0
  4. package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__konva__loadShare__.mjs-F783v1sm.mjs +8 -0
  5. package/dist/{__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react__loadShare__.mjs-B848Fc_m.mjs → __mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react__loadShare__.mjs-0qpbQxoV.mjs} +9 -9
  6. package/dist/{__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react__loadShare__.mjs_commonjs-proxy-B-q1guKT.mjs → __mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react__loadShare__.mjs_commonjs-proxy-DekuE8px.mjs} +1 -1
  7. package/dist/{__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react_mf_2_dom__loadShare__.mjs_commonjs-proxy-CeGb2_QF.mjs → __mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react_mf_2_dom__loadShare__.mjs_commonjs-proxy-Ba_7PYkj.mjs} +1 -1
  8. package/dist/__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react_mf_2_konva__loadShare__.mjs-CJUQOcTE.mjs +18 -0
  9. package/dist/_stub.js +995 -15851
  10. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-sOGV7J8L.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-GASHflbS.mjs} +30 -0
  11. package/dist/{client-BkQItW6e.mjs → client-CzjQ3uuI.mjs} +2 -2
  12. package/dist/{hostInit-DMdjwivI.mjs → hostInit-B0XiFU2K.mjs} +50 -22
  13. package/dist/{index-BUn7hM0v.mjs → index-BD2XShwZ.mjs} +1 -1
  14. package/dist/{index-BK5-EWzN.mjs → index-BP1Nti7b.mjs} +114 -109
  15. package/dist/{index-BJzn4K_R.mjs → index-C1DnrJuR.mjs} +1 -1
  16. package/dist/index-C52WDzRJ.mjs +3842 -0
  17. package/dist/{index-Bj470a3A.mjs → index-Cbqs9uJn.mjs} +1 -1
  18. package/dist/{index-BI-_eQhe.mjs → index-DOuehnyb.mjs} +1 -1
  19. package/dist/{index-Cj-UePAd.mjs → index-DaulYonp.mjs} +1 -1
  20. package/dist/index.js +6 -1
  21. package/dist/index.js.map +1 -1
  22. package/dist/index.mjs +6 -1
  23. package/dist/index.mjs.map +1 -1
  24. package/dist/{jsx-runtime-CJ4xYF4l.mjs → jsx-runtime-DACJhJOv.mjs} +1 -1
  25. package/dist/remoteEntry.js +1 -1
  26. package/package.json +1 -1
@@ -127,7 +127,7 @@ const X = S([
127
127
  "recordings-low": "multi",
128
128
  "recordings-clips": "multi",
129
129
  backups: "multi"
130
- }, x = t({
130
+ }, T = t({
131
131
  id: e().regex(/^[a-z][a-z0-9-]*:[a-z0-9-]+$/),
132
132
  type: X,
133
133
  displayName: e().min(1),
@@ -602,7 +602,7 @@ const Oe = t({
602
602
  * `lastProbedAt` on every write.
603
603
  */
604
604
  lastFetchedAt: a()
605
- }), Tt = {
605
+ }), xt = {
606
606
  name: "feature-probe",
607
607
  scope: "device",
608
608
  mode: "singleton",
@@ -686,7 +686,7 @@ function i(c, s, n) {
686
686
  function G(c) {
687
687
  return { data: c };
688
688
  }
689
- const To = t({
689
+ const xo = t({
690
690
  className: e(),
691
691
  /** Number of windows (chunks) where this class was the top hit. */
692
692
  hits: a().int().nonnegative(),
@@ -716,8 +716,8 @@ const To = t({
716
716
  }).nullable(),
717
717
  /** Per-class summary across the rolling window — keys are
718
718
  * `macroClass` strings (e.g. `dog_bark`, `speech`, `glass_break`). */
719
- byClass: l(To).readonly()
720
- }), xo = t({
719
+ byClass: l(xo).readonly()
720
+ }), To = t({
721
721
  /** Wall-clock ms when this sample was recorded. */
722
722
  ts: a().int(),
723
723
  /** Instantaneous dBFS level at sample time. `null` for windows where
@@ -733,7 +733,7 @@ const To = t({
733
733
  /** Score of the dominant class (`null` whenever `topClass` is null). */
734
734
  topScore: a().min(0).max(1).nullable()
735
735
  }), Ro = t({
736
- points: l(xo).readonly(),
736
+ points: l(To).readonly(),
737
737
  /** Actual ms between adjacent samples after any subsampling. */
738
738
  effectiveSampleEveryMs: a().int().positive(),
739
739
  /** Wall-clock window covered by `points` (`points[N-1].ts - points[0].ts`),
@@ -875,7 +875,7 @@ const To = t({
875
875
  "pull-http",
876
876
  "pull-rfc4571",
877
877
  "push-annexb"
878
- ]), xt = t({
878
+ ]), Tt = t({
879
879
  width: a().int().positive(),
880
880
  height: a().int().positive()
881
881
  }), it = t({
@@ -886,7 +886,7 @@ const To = t({
886
886
  /** Required for pull-* kinds. Ignored for push-annexb. */
887
887
  url: e().optional(),
888
888
  codec: e().optional(),
889
- resolution: xt.optional(),
889
+ resolution: Tt.optional(),
890
890
  fps: a().positive().optional(),
891
891
  /** Human label surfaced in the Admin UI "Camera Stream" dropdown. */
892
892
  label: e().optional(),
@@ -935,7 +935,7 @@ const To = t({
935
935
  /** `null` when the profile is unassigned. */
936
936
  sourceCamStreamId: e().nullable(),
937
937
  status: ke,
938
- resolution: xt.optional(),
938
+ resolution: Tt.optional(),
939
939
  codec: e().optional(),
940
940
  preBufferSec: a().nonnegative().optional(),
941
941
  errorMessage: e().optional()
@@ -1095,7 +1095,7 @@ const To = t({
1095
1095
  kind: rn,
1096
1096
  url: e().optional(),
1097
1097
  codec: e().optional(),
1098
- resolution: xt.optional(),
1098
+ resolution: Tt.optional(),
1099
1099
  fps: a().positive().optional(),
1100
1100
  label: e().optional(),
1101
1101
  deviceFeatures: l(e()).optional(),
@@ -2184,13 +2184,13 @@ const To = t({
2184
2184
  inferenceBackend: e().optional(),
2185
2185
  cpuCores: a().optional()
2186
2186
  })
2187
- }), Ts = t({
2187
+ }), xs = t({
2188
2188
  nodeId: e(),
2189
2189
  activeCameras: a(),
2190
2190
  throttledCameras: a(),
2191
2191
  avgInferenceTimeMs: a(),
2192
2192
  queueDepth: a()
2193
- }), xs = {
2193
+ }), Ts = {
2194
2194
  name: "pipeline-runner",
2195
2195
  scope: "system",
2196
2196
  mode: "singleton",
@@ -2224,7 +2224,7 @@ const To = t({
2224
2224
  /** Return load summary used by the orchestrator's load balancer. */
2225
2225
  getLocalLoad: i(u(), gn),
2226
2226
  /** Return aggregate runtime metrics for this runner instance. */
2227
- getLocalMetrics: i(u(), Ts),
2227
+ getLocalMetrics: i(u(), xs),
2228
2228
  /** Per-camera metrics for cameras attached to this runner. */
2229
2229
  getCameraMetrics: i(t({ deviceId: a() }), Bt.nullable()),
2230
2230
  /** All per-camera metrics in one round-trip. */
@@ -2486,7 +2486,12 @@ const To = t({
2486
2486
  bitrateRange: Pt([a(), a()]).optional(),
2487
2487
  supportsBitrateMode: g(),
2488
2488
  supportsEncoderProfile: g(),
2489
- supportsGop: g()
2489
+ supportsGop: g(),
2490
+ /** Allowed GOP / keyframe-interval range, in seconds — drives the
2491
+ * I-frame-interval selector. Absent when the camera advertises GOP
2492
+ * support but no concrete range (callers then fall back to a free
2493
+ * numeric input). `{ min, max, step }` per the getOptions convention. */
2494
+ gop: t({ min: a(), max: a(), step: a() }).optional()
2490
2495
  }), Fs = t({
2491
2496
  main: Fe.optional(),
2492
2497
  sub: Fe.optional(),
@@ -2753,7 +2758,7 @@ const To = t({
2753
2758
  type: S(C),
2754
2759
  suggestedName: e(),
2755
2760
  prefilledConfig: b(e(), f())
2756
- }), Te = t({
2761
+ }), xe = t({
2757
2762
  id: a(),
2758
2763
  stableId: e(),
2759
2764
  addonId: e(),
@@ -2790,7 +2795,7 @@ const To = t({
2790
2795
  ),
2791
2796
  adoptDiscoveredDevice: i(
2792
2797
  t({ candidate: Ee }),
2793
- Te,
2798
+ xe,
2794
2799
  { kind: "mutation", auth: "admin" }
2795
2800
  ),
2796
2801
  // ── Manual creation (optional — see supportsManualCreation) ──────
@@ -2810,7 +2815,7 @@ const To = t({
2810
2815
  type: S(C),
2811
2816
  config: b(e(), f())
2812
2817
  }),
2813
- Te,
2818
+ xe,
2814
2819
  { kind: "mutation", auth: "admin" }
2815
2820
  ),
2816
2821
  /**
@@ -3006,15 +3011,15 @@ const To = t({
3006
3011
  // superAdmin auth.
3007
3012
  listLocations: i(
3008
3013
  t({ type: X.optional() }),
3009
- l(x).readonly()
3014
+ l(T).readonly()
3010
3015
  ),
3011
3016
  getDefaultLocation: i(
3012
3017
  t({ type: X }),
3013
- x.nullable()
3018
+ T.nullable()
3014
3019
  ),
3015
3020
  upsertLocation: i(
3016
- x.omit({ createdAt: !0, updatedAt: !0 }),
3017
- x,
3021
+ T.omit({ createdAt: !0, updatedAt: !0 }),
3022
+ T,
3018
3023
  { kind: "mutation", auth: "admin" }
3019
3024
  ),
3020
3025
  deleteLocation: i(
@@ -3065,7 +3070,7 @@ const To = t({
3065
3070
  ok: g(),
3066
3071
  error: e().optional()
3067
3072
  }), oi = t({
3068
- location: x,
3073
+ location: T,
3069
3074
  relativePath: e(),
3070
3075
  sizeBytes: a().optional()
3071
3076
  }), si = t({ uploadId: e() }), ii = t({
@@ -3073,7 +3078,7 @@ const To = t({
3073
3078
  offset: a(),
3074
3079
  data: P(Uint8Array)
3075
3080
  }), ci = t({ uploadId: e() }), ri = t({ uploadId: e() }), di = t({
3076
- location: x,
3081
+ location: T,
3077
3082
  relativePath: e()
3078
3083
  }), li = t({
3079
3084
  downloadId: e(),
@@ -3100,33 +3105,33 @@ const To = t({
3100
3105
  // The location is passed inline so the orchestrator dispatches
3101
3106
  // without provider-side location state.
3102
3107
  resolve: i(
3103
- t({ location: x, relativePath: e() }),
3108
+ t({ location: T, relativePath: e() }),
3104
3109
  e()
3105
3110
  ),
3106
3111
  write: i(
3107
- t({ location: x, relativePath: e(), data: P(Uint8Array) }),
3112
+ t({ location: T, relativePath: e(), data: P(Uint8Array) }),
3108
3113
  u(),
3109
3114
  { kind: "mutation" }
3110
3115
  ),
3111
3116
  read: i(
3112
- t({ location: x, relativePath: e() }),
3117
+ t({ location: T, relativePath: e() }),
3113
3118
  P(Uint8Array)
3114
3119
  ),
3115
3120
  exists: i(
3116
- t({ location: x, relativePath: e() }),
3121
+ t({ location: T, relativePath: e() }),
3117
3122
  g()
3118
3123
  ),
3119
3124
  list: i(
3120
- t({ location: x, prefix: e().optional() }),
3125
+ t({ location: T, prefix: e().optional() }),
3121
3126
  l(e()).readonly()
3122
3127
  ),
3123
3128
  delete: i(
3124
- t({ location: x, relativePath: e() }),
3129
+ t({ location: T, relativePath: e() }),
3125
3130
  u(),
3126
3131
  { kind: "mutation" }
3127
3132
  ),
3128
3133
  getAvailableSpace: i(
3129
- t({ location: x }),
3134
+ t({ location: T }),
3130
3135
  a().nullable()
3131
3136
  ),
3132
3137
  // ── Chunked upload ──────────────────────────────────────────────
@@ -3591,7 +3596,7 @@ const To = t({
3591
3596
  * redirect_uri that does not start with one of these. Required —
3592
3597
  * an empty list means the integration can never complete linking. */
3593
3598
  allowedRedirectPrefixes: l(e()).min(1)
3594
- }), Ti = {
3599
+ }), xi = {
3595
3600
  name: "oauth-integration",
3596
3601
  scope: "system",
3597
3602
  mode: "collection",
@@ -3599,7 +3604,7 @@ const To = t({
3599
3604
  methods: {
3600
3605
  getDescriptor: i(u(), Ei)
3601
3606
  }
3602
- }, xi = t({
3607
+ }, Ti = t({
3603
3608
  credentialId: e(),
3604
3609
  label: e(),
3605
3610
  createdAt: a(),
@@ -3649,7 +3654,7 @@ const To = t({
3649
3654
  ),
3650
3655
  listPasskeys: i(
3651
3656
  t({ userId: e() }),
3652
- l(xi),
3657
+ l(Ti),
3653
3658
  { auth: "admin" }
3654
3659
  ),
3655
3660
  removePasskey: i(
@@ -4277,7 +4282,7 @@ const To = t({
4277
4282
  settings: b(e(), f()).readonly()
4278
4283
  }), Ea = t({
4279
4284
  addonDefaults: b(e(), En).readonly()
4280
- }), Tn = t({
4285
+ }), xn = t({
4281
4286
  steps: l(ee).readonly(),
4282
4287
  audio: t({
4283
4288
  modelId: e(),
@@ -4294,8 +4299,8 @@ const To = t({
4294
4299
  e(),
4295
4300
  b(e(), yt)
4296
4301
  ).optional(),
4297
- pipelineByAgent: b(e(), Tn).optional()
4298
- }), Ta = t({
4302
+ pipelineByAgent: b(e(), xn).optional()
4303
+ }), xa = t({
4299
4304
  deviceId: a(),
4300
4305
  /** Moleculer node id of the runner currently responsible for this camera. */
4301
4306
  agentNodeId: e(),
@@ -4305,7 +4310,7 @@ const To = t({
4305
4310
  reason: S(["manual", "capacity", "hardware-affinity", "failover", "rebalance"]),
4306
4311
  /** Unix timestamp (ms) when the assignment was last updated. */
4307
4312
  assignedAt: a()
4308
- }), xa = t({
4313
+ }), Ta = t({
4309
4314
  deviceId: a(),
4310
4315
  /** Moleculer node id of the decoder provider currently responsible for this camera. */
4311
4316
  decoderNodeId: e(),
@@ -4369,9 +4374,9 @@ const To = t({
4369
4374
  rebalance: i(u(), t({ migrated: a() }), { kind: "mutation", auth: "admin" }),
4370
4375
  // ── Observability ────────────────────────────────────────────────
4371
4376
  /** Get the full camera-to-agent assignment map. */
4372
- getPipelineAssignments: i(u(), l(Ta).readonly()),
4377
+ getPipelineAssignments: i(u(), l(xa).readonly()),
4373
4378
  /** Get one camera's assignment, or null if unassigned. */
4374
- getPipelineAssignment: i(t({ deviceId: a() }), Ta.nullable()),
4379
+ getPipelineAssignment: i(t({ deviceId: a() }), xa.nullable()),
4375
4380
  /** Get per-agent load summaries used by the load balancer + dashboards. */
4376
4381
  getAgentLoad: i(u(), l(kc).readonly()),
4377
4382
  /** Aggregate global metrics across the whole detection cluster. */
@@ -4409,7 +4414,7 @@ const To = t({
4409
4414
  { kind: "mutation", auth: "admin" }
4410
4415
  ),
4411
4416
  /** Get every camera's decoder placement. */
4412
- getDecoderAssignments: i(u(), l(xa).readonly()),
4417
+ getDecoderAssignments: i(u(), l(Ta).readonly()),
4413
4418
  // ── Audio scheduling ───────────────────────────────────────────────
4414
4419
  /** Pin a device's audio analysis to a specific cluster node. */
4415
4420
  assignAudio: i(
@@ -4464,7 +4469,7 @@ const To = t({
4464
4469
  deviceId: a(),
4465
4470
  pipelineNodeId: e().optional()
4466
4471
  }),
4467
- xa
4472
+ Ta
4468
4473
  ),
4469
4474
  // NOTE: the `getDeviceOrchestrationSettings`,
4470
4475
  // `getDeviceOrchestrationOverrides` and `getGlobalOrchestrationSettings`
@@ -4573,7 +4578,7 @@ const To = t({
4573
4578
  t({
4574
4579
  deviceId: a(),
4575
4580
  agentNodeId: e(),
4576
- pipeline: Tn.nullable()
4581
+ pipeline: xn.nullable()
4577
4582
  }),
4578
4583
  t({ success: I(!0) }),
4579
4584
  { kind: "mutation", auth: "admin" }
@@ -4697,12 +4702,12 @@ const To = t({
4697
4702
  dbfs: a()
4698
4703
  }))
4699
4704
  }
4700
- }, Re = S(["f32le", "s16le"]), Tc = t({
4705
+ }, Re = S(["f32le", "s16le"]), xc = t({
4701
4706
  codec: e(),
4702
4707
  canDecode: g(),
4703
4708
  canEncode: g(),
4704
4709
  label: e().optional()
4705
- }), xc = t({
4710
+ }), Tc = t({
4706
4711
  codec: e(),
4707
4712
  sourceSampleRate: a().int().positive(),
4708
4713
  sourceChannels: a().int().positive(),
@@ -4754,7 +4759,7 @@ const To = t({
4754
4759
  methods: {
4755
4760
  // ── Discovery ─────────────────────────────────────────────────────────
4756
4761
  /** Probe the local runtime and return the supported codec matrix. */
4757
- listSupportedCodecs: i(u(), l(Tc).readonly()),
4762
+ listSupportedCodecs: i(u(), l(xc).readonly()),
4758
4763
  /** Cheap predicate — does the runtime support `(codec, kind)`? */
4759
4764
  canHandle: i(
4760
4765
  t({ codec: e(), kind: S(["decode", "encode"]) }),
@@ -4762,7 +4767,7 @@ const To = t({
4762
4767
  ),
4763
4768
  // ── Session lifecycle ─────────────────────────────────────────────────
4764
4769
  createDecodeSession: i(
4765
- xc,
4770
+ Tc,
4766
4771
  t({ sessionId: e(), nodeId: e() }),
4767
4772
  { kind: "mutation" }
4768
4773
  ),
@@ -5314,7 +5319,7 @@ const To = t({
5314
5319
  addonId: e(),
5315
5320
  candidate: Ee
5316
5321
  }),
5317
- Te,
5322
+ xe,
5318
5323
  { kind: "mutation", auth: "admin" }
5319
5324
  ),
5320
5325
  /**
@@ -5335,7 +5340,7 @@ const To = t({
5335
5340
  type: S(C),
5336
5341
  config: b(e(), f())
5337
5342
  }),
5338
- Te,
5343
+ xe,
5339
5344
  { kind: "mutation", auth: "admin" }
5340
5345
  ),
5341
5346
  /**
@@ -5504,16 +5509,16 @@ const To = t({
5504
5509
  handleCallback: i(b(e(), e()), Ge, { kind: "mutation" }),
5505
5510
  validateToken: i(t({ token: e() }), Ge.nullable())
5506
5511
  }
5507
- }, xe = t({
5512
+ }, Te = t({
5508
5513
  url: e(),
5509
5514
  hostname: e(),
5510
5515
  port: a(),
5511
5516
  protocol: S(["http", "https"])
5512
5517
  }), Yc = t({
5513
5518
  connected: g(),
5514
- endpoint: xe.nullable(),
5519
+ endpoint: Te.nullable(),
5515
5520
  error: e().optional()
5516
- }), Qc = xe.extend({
5521
+ }), Qc = Te.extend({
5517
5522
  /**
5518
5523
  * Stable id within the provider — typically `<mode>-<sourcePort>` so
5519
5524
  * the orchestrator can dedupe across `listEndpoints` polls.
@@ -5531,9 +5536,9 @@ const To = t({
5531
5536
  mode: "collection",
5532
5537
  providerKind: "ingress",
5533
5538
  methods: {
5534
- start: i(u(), xe, { kind: "mutation" }),
5539
+ start: i(u(), Te, { kind: "mutation" }),
5535
5540
  stop: i(u(), u(), { kind: "mutation" }),
5536
- getEndpoint: i(u(), xe.nullable()),
5541
+ getEndpoint: i(u(), Te.nullable()),
5537
5542
  getStatus: i(u(), Yc),
5538
5543
  /**
5539
5544
  * Enumerate every active ingress entry. Providers that expose only a
@@ -5562,7 +5567,7 @@ const To = t({
5562
5567
  l(Xc).readonly()
5563
5568
  )
5564
5569
  }
5565
- }, xn = t({
5570
+ }, Tn = t({
5566
5571
  base64: e(),
5567
5572
  contentType: e()
5568
5573
  }), tr = t({
@@ -5599,7 +5604,7 @@ const To = t({
5599
5604
  */
5600
5605
  force: g().optional()
5601
5606
  }),
5602
- xn.nullable()
5607
+ Tn.nullable()
5603
5608
  ),
5604
5609
  invalidateCache: i(
5605
5610
  t({ deviceId: a() }),
@@ -5625,7 +5630,7 @@ const To = t({
5625
5630
  deviceId: a(),
5626
5631
  streamId: e().optional()
5627
5632
  }),
5628
- xn.nullable()
5633
+ Tn.nullable()
5629
5634
  )
5630
5635
  }
5631
5636
  }, or = t({
@@ -5894,12 +5899,12 @@ const To = t({
5894
5899
  deviceTypes: [C.Camera],
5895
5900
  exposesDeviceSettings: !0,
5896
5901
  methods: {}
5897
- }, Ot = S(["new", "entered", "left", "moving", "idle"]), Tr = S(["motion", "object", "audio"]), qn = t({
5902
+ }, Ot = S(["new", "entered", "left", "moving", "idle"]), xr = S(["motion", "object", "audio"]), qn = t({
5898
5903
  x: a(),
5899
5904
  y: a(),
5900
5905
  timestamp: a(),
5901
5906
  bbox: te
5902
- }), xr = t({
5907
+ }), Tr = t({
5903
5908
  timestamp: a(),
5904
5909
  position: qn,
5905
5910
  /** MediaStore key; resolve via `getTrackMedia({ trackId })`. */
@@ -5915,7 +5920,7 @@ const To = t({
5915
5920
  positions: l(qn).readonly(),
5916
5921
  /** Periodic snapshots at snapshotIntervalMs cadence (subject to
5917
5922
  * saveThumbnails policy). */
5918
- snapshots: l(xr).readonly(),
5923
+ snapshots: l(Tr).readonly(),
5919
5924
  /** Deduplicated zones the track has entered at least once. */
5920
5925
  zonesVisited: l(e()).readonly(),
5921
5926
  /** Cumulative normalized distance travelled (0..1 units = full frame width). */
@@ -6072,7 +6077,7 @@ const To = t({
6072
6077
  onDetectionEvent: {
6073
6078
  data: t({
6074
6079
  deviceId: a(),
6075
- kind: Tr,
6080
+ kind: xr,
6076
6081
  eventId: e(),
6077
6082
  timestamp: a()
6078
6083
  })
@@ -6835,12 +6840,12 @@ const To = t({
6835
6840
  score: a(),
6836
6841
  reason: e(),
6837
6842
  available: g()
6838
- }), Td = t({
6843
+ }), xd = t({
6839
6844
  hardware: Ln,
6840
6845
  scores: l(Ga).readonly(),
6841
6846
  bestScore: Ga,
6842
6847
  pythonPath: e().nullable()
6843
- }), xd = t({
6848
+ }), Td = t({
6844
6849
  modelId: e(),
6845
6850
  name: e(),
6846
6851
  minRAM_MB: a(),
@@ -6857,10 +6862,10 @@ const To = t({
6857
6862
  scope: "system",
6858
6863
  mode: "singleton",
6859
6864
  methods: {
6860
- getCapabilities: i(u(), Td),
6865
+ getCapabilities: i(u(), xd),
6861
6866
  getHardware: i(u(), Ln),
6862
6867
  resolveInferenceConfig: i(
6863
- t({ requirements: l(xd).readonly() }),
6868
+ t({ requirements: l(Td).readonly() }),
6864
6869
  Rd
6865
6870
  ),
6866
6871
  resolveHwAccel: i(
@@ -7899,12 +7904,12 @@ const To = t({
7899
7904
  latestVersion: e(),
7900
7905
  category: S(["addon", "core"]),
7901
7906
  requiresRestart: g()
7902
- }), Tl = t({
7907
+ }), xl = t({
7903
7908
  version: e(),
7904
7909
  publishedAt: e(),
7905
7910
  deprecated: e().optional(),
7906
7911
  distTags: l(e()).readonly()
7907
- }), xl = t({
7912
+ }), Tl = t({
7908
7913
  name: e(),
7909
7914
  version: e(),
7910
7915
  description: e(),
@@ -7987,7 +7992,7 @@ const To = t({
7987
7992
  // call shape (`{ query?: string }`).
7988
7993
  searchAvailable: i(
7989
7994
  t({ query: e().optional() }),
7990
- l(xl)
7995
+ l(Tl)
7991
7996
  ),
7992
7997
  /**
7993
7998
  * Available package updates for a node. `nodeId` omitted (or
@@ -8156,7 +8161,7 @@ const To = t({
8156
8161
  ),
8157
8162
  getVersions: i(
8158
8163
  t({ name: e() }),
8159
- l(Tl).readonly()
8164
+ l(xl).readonly()
8160
8165
  ),
8161
8166
  restartAddon: i(
8162
8167
  t({ addonId: e() }),
@@ -8893,12 +8898,12 @@ class pm {
8893
8898
  j.state === "ready" && (k || (k = !0, O(), m()));
8894
8899
  }), N = !Number.isFinite(p) ? null : setTimeout(() => {
8895
8900
  k || (k = !0, O(), v(new Jl(s, n, this.now() - h)));
8896
- }, p), T = () => {
8901
+ }, p), x = () => {
8897
8902
  k || (k = !0, O(), v(d.signal?.reason ?? new Error("aborted")));
8898
8903
  };
8899
- d.signal?.addEventListener("abort", T, { once: !0 });
8904
+ d.signal?.addEventListener("abort", x, { once: !0 });
8900
8905
  function O() {
8901
- w(), N !== null && clearTimeout(N), d.signal?.removeEventListener("abort", T);
8906
+ w(), N !== null && clearTimeout(N), d.signal?.removeEventListener("abort", x);
8902
8907
  }
8903
8908
  });
8904
8909
  }
@@ -9226,7 +9231,7 @@ function Em(c) {
9226
9231
  return null;
9227
9232
  }
9228
9233
  }
9229
- function Tm(c) {
9234
+ function xm(c) {
9230
9235
  try {
9231
9236
  const s = Hn(c);
9232
9237
  return Array.isArray(s) ? s : null;
@@ -9234,7 +9239,7 @@ function Tm(c) {
9234
9239
  return null;
9235
9240
  }
9236
9241
  }
9237
- function xm(c, s) {
9242
+ function Tm(c, s) {
9238
9243
  return `https://huggingface.co/${c}/resolve/main/${s}`;
9239
9244
  }
9240
9245
  function Rm(c, s) {
@@ -9774,7 +9779,7 @@ const gp = {
9774
9779
  deviceDiscovery: pn,
9775
9780
  deviceStatus: Et,
9776
9781
  doorbell: mn,
9777
- featureProbe: Tt,
9782
+ featureProbe: xt,
9778
9783
  motion: hn,
9779
9784
  motionTrigger: yn,
9780
9785
  motionZones: Sn,
@@ -9908,7 +9913,7 @@ class Gm {
9908
9913
  }, m = s.initialRuntimeState ?? {};
9909
9914
  this.runtimeState = Lt.fromInitial(m, y), s.bindRuntimeState?.(this.runtimeState), s.registerNativeCap?.(Et, {});
9910
9915
  const v = { online: !1, lastChangedAt: Date.now() };
9911
- this.runtimeState.setCapState("device-status", v), s.registerNativeCap?.(Tt, {});
9916
+ this.runtimeState.setCapState("device-status", v), s.registerNativeCap?.(xt, {});
9912
9917
  const k = {
9913
9918
  flags: {},
9914
9919
  deviceType: null,
@@ -10559,7 +10564,7 @@ function Cp(c, s, n) {
10559
10564
  getHistory: (r) => m("audio-metrics", "audioMetrics", "getHistory", "query", r)
10560
10565
  }, N = {
10561
10566
  getStatus: (r) => m("battery", "battery", "getStatus", "query", r)
10562
- }, T = {
10567
+ }, x = {
10563
10568
  setBrightness: (r) => m("brightness", "brightness", "setBrightness", "mutation", r),
10564
10569
  getStatus: (r) => m("brightness", "brightness", "getStatus", "query", r)
10565
10570
  }, O = {
@@ -10806,7 +10811,7 @@ function Cp(c, s, n) {
10806
10811
  audioAnalysis: w,
10807
10812
  audioMetrics: A,
10808
10813
  battery: N,
10809
- brightness: T,
10814
+ brightness: x,
10810
10815
  cameraCredentials: O,
10811
10816
  cameraStreams: j,
10812
10817
  detectionPipeline: ae,
@@ -10853,7 +10858,7 @@ function Ym(c, s, n, d, p) {
10853
10858
  return { passed: c, excluded: [] };
10854
10859
  const h = n.filter((N) => N.enabled !== !1), y = h.filter((N) => N.mode === "include"), m = h.filter((N) => N.mode === "exclude"), v = y.length > 0, k = new Map(s.map((N) => [N.id, N])), w = [], A = [];
10855
10860
  for (const N of c) {
10856
- const T = d(N), O = p?.(N), j = y.some((Z) => en(Z, T, O, k)), ae = m.some((Z) => en(Z, T, O, k));
10861
+ const x = d(N), O = p?.(N), j = y.some((Z) => en(Z, x, O, k)), ae = m.some((Z) => en(Z, x, O, k));
10857
10862
  v ? j && !ae ? w.push(N) : A.push(N) : ae ? A.push(N) : w.push(N);
10858
10863
  }
10859
10864
  return { passed: w, excluded: A };
@@ -11291,7 +11296,7 @@ function Qm(c) {
11291
11296
  }
11292
11297
  };
11293
11298
  }
11294
- const Pp = "device.state-changed", Dp = "capability.binding-changed", Mp = "device.registered", Ep = "device.unregistered", Tp = "device.updated";
11299
+ const Pp = "device.state-changed", Dp = "capability.binding-changed", Mp = "device.registered", Ep = "device.unregistered", xp = "device.updated";
11295
11300
  class Jm {
11296
11301
  constructor(s) {
11297
11302
  this.api = s, this.stateSource = wp(this.stateMirror, this.handleListeners, this.api);
@@ -11476,7 +11481,7 @@ class Jm {
11476
11481
  const m = nt(s.anyCap), v = new Set(p.entries.map((k) => k.capName));
11477
11482
  if (!m.some((k) => v.has(k))) continue;
11478
11483
  }
11479
- if (s.name !== void 0 && (!h || !xp(h.name, s.name)) || s.online !== void 0 && (!h || h.online !== s.online))
11484
+ if (s.name !== void 0 && (!h || !Tp(h.name, s.name)) || s.online !== void 0 && (!h || h.online !== s.online))
11480
11485
  continue;
11481
11486
  if (s.parentDeviceId !== void 0) {
11482
11487
  if (!h) continue;
@@ -11614,8 +11619,8 @@ class Jm {
11614
11619
  return;
11615
11620
  }
11616
11621
  let k = null;
11617
- const w = this.listenDevice(s, (A, N, T) => {
11618
- N === n && T && d(T) && (k && clearTimeout(k), w(), h(T));
11622
+ const w = this.listenDevice(s, (A, N, x) => {
11623
+ N === n && x && d(x) && (k && clearTimeout(k), w(), h(x));
11619
11624
  });
11620
11625
  Number.isFinite(p) && (k = setTimeout(() => {
11621
11626
  w(), y(new Error(`waitForState timed out after ${p}ms (deviceId=${s}, capName=${n})`));
@@ -11678,8 +11683,8 @@ class Jm {
11678
11683
  })
11679
11684
  );
11680
11685
  for (let A = 0; A < w.length; A++) {
11681
- const N = k[A], T = w[A];
11682
- T.status === "fulfilled" ? m.push({ deviceId: N.deviceId, ok: !0, result: T.value }) : m.push({ deviceId: N.deviceId, ok: !1, error: T.reason });
11686
+ const N = k[A], x = w[A];
11687
+ x.status === "fulfilled" ? m.push({ deviceId: N.deviceId, ok: !0, result: x.value }) : m.push({ deviceId: N.deviceId, ok: !1, error: x.reason });
11683
11688
  }
11684
11689
  }
11685
11690
  return m;
@@ -11797,7 +11802,7 @@ class Jm {
11797
11802
  )
11798
11803
  ), this.bridges.push(
11799
11804
  s.subscribe(
11800
- { category: Tp },
11805
+ { category: xp },
11801
11806
  {
11802
11807
  onData: (n) => {
11803
11808
  const d = n.data;
@@ -11876,7 +11881,7 @@ function Ie(c, s) {
11876
11881
  function nt(c) {
11877
11882
  return Array.isArray(c) ? c : [c];
11878
11883
  }
11879
- function xp(c, s) {
11884
+ function Tp(c, s) {
11880
11885
  return typeof s == "string" ? c === s : s instanceof RegExp ? s.test(c) : "exact" in s ? c === s.exact : "contains" in s ? c.toLowerCase().includes(s.contains.toLowerCase()) : !1;
11881
11886
  }
11882
11887
  function Xm(c) {
@@ -12095,7 +12100,7 @@ const tu = {
12095
12100
  mn,
12096
12101
  Lc,
12097
12102
  nd,
12098
- Tt,
12103
+ xt,
12099
12104
  Al,
12100
12105
  bd,
12101
12106
  Ud,
@@ -12112,12 +12117,12 @@ const tu = {
12112
12117
  il,
12113
12118
  Sl,
12114
12119
  sr,
12115
- Ti,
12120
+ xi,
12116
12121
  vd,
12117
12122
  Ur,
12118
12123
  Cs,
12119
12124
  Cc,
12120
- xs,
12125
+ Ts,
12121
12126
  Bd,
12122
12127
  td,
12123
12128
  fn,
@@ -12983,16 +12988,16 @@ export {
12983
12988
  Nc as AudioAnalysisResultSchema,
12984
12989
  Pc as AudioAnalysisSettingsSchema,
12985
12990
  pa as AudioChunkInputSchema,
12986
- To as AudioClassSummarySchema,
12991
+ xo as AudioClassSummarySchema,
12987
12992
  lt as AudioClassificationLabelSchema,
12988
12993
  Dc as AudioClassificationResultSchema,
12989
- Tc as AudioCodecInfoSchema,
12990
- xc as AudioDecodeSessionConfigSchema,
12994
+ xc as AudioCodecInfoSchema,
12995
+ Tc as AudioDecodeSessionConfigSchema,
12991
12996
  Rc as AudioEncodeSessionConfigSchema,
12992
12997
  Ra as AudioEncodedChunkSchema,
12993
12998
  qr as AudioEventSchema,
12994
12999
  es as AudioLevelSchema,
12995
- xo as AudioMetricsHistoryPointSchema,
13000
+ To as AudioMetricsHistoryPointSchema,
12996
13001
  Ro as AudioMetricsHistorySchema,
12997
13002
  ca as AudioMetricsSnapshotSchema,
12998
13003
  Bc as AudioPcmChunkSchema,
@@ -13026,7 +13031,7 @@ export {
13026
13031
  $m as COCO_TO_MACRO,
13027
13032
  $ as CamProfileSchema,
13028
13033
  rn as CamStreamKindSchema,
13029
- xt as CamStreamResolutionSchema,
13034
+ Tt as CamStreamResolutionSchema,
13030
13035
  dd as CameraCredentialsSchema,
13031
13036
  ld as CameraCredentialsStatusSchema,
13032
13037
  Bt as CameraMetricsSchema,
@@ -13063,7 +13068,7 @@ export {
13063
13068
  Eo as DEVICE_STATUS_METHOD,
13064
13069
  Vm as DEVICE_TYPE_INFO,
13065
13070
  Oo as DecodedFrameSchema,
13066
- xa as DecoderAssignmentSchema,
13071
+ Ta as DecoderAssignmentSchema,
13067
13072
  sa as DecoderSessionConfigSchema,
13068
13073
  yo as DecoderStatsSchema,
13069
13074
  wl as DeleteIntegrationResultSchema,
@@ -13093,7 +13098,7 @@ export {
13093
13098
  rc as EnrichedWidgetMetadataSchema,
13094
13099
  Ne as EventCategory,
13095
13100
  ad as EventItemSchema,
13096
- Tr as EventKindSchema,
13101
+ xr as EventKindSchema,
13097
13102
  sp as EventSourceType,
13098
13103
  ji as ExportSetupFieldSchema,
13099
13104
  Zi as ExportSetupSchema,
@@ -13145,7 +13150,7 @@ export {
13145
13150
  Id as NativeObjectDetectionStatusSchema,
13146
13151
  Yc as NetworkAccessStatusSchema,
13147
13152
  al as NetworkAddressSchema,
13148
- xe as NetworkEndpointSchema,
13153
+ Te as NetworkEndpointSchema,
13149
13154
  dr as NotificationHistoryEntrySchema,
13150
13155
  qa as NotificationRuleSchema,
13151
13156
  or as NotificationSchema,
@@ -13162,11 +13167,11 @@ export {
13162
13167
  lu as PROVIDER_KIND_CAP_NAMES,
13163
13168
  lp as PYTHON_SCRIPT,
13164
13169
  El as PackageUpdateSchema,
13165
- Tl as PackageVersionInfoSchema,
13166
- xi as PasskeySummarySchema,
13170
+ xl as PackageVersionInfoSchema,
13171
+ Ti as PasskeySummarySchema,
13167
13172
  Re as PcmSampleFormatSchema,
13168
13173
  gt as PerScopeBreakdownSchema,
13169
- Ta as PipelineAssignmentSchema,
13174
+ xa as PipelineAssignmentSchema,
13170
13175
  mt as PipelineDefaultStepSchema,
13171
13176
  D as PipelineEngineChoiceSchema,
13172
13177
  ma as PipelineRunResultBridge,
@@ -13197,7 +13202,7 @@ export {
13197
13202
  Es as RunnerCameraConfigSchema,
13198
13203
  Gp as RunnerCameraDeviceUIFields,
13199
13204
  gn as RunnerLocalLoadSchema,
13200
- Ts as RunnerLocalMetricsSchema,
13205
+ xs as RunnerLocalMetricsSchema,
13201
13206
  du as SCOPE_PRESETS,
13202
13207
  Op as STORAGE_LOCATION_CARDINALITY,
13203
13208
  um as STORAGE_LOCATION_TYPES,
@@ -13206,7 +13211,7 @@ export {
13206
13211
  ru as SYSTEM_CAP_NAMES,
13207
13212
  Jp as ScopedTokenSchema,
13208
13213
  At as ScopedTokenSummarySchema,
13209
- xl as SearchResultSchema,
13214
+ Tl as SearchResultSchema,
13210
13215
  od as SegmentSchema,
13211
13216
  Bi as SendEmailInputSchema,
13212
13217
  qi as SendEmailResultSchema,
@@ -13215,7 +13220,7 @@ export {
13215
13220
  Q as SettingsSchemaWithValuesSchema,
13216
13221
  ba as SettingsUpdateResultSchema,
13217
13222
  Na as SmtpStatusSchema,
13218
- xn as SnapshotImageSchema,
13223
+ Tn as SnapshotImageSchema,
13219
13224
  Xo as SpatialDetectionSchema,
13220
13225
  Ca as SsoBridgeClaimsSchema,
13221
13226
  $i as StartEmbeddedInputSchema,
@@ -13227,7 +13232,7 @@ export {
13227
13232
  mi as StorageEndDownloadInputSchema,
13228
13233
  ci as StorageFinalizeUploadInputSchema,
13229
13234
  _ as StorageLocationRefSchema,
13230
- x as StorageLocationSchema,
13235
+ T as StorageLocationSchema,
13231
13236
  X as StorageLocationTypeSchema,
13232
13237
  ai as StorageProviderInfoSchema,
13233
13238
  pi as StorageReadChunkInputSchema,
@@ -13337,12 +13342,12 @@ export {
13337
13342
  G as event,
13338
13343
  nd as eventsCapability,
13339
13344
  Hp as expandCapMethods,
13340
- Tt as featureProbeCapability,
13345
+ xt as featureProbeCapability,
13341
13346
  zm as formatForBackend,
13342
13347
  Lm as formatForRuntime,
13343
13348
  Lp as getAudioMacroClassIds,
13344
13349
  pu as getCapsByProviderKind,
13345
- xm as hfModelUrl,
13350
+ Tm as hfModelUrl,
13346
13351
  oa as hydrateSchema,
13347
13352
  Al as integrationsCapability,
13348
13353
  bd as intercomCapability,
@@ -13367,16 +13372,16 @@ export {
13367
13372
  Sl as nodesCapability,
13368
13373
  jl as normalizeAddonInitResult,
13369
13374
  sr as notificationOutputCapability,
13370
- Ti as oauthIntegrationCapability,
13375
+ xi as oauthIntegrationCapability,
13371
13376
  vd as osdCapability,
13372
13377
  Sm as parseCameraStreamConfig,
13373
- Tm as parseJsonArray,
13378
+ xm as parseJsonArray,
13374
13379
  Em as parseJsonObject,
13375
13380
  Hn as parseJsonUnknown,
13376
13381
  Ur as pipelineAnalyticsCapability,
13377
13382
  Cs as pipelineExecutorCapability,
13378
13383
  Cc as pipelineOrchestratorCapability,
13379
- xs as pipelineRunnerCapability,
13384
+ Ts as pipelineRunnerCapability,
13380
13385
  Bd as platformProbeCapability,
13381
13386
  fn as ptzAutotrackCapability,
13382
13387
  td as ptzCapability,