@camstack/addon-post-analysis 1.1.15 → 1.1.17

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.
@@ -15160,7 +15160,10 @@ var AgentLoadSummarySchema = object({
15160
15160
  online: boolean(),
15161
15161
  load: RunnerLocalLoadSchema,
15162
15162
  /** Computed score used by the L2 capacity balancer (lower = less loaded). */
15163
- score: number()
15163
+ score: number(),
15164
+ /** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
15165
+ * when not yet probed — for the cluster Pipeline table UI (P0.2). */
15166
+ decodeHwaccel: string().nullable()
15164
15167
  });
15165
15168
  /**
15166
15169
  * Aggregate metrics across the whole detection cluster. Replaces the legacy
@@ -17756,7 +17759,7 @@ var HardwareEncoderIdSchema = _enum([
17756
17759
  "libx264",
17757
17760
  "libx265"
17758
17761
  ]);
17759
- var HardwareEncodersSchema = object({
17762
+ object({
17760
17763
  encoders: array(object({
17761
17764
  encoder: HardwareEncoderIdSchema,
17762
17765
  codec: _enum(["H264", "H265"]),
@@ -17775,15 +17778,7 @@ var HardwareEncodersSchema = object({
17775
17778
  defaultH265: HardwareEncoderIdSchema,
17776
17779
  probedAt: number()
17777
17780
  });
17778
- /**
17779
- * Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
17780
- * methods the configured ffmpeg binary actually supports (parsed from
17781
- * `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
17782
- * egress never spends a spawn on a backend this build cannot offer. Per-stream
17783
- * decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
17784
- * software fallback — this only filters out wholly-unsupported backends.
17785
- */
17786
- var HardwareDecodeAccelsSchema = object({
17781
+ object({
17787
17782
  methods: array(string()).readonly(),
17788
17783
  probedAt: number()
17789
17784
  });
@@ -17846,13 +17841,7 @@ var ResolvedInferenceConfigSchema = object({
17846
17841
  format: ModelFormatSchema,
17847
17842
  reason: string()
17848
17843
  });
17849
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), HardwareEncodersSchema), method(_void(), HardwareEncodersSchema, {
17850
- kind: "mutation",
17851
- auth: "admin"
17852
- }), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
17853
- kind: "mutation",
17854
- auth: "admin"
17855
- });
17844
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
17856
17845
  var PtzPresetSchema = object({
17857
17846
  id: string(),
17858
17847
  name: string()
@@ -21477,30 +21466,6 @@ Object.freeze({
21477
21466
  addonId: null,
21478
21467
  access: "view"
21479
21468
  },
21480
- "platformProbe.getHardwareDecodeAccels": {
21481
- capName: "platform-probe",
21482
- capScope: "system",
21483
- addonId: null,
21484
- access: "view"
21485
- },
21486
- "platformProbe.getHardwareEncoders": {
21487
- capName: "platform-probe",
21488
- capScope: "system",
21489
- addonId: null,
21490
- access: "view"
21491
- },
21492
- "platformProbe.refreshHardwareDecodeAccels": {
21493
- capName: "platform-probe",
21494
- capScope: "system",
21495
- addonId: null,
21496
- access: "create"
21497
- },
21498
- "platformProbe.refreshHardwareEncoders": {
21499
- capName: "platform-probe",
21500
- capScope: "system",
21501
- addonId: null,
21502
- access: "create"
21503
- },
21504
21469
  "platformProbe.resolveHwAccel": {
21505
21470
  capName: "platform-probe",
21506
21471
  capScope: "system",
@@ -15182,7 +15182,10 @@ var AgentLoadSummarySchema = object({
15182
15182
  online: boolean(),
15183
15183
  load: RunnerLocalLoadSchema,
15184
15184
  /** Computed score used by the L2 capacity balancer (lower = less loaded). */
15185
- score: number()
15185
+ score: number(),
15186
+ /** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
15187
+ * when not yet probed — for the cluster Pipeline table UI (P0.2). */
15188
+ decodeHwaccel: string().nullable()
15186
15189
  });
15187
15190
  /**
15188
15191
  * Aggregate metrics across the whole detection cluster. Replaces the legacy
@@ -17778,7 +17781,7 @@ var HardwareEncoderIdSchema = _enum([
17778
17781
  "libx264",
17779
17782
  "libx265"
17780
17783
  ]);
17781
- var HardwareEncodersSchema = object({
17784
+ object({
17782
17785
  encoders: array(object({
17783
17786
  encoder: HardwareEncoderIdSchema,
17784
17787
  codec: _enum(["H264", "H265"]),
@@ -17797,15 +17800,7 @@ var HardwareEncodersSchema = object({
17797
17800
  defaultH265: HardwareEncoderIdSchema,
17798
17801
  probedAt: number()
17799
17802
  });
17800
- /**
17801
- * Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
17802
- * methods the configured ffmpeg binary actually supports (parsed from
17803
- * `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
17804
- * egress never spends a spawn on a backend this build cannot offer. Per-stream
17805
- * decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
17806
- * software fallback — this only filters out wholly-unsupported backends.
17807
- */
17808
- var HardwareDecodeAccelsSchema = object({
17803
+ object({
17809
17804
  methods: array(string()).readonly(),
17810
17805
  probedAt: number()
17811
17806
  });
@@ -17868,13 +17863,7 @@ var ResolvedInferenceConfigSchema = object({
17868
17863
  format: ModelFormatSchema,
17869
17864
  reason: string()
17870
17865
  });
17871
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), HardwareEncodersSchema), method(_void(), HardwareEncodersSchema, {
17872
- kind: "mutation",
17873
- auth: "admin"
17874
- }), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
17875
- kind: "mutation",
17876
- auth: "admin"
17877
- });
17866
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
17878
17867
  var PtzPresetSchema = object({
17879
17868
  id: string(),
17880
17869
  name: string()
@@ -21499,30 +21488,6 @@ Object.freeze({
21499
21488
  addonId: null,
21500
21489
  access: "view"
21501
21490
  },
21502
- "platformProbe.getHardwareDecodeAccels": {
21503
- capName: "platform-probe",
21504
- capScope: "system",
21505
- addonId: null,
21506
- access: "view"
21507
- },
21508
- "platformProbe.getHardwareEncoders": {
21509
- capName: "platform-probe",
21510
- capScope: "system",
21511
- addonId: null,
21512
- access: "view"
21513
- },
21514
- "platformProbe.refreshHardwareDecodeAccels": {
21515
- capName: "platform-probe",
21516
- capScope: "system",
21517
- addonId: null,
21518
- access: "create"
21519
- },
21520
- "platformProbe.refreshHardwareEncoders": {
21521
- capName: "platform-probe",
21522
- capScope: "system",
21523
- addonId: null,
21524
- access: "create"
21525
- },
21526
21491
  "platformProbe.resolveHwAccel": {
21527
21492
  capName: "platform-probe",
21528
21493
  capScope: "system",
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_dist = require("../dist-DLIeYQDB.js");
5
+ const require_dist = require("../dist-C2D91JjF.js");
6
6
  let node_fs = require("node:fs");
7
7
  let node_fs$1 = require_dist.__toESM(node_fs, 1);
8
8
  node_fs = require_dist.__toESM(node_fs);
@@ -1,4 +1,4 @@
1
- import { a as embeddingEncoderCapability, p as BaseAddon, s as hfModelUrl } from "../dist-CTfRCMMG.mjs";
1
+ import { a as embeddingEncoderCapability, p as BaseAddon, s as hfModelUrl } from "../dist-BfrroQ0j.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import * as fs from "node:fs";
4
4
  import * as path$1 from "node:path";
@@ -2,8 +2,8 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_dist = require("../dist-DLIeYQDB.js");
6
- const require_resolve_frame = require("../resolve-frame-xpUJERNO.js");
5
+ const require_dist = require("../dist-C2D91JjF.js");
6
+ const require_resolve_frame = require("../resolve-frame-BNoU-kLo.js");
7
7
  let _camstack_shm_ring = require("@camstack/shm-ring");
8
8
  //#region src/enrichment-engine/types.ts
9
9
  var DEFAULT_ENRICHMENT_CONFIG = {
@@ -1,4 +1,4 @@
1
- import { C as object, S as number, T as tuple, _ as createEvent, b as array, g as asJsonObject, h as EventCategory, p as BaseAddon, w as string, x as boolean, y as _enum } from "../dist-CTfRCMMG.mjs";
1
+ import { C as object, S as number, T as tuple, _ as createEvent, b as array, g as asJsonObject, h as EventCategory, p as BaseAddon, w as string, x as boolean, y as _enum } from "../dist-BfrroQ0j.mjs";
2
2
  import { n as extractCrop, t as resolveFrame } from "../resolve-frame-CT1T1tWy.mjs";
3
3
  import { FrameRingReaderCache } from "@camstack/shm-ring";
4
4
  //#region src/enrichment-engine/types.ts
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-DLIeYQDB.js");
1
+ const require_dist = require("./dist-C2D91JjF.js");
2
2
  let node_fs = require("node:fs");
3
3
  node_fs = require_dist.__toESM(node_fs, 1);
4
4
  let node_path = require("node:path");
@@ -3,7 +3,7 @@ import "./dist-CYZr2fwk.mjs";
3
3
  var e = {
4
4
  "@camstack/sdk": {
5
5
  name: "@camstack/sdk",
6
- version: "1.1.14",
6
+ version: "1.1.15",
7
7
  scope: ["default"],
8
8
  loaded: !1,
9
9
  from: "addon_pipeline_analytics_widgets",
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.1.22",
21
+ version: "1.1.24",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_pipeline_analytics_widgets",
@@ -33,7 +33,7 @@ var e = {
33
33
  },
34
34
  "@camstack/ui-library": {
35
35
  name: "@camstack/ui-library",
36
- version: "1.1.19",
36
+ version: "1.1.20",
37
37
  scope: ["default"],
38
38
  loaded: !1,
39
39
  from: "addon_pipeline_analytics_widgets",
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.1.22",
39
+ version: "1.1.24",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,
@@ -45,7 +45,7 @@ async function r() {
45
45
  }
46
46
  },
47
47
  "@camstack/sdk": {
48
- version: "1.1.14",
48
+ version: "1.1.15",
49
49
  scope: "default",
50
50
  shareConfig: {
51
51
  singleton: !0,
@@ -81,7 +81,7 @@ async function r() {
81
81
  }
82
82
  },
83
83
  "@camstack/ui-library": {
84
- version: "1.1.19",
84
+ version: "1.1.20",
85
85
  scope: "default",
86
86
  shareConfig: {
87
87
  singleton: !0,
@@ -2,8 +2,8 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_dist = require("../dist-DLIeYQDB.js");
6
- const require_resolve_frame = require("../resolve-frame-xpUJERNO.js");
5
+ const require_dist = require("../dist-C2D91JjF.js");
6
+ const require_resolve_frame = require("../resolve-frame-BNoU-kLo.js");
7
7
  let _camstack_shm_ring = require("@camstack/shm-ring");
8
8
  let sharp = require("sharp");
9
9
  sharp = require_dist.__toESM(sharp);
@@ -5666,7 +5666,7 @@ var PipelineAnalyticsAddon = class extends require_dist.BaseAddon {
5666
5666
  let storage = this.ctx.kernel.storage;
5667
5667
  const mediaRoot = process.env.CAMSTACK_MEDIA_ROOT?.trim();
5668
5668
  if (mediaRoot) {
5669
- const { FilesystemStorageProvider } = await Promise.resolve().then(() => require("../node-DH2tTqvE.js"));
5669
+ const { FilesystemStorageProvider } = await Promise.resolve().then(() => require("../node-2_nExdMj.js"));
5670
5670
  storage = new FilesystemStorageProvider(mediaRoot);
5671
5671
  logger.info("pipeline-analytics: event media rooted at CAMSTACK_MEDIA_ROOT", { meta: { mediaRoot } });
5672
5672
  }
@@ -1,4 +1,4 @@
1
- import { C as object, S as number, c as pipelineAnalyticsCapability, d as zoneAnalyticsCapability, f as errMsg, h as EventCategory, i as cosineSimilarity, l as plateGalleryCapability, m as DeviceType, n as addonWidgetsSourceCapability, o as faceGalleryCapability, p as BaseAddon, r as audioMetricsCapability, t as EVENT_PAD_MS, u as videoclipsCapability, v as hydrateSchema, w as string, x as boolean } from "../dist-CTfRCMMG.mjs";
1
+ import { C as object, S as number, c as pipelineAnalyticsCapability, d as zoneAnalyticsCapability, f as errMsg, h as EventCategory, i as cosineSimilarity, l as plateGalleryCapability, m as DeviceType, n as addonWidgetsSourceCapability, o as faceGalleryCapability, p as BaseAddon, r as audioMetricsCapability, t as EVENT_PAD_MS, u as videoclipsCapability, v as hydrateSchema, w as string, x as boolean } from "../dist-BfrroQ0j.mjs";
2
2
  import { n as extractCrop, t as resolveFrame } from "../resolve-frame-CT1T1tWy.mjs";
3
3
  import { FrameRingReaderCache } from "@camstack/shm-ring";
4
4
  import sharp from "sharp";
@@ -30,7 +30,7 @@ async function d(e) {
30
30
  }
31
31
  }
32
32
  async function f() {
33
- return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-Cvn146c5.mjs")).catch((e) => {
33
+ return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-BQ47Lyjv.mjs")).catch((e) => {
34
34
  throw l = void 0, e;
35
35
  }), l;
36
36
  }
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-DLIeYQDB.js");
1
+ const require_dist = require("./dist-C2D91JjF.js");
2
2
  let sharp = require("sharp");
3
3
  sharp = require_dist.__toESM(sharp);
4
4
  //#region src/shared/frame/crop-extractor.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-post-analysis",
3
- "version": "1.1.15",
3
+ "version": "1.1.17",
4
4
  "description": "CamStack Post-Analysis bundle — enrichment, embedding-encoder, pipeline-analytics. Multi-entry npm package shipping addons that consume pipeline output.",
5
5
  "keywords": [
6
6
  "camstack",