@camstack/addon-provider-rademacher 0.1.1 → 0.1.2

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
@@ -18880,7 +18880,10 @@ var AgentLoadSummarySchema = object({
18880
18880
  online: boolean(),
18881
18881
  load: RunnerLocalLoadSchema,
18882
18882
  /** Computed score used by the L2 capacity balancer (lower = less loaded). */
18883
- score: number()
18883
+ score: number(),
18884
+ /** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
18885
+ * when not yet probed — for the cluster Pipeline table UI (P0.2). */
18886
+ decodeHwaccel: string().nullable()
18884
18887
  });
18885
18888
  /**
18886
18889
  * Aggregate metrics across the whole detection cluster. Replaces the legacy
@@ -21416,7 +21419,7 @@ var HardwareEncoderIdSchema = _enum([
21416
21419
  "libx264",
21417
21420
  "libx265"
21418
21421
  ]);
21419
- var HardwareEncodersSchema = object({
21422
+ object({
21420
21423
  encoders: array(object({
21421
21424
  encoder: HardwareEncoderIdSchema,
21422
21425
  codec: _enum(["H264", "H265"]),
@@ -21435,15 +21438,7 @@ var HardwareEncodersSchema = object({
21435
21438
  defaultH265: HardwareEncoderIdSchema,
21436
21439
  probedAt: number()
21437
21440
  });
21438
- /**
21439
- * Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
21440
- * methods the configured ffmpeg binary actually supports (parsed from
21441
- * `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
21442
- * egress never spends a spawn on a backend this build cannot offer. Per-stream
21443
- * decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
21444
- * software fallback — this only filters out wholly-unsupported backends.
21445
- */
21446
- var HardwareDecodeAccelsSchema = object({
21441
+ object({
21447
21442
  methods: array(string()).readonly(),
21448
21443
  probedAt: number()
21449
21444
  });
@@ -21506,13 +21501,7 @@ var ResolvedInferenceConfigSchema = object({
21506
21501
  format: ModelFormatSchema,
21507
21502
  reason: string()
21508
21503
  });
21509
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), HardwareEncodersSchema), method(_void(), HardwareEncodersSchema, {
21510
- kind: "mutation",
21511
- auth: "admin"
21512
- }), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
21513
- kind: "mutation",
21514
- auth: "admin"
21515
- });
21504
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
21516
21505
  var PtzPresetSchema = object({
21517
21506
  id: string(),
21518
21507
  name: string()
@@ -25137,30 +25126,6 @@ Object.freeze({
25137
25126
  addonId: null,
25138
25127
  access: "view"
25139
25128
  },
25140
- "platformProbe.getHardwareDecodeAccels": {
25141
- capName: "platform-probe",
25142
- capScope: "system",
25143
- addonId: null,
25144
- access: "view"
25145
- },
25146
- "platformProbe.getHardwareEncoders": {
25147
- capName: "platform-probe",
25148
- capScope: "system",
25149
- addonId: null,
25150
- access: "view"
25151
- },
25152
- "platformProbe.refreshHardwareDecodeAccels": {
25153
- capName: "platform-probe",
25154
- capScope: "system",
25155
- addonId: null,
25156
- access: "create"
25157
- },
25158
- "platformProbe.refreshHardwareEncoders": {
25159
- capName: "platform-probe",
25160
- capScope: "system",
25161
- addonId: null,
25162
- access: "create"
25163
- },
25164
25129
  "platformProbe.resolveHwAccel": {
25165
25130
  capName: "platform-probe",
25166
25131
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -18879,7 +18879,10 @@ var AgentLoadSummarySchema = object({
18879
18879
  online: boolean(),
18880
18880
  load: RunnerLocalLoadSchema,
18881
18881
  /** Computed score used by the L2 capacity balancer (lower = less loaded). */
18882
- score: number()
18882
+ score: number(),
18883
+ /** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
18884
+ * when not yet probed — for the cluster Pipeline table UI (P0.2). */
18885
+ decodeHwaccel: string().nullable()
18883
18886
  });
18884
18887
  /**
18885
18888
  * Aggregate metrics across the whole detection cluster. Replaces the legacy
@@ -21415,7 +21418,7 @@ var HardwareEncoderIdSchema = _enum([
21415
21418
  "libx264",
21416
21419
  "libx265"
21417
21420
  ]);
21418
- var HardwareEncodersSchema = object({
21421
+ object({
21419
21422
  encoders: array(object({
21420
21423
  encoder: HardwareEncoderIdSchema,
21421
21424
  codec: _enum(["H264", "H265"]),
@@ -21434,15 +21437,7 @@ var HardwareEncodersSchema = object({
21434
21437
  defaultH265: HardwareEncoderIdSchema,
21435
21438
  probedAt: number()
21436
21439
  });
21437
- /**
21438
- * Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
21439
- * methods the configured ffmpeg binary actually supports (parsed from
21440
- * `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
21441
- * egress never spends a spawn on a backend this build cannot offer. Per-stream
21442
- * decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
21443
- * software fallback — this only filters out wholly-unsupported backends.
21444
- */
21445
- var HardwareDecodeAccelsSchema = object({
21440
+ object({
21446
21441
  methods: array(string()).readonly(),
21447
21442
  probedAt: number()
21448
21443
  });
@@ -21505,13 +21500,7 @@ var ResolvedInferenceConfigSchema = object({
21505
21500
  format: ModelFormatSchema,
21506
21501
  reason: string()
21507
21502
  });
21508
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), HardwareEncodersSchema), method(_void(), HardwareEncodersSchema, {
21509
- kind: "mutation",
21510
- auth: "admin"
21511
- }), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
21512
- kind: "mutation",
21513
- auth: "admin"
21514
- });
21503
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
21515
21504
  var PtzPresetSchema = object({
21516
21505
  id: string(),
21517
21506
  name: string()
@@ -25136,30 +25125,6 @@ Object.freeze({
25136
25125
  addonId: null,
25137
25126
  access: "view"
25138
25127
  },
25139
- "platformProbe.getHardwareDecodeAccels": {
25140
- capName: "platform-probe",
25141
- capScope: "system",
25142
- addonId: null,
25143
- access: "view"
25144
- },
25145
- "platformProbe.getHardwareEncoders": {
25146
- capName: "platform-probe",
25147
- capScope: "system",
25148
- addonId: null,
25149
- access: "view"
25150
- },
25151
- "platformProbe.refreshHardwareDecodeAccels": {
25152
- capName: "platform-probe",
25153
- capScope: "system",
25154
- addonId: null,
25155
- access: "create"
25156
- },
25157
- "platformProbe.refreshHardwareEncoders": {
25158
- capName: "platform-probe",
25159
- capScope: "system",
25160
- addonId: null,
25161
- access: "create"
25162
- },
25163
25128
  "platformProbe.resolveHwAccel": {
25164
25129
  capName: "platform-probe",
25165
25130
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rademacher",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
5
5
  "keywords": [
6
6
  "camstack",