@camstack/addon-provider-dreame 0.1.21 → 0.1.22

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
@@ -17950,7 +17950,10 @@ var AgentLoadSummarySchema = object({
17950
17950
  online: boolean(),
17951
17951
  load: RunnerLocalLoadSchema,
17952
17952
  /** Computed score used by the L2 capacity balancer (lower = less loaded). */
17953
- score: number()
17953
+ score: number(),
17954
+ /** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
17955
+ * when not yet probed — for the cluster Pipeline table UI (P0.2). */
17956
+ decodeHwaccel: string().nullable()
17954
17957
  });
17955
17958
  /**
17956
17959
  * Aggregate metrics across the whole detection cluster. Replaces the legacy
@@ -20503,7 +20506,7 @@ var HardwareEncoderIdSchema = _enum([
20503
20506
  "libx264",
20504
20507
  "libx265"
20505
20508
  ]);
20506
- var HardwareEncodersSchema = object({
20509
+ object({
20507
20510
  encoders: array(object({
20508
20511
  encoder: HardwareEncoderIdSchema,
20509
20512
  codec: _enum(["H264", "H265"]),
@@ -20522,15 +20525,7 @@ var HardwareEncodersSchema = object({
20522
20525
  defaultH265: HardwareEncoderIdSchema,
20523
20526
  probedAt: number()
20524
20527
  });
20525
- /**
20526
- * Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
20527
- * methods the configured ffmpeg binary actually supports (parsed from
20528
- * `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
20529
- * egress never spends a spawn on a backend this build cannot offer. Per-stream
20530
- * decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
20531
- * software fallback — this only filters out wholly-unsupported backends.
20532
- */
20533
- var HardwareDecodeAccelsSchema = object({
20528
+ object({
20534
20529
  methods: array(string()).readonly(),
20535
20530
  probedAt: number()
20536
20531
  });
@@ -20593,13 +20588,7 @@ var ResolvedInferenceConfigSchema = object({
20593
20588
  format: ModelFormatSchema,
20594
20589
  reason: string()
20595
20590
  });
20596
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), HardwareEncodersSchema), method(_void(), HardwareEncodersSchema, {
20597
- kind: "mutation",
20598
- auth: "admin"
20599
- }), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
20600
- kind: "mutation",
20601
- auth: "admin"
20602
- });
20591
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
20603
20592
  var PtzPresetSchema = object({
20604
20593
  id: string(),
20605
20594
  name: string()
@@ -24224,30 +24213,6 @@ Object.freeze({
24224
24213
  addonId: null,
24225
24214
  access: "view"
24226
24215
  },
24227
- "platformProbe.getHardwareDecodeAccels": {
24228
- capName: "platform-probe",
24229
- capScope: "system",
24230
- addonId: null,
24231
- access: "view"
24232
- },
24233
- "platformProbe.getHardwareEncoders": {
24234
- capName: "platform-probe",
24235
- capScope: "system",
24236
- addonId: null,
24237
- access: "view"
24238
- },
24239
- "platformProbe.refreshHardwareDecodeAccels": {
24240
- capName: "platform-probe",
24241
- capScope: "system",
24242
- addonId: null,
24243
- access: "create"
24244
- },
24245
- "platformProbe.refreshHardwareEncoders": {
24246
- capName: "platform-probe",
24247
- capScope: "system",
24248
- addonId: null,
24249
- access: "create"
24250
- },
24251
24216
  "platformProbe.resolveHwAccel": {
24252
24217
  capName: "platform-probe",
24253
24218
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -17950,7 +17950,10 @@ var AgentLoadSummarySchema = object({
17950
17950
  online: boolean(),
17951
17951
  load: RunnerLocalLoadSchema,
17952
17952
  /** Computed score used by the L2 capacity balancer (lower = less loaded). */
17953
- score: number()
17953
+ score: number(),
17954
+ /** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
17955
+ * when not yet probed — for the cluster Pipeline table UI (P0.2). */
17956
+ decodeHwaccel: string().nullable()
17954
17957
  });
17955
17958
  /**
17956
17959
  * Aggregate metrics across the whole detection cluster. Replaces the legacy
@@ -20503,7 +20506,7 @@ var HardwareEncoderIdSchema = _enum([
20503
20506
  "libx264",
20504
20507
  "libx265"
20505
20508
  ]);
20506
- var HardwareEncodersSchema = object({
20509
+ object({
20507
20510
  encoders: array(object({
20508
20511
  encoder: HardwareEncoderIdSchema,
20509
20512
  codec: _enum(["H264", "H265"]),
@@ -20522,15 +20525,7 @@ var HardwareEncodersSchema = object({
20522
20525
  defaultH265: HardwareEncoderIdSchema,
20523
20526
  probedAt: number()
20524
20527
  });
20525
- /**
20526
- * Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
20527
- * methods the configured ffmpeg binary actually supports (parsed from
20528
- * `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
20529
- * egress never spends a spawn on a backend this build cannot offer. Per-stream
20530
- * decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
20531
- * software fallback — this only filters out wholly-unsupported backends.
20532
- */
20533
- var HardwareDecodeAccelsSchema = object({
20528
+ object({
20534
20529
  methods: array(string()).readonly(),
20535
20530
  probedAt: number()
20536
20531
  });
@@ -20593,13 +20588,7 @@ var ResolvedInferenceConfigSchema = object({
20593
20588
  format: ModelFormatSchema,
20594
20589
  reason: string()
20595
20590
  });
20596
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), HardwareEncodersSchema), method(_void(), HardwareEncodersSchema, {
20597
- kind: "mutation",
20598
- auth: "admin"
20599
- }), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
20600
- kind: "mutation",
20601
- auth: "admin"
20602
- });
20591
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
20603
20592
  var PtzPresetSchema = object({
20604
20593
  id: string(),
20605
20594
  name: string()
@@ -24224,30 +24213,6 @@ Object.freeze({
24224
24213
  addonId: null,
24225
24214
  access: "view"
24226
24215
  },
24227
- "platformProbe.getHardwareDecodeAccels": {
24228
- capName: "platform-probe",
24229
- capScope: "system",
24230
- addonId: null,
24231
- access: "view"
24232
- },
24233
- "platformProbe.getHardwareEncoders": {
24234
- capName: "platform-probe",
24235
- capScope: "system",
24236
- addonId: null,
24237
- access: "view"
24238
- },
24239
- "platformProbe.refreshHardwareDecodeAccels": {
24240
- capName: "platform-probe",
24241
- capScope: "system",
24242
- addonId: null,
24243
- access: "create"
24244
- },
24245
- "platformProbe.refreshHardwareEncoders": {
24246
- capName: "platform-probe",
24247
- capScope: "system",
24248
- addonId: null,
24249
- access: "create"
24250
- },
24251
24216
  "platformProbe.resolveHwAccel": {
24252
24217
  capName: "platform-probe",
24253
24218
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-dreame",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
5
5
  "keywords": [
6
6
  "camstack",