@camstack/addon-agent-ui 1.1.15 → 1.1.16

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.
Files changed (2) hide show
  1. package/dist/addon.js +8 -43
  2. package/package.json +1 -1
package/dist/addon.js CHANGED
@@ -14966,7 +14966,10 @@ var AgentLoadSummarySchema = object({
14966
14966
  online: boolean(),
14967
14967
  load: RunnerLocalLoadSchema,
14968
14968
  /** Computed score used by the L2 capacity balancer (lower = less loaded). */
14969
- score: number()
14969
+ score: number(),
14970
+ /** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
14971
+ * when not yet probed — for the cluster Pipeline table UI (P0.2). */
14972
+ decodeHwaccel: string().nullable()
14970
14973
  });
14971
14974
  /**
14972
14975
  * Aggregate metrics across the whole detection cluster. Replaces the legacy
@@ -17502,7 +17505,7 @@ var HardwareEncoderIdSchema = _enum([
17502
17505
  "libx264",
17503
17506
  "libx265"
17504
17507
  ]);
17505
- var HardwareEncodersSchema = object({
17508
+ object({
17506
17509
  encoders: array(object({
17507
17510
  encoder: HardwareEncoderIdSchema,
17508
17511
  codec: _enum(["H264", "H265"]),
@@ -17521,15 +17524,7 @@ var HardwareEncodersSchema = object({
17521
17524
  defaultH265: HardwareEncoderIdSchema,
17522
17525
  probedAt: number()
17523
17526
  });
17524
- /**
17525
- * Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
17526
- * methods the configured ffmpeg binary actually supports (parsed from
17527
- * `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
17528
- * egress never spends a spawn on a backend this build cannot offer. Per-stream
17529
- * decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
17530
- * software fallback — this only filters out wholly-unsupported backends.
17531
- */
17532
- var HardwareDecodeAccelsSchema = object({
17527
+ object({
17533
17528
  methods: array(string()).readonly(),
17534
17529
  probedAt: number()
17535
17530
  });
@@ -17592,13 +17587,7 @@ var ResolvedInferenceConfigSchema = object({
17592
17587
  format: ModelFormatSchema,
17593
17588
  reason: string()
17594
17589
  });
17595
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), HardwareEncodersSchema), method(_void(), HardwareEncodersSchema, {
17596
- kind: "mutation",
17597
- auth: "admin"
17598
- }), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
17599
- kind: "mutation",
17600
- auth: "admin"
17601
- });
17590
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
17602
17591
  var PtzPresetSchema = object({
17603
17592
  id: string(),
17604
17593
  name: string()
@@ -21223,30 +21212,6 @@ Object.freeze({
21223
21212
  addonId: null,
21224
21213
  access: "view"
21225
21214
  },
21226
- "platformProbe.getHardwareDecodeAccels": {
21227
- capName: "platform-probe",
21228
- capScope: "system",
21229
- addonId: null,
21230
- access: "view"
21231
- },
21232
- "platformProbe.getHardwareEncoders": {
21233
- capName: "platform-probe",
21234
- capScope: "system",
21235
- addonId: null,
21236
- access: "view"
21237
- },
21238
- "platformProbe.refreshHardwareDecodeAccels": {
21239
- capName: "platform-probe",
21240
- capScope: "system",
21241
- addonId: null,
21242
- access: "create"
21243
- },
21244
- "platformProbe.refreshHardwareEncoders": {
21245
- capName: "platform-probe",
21246
- capScope: "system",
21247
- addonId: null,
21248
- access: "create"
21249
- },
21250
21215
  "platformProbe.resolveHwAccel": {
21251
21216
  capName: "platform-probe",
21252
21217
  capScope: "system",
@@ -22593,7 +22558,7 @@ var AgentUIAddon = class extends BaseAddon {
22593
22558
  capability: adminUiCapability,
22594
22559
  provider: {
22595
22560
  getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
22596
- getVersion: async () => ({ version: "1.1.15" })
22561
+ getVersion: async () => ({ version: "1.1.16" })
22597
22562
  }
22598
22563
  }];
22599
22564
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-agent-ui",
3
- "version": "1.1.15",
3
+ "version": "1.1.16",
4
4
  "description": "CamStack Agent UI — lightweight status dashboard served by every agent node",
5
5
  "keywords": [
6
6
  "camstack",