@camstack/addon-model-studio 1.0.14 → 1.0.15

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/_stub.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./virtualExposes-CWSi4E_g.mjs";
2
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BhJhmuL0.mjs";
2
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BvNosyfQ.mjs";
3
3
  import { _ as e, c as t, h as n, i as r, l as i, m as a, p as o, r as s, t as c, u as l, y as u } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DJDHChgO.mjs";
4
4
  import { n as d, r as f, t as p } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
5
5
  import { a as m, i as h, l as g, r as _, t as v } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-B2wIUCRf.mjs";
@@ -11,7 +11,6 @@ import "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_
11
11
  import { t as S } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.js-BvzT760A.mjs";
12
12
  import "./trash-2-Cm9XGCye.mjs";
13
13
  import "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_sdk__loadShare__.js-ZNPquRb4.mjs";
14
- import "@module-federation/runtime";
15
14
  //#endregion
16
15
  //#region ../ui-library/src/theme/use-theme-mode.ts
17
16
  u(), c(null), u();
@@ -1,9 +1,9 @@
1
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BhJhmuL0.mjs";
1
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BvNosyfQ.mjs";
2
2
  //#region \0virtual:mf-localSharedImportMap:__mfe_internal__addon_model_studio_page
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_model_studio_page",
@@ -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_model_studio_page",
@@ -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_model_studio_page",
@@ -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,
@@ -15059,7 +15059,10 @@ var AgentLoadSummarySchema = object({
15059
15059
  online: boolean(),
15060
15060
  load: RunnerLocalLoadSchema,
15061
15061
  /** Computed score used by the L2 capacity balancer (lower = less loaded). */
15062
- score: number()
15062
+ score: number(),
15063
+ /** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
15064
+ * when not yet probed — for the cluster Pipeline table UI (P0.2). */
15065
+ decodeHwaccel: string().nullable()
15063
15066
  });
