@camstack/addon-pipeline-orchestrator 1.1.2 → 1.1.4
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/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-D3T_O8kd.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-Cpn_F3ZI.mjs} +3 -3
- package/dist/{hostInit-Di8IVPOQ.mjs → hostInit-6WwXx7XJ.mjs} +3 -3
- package/dist/index.js +17 -8
- package/dist/index.mjs +17 -8
- package/dist/remoteEntry.js +1 -1
- package/package.json +1 -1
|
@@ -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.
|
|
6
|
+
version: "1.1.4",
|
|
7
7
|
scope: ["default"],
|
|
8
8
|
loaded: !1,
|
|
9
9
|
from: "addon_pipeline_orchestrator_widgets",
|
|
@@ -18,7 +18,7 @@ var e = {
|
|
|
18
18
|
},
|
|
19
19
|
"@camstack/types": {
|
|
20
20
|
name: "@camstack/types",
|
|
21
|
-
version: "1.1.
|
|
21
|
+
version: "1.1.4",
|
|
22
22
|
scope: ["default"],
|
|
23
23
|
loaded: !1,
|
|
24
24
|
from: "addon_pipeline_orchestrator_widgets",
|
|
@@ -33,7 +33,7 @@ var e = {
|
|
|
33
33
|
},
|
|
34
34
|
"@camstack/ui-library": {
|
|
35
35
|
name: "@camstack/ui-library",
|
|
36
|
-
version: "1.1.
|
|
36
|
+
version: "1.1.4",
|
|
37
37
|
scope: ["default"],
|
|
38
38
|
loaded: !1,
|
|
39
39
|
from: "addon_pipeline_orchestrator_widgets",
|
|
@@ -36,7 +36,7 @@ async function r() {
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"@camstack/types": {
|
|
39
|
-
version: "1.1.
|
|
39
|
+
version: "1.1.4",
|
|
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.
|
|
48
|
+
version: "1.1.4",
|
|
49
49
|
scope: "default",
|
|
50
50
|
shareConfig: {
|
|
51
51
|
singleton: !0,
|
|
@@ -99,7 +99,7 @@ async function r() {
|
|
|
99
99
|
}
|
|
100
100
|
},
|
|
101
101
|
"@camstack/ui-library": {
|
|
102
|
-
version: "1.1.
|
|
102
|
+
version: "1.1.4",
|
|
103
103
|
scope: "default",
|
|
104
104
|
shareConfig: {
|
|
105
105
|
singleton: !0,
|
package/dist/index.js
CHANGED
|
@@ -4631,7 +4631,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4631
4631
|
return inst;
|
|
4632
4632
|
}
|
|
4633
4633
|
//#endregion
|
|
4634
|
-
//#region ../types/dist/sleep-
|
|
4634
|
+
//#region ../types/dist/sleep-_J5S7OEP.mjs
|
|
4635
4635
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4636
4636
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4637
4637
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -5762,15 +5762,24 @@ var BaseAddon = class {
|
|
|
5762
5762
|
} catch {}
|
|
5763
5763
|
}
|
|
5764
5764
|
/**
|
|
5765
|
-
* Resolve the shared models directory
|
|
5766
|
-
*
|
|
5767
|
-
*
|
|
5765
|
+
* Resolve the shared, node-local models directory: `<nodeDataDir>/models`.
|
|
5766
|
+
*
|
|
5767
|
+
* This is the SINGLE centralized models-dir resolver for every inference addon
|
|
5768
|
+
* (detection-pipeline, audio-analyzer, embedding-encoder, model-studio). It is
|
|
5769
|
+
* anchored at the node's own writable data root (`ctx.nodeDataDir`, i.e.
|
|
5770
|
+
* `CAMSTACK_DATA` ?? the kernel boot dir) — never the hub-singleton `storage`
|
|
5771
|
+
* cap, which returns the hub's `/data/models` to every node and breaks any node
|
|
5772
|
+
* whose real data dir differs (e.g. the macOS electron agent).
|
|
5773
|
+
*
|
|
5774
|
+
* `node:path`/`node:fs` are imported dynamically so the `@camstack/types` root
|
|
5775
|
+
* barrel (re-exported into browser bundles) stays free of node builtins.
|
|
5768
5776
|
*/
|
|
5769
5777
|
async resolveModelsDir() {
|
|
5770
|
-
|
|
5771
|
-
|
|
5772
|
-
|
|
5773
|
-
|
|
5778
|
+
const { join } = await import("node:path");
|
|
5779
|
+
const { promises: fsp } = await import("node:fs");
|
|
5780
|
+
const dir = join(this.ctx.nodeDataDir, "models");
|
|
5781
|
+
await fsp.mkdir(dir, { recursive: true });
|
|
5782
|
+
return dir;
|
|
5774
5783
|
}
|
|
5775
5784
|
/**
|
|
5776
5785
|
* Access the runtime capability registry for in-process provider lookups.
|
package/dist/index.mjs
CHANGED
|
@@ -4627,7 +4627,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4627
4627
|
return inst;
|
|
4628
4628
|
}
|
|
4629
4629
|
//#endregion
|
|
4630
|
-
//#region ../types/dist/sleep-
|
|
4630
|
+
//#region ../types/dist/sleep-_J5S7OEP.mjs
|
|
4631
4631
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4632
4632
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4633
4633
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -5758,15 +5758,24 @@ var BaseAddon = class {
|
|
|
5758
5758
|
} catch {}
|
|
5759
5759
|
}
|
|
5760
5760
|
/**
|
|
5761
|
-
* Resolve the shared models directory
|
|
5762
|
-
*
|
|
5763
|
-
*
|
|
5761
|
+
* Resolve the shared, node-local models directory: `<nodeDataDir>/models`.
|
|
5762
|
+
*
|
|
5763
|
+
* This is the SINGLE centralized models-dir resolver for every inference addon
|
|
5764
|
+
* (detection-pipeline, audio-analyzer, embedding-encoder, model-studio). It is
|
|
5765
|
+
* anchored at the node's own writable data root (`ctx.nodeDataDir`, i.e.
|
|
5766
|
+
* `CAMSTACK_DATA` ?? the kernel boot dir) — never the hub-singleton `storage`
|
|
5767
|
+
* cap, which returns the hub's `/data/models` to every node and breaks any node
|
|
5768
|
+
* whose real data dir differs (e.g. the macOS electron agent).
|
|
5769
|
+
*
|
|
5770
|
+
* `node:path`/`node:fs` are imported dynamically so the `@camstack/types` root
|
|
5771
|
+
* barrel (re-exported into browser bundles) stays free of node builtins.
|
|
5764
5772
|
*/
|
|
5765
5773
|
async resolveModelsDir() {
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
|
|
5774
|
+
const { join } = await import("node:path");
|
|
5775
|
+
const { promises: fsp } = await import("node:fs");
|
|
5776
|
+
const dir = join(this.ctx.nodeDataDir, "models");
|
|
5777
|
+
await fsp.mkdir(dir, { recursive: true });
|
|
5778
|
+
return dir;
|
|
5770
5779
|
}
|
|
5771
5780
|
/**
|
|
5772
5781
|
* Access the runtime capability registry for in-process provider lookups.
|
package/dist/remoteEntry.js
CHANGED
|
@@ -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_orchestrator_widgets-
|
|
33
|
+
return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-Cpn_F3ZI.mjs")).catch((e) => {
|
|
34
34
|
throw l = void 0, e;
|
|
35
35
|
}), l;
|
|
36
36
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-pipeline-orchestrator",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "Hub-side camera-to-agent load balancer — tracks runner capacity and dispatches attachCamera calls to the optimal pipeline-runner instance",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|