@naisys/supervisor 3.0.0-beta.10 → 3.0.0-beta.11
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/supervisorServer.js
CHANGED
|
@@ -78,7 +78,9 @@ export const startServer = async (startupType, plugins = [], hubPort) => {
|
|
|
78
78
|
}).withTypeProvider();
|
|
79
79
|
initLogger(fastify.log);
|
|
80
80
|
// Connect to hub via Socket.IO for agent management
|
|
81
|
-
const hubUrl = hubPort
|
|
81
|
+
const hubUrl = hubPort
|
|
82
|
+
? `http://localhost:${hubPort}/hub`
|
|
83
|
+
: process.env.HUB_URL;
|
|
82
84
|
if (hubUrl) {
|
|
83
85
|
initHubConnection(hubUrl);
|
|
84
86
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naisys/supervisor",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.11",
|
|
4
4
|
"description": "NAISYS Supervisor - Web UI for monitoring agents, logs, and messaging",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/supervisorServer.js",
|
|
7
7
|
"bin": {
|
|
8
|
-
"naisys-supervisor": "bin/naisys-supervisor"
|
|
8
|
+
"naisys-supervisor": "bin/naisys-supervisor.js"
|
|
9
9
|
},
|
|
10
10
|
"exports": {
|
|
11
11
|
".": "./dist/supervisorServer.js"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"!dist/**/*.test.*"
|
|
34
34
|
],
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@naisys/erp": "3.0.0-beta.
|
|
36
|
+
"@naisys/erp": "3.0.0-beta.11"
|
|
37
37
|
},
|
|
38
38
|
"peerDependenciesMeta": {
|
|
39
39
|
"@naisys/erp": {
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
"@fastify/rate-limit": "^10.3.0",
|
|
48
48
|
"@fastify/static": "^9.0.0",
|
|
49
49
|
"@fastify/swagger": "^9.7.0",
|
|
50
|
-
"@naisys/supervisor-shared": "3.0.0-beta.
|
|
51
|
-
"@naisys/common": "3.0.0-beta.
|
|
52
|
-
"@naisys/common-node": "3.0.0-beta.
|
|
53
|
-
"@naisys/hub-database": "3.0.0-beta.
|
|
54
|
-
"@naisys/hub-protocol": "3.0.0-beta.
|
|
55
|
-
"@naisys/supervisor-database": "3.0.0-beta.
|
|
50
|
+
"@naisys/supervisor-shared": "3.0.0-beta.11",
|
|
51
|
+
"@naisys/common": "3.0.0-beta.11",
|
|
52
|
+
"@naisys/common-node": "3.0.0-beta.11",
|
|
53
|
+
"@naisys/hub-database": "3.0.0-beta.11",
|
|
54
|
+
"@naisys/hub-protocol": "3.0.0-beta.11",
|
|
55
|
+
"@naisys/supervisor-database": "3.0.0-beta.11",
|
|
56
56
|
"@scalar/fastify-api-reference": "^1.48.7",
|
|
57
57
|
"@types/archiver": "^7.0.0",
|
|
58
58
|
"archiver": "^7.0.1",
|
|
File without changes
|