15064
15067
  /**
15065
15068
  * Aggregate metrics across the whole detection cluster. Replaces the legacy
@@ -17595,7 +17598,7 @@ var HardwareEncoderIdSchema = _enum([
17595
17598
  "libx264",
17596
17599
  "libx265"
17597
17600
  ]);
17598
- var HardwareEncodersSchema = object({
17601
+ object({
17599
17602
  encoders: array(object({
17600
17603
  encoder: HardwareEncoderIdSchema,
17601
17604
  codec: _enum(["H264", "H265"]),
@@ -17614,15 +17617,7 @@ var HardwareEncodersSchema = object({
17614
17617
  defaultH265: HardwareEncoderIdSchema,
17615
17618
  probedAt: number()
17616
17619
  });
17617
- /**
17618
- * Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
17619
- * methods the configured ffmpeg binary actually supports (parsed from
17620
- * `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
17621
- * egress never spends a spawn on a backend this build cannot offer. Per-stream
17622
- * decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
17623
- * software fallback — this only filters out wholly-unsupported backends.
17624
- */
17625
- var HardwareDecodeAccelsSchema = object({
17620
+ object({
17626
17621
  methods: array(string()).readonly(),
17627
17622
  probedAt: number()
17628
17623
  });
@@ -17685,13 +17680,7 @@ var ResolvedInferenceConfigSchema = object({
17685
17680
  format: ModelFormatSchema,
17686
17681
  reason: string()
17687
17682
  });
17688
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), HardwareEncodersSchema), method(_void(), HardwareEncodersSchema, {
17689
- kind: "mutation",
17690
- auth: "admin"
17691
- }), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
17692
- kind: "mutation",
17693
- auth: "admin"
17694
- });
17683
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
17695
17684
  var PtzPresetSchema = object({
17696
17685
  id: string(),
17697
17686
  name: string()
@@ -21316,30 +21305,6 @@ Object.freeze({
21316
21305
  addonId: null,
21317
21306
  access: "view"
21318
21307
  },
21319
- "platformProbe.getHardwareDecodeAccels": {
21320
- capName: "platform-probe",
21321
- capScope: "system",
21322
- addonId: null,
21323
- access: "view"
21324
- },
21325
- "platformProbe.getHardwareEncoders": {
21326
- capName: "platform-probe",
21327
- capScope: "system",
21328
- addonId: null,
21329
- access: "view"
21330
- },
21331
- "platformProbe.refreshHardwareDecodeAccels": {
21332
- capName: "platform-probe",
21333
- capScope: "system",
21334
- addonId: null,
21335
- access: "create"
21336
- },
21337
- "platformProbe.refreshHardwareEncoders": {
21338
- capName: "platform-probe",
21339
- capScope: "system",
21340
- addonId: null,
21341
- access: "create"
21342
- },
21343
21308
  "platformProbe.resolveHwAccel": {
21344
21309
  capName: "platform-probe",
21345
21310
  capScope: "system",
@@ -23118,8 +23083,8 @@ var ModelStudioAddon = class extends BaseAddon {
23118
23083
  });
23119
23084
  },
23120
23085
  hardwareOf: async (nId) => {
23121
- const hw = await api.platformProbe.getHardware.query(void 0, nodePin(nId));
23122
- const caps = await api.platformProbe.getCapabilities.query(void 0, nodePin(nId));
23086
+ const hw = await api.platformProbe.getHardware.query({ nodeId: nId });
23087
+ const caps = await api.platformProbe.getCapabilities.query({ nodeId: nId });
23123
23088
  return {
23124
23089
  platform: hw.platform,
23125
23090
  gpu: hw.gpu ?? void 0,
@@ -23140,8 +23105,8 @@ var ModelStudioAddon = class extends BaseAddon {
23140
23105
  });
23141
23106
  },
23142
23107
  hardwareOf: async (nId) => {
23143
- const hw = await api.platformProbe.getHardware.query(void 0, nodePin(nId));
23144
- const caps = await api.platformProbe.getCapabilities.query(void 0, nodePin(nId));
23108
+ const hw = await api.platformProbe.getHardware.query({ nodeId: nId });
23109
+ const caps = await api.platformProbe.getCapabilities.query({ nodeId: nId });
23145
23110
  return {
23146
23111
  platform: hw.platform,
23147
23112
  gpu: hw.gpu ?? void 0,
@@ -15036,7 +15036,10 @@ var AgentLoadSummarySchema = object({
15036
15036
  online: boolean(),
15037
15037
  load: RunnerLocalLoadSchema,
15038
15038
  /** Computed score used by the L2 capacity balancer (lower = less loaded). */
15039
- score: number()
15039
+ score: number(),
15040
+ /** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
15041
+ * when not yet probed — for the cluster Pipeline table UI (P0.2). */
15042
+ decodeHwaccel: string().nullable()
15040
15043
  });
15041
15044
  /**
15042
15045
  * Aggregate metrics across the whole detection cluster. Replaces the legacy
@@ -17572,7 +17575,7 @@ var HardwareEncoderIdSchema = _enum([
17572
17575
  "libx264",
17573
17576
  "libx265"
17574
17577
  ]);
17575
- var HardwareEncodersSchema = object({
17578
+ object({
17576
17579
  encoders: array(object({
17577
17580
  encoder: HardwareEncoderIdSchema,
17578
17581
  codec: _enum(["H264", "H265"]),
@@ -17591,15 +17594,7 @@ var HardwareEncodersSchema = object({
17591
17594
  defaultH265: HardwareEncoderIdSchema,
17592
17595
  probedAt: number()
17593
17596
  });
17594
- /**
17595
- * Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
17596
- * methods the configured ffmpeg binary actually supports (parsed from
17597
- * `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
17598
- * egress never spends a spawn on a backend this build cannot offer. Per-stream
17599
- * decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
17600
- * software fallback — this only filters out wholly-unsupported backends.
17601
- */
17602
- var HardwareDecodeAccelsSchema = object({
17597
+ object({
17603
17598
  methods: array(string()).readonly(),
17604
17599
  probedAt: number()
17605
17600
  });
@@ -17662,13 +17657,7 @@ var ResolvedInferenceConfigSchema = object({
17662
17657
  format: ModelFormatSchema,
17663
17658
  reason: string()
17664
17659
  });
17665
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), HardwareEncodersSchema), method(_void(), HardwareEncodersSchema, {
17666
- kind: "mutation",
17667
- auth: "admin"
17668
- }), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
17669
- kind: "mutation",
17670
- auth: "admin"
17671
- });
17660
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
17672
17661
  var PtzPresetSchema = object({
17673
17662
  id: string(),
17674
17663
  name: string()
@@ -21293,30 +21282,6 @@ Object.freeze({
21293
21282
  addonId: null,
21294
21283
  access: "view"
21295
21284
  },
21296
- "platformProbe.getHardwareDecodeAccels": {
21297
- capName: "platform-probe",
21298
- capScope: "system",
21299
- addonId: null,
21300
- access: "view"
21301
- },
21302
- "platformProbe.getHardwareEncoders": {
21303
- capName: "platform-probe",
21304
- capScope: "system",
21305
- addonId: null,
21306
- access: "view"
21307
- },
21308
- "platformProbe.refreshHardwareDecodeAccels": {
21309
- capName: "platform-probe",
21310
- capScope: "system",
21311
- addonId: null,
21312
- access: "create"
21313
- },
21314
- "platformProbe.refreshHardwareEncoders": {
21315
- capName: "platform-probe",
21316
- capScope: "system",
21317
- addonId: null,
21318
- access: "create"
21319
- },
21320
21285
  "platformProbe.resolveHwAccel": {
21321
21286
  capName: "platform-probe",
21322
21287
  capScope: "system",
@@ -23095,8 +23060,8 @@ var ModelStudioAddon = class extends BaseAddon {
23095
23060
  });
23096
23061
  },
23097
23062
  hardwareOf: async (nId) => {
23098
- const hw = await api.platformProbe.getHardware.query(void 0, nodePin(nId));
23099
- const caps = await api.platformProbe.getCapabilities.query(void 0, nodePin(nId));
23063
+ const hw = await api.platformProbe.getHardware.query({ nodeId: nId });
23064
+ const caps = await api.platformProbe.getCapabilities.query({ nodeId: nId });
23100
23065
  return {
23101
23066
  platform: hw.platform,
23102
23067
  gpu: hw.gpu ?? void 0,
@@ -23117,8 +23082,8 @@ var ModelStudioAddon = class extends BaseAddon {
23117
23082
  });
23118
23083
  },
23119
23084
  hardwareOf: async (nId) => {
23120
- const hw = await api.platformProbe.getHardware.query(void 0, nodePin(nId));
23121
- const caps = await api.platformProbe.getCapabilities.query(void 0, nodePin(nId));
23085
+ const hw = await api.platformProbe.getHardware.query({ nodeId: nId });
23086
+ const caps = await api.platformProbe.getCapabilities.query({ nodeId: nId });
23122
23087
  return {
23123
23088
  platform: hw.platform,
23124
23089
  gpu: hw.gpu ?? void 0,
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BhJhmuL0.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BvNosyfQ.mjs";
2
2
  export { t as get, e as init };
@@ -2753,7 +2753,7 @@ async function rr(e) {
2753
2753
  }
2754
2754
  }
2755
2755
  async function ir() {
2756
- return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-Dc00LZPR.mjs")).catch((e) => {
2756
+ return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-BF3y8bIK.mjs")).catch((e) => {
2757
2757
  throw tr = void 0, e;
2758
2758
  }), tr;
2759
2759
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-model-studio",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "Custom detection model registry, conversion & distribution for CamStack",
5
5
  "keywords": [
6
6
  "camstack",