@camstack/addon-provider-gree 0.1.13 → 0.1.14

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
@@ -17898,7 +17898,10 @@ var AgentLoadSummarySchema = object({
17898
17898
  online: boolean(),
17899
17899
  load: RunnerLocalLoadSchema,
17900
17900
  /** Computed score used by the L2 capacity balancer (lower = less loaded). */
17901
- score: number()
17901
+ score: number(),
17902
+ /** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
17903
+ * when not yet probed — for the cluster Pipeline table UI (P0.2). */
17904
+ decodeHwaccel: string().nullable()
17902
17905
  });
17903
17906
  /**
17904
17907
  * Aggregate metrics across the whole detection cluster. Replaces the legacy
@@ -20434,7 +20437,7 @@ var HardwareEncoderIdSchema = _enum([
20434
20437
  "libx264",
20435
20438
  "libx265"
20436
20439
  ]);
20437
- var HardwareEncodersSchema = object({
20440
+ object({
20438
20441
  encoders: array(object({
20439
20442
  encoder: HardwareEncoderIdSchema,
20440
20443
  codec: _enum(["H264", "H265"]),
@@ -20453,15 +20456,7 @@ var HardwareEncodersSchema = object({
20453
20456
  defaultH265: HardwareEncoderIdSchema,
20454
20457
  probedAt: number()
20455
20458
  });
20456
- /**
20457
- * Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
20458
- * methods the configured ffmpeg binary actually supports (parsed from
20459
- * `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
20460
- * egress never spends a spawn on a backend this build cannot offer. Per-stream
20461
- * decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
20462
- * software fallback — this only filters out wholly-unsupported backends.
20463
- */
20464
- var HardwareDecodeAccelsSchema = object({
20459
+ object({
20465
20460
  methods: array(string()).readonly(),
20466
20461
  probedAt: number()
20467
20462
  });
@@ -20524,13 +20519,7 @@ var ResolvedInferenceConfigSchema = object({
20524
20519
  format: ModelFormatSchema,
20525
20520
  reason: string()
20526
20521
  });
20527
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), HardwareEncodersSchema), method(_void(), HardwareEncodersSchema, {
20528
- kind: "mutation",
20529
- auth: "admin"
20530
- }), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
20531
- kind: "mutation",
20532
- auth: "admin"
20533
- });
20522
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
20534
20523
  var PtzPresetSchema = object({
20535
20524
  id: string(),
20536
20525
  name: string()
@@ -24155,30 +24144,6 @@ Object.freeze({
24155
24144
  addonId: null,
24156
24145
  access: "view"
24157
24146
  },
24158
- "platformProbe.getHardwareDecodeAccels": {
24159
- capName: "platform-probe",
24160
- capScope: "system",
24161
- addonId: null,
24162
- access: "view"
24163
- },
24164
- "platformProbe.getHardwareEncoders": {
24165
- capName: "platform-probe",
24166
- capScope: "system",
24167
- addonId: null,
24168
- access: "view"
24169
- },
24170
- "platformProbe.refreshHardwareDecodeAccels": {
24171
- capName: "platform-probe",
24172
- capScope: "system",
24173
- addonId: null,
24174
- access: "create"
24175
- },
24176
- "platformProbe.refreshHardwareEncoders": {
24177
- capName: "platform-probe",
24178
- capScope: "system",
24179
- addonId: null,
24180
- access: "create"
24181
- },
24182
24147
  "platformProbe.resolveHwAccel": {
24183
24148
  capName: "platform-probe",
24184
24149
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -17897,7 +17897,10 @@ var AgentLoadSummarySchema = object({
17897
17897
  online: boolean(),
17898
17898
  load: RunnerLocalLoadSchema,
17899
17899
  /** Computed score used by the L2 capacity balancer (lower = less loaded). */
17900
- score: number()
17900
+ score: number(),
17901
+ /** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
17902
+ * when not yet probed — for the cluster Pipeline table UI (P0.2). */
17903
+ decodeHwaccel: string().nullable()
17901
17904
  });
17902
17905
  /**
17903
17906
  * Aggregate metrics across the whole detection cluster. Replaces the legacy
@@ -20433,7 +20436,7 @@ var HardwareEncoderIdSchema = _enum([
20433
20436
  "libx264",
20434
20437
  "libx265"
20435
20438
  ]);
20436
- var HardwareEncodersSchema = object({
20439
+ object({
20437
20440
  encoders: array(object({
20438
20441
  encoder: HardwareEncoderIdSchema,
20439
20442
  codec: _enum(["H264", "H265"]),
@@ -20452,15 +20455,7 @@ var HardwareEncodersSchema = object({
20452
20455
  defaultH265: HardwareEncoderIdSchema,
20453
20456
  probedAt: number()
20454
20457
  });
20455
- /**
20456
- * Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
20457
- * methods the configured ffmpeg binary actually supports (parsed from
20458
- * `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
20459
- * egress never spends a spawn on a backend this build cannot offer. Per-stream
20460
- * decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
20461
- * software fallback — this only filters out wholly-unsupported backends.
20462
- */
20463
- var HardwareDecodeAccelsSchema = object({
20458
+ object({
20464
20459
  methods: array(string()).readonly(),
20465
20460
  probedAt: number()
20466
20461
  });
@@ -20523,13 +20518,7 @@ var ResolvedInferenceConfigSchema = object({
20523
20518
  format: ModelFormatSchema,
20524
20519
  reason: string()
20525
20520
  });
20526
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), HardwareEncodersSchema), method(_void(), HardwareEncodersSchema, {
20527
- kind: "mutation",
20528
- auth: "admin"
20529
- }), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
20530
- kind: "mutation",
20531
- auth: "admin"
20532
- });
20521
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
20533
20522
  var PtzPresetSchema = object({
20534
20523
  id: string(),
20535
20524
  name: string()
@@ -24154,30 +24143,6 @@ Object.freeze({
24154
24143
  addonId: null,
24155
24144
  access: "view"
24156
24145
  },
24157
- "platformProbe.getHardwareDecodeAccels": {
24158
- capName: "platform-probe",
24159
- capScope: "system",
24160
- addonId: null,
24161
- access: "view"
24162
- },
24163
- "platformProbe.getHardwareEncoders": {
24164
- capName: "platform-probe",
24165
- capScope: "system",
24166
- addonId: null,
24167
- access: "view"
24168
- },
24169
- "platformProbe.refreshHardwareDecodeAccels": {
24170
- capName: "platform-probe",
24171
- capScope: "system",
24172
- addonId: null,
24173
- access: "create"
24174
- },
24175
- "platformProbe.refreshHardwareEncoders": {
24176
- capName: "platform-probe",
24177
- capScope: "system",
24178
- addonId: null,
24179
- access: "create"
24180
- },
24181
24146
  "platformProbe.resolveHwAccel": {
24182
24147
  capName: "platform-probe",
24183
24148
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-gree",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "Gree air-conditioner device-provider addon for CamStack — wraps the @apocaliss92/nodegree local-UDP client (LAN discovery + AES control), exposing climate-control and fan-control",
5
5
  "keywords": [
6
6
  "camstack",