@camstack/addon-provider-unraid 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
@@ -17895,7 +17895,10 @@ var AgentLoadSummarySchema = object({
17895
17895
  online: boolean(),
17896
17896
  load: RunnerLocalLoadSchema,
17897
17897
  /** Computed score used by the L2 capacity balancer (lower = less loaded). */
17898
- score: number()
17898
+ score: number(),
17899
+ /** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
17900
+ * when not yet probed — for the cluster Pipeline table UI (P0.2). */
17901
+ decodeHwaccel: string().nullable()
17899
17902
  });
17900
17903
  /**
17901
17904
  * Aggregate metrics across the whole detection cluster. Replaces the legacy
@@ -20448,7 +20451,7 @@ var HardwareEncoderIdSchema = _enum([
20448
20451
  "libx264",
20449
20452
  "libx265"
20450
20453
  ]);
20451
- var HardwareEncodersSchema = object({
20454
+ object({
20452
20455
  encoders: array(object({
20453
20456
  encoder: HardwareEncoderIdSchema,
20454
20457
  codec: _enum(["H264", "H265"]),
@@ -20467,15 +20470,7 @@ var HardwareEncodersSchema = object({
20467
20470
  defaultH265: HardwareEncoderIdSchema,
20468
20471
  probedAt: number()
20469
20472
  });
20470
- /**
20471
- * Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
20472
- * methods the configured ffmpeg binary actually supports (parsed from
20473
- * `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
20474
- * egress never spends a spawn on a backend this build cannot offer. Per-stream
20475
- * decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
20476
- * software fallback — this only filters out wholly-unsupported backends.
20477
- */
20478
- var HardwareDecodeAccelsSchema = object({
20473
+ object({
20479
20474
  methods: array(string()).readonly(),
20480
20475
  probedAt: number()
20481
20476
  });
@@ -20538,13 +20533,7 @@ var ResolvedInferenceConfigSchema = object({
20538
20533
  format: ModelFormatSchema,
20539
20534
  reason: string()
20540
20535
  });
20541
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), HardwareEncodersSchema), method(_void(), HardwareEncodersSchema, {
20542
- kind: "mutation",
20543
- auth: "admin"
20544
- }), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
20545
- kind: "mutation",
20546
- auth: "admin"
20547
- });
20536
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
20548
20537
  var PtzPresetSchema = object({
20549
20538
  id: string(),
20550
20539
  name: string()
@@ -24169,30 +24158,6 @@ Object.freeze({
24169
24158
  addonId: null,
24170
24159
  access: "view"
24171
24160
  },
24172
- "platformProbe.getHardwareDecodeAccels": {
24173
- capName: "platform-probe",
24174
- capScope: "system",
24175
- addonId: null,
24176
- access: "view"
24177
- },
24178
- "platformProbe.getHardwareEncoders": {
24179
- capName: "platform-probe",
24180
- capScope: "system",
24181
- addonId: null,
24182
- access: "view"
24183
- },
24184
- "platformProbe.refreshHardwareDecodeAccels": {
24185
- capName: "platform-probe",
24186
- capScope: "system",
24187
- addonId: null,
24188
- access: "create"
24189
- },
24190
- "platformProbe.refreshHardwareEncoders": {
24191
- capName: "platform-probe",
24192
- capScope: "system",
24193
- addonId: null,
24194
- access: "create"
24195
- },
24196
24161
  "platformProbe.resolveHwAccel": {
24197
24162
  capName: "platform-probe",
24198
24163
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -17894,7 +17894,10 @@ var AgentLoadSummarySchema = object({
17894
17894
  online: boolean(),
17895
17895
  load: RunnerLocalLoadSchema,
17896
17896
  /** Computed score used by the L2 capacity balancer (lower = less loaded). */
17897
- score: number()
17897
+ score: number(),
17898
+ /** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
17899
+ * when not yet probed — for the cluster Pipeline table UI (P0.2). */
17900
+ decodeHwaccel: string().nullable()
17898
17901
  });
17899
17902
  /**
17900
17903
  * Aggregate metrics across the whole detection cluster. Replaces the legacy
@@ -20447,7 +20450,7 @@ var HardwareEncoderIdSchema = _enum([
20447
20450
  "libx264",
20448
20451
  "libx265"
20449
20452
  ]);
20450
- var HardwareEncodersSchema = object({
20453
+ object({
20451
20454
  encoders: array(object({
20452
20455
  encoder: HardwareEncoderIdSchema,
20453
20456
  codec: _enum(["H264", "H265"]),
@@ -20466,15 +20469,7 @@ var HardwareEncodersSchema = object({
20466
20469
  defaultH265: HardwareEncoderIdSchema,
20467
20470
  probedAt: number()
20468
20471
  });
20469
- /**
20470
- * Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
20471
- * methods the configured ffmpeg binary actually supports (parsed from
20472
- * `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
20473
- * egress never spends a spawn on a backend this build cannot offer. Per-stream
20474
- * decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
20475
- * software fallback — this only filters out wholly-unsupported backends.
20476
- */
20477
- var HardwareDecodeAccelsSchema = object({
20472
+ object({
20478
20473
  methods: array(string()).readonly(),
20479
20474
  probedAt: number()
20480
20475
  });
@@ -20537,13 +20532,7 @@ var ResolvedInferenceConfigSchema = object({
20537
20532
  format: ModelFormatSchema,
20538
20533
  reason: string()
20539
20534
  });
20540
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), HardwareEncodersSchema), method(_void(), HardwareEncodersSchema, {
20541
- kind: "mutation",
20542
- auth: "admin"
20543
- }), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
20544
- kind: "mutation",
20545
- auth: "admin"
20546
- });
20535
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
20547
20536
  var PtzPresetSchema = object({
20548
20537
  id: string(),
20549
20538
  name: string()
@@ -24168,30 +24157,6 @@ Object.freeze({
24168
24157
  addonId: null,
24169
24158
  access: "view"
24170
24159
  },
24171
- "platformProbe.getHardwareDecodeAccels": {
24172
- capName: "platform-probe",
24173
- capScope: "system",
24174
- addonId: null,
24175
- access: "view"
24176
- },
24177
- "platformProbe.getHardwareEncoders": {
24178
- capName: "platform-probe",
24179
- capScope: "system",
24180
- addonId: null,
24181
- access: "view"
24182
- },
24183
- "platformProbe.refreshHardwareDecodeAccels": {
24184
- capName: "platform-probe",
24185
- capScope: "system",
24186
- addonId: null,
24187
- access: "create"
24188
- },
24189
- "platformProbe.refreshHardwareEncoders": {
24190
- capName: "platform-probe",
24191
- capScope: "system",
24192
- addonId: null,
24193
- access: "create"
24194
- },
24195
24160
  "platformProbe.resolveHwAccel": {
24196
24161
  capName: "platform-probe",
24197
24162
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-unraid",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Unraid device-provider addon for CamStack — one Container per Unraid instance fanning out array, disk, docker and notification entities",
5
5
  "keywords": [
6
6
  "camstack",