@camstack/addon-cloudflare 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.
@@ -14993,7 +14993,10 @@ var AgentLoadSummarySchema = object({
14993
14993
  online: boolean(),
14994
14994
  load: RunnerLocalLoadSchema,
14995
14995
  /** Computed score used by the L2 capacity balancer (lower = less loaded). */
14996
- score: number()
14996
+ score: number(),
14997
+ /** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
14998
+ * when not yet probed — for the cluster Pipeline table UI (P0.2). */
14999
+ decodeHwaccel: string().nullable()
14997
15000
  });
14998
15001
  /**
14999
15002
  * Aggregate metrics across the whole detection cluster. Replaces the legacy
@@ -17552,7 +17555,7 @@ var HardwareEncoderIdSchema = _enum([
17552
17555
  "libx264",
17553
17556
  "libx265"
17554
17557
  ]);
17555
- var HardwareEncodersSchema = object({
17558
+ object({
17556
17559
  encoders: array(object({
17557
17560
  encoder: HardwareEncoderIdSchema,
17558
17561
  codec: _enum(["H264", "H265"]),
@@ -17571,15 +17574,7 @@ var HardwareEncodersSchema = object({
17571
17574
  defaultH265: HardwareEncoderIdSchema,
17572
17575
  probedAt: number()
17573
17576
  });
17574
- /**
17575
- * Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
17576
- * methods the configured ffmpeg binary actually supports (parsed from
17577
- * `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
17578
- * egress never spends a spawn on a backend this build cannot offer. Per-stream
17579
- * decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
17580
- * software fallback — this only filters out wholly-unsupported backends.
17581
- */
17582
- var HardwareDecodeAccelsSchema = object({
17577
+ object({
17583
17578
  methods: array(string()).readonly(),
17584
17579
  probedAt: number()
17585
17580
  });
@@ -17642,13 +17637,7 @@ var ResolvedInferenceConfigSchema = object({
17642
17637
  format: ModelFormatSchema,
17643
17638
  reason: string()
17644
17639
  });
17645
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), HardwareEncodersSchema), method(_void(), HardwareEncodersSchema, {
17646
- kind: "mutation",
17647
- auth: "admin"
17648
- }), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
17649
- kind: "mutation",
17650
- auth: "admin"
17651
- });
17640
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
17652
17641
  var PtzPresetSchema = object({
17653
17642
  id: string(),
17654
17643
  name: string()
@@ -21273,30 +21262,6 @@ Object.freeze({
21273
21262
  addonId: null,
21274
21263
  access: "view"
21275
21264
  },
21276
- "platformProbe.getHardwareDecodeAccels": {
21277
- capName: "platform-probe",
21278
- capScope: "system",
21279
- addonId: null,
21280
- access: "view"
21281
- },
21282
- "platformProbe.getHardwareEncoders": {
21283
- capName: "platform-probe",
21284
- capScope: "system",
21285
- addonId: null,
21286
- access: "view"
21287
- },
21288
- "platformProbe.refreshHardwareDecodeAccels": {
21289
- capName: "platform-probe",
21290
- capScope: "system",
21291
- addonId: null,
21292
- access: "create"
21293
- },
21294
- "platformProbe.refreshHardwareEncoders": {
21295
- capName: "platform-probe",
21296
- capScope: "system",
21297
- addonId: null,
21298
- access: "create"
21299
- },
21300
21265
  "platformProbe.resolveHwAccel": {
21301
21266
  capName: "platform-probe",
21302
21267
  capScope: "system",
@@ -14993,7 +14993,10 @@ var AgentLoadSummarySchema = object({
14993
14993
  online: boolean(),
14994
14994
  load: RunnerLocalLoadSchema,
14995
14995
  /** Computed score used by the L2 capacity balancer (lower = less loaded). */
14996
- score: number()
14996
+ score: number(),
14997
+ /** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
14998
+ * when not yet probed — for the cluster Pipeline table UI (P0.2). */
14999
+ decodeHwaccel: string().nullable()
14997
15000
  });
14998
15001
  /**
14999
15002
  * Aggregate metrics across the whole detection cluster. Replaces the legacy
@@ -17552,7 +17555,7 @@ var HardwareEncoderIdSchema = _enum([
17552
17555
  "libx264",
17553
17556
  "libx265"
17554
17557
  ]);
17555
- var HardwareEncodersSchema = object({
17558
+ object({
17556
17559
  encoders: array(object({
17557
17560
  encoder: HardwareEncoderIdSchema,
17558
17561
  codec: _enum(["H264", "H265"]),
@@ -17571,15 +17574,7 @@ var HardwareEncodersSchema = object({
17571
17574
  defaultH265: HardwareEncoderIdSchema,
17572
17575
  probedAt: number()
17573
17576
  });
17574
- /**
17575
- * Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
17576
- * methods the configured ffmpeg binary actually supports (parsed from
17577
- * `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
17578
- * egress never spends a spawn on a backend this build cannot offer. Per-stream
17579
- * decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
17580
- * software fallback — this only filters out wholly-unsupported backends.
17581
- */
17582
- var HardwareDecodeAccelsSchema = object({
17577
+ object({
17583
17578
  methods: array(string()).readonly(),
17584
17579
  probedAt: number()
17585
17580
  });
@@ -17642,13 +17637,7 @@ var ResolvedInferenceConfigSchema = object({
17642
17637
  format: ModelFormatSchema,
17643
17638
  reason: string()
17644
17639
  });
17645
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), HardwareEncodersSchema), method(_void(), HardwareEncodersSchema, {
17646
- kind: "mutation",
17647
- auth: "admin"
17648
- }), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
17649
- kind: "mutation",
17650
- auth: "admin"
17651
- });
17640
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
17652
17641
  var PtzPresetSchema = object({
17653
17642
  id: string(),
17654
17643
  name: string()
@@ -21273,30 +21262,6 @@ Object.freeze({
21273
21262
  addonId: null,
21274
21263
  access: "view"
21275
21264
  },
21276
- "platformProbe.getHardwareDecodeAccels": {
21277
- capName: "platform-probe",
21278
- capScope: "system",
21279
- addonId: null,
21280
- access: "view"
21281
- },
21282
- "platformProbe.getHardwareEncoders": {
21283
- capName: "platform-probe",
21284
- capScope: "system",
21285
- addonId: null,
21286
- access: "view"
21287
- },
21288
- "platformProbe.refreshHardwareDecodeAccels": {
21289
- capName: "platform-probe",
21290
- capScope: "system",
21291
- addonId: null,
21292
- access: "create"
21293
- },
21294
- "platformProbe.refreshHardwareEncoders": {
21295
- capName: "platform-probe",
21296
- capScope: "system",
21297
- addonId: null,
21298
- access: "create"
21299
- },
21300
21265
  "platformProbe.resolveHwAccel": {
21301
21266
  capName: "platform-probe",
21302
21267
  capScope: "system",
@@ -21,7 +21,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
21
21
  enumerable: true
22
22
  }) : target, mod));
23
23
  //#endregion
24
- const require_dist = require("../dist-DEcSHXDU.js");
24
+ const require_dist = require("../dist-5zo4pKvP.js");
25
25
  let node_path = require("node:path");
26
26
  node_path = __toESM(node_path);
27
27
  let node_crypto = require("node:crypto");
@@ -1,4 +1,4 @@
1
- import { a as BaseAddon, c as array, d as literal, f as number, l as boolean, m as string, n as defineCustomActions, o as EventCategory, p as object, r as networkAccessCapability, s as _enum, t as customAction } from "../dist-CMM6VQL6.mjs";
1
+ import { a as BaseAddon, c as array, d as literal, f as number, l as boolean, m as string, n as defineCustomActions, o as EventCategory, p as object, r as networkAccessCapability, s as _enum, t as customAction } from "../dist-DwtByZOy.mjs";
2
2
  import * as path from "node:path";
3
3
  import { randomUUID } from "node:crypto";
4
4
  import { spawn } from "node:child_process";
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_dist = require("../dist-DEcSHXDU.js");
2
+ const require_dist = require("../dist-5zo4pKvP.js");
3
3
  //#region src/turn/cloudflare-turn.ts
4
4
  /**
5
5
  * Cloudflare returns ICE servers in several flavours depending on which
@@ -1,4 +1,4 @@
1
- import { a as BaseAddon, d as literal, f as number, i as turnProviderCapability, l as boolean, m as string, n as defineCustomActions, p as object, t as customAction, u as discriminatedUnion } from "../dist-CMM6VQL6.mjs";
1
+ import { a as BaseAddon, d as literal, f as number, i as turnProviderCapability, l as boolean, m as string, n as defineCustomActions, p as object, t as customAction, u as discriminatedUnion } from "../dist-DwtByZOy.mjs";
2
2
  //#region src/turn/cloudflare-turn.ts
3
3
  /**
4
4
  * Cloudflare returns ICE servers in several flavours depending on which
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-cloudflare",
3
- "version": "1.1.15",
3
+ "version": "1.1.16",
4
4
  "description": "Cloudflare bundle — Tunnel (network-access) + TURN relay (turn-provider). Multi-entry npm package shipping 2 addons under a single bundle.",
5
5
  "keywords": [
6
6
  "camstack",