@camstack/server 1.2.906 → 1.2.907
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/CHANGELOG.md +6 -0
- package/package.json +11 -9
- package/system/dist/addon-runner.js +2 -2
- package/system/dist/addon-runner.mjs +2 -2
- package/system/dist/index.js +2 -2
- package/system/dist/index.mjs +2 -2
- package/system/dist/kernel/deps/addon-deps-manager.d.ts +2 -1
- package/system/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/server",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.907",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -66,11 +66,13 @@
|
|
|
66
66
|
],
|
|
67
67
|
"requires": {
|
|
68
68
|
"addons": {
|
|
69
|
-
"@camstack/addon-admin-ui": ">=1.2.
|
|
70
|
-
"@camstack/addon-
|
|
71
|
-
"@camstack/addon-
|
|
72
|
-
"@camstack/addon-
|
|
73
|
-
"@camstack/addon-
|
|
69
|
+
"@camstack/addon-admin-ui": ">=1.2.705",
|
|
70
|
+
"@camstack/addon-pipeline": ">=1.2.669",
|
|
71
|
+
"@camstack/addon-provider-enpal": ">=0.1.27",
|
|
72
|
+
"@camstack/addon-provider-gree": ">=0.2.164",
|
|
73
|
+
"@camstack/addon-provider-rademacher": ">=0.2.168",
|
|
74
|
+
"@camstack/addon-provider-unifi": ">=0.2.173",
|
|
75
|
+
"@camstack/addon-provider-unraid": ">=0.2.175"
|
|
74
76
|
},
|
|
75
77
|
"wrapper": {
|
|
76
78
|
"desktop": ">=0.0.1",
|
|
@@ -79,18 +81,18 @@
|
|
|
79
81
|
}
|
|
80
82
|
},
|
|
81
83
|
"dependencies": {
|
|
82
|
-
"@camstack/addon-admin-ui": "1.2.
|
|
84
|
+
"@camstack/addon-admin-ui": "1.2.705",
|
|
83
85
|
"@camstack/addon-agent-ui": "1.2.413",
|
|
84
86
|
"@camstack/addon-auth": "1.2.182",
|
|
85
87
|
"@camstack/addon-benchmark": "1.2.313",
|
|
86
88
|
"@camstack/addon-decoder-nodeav": "1.2.149",
|
|
87
89
|
"@camstack/addon-notifiers": "1.2.639",
|
|
88
|
-
"@camstack/addon-pipeline": "1.2.
|
|
90
|
+
"@camstack/addon-pipeline": "1.2.669",
|
|
89
91
|
"@camstack/addon-pipeline-orchestrator": "1.2.707",
|
|
90
92
|
"@camstack/addon-post-analysis": "1.2.718",
|
|
91
93
|
"@camstack/develop": "0.1.54",
|
|
92
94
|
"@camstack/sdk": "1.2.159",
|
|
93
|
-
"@camstack/types": "1.2.
|
|
95
|
+
"@camstack/types": "1.2.600",
|
|
94
96
|
"@camstack/ui-library": "1.2.474",
|
|
95
97
|
"@fastify/compress": "^9.0.0",
|
|
96
98
|
"@fastify/cookie": "^11.0.2",
|
|
@@ -10002,10 +10002,10 @@ var AddonDepsManager = class {
|
|
|
10002
10002
|
if (!pythonPath) throw new Error("Cannot install Python packages: Python is not available");
|
|
10003
10003
|
await singleFlight(this.depsDir, "python-pip", () => (0, _camstack_types_node.installPythonPackages)(pythonPath, packages, this.logger));
|
|
10004
10004
|
}
|
|
10005
|
-
async installPythonRequirements(requirementsFile) {
|
|
10005
|
+
async installPythonRequirements(requirementsFile, options) {
|
|
10006
10006
|
const pythonPath = await this.ensurePython();
|
|
10007
10007
|
if (!pythonPath) throw new Error("Cannot install Python requirements: Python is not available");
|
|
10008
|
-
await singleFlight(this.depsDir, "python-pip", () => (0, _camstack_types_node.installPythonRequirements)(pythonPath, requirementsFile, this.logger));
|
|
10008
|
+
await singleFlight(this.depsDir, "python-pip", () => (0, _camstack_types_node.installPythonRequirements)(pythonPath, requirementsFile, this.logger, options));
|
|
10009
10009
|
await this.stageNativeDepsDeclaredBy(requirementsFile);
|
|
10010
10010
|
}
|
|
10011
10011
|
/**
|
|
@@ -9947,10 +9947,10 @@ var AddonDepsManager = class {
|
|
|
9947
9947
|
if (!pythonPath) throw new Error("Cannot install Python packages: Python is not available");
|
|
9948
9948
|
await singleFlight(this.depsDir, "python-pip", () => installPythonPackages(pythonPath, packages, this.logger));
|
|
9949
9949
|
}
|
|
9950
|
-
async installPythonRequirements(requirementsFile) {
|
|
9950
|
+
async installPythonRequirements(requirementsFile, options) {
|
|
9951
9951
|
const pythonPath = await this.ensurePython();
|
|
9952
9952
|
if (!pythonPath) throw new Error("Cannot install Python requirements: Python is not available");
|
|
9953
|
-
await singleFlight(this.depsDir, "python-pip", () => installPythonRequirements(pythonPath, requirementsFile, this.logger));
|
|
9953
|
+
await singleFlight(this.depsDir, "python-pip", () => installPythonRequirements(pythonPath, requirementsFile, this.logger, options));
|
|
9954
9954
|
await this.stageNativeDepsDeclaredBy(requirementsFile);
|
|
9955
9955
|
}
|
|
9956
9956
|
/**
|
package/system/dist/index.js
CHANGED
|
@@ -20945,10 +20945,10 @@ var AddonDepsManager = class {
|
|
|
20945
20945
|
if (!pythonPath) throw new Error("Cannot install Python packages: Python is not available");
|
|
20946
20946
|
await singleFlight(this.depsDir, "python-pip", () => (0, _camstack_types_node.installPythonPackages)(pythonPath, packages, this.logger));
|
|
20947
20947
|
}
|
|
20948
|
-
async installPythonRequirements(requirementsFile) {
|
|
20948
|
+
async installPythonRequirements(requirementsFile, options) {
|
|
20949
20949
|
const pythonPath = await this.ensurePython();
|
|
20950
20950
|
if (!pythonPath) throw new Error("Cannot install Python requirements: Python is not available");
|
|
20951
|
-
await singleFlight(this.depsDir, "python-pip", () => (0, _camstack_types_node.installPythonRequirements)(pythonPath, requirementsFile, this.logger));
|
|
20951
|
+
await singleFlight(this.depsDir, "python-pip", () => (0, _camstack_types_node.installPythonRequirements)(pythonPath, requirementsFile, this.logger, options));
|
|
20952
20952
|
await this.stageNativeDepsDeclaredBy(requirementsFile);
|
|
20953
20953
|
}
|
|
20954
20954
|
/**
|
package/system/dist/index.mjs
CHANGED
|
@@ -20941,10 +20941,10 @@ var AddonDepsManager = class {
|
|
|
20941
20941
|
if (!pythonPath) throw new Error("Cannot install Python packages: Python is not available");
|
|
20942
20942
|
await singleFlight(this.depsDir, "python-pip", () => installPythonPackages$1(pythonPath, packages, this.logger));
|
|
20943
20943
|
}
|
|
20944
|
-
async installPythonRequirements(requirementsFile) {
|
|
20944
|
+
async installPythonRequirements(requirementsFile, options) {
|
|
20945
20945
|
const pythonPath = await this.ensurePython();
|
|
20946
20946
|
if (!pythonPath) throw new Error("Cannot install Python requirements: Python is not available");
|
|
20947
|
-
await singleFlight(this.depsDir, "python-pip", () => installPythonRequirements$1(pythonPath, requirementsFile, this.logger));
|
|
20947
|
+
await singleFlight(this.depsDir, "python-pip", () => installPythonRequirements$1(pythonPath, requirementsFile, this.logger, options));
|
|
20948
20948
|
await this.stageNativeDepsDeclaredBy(requirementsFile);
|
|
20949
20949
|
}
|
|
20950
20950
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { IScopedLogger, IAddonDepsManager } from "@camstack/types";
|
|
2
|
+
import { type InstallRequirementsOptions } from "@camstack/types/node";
|
|
2
3
|
export declare class AddonDepsManager implements IAddonDepsManager {
|
|
3
4
|
private readonly logger;
|
|
4
5
|
private readonly nodeRoot;
|
|
@@ -14,7 +15,7 @@ export declare class AddonDepsManager implements IAddonDepsManager {
|
|
|
14
15
|
ensureFfmpeg(): Promise<string>;
|
|
15
16
|
ensurePython(): Promise<string | null>;
|
|
16
17
|
installPythonPackages(packages: readonly string[]): Promise<void>;
|
|
17
|
-
installPythonRequirements(requirementsFile: string): Promise<void>;
|
|
18
|
+
installPythonRequirements(requirementsFile: string, options?: InstallRequirementsOptions): Promise<void>;
|
|
18
19
|
/**
|
|
19
20
|
* The native library a requirements file says its packages need
|
|
20
21
|
* (`# camstack-native-dep: edgetpu-delegate`), staged under this node's
|