@camstack/addon-provider-homeassistant 1.1.17 → 1.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.
package/dist/addon.js CHANGED
@@ -18200,7 +18200,10 @@ var AgentLoadSummarySchema = object({
18200
18200
  online: boolean(),
18201
18201
  load: RunnerLocalLoadSchema,
18202
18202
  /** Computed score used by the L2 capacity balancer (lower = less loaded). */
18203
- score: number()
18203
+ score: number(),
18204
+ /** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
18205
+ * when not yet probed — for the cluster Pipeline table UI (P0.2). */
18206
+ decodeHwaccel: string().nullable()
18204
18207
  });
18205
18208
  /**
18206
18209
  * Aggregate metrics across the whole detection cluster. Replaces the legacy
@@ -20825,7 +20828,7 @@ var HardwareEncoderIdSchema = _enum([
20825
20828
  "libx264",
20826
20829
  "libx265"
20827
20830
  ]);
20828
- var HardwareEncodersSchema = object({
20831
+ object({
20829
20832
  encoders: array(object({
20830
20833
  encoder: HardwareEncoderIdSchema,
20831
20834
  codec: _enum(["H264", "H265"]),
@@ -20844,15 +20847,7 @@ var HardwareEncodersSchema = object({
20844
20847
  defaultH265: HardwareEncoderIdSchema,
20845
20848
  probedAt: number()
20846
20849
  });
20847
- /**
20848
- * Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
20849
- * methods the configured ffmpeg binary actually supports (parsed from
20850
- * `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
20851
- * egress never spends a spawn on a backend this build cannot offer. Per-stream
20852
- * decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
20853
- * software fallback — this only filters out wholly-unsupported backends.
20854
- */
20855
- var HardwareDecodeAccelsSchema = object({
20850
+ object({
20856
20851
  methods: array(string()).readonly(),
20857
20852
  probedAt: number()
20858
20853
  });
@@ -20915,13 +20910,7 @@ var ResolvedInferenceConfigSchema = object({
20915
20910
  format: ModelFormatSchema,
20916
20911
  reason: string()
20917
20912
  });
20918
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), HardwareEncodersSchema), method(_void(), HardwareEncodersSchema, {
20919
- kind: "mutation",
20920
- auth: "admin"
20921
- }), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
20922
- kind: "mutation",
20923
- auth: "admin"
20924
- });
20913
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
20925
20914
  var PtzPresetSchema = object({
20926
20915
  id: string(),
20927
20916
  name: string()
@@ -24546,30 +24535,6 @@ Object.freeze({
24546
24535
  addonId: null,
24547
24536
  access: "view"
24548
24537
  },
24549
- "platformProbe.getHardwareDecodeAccels": {
24550
- capName: "platform-probe",
24551
- capScope: "system",
24552
- addonId: null,
24553
- access: "view"
24554
- },
24555
- "platformProbe.getHardwareEncoders": {
24556
- capName: "platform-probe",
24557
- capScope: "system",
24558
- addonId: null,
24559
- access: "view"
24560
- },
24561
- "platformProbe.refreshHardwareDecodeAccels": {
24562
- capName: "platform-probe",
24563
- capScope: "system",
24564
- addonId: null,
24565
- access: "create"
24566
- },
24567
- "platformProbe.refreshHardwareEncoders": {
24568
- capName: "platform-probe",
24569
- capScope: "system",
24570
- addonId: null,
24571
- access: "create"
24572
- },
24573
24538
  "platformProbe.resolveHwAccel": {
24574
24539
  capName: "platform-probe",
24575
24540
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -18199,7 +18199,10 @@ var AgentLoadSummarySchema = object({
18199
18199
  online: boolean(),
18200
18200
  load: RunnerLocalLoadSchema,
18201
18201
  /** Computed score used by the L2 capacity balancer (lower = less loaded). */
18202
- score: number()
18202
+ score: number(),
18203
+ /** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
18204
+ * when not yet probed — for the cluster Pipeline table UI (P0.2). */
18205
+ decodeHwaccel: string().nullable()
18203
18206
  });
18204
18207
  /**
18205
18208
  * Aggregate metrics across the whole detection cluster. Replaces the legacy
@@ -20824,7 +20827,7 @@ var HardwareEncoderIdSchema = _enum([
20824
20827
  "libx264",
20825
20828
  "libx265"
20826
20829
  ]);
20827
- var HardwareEncodersSchema = object({
20830
+ object({
20828
20831
  encoders: array(object({
20829
20832
  encoder: HardwareEncoderIdSchema,
20830
20833
  codec: _enum(["H264", "H265"]),
@@ -20843,15 +20846,7 @@ var HardwareEncodersSchema = object({
20843
20846
  defaultH265: HardwareEncoderIdSchema,
20844
20847
  probedAt: number()
20845
20848
  });
20846
- /**
20847
- * Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
20848
- * methods the configured ffmpeg binary actually supports (parsed from
20849
- * `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
20850
- * egress never spends a spawn on a backend this build cannot offer. Per-stream
20851
- * decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
20852
- * software fallback — this only filters out wholly-unsupported backends.
20853
- */
20854
- var HardwareDecodeAccelsSchema = object({
20849
+ object({
20855
20850
  methods: array(string()).readonly(),
20856
20851
  probedAt: number()
20857
20852
  });
@@ -20914,13 +20909,7 @@ var ResolvedInferenceConfigSchema = object({
20914
20909
  format: ModelFormatSchema,
20915
20910
  reason: string()
20916
20911
  });
20917
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), HardwareEncodersSchema), method(_void(), HardwareEncodersSchema, {
20918
- kind: "mutation",
20919
- auth: "admin"
20920
- }), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
20921
- kind: "mutation",
20922
- auth: "admin"
20923
- });
20912
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
20924
20913
  var PtzPresetSchema = object({
20925
20914
  id: string(),
20926
20915
  name: string()
@@ -24545,30 +24534,6 @@ Object.freeze({
24545
24534
  addonId: null,
24546
24535
  access: "view"
24547
24536
  },
24548
- "platformProbe.getHardwareDecodeAccels": {
24549
- capName: "platform-probe",
24550
- capScope: "system",
24551
- addonId: null,
24552
- access: "view"
24553
- },
24554
- "platformProbe.getHardwareEncoders": {
24555
- capName: "platform-probe",
24556
- capScope: "system",
24557
- addonId: null,
24558
- access: "view"
24559
- },
24560
- "platformProbe.refreshHardwareDecodeAccels": {
24561
- capName: "platform-probe",
24562
- capScope: "system",
24563
- addonId: null,
24564
- access: "create"
24565
- },
24566
- "platformProbe.refreshHardwareEncoders": {
24567
- capName: "platform-probe",
24568
- capScope: "system",
24569
- addonId: null,
24570
- access: "create"
24571
- },
24572
24537
  "platformProbe.resolveHwAccel": {
24573
24538
  capName: "platform-probe",
24574
24539
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-homeassistant",
3
- "version": "1.1.17",
3
+ "version": "1.1.18",
4
4
  "description": "Home Assistant device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",