@camstack/addon-model-studio 1.1.287 → 1.1.288

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.
@@ -1,9 +1,9 @@
1
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CPVxvHfW.mjs";
1
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-Da_taAOa.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.2.150",
6
+ version: "1.2.151",
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.2.401",
21
+ version: "1.2.402",
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.2.317",
36
+ version: "1.2.318",
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.2.401",
39
+ version: "1.2.402",
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.2.150",
48
+ version: "1.2.151",
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.2.317",
84
+ version: "1.2.318",
85
85
  scope: "default",
86
86
  shareConfig: {
87
87
  singleton: !0,
@@ -50443,6 +50443,19 @@ var NodeInferenceDeviceSchema = object({
50443
50443
  /** Whether the node's live probe reports the device as usable right now. */
50444
50444
  available: boolean(),
50445
50445
  /**
50446
+ * Is the device on the node at all (D919)? `present` — the live probe
50447
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50448
+ * its stored settings remain (unplugged, moved to another node): never
50449
+ * eligible, whatever its stored `enabled`, and forgettable with
50450
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50451
+ * claimed (D315). Optional only for an orchestrator older than the field.
50452
+ */
50453
+ presence: _enum([
50454
+ "present",
50455
+ "absent",
50456
+ "unknown"
50457
+ ]).optional(),
50458
+ /**
50446
50459
  * Whether this device participates in dispatch. AUTO default (spec C2):
50447
50460
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50448
50461
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50668,7 +50681,13 @@ method(object({
50668
50681
  }), object({ success: literal(true) }), {
50669
50682
  kind: "mutation",
50670
50683
  auth: "admin"
50671
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50684
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50685
+ agentNodeId: string(),
50686
+ deviceKey: string()
50687
+ }), object({ success: literal(true) }), {
50688
+ kind: "mutation",
50689
+ auth: "admin"
50690
+ }), method(object({ agentNodeId: string() }), object({
50672
50691
  success: literal(true),
50673
50692
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50674
50693
  effectiveModelId: string().nullable(),
@@ -57223,7 +57242,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
57223
57242
  enabled: boolean()
57224
57243
  }), _void(), {
57225
57244
  kind: "mutation",
57226
- auth: "admin"
57245
+ auth: "protected"
57227
57246
  }), object({
57228
57247
  deviceId: number(),
57229
57248
  enabled: boolean(),
@@ -57713,6 +57732,13 @@ var TopologyNodeSchema = object({
57713
57732
  cpuModel: string().nullable(),
57714
57733
  cpuCores: number(),
57715
57734
  memoryMB: number(),
57735
+ /**
57736
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
57737
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
57738
+ * about whether its hardware is there (a Coral delegate stays installed
57739
+ * after the stick leaves, D919); the live device set is
57740
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
57741
+ */
57716
57742
  engines: array(string()).readonly(),
57717
57743
  isHub: boolean(),
57718
57744
  isOnline: boolean(),
@@ -58677,7 +58703,28 @@ var ResolvedInferenceConfigSchema = object({
58677
58703
  format: ModelFormatSchema,
58678
58704
  reason: string()
58679
58705
  });
58680
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
58706
+ /**
58707
+ * The answer of an accelerator rescan (D919): the node's device list after
58708
+ * the re-probe, what changed, and the evidence that decided the Coral answer
58709
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
58710
+ * bus, the installed-delegate fallback, or nothing).
58711
+ */
58712
+ var AcceleratorRescanSchema = object({
58713
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
58714
+ appeared: array(string()).readonly(),
58715
+ disappeared: array(string()).readonly(),
58716
+ usbBus: _enum(["observed", "unobservable"]),
58717
+ decidedBy: _enum([
58718
+ "usb-ids",
58719
+ "pci",
58720
+ "delegate-fallback",
58721
+ "none"
58722
+ ])
58723
+ });
58724
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
58725
+ kind: "mutation",
58726
+ auth: "admin"
58727
+ });
58681
58728
  object({
58682
58729
  /** Instantaneous power draw in watts. */
58683
58730
  watts: number().optional(),
@@ -68277,6 +68324,12 @@ Object.freeze({
68277
68324
  addonId: null,
68278
68325
  access: "delete"
68279
68326
  },
68327
+ "pipelineOrchestrator.forgetInferenceDevice": {
68328
+ capName: "pipeline-orchestrator",
68329
+ capScope: "system",
68330
+ addonId: null,
68331
+ access: "delete"
68332
+ },
68280
68333
  "pipelineOrchestrator.getAgentLoad": {
68281
68334
  capName: "pipeline-orchestrator",
68282
68335
  capScope: "system",
@@ -68853,6 +68906,12 @@ Object.freeze({
68853
68906
  addonId: null,
68854
68907
  access: "view"
68855
68908
  },
68909
+ "platformProbe.rescanAccelerators": {
68910
+ capName: "platform-probe",
68911
+ capScope: "system",
68912
+ addonId: null,
68913
+ access: "create"
68914
+ },
68856
68915
  "platformProbe.resolveHwAccel": {
68857
68916
  capName: "platform-probe",
68858
68917
  capScope: "system",
@@ -50417,6 +50417,19 @@ var NodeInferenceDeviceSchema = object({
50417
50417
  /** Whether the node's live probe reports the device as usable right now. */
50418
50418
  available: boolean(),
50419
50419
  /**
50420
+ * Is the device on the node at all (D919)? `present` — the live probe
50421
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50422
+ * its stored settings remain (unplugged, moved to another node): never
50423
+ * eligible, whatever its stored `enabled`, and forgettable with
50424
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50425
+ * claimed (D315). Optional only for an orchestrator older than the field.
50426
+ */
50427
+ presence: _enum([
50428
+ "present",
50429
+ "absent",
50430
+ "unknown"
50431
+ ]).optional(),
50432
+ /**
50420
50433
  * Whether this device participates in dispatch. AUTO default (spec C2):
50421
50434
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50422
50435
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50642,7 +50655,13 @@ method(object({
50642
50655
  }), object({ success: literal(true) }), {
50643
50656
  kind: "mutation",
50644
50657
  auth: "admin"
50645
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50658
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50659
+ agentNodeId: string(),
50660
+ deviceKey: string()
50661
+ }), object({ success: literal(true) }), {
50662
+ kind: "mutation",
50663
+ auth: "admin"
50664
+ }), method(object({ agentNodeId: string() }), object({
50646
50665
  success: literal(true),
50647
50666
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50648
50667
  effectiveModelId: string().nullable(),
@@ -57197,7 +57216,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
57197
57216
  enabled: boolean()
57198
57217
  }), _void(), {
57199
57218
  kind: "mutation",
57200
- auth: "admin"
57219
+ auth: "protected"
57201
57220
  }), object({
57202
57221
  deviceId: number(),
57203
57222
  enabled: boolean(),
@@ -57687,6 +57706,13 @@ var TopologyNodeSchema = object({
57687
57706
  cpuModel: string().nullable(),
57688
57707
  cpuCores: number(),
57689
57708
  memoryMB: number(),
57709
+ /**
57710
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
57711
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
57712
+ * about whether its hardware is there (a Coral delegate stays installed
57713
+ * after the stick leaves, D919); the live device set is
57714
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
57715
+ */
57690
57716
  engines: array(string()).readonly(),
57691
57717
  isHub: boolean(),
57692
57718
  isOnline: boolean(),
@@ -58651,7 +58677,28 @@ var ResolvedInferenceConfigSchema = object({
58651
58677
  format: ModelFormatSchema,
58652
58678
  reason: string()
58653
58679
  });
58654
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
58680
+ /**
58681
+ * The answer of an accelerator rescan (D919): the node's device list after
58682
+ * the re-probe, what changed, and the evidence that decided the Coral answer
58683
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
58684
+ * bus, the installed-delegate fallback, or nothing).
58685
+ */
58686
+ var AcceleratorRescanSchema = object({
58687
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
58688
+ appeared: array(string()).readonly(),
58689
+ disappeared: array(string()).readonly(),
58690
+ usbBus: _enum(["observed", "unobservable"]),
58691
+ decidedBy: _enum([
58692
+ "usb-ids",
58693
+ "pci",
58694
+ "delegate-fallback",
58695
+ "none"
58696
+ ])
58697
+ });
58698
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
58699
+ kind: "mutation",
58700
+ auth: "admin"
58701
+ });
58655
58702
  object({
58656
58703
  /** Instantaneous power draw in watts. */
58657
58704
  watts: number().optional(),
@@ -68251,6 +68298,12 @@ Object.freeze({
68251
68298
  addonId: null,
68252
68299
  access: "delete"
68253
68300
  },
68301
+ "pipelineOrchestrator.forgetInferenceDevice": {
68302
+ capName: "pipeline-orchestrator",
68303
+ capScope: "system",
68304
+ addonId: null,
68305
+ access: "delete"
68306
+ },
68254
68307
  "pipelineOrchestrator.getAgentLoad": {
68255
68308
  capName: "pipeline-orchestrator",
68256
68309
  capScope: "system",
@@ -68827,6 +68880,12 @@ Object.freeze({
68827
68880
  addonId: null,
68828
68881
  access: "view"
68829
68882
  },
68883
+ "platformProbe.rescanAccelerators": {
68884
+ capName: "platform-probe",
68885
+ capScope: "system",
68886
+ addonId: null,
68887
+ access: "create"
68888
+ },
68830
68889
  "platformProbe.resolveHwAccel": {
68831
68890
  capName: "platform-probe",
68832
68891
  capScope: "system",
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CPVxvHfW.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-Da_taAOa.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-BzQpOYl5.mjs")).catch((e) => {
2756
+ return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-Bw7NedzE.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.1.287",
3
+ "version": "1.1.288",
4
4
  "description": "Custom detection model registry, conversion & distribution for CamStack",
5
5
  "keywords": [
6
6
  "camstack",