@camstack/server 1.2.620 → 1.2.621
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.
|
@@ -975,8 +975,10 @@ function createAuthRouter(auth, registry, moleculer = null, handoffCodes = new h
|
|
|
975
975
|
username: ctx.user.username,
|
|
976
976
|
password: input.currentPassword,
|
|
977
977
|
});
|
|
978
|
+
// A stable code (D863): the change-password page names this case
|
|
979
|
+
// instead of showing whatever text arrived.
|
|
978
980
|
if (!ok)
|
|
979
|
-
throw
|
|
981
|
+
throw (0, types_2.userError)('auth.password-incorrect', undefined, 'Password is incorrect');
|
|
980
982
|
// Hub-internal: the password changes AND every other session of the
|
|
981
983
|
// user ends (this one stays signed in).
|
|
982
984
|
const internal = registry === null ? null : (0, hub_sessions_js_1.userManagementInternal)(registry);
|
|
@@ -8302,15 +8302,6 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
8302
8302
|
const p = resolveProvider('pipeline-executor', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8303
8303
|
return p.getSelectedEngine();
|
|
8304
8304
|
}),
|
|
8305
|
-
getDefaultSteps: trpc_middleware_js_1.protectedProcedure
|
|
8306
|
-
.input(types_102.pipelineExecutorCapability.methods.getDefaultSteps.input.loose())
|
|
8307
|
-
.output(types_102.pipelineExecutorCapability.methods.getDefaultSteps.output)
|
|
8308
|
-
.query(async ({ input, ctx }) => {
|
|
8309
|
-
const { nodeId, ...methodInput } = input;
|
|
8310
|
-
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8311
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8312
|
-
return p.getDefaultSteps(methodInput);
|
|
8313
|
-
}),
|
|
8314
8305
|
getEngineProvisioning: trpc_middleware_js_1.protectedProcedure
|
|
8315
8306
|
.input(types_102.pipelineExecutorCapability.methods.getEngineProvisioning.input.loose())
|
|
8316
8307
|
.output(types_102.pipelineExecutorCapability.methods.getEngineProvisioning.output)
|
|
@@ -8336,24 +8327,6 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
8336
8327
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8337
8328
|
return p.setVideoPipelineSteps(methodInput);
|
|
8338
8329
|
}),
|
|
8339
|
-
clearDeviceOverrides: trpc_middleware_js_1.adminProcedure
|
|
8340
|
-
.input(types_102.pipelineExecutorCapability.methods.clearDeviceOverrides.input.loose())
|
|
8341
|
-
.output(types_102.pipelineExecutorCapability.methods.clearDeviceOverrides.output)
|
|
8342
|
-
.mutation(async ({ input, ctx }) => {
|
|
8343
|
-
const { nodeId, ...methodInput } = input;
|
|
8344
|
-
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8345
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8346
|
-
return p.clearDeviceOverrides(methodInput);
|
|
8347
|
-
}),
|
|
8348
|
-
clearModelBoundDeviceOverrides: trpc_middleware_js_1.adminProcedure
|
|
8349
|
-
.input(types_102.pipelineExecutorCapability.methods.clearModelBoundDeviceOverrides.input.loose())
|
|
8350
|
-
.output(types_102.pipelineExecutorCapability.methods.clearModelBoundDeviceOverrides.output)
|
|
8351
|
-
.mutation(async ({ input, ctx }) => {
|
|
8352
|
-
const { nodeId, ...methodInput } = input;
|
|
8353
|
-
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8354
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8355
|
-
return p.clearModelBoundDeviceOverrides(methodInput);
|
|
8356
|
-
}),
|
|
8357
8330
|
getInferenceDeviceHealth: trpc_middleware_js_1.protectedProcedure
|
|
8358
8331
|
.input(types_102.pipelineExecutorCapability.methods.getInferenceDeviceHealth.input.loose())
|
|
8359
8332
|
.output(types_102.pipelineExecutorCapability.methods.getInferenceDeviceHealth.output)
|
|
@@ -8379,20 +8352,6 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
8379
8352
|
const p = resolveProvider('pipeline-executor', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8380
8353
|
return p.getSchema();
|
|
8381
8354
|
}),
|
|
8382
|
-
getGlobalSteps: trpc_middleware_js_1.protectedProcedure
|
|
8383
|
-
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
8384
|
-
.output(types_102.pipelineExecutorCapability.methods.getGlobalSteps.output)
|
|
8385
|
-
.query(async ({ input, ctx }) => {
|
|
8386
|
-
const p = resolveProvider('pipeline-executor', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8387
|
-
return p.getGlobalSteps();
|
|
8388
|
-
}),
|
|
8389
|
-
getGlobalPipelineConfig: trpc_middleware_js_1.protectedProcedure
|
|
8390
|
-
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
8391
|
-
.output(types_102.pipelineExecutorCapability.methods.getGlobalPipelineConfig.output)
|
|
8392
|
-
.query(async ({ input, ctx }) => {
|
|
8393
|
-
const p = resolveProvider('pipeline-executor', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8394
|
-
return p.getGlobalPipelineConfig();
|
|
8395
|
-
}),
|
|
8396
8355
|
getOrchestratorConfigSchema: trpc_middleware_js_1.protectedProcedure
|
|
8397
8356
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
8398
8357
|
.output(types_102.pipelineExecutorCapability.methods.getOrchestratorConfigSchema.output)
|
|
@@ -8845,6 +8804,14 @@ function createCapRouter_pipelineOrchestrator(getProvider, _createRemoteProxy) {
|
|
|
8845
8804
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8846
8805
|
return p.setAgentInferenceDevices(input);
|
|
8847
8806
|
}),
|
|
8807
|
+
setNodeStepSettings: trpc_middleware_js_1.adminProcedure
|
|
8808
|
+
.input(types_103.pipelineOrchestratorCapability.methods.setNodeStepSettings.input.loose())
|
|
8809
|
+
.output(types_103.pipelineOrchestratorCapability.methods.setNodeStepSettings.output)
|
|
8810
|
+
.mutation(async ({ input, ctx }) => {
|
|
8811
|
+
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
8812
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8813
|
+
return p.setNodeStepSettings(input);
|
|
8814
|
+
}),
|
|
8848
8815
|
getNodeInferenceDevices: trpc_middleware_js_1.protectedProcedure
|
|
8849
8816
|
.input(types_103.pipelineOrchestratorCapability.methods.getNodeInferenceDevices.input.loose())
|
|
8850
8817
|
.output(types_103.pipelineOrchestratorCapability.methods.getNodeInferenceDevices.output)
|
|
@@ -9013,22 +8980,6 @@ function createCapRouter_pipelineOrchestrator(getProvider, _createRemoteProxy) {
|
|
|
9013
8980
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
9014
8981
|
return p.setCameraDetectionSource(input);
|
|
9015
8982
|
}),
|
|
9016
|
-
getCameraStepOverrides: trpc_middleware_js_1.protectedProcedure
|
|
9017
|
-
.input(types_103.pipelineOrchestratorCapability.methods.getCameraStepOverrides.input.loose())
|
|
9018
|
-
.output(types_103.pipelineOrchestratorCapability.methods.getCameraStepOverrides.output)
|
|
9019
|
-
.query(async ({ input, ctx }) => {
|
|
9020
|
-
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
9021
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
9022
|
-
return p.getCameraStepOverrides(input);
|
|
9023
|
-
}),
|
|
9024
|
-
setCameraStepOverride: trpc_middleware_js_1.adminProcedure
|
|
9025
|
-
.input(types_103.pipelineOrchestratorCapability.methods.setCameraStepOverride.input.loose())
|
|
9026
|
-
.output(types_103.pipelineOrchestratorCapability.methods.setCameraStepOverride.output)
|
|
9027
|
-
.mutation(async ({ input, ctx }) => {
|
|
9028
|
-
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
9029
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
9030
|
-
return p.setCameraStepOverride(input);
|
|
9031
|
-
}),
|
|
9032
8983
|
setCameraStepSettings: trpc_middleware_js_1.adminProcedure
|
|
9033
8984
|
.input(types_103.pipelineOrchestratorCapability.methods.setCameraStepSettings.input.loose())
|
|
9034
8985
|
.output(types_103.pipelineOrchestratorCapability.methods.setCameraStepSettings.output)
|
|
@@ -9037,14 +8988,6 @@ function createCapRouter_pipelineOrchestrator(getProvider, _createRemoteProxy) {
|
|
|
9037
8988
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
9038
8989
|
return p.setCameraStepSettings(input);
|
|
9039
8990
|
}),
|
|
9040
|
-
setCameraPipelineForAgent: trpc_middleware_js_1.adminProcedure
|
|
9041
|
-
.input(types_103.pipelineOrchestratorCapability.methods.setCameraPipelineForAgent.input.loose())
|
|
9042
|
-
.output(types_103.pipelineOrchestratorCapability.methods.setCameraPipelineForAgent.output)
|
|
9043
|
-
.mutation(async ({ input, ctx }) => {
|
|
9044
|
-
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
9045
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
9046
|
-
return p.setCameraPipelineForAgent(input);
|
|
9047
|
-
}),
|
|
9048
8991
|
resolvePipeline: trpc_middleware_js_1.protectedProcedure
|
|
9049
8992
|
.input(types_103.pipelineOrchestratorCapability.methods.resolvePipeline.input.loose())
|
|
9050
8993
|
.output(types_103.pipelineOrchestratorCapability.methods.resolvePipeline.output)
|
|
@@ -12197,6 +12140,13 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12197
12140
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
12198
12141
|
return p.getJobResult(methodInput);
|
|
12199
12142
|
}),
|
|
12143
|
+
listCanaryTargets: trpc_middleware_js_1.adminProcedure
|
|
12144
|
+
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12145
|
+
.output(types_138.trainingCapability.methods.listCanaryTargets.output)
|
|
12146
|
+
.query(async ({ input, ctx }) => {
|
|
12147
|
+
const p = resolveProvider('training', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12148
|
+
return p.listCanaryTargets();
|
|
12149
|
+
}),
|
|
12200
12150
|
registerResult: trpc_middleware_js_1.adminProcedure
|
|
12201
12151
|
.input(types_138.trainingCapability.methods.registerResult.input.loose())
|
|
12202
12152
|
.output(types_138.trainingCapability.methods.registerResult.output)
|
|
@@ -3103,7 +3103,7 @@ class AddonRegistryService {
|
|
|
3103
3103
|
devices: deviceManagerApi,
|
|
3104
3104
|
cluster: { broker: (0, system_1.adaptBrokerToCluster)(this.moleculer.broker) },
|
|
3105
3105
|
streamProbe: kernelStreamProbe,
|
|
3106
|
-
hwaccel: (0, system_1.createKernelHwAccel)(),
|
|
3106
|
+
hwaccel: (0, system_1.createKernelHwAccel)({ logger }),
|
|
3107
3107
|
capabilityRegistry: this.capabilityRegistry,
|
|
3108
3108
|
// Per-addon storage-location declarations across every installed
|
|
3109
3109
|
// addon — surfaced from the kernel's AddonLoader so the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/server",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.621",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"files": [
|
|
@@ -38,19 +38,20 @@
|
|
|
38
38
|
]
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@camstack/addon-admin-ui": "1.2.
|
|
42
|
-
"@camstack/addon-agent-ui": "1.2.
|
|
41
|
+
"@camstack/addon-admin-ui": "1.2.458",
|
|
42
|
+
"@camstack/addon-agent-ui": "1.2.262",
|
|
43
43
|
"@camstack/addon-auth": "1.2.166",
|
|
44
|
+
"@camstack/addon-benchmark": "1.2.262",
|
|
44
45
|
"@camstack/addon-decoder-nodeav": "1.2.141",
|
|
45
46
|
"@camstack/addon-notifiers": "1.2.619",
|
|
46
|
-
"@camstack/addon-pipeline": "1.2.
|
|
47
|
-
"@camstack/addon-pipeline-orchestrator": "1.2.
|
|
48
|
-
"@camstack/addon-post-analysis": "1.2.
|
|
47
|
+
"@camstack/addon-pipeline": "1.2.622",
|
|
48
|
+
"@camstack/addon-pipeline-orchestrator": "1.2.623",
|
|
49
|
+
"@camstack/addon-post-analysis": "1.2.628",
|
|
49
50
|
"@camstack/develop": "0.1.31",
|
|
50
51
|
"@camstack/sdk": "1.2.151",
|
|
51
|
-
"@camstack/system": "1.2.
|
|
52
|
-
"@camstack/types": "1.2.
|
|
53
|
-
"@camstack/ui-library": "1.2.
|
|
52
|
+
"@camstack/system": "1.2.472",
|
|
53
|
+
"@camstack/types": "1.2.404",
|
|
54
|
+
"@camstack/ui-library": "1.2.319",
|
|
54
55
|
"@fastify/compress": "^9.0.0",
|
|
55
56
|
"@fastify/cookie": "^11.0.2",
|
|
56
57
|
"@fastify/cors": "^11.2.0",
|