@naisys/supervisor 3.0.0-beta.10
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/bin/naisys-supervisor +2 -0
- package/client-dist/android-chrome-192x192.png +0 -0
- package/client-dist/android-chrome-512x512.png +0 -0
- package/client-dist/apple-touch-icon.png +0 -0
- package/client-dist/assets/index-CKg0vgt5.css +1 -0
- package/client-dist/assets/index-WzoDF0aQ.js +177 -0
- package/client-dist/assets/naisys-logo-CzoPnn5I.webp +0 -0
- package/client-dist/favicon-16x16.png +0 -0
- package/client-dist/favicon-32x32.png +0 -0
- package/client-dist/favicon.ico +0 -0
- package/client-dist/index.html +49 -0
- package/client-dist/site.webmanifest +22 -0
- package/dist/api-reference.js +54 -0
- package/dist/auth-middleware.js +116 -0
- package/dist/database/hubDb.js +26 -0
- package/dist/database/supervisorDb.js +18 -0
- package/dist/error-helpers.js +13 -0
- package/dist/hateoas.js +61 -0
- package/dist/logger.js +11 -0
- package/dist/route-helpers.js +7 -0
- package/dist/routes/admin.js +209 -0
- package/dist/routes/agentChat.js +194 -0
- package/dist/routes/agentConfig.js +265 -0
- package/dist/routes/agentLifecycle.js +350 -0
- package/dist/routes/agentMail.js +171 -0
- package/dist/routes/agentRuns.js +90 -0
- package/dist/routes/agents.js +236 -0
- package/dist/routes/api.js +52 -0
- package/dist/routes/attachments.js +18 -0
- package/dist/routes/auth.js +103 -0
- package/dist/routes/costs.js +51 -0
- package/dist/routes/hosts.js +296 -0
- package/dist/routes/models.js +152 -0
- package/dist/routes/root.js +56 -0
- package/dist/routes/schemas.js +31 -0
- package/dist/routes/status.js +20 -0
- package/dist/routes/users.js +420 -0
- package/dist/routes/variables.js +103 -0
- package/dist/schema-registry.js +23 -0
- package/dist/services/agentConfigService.js +182 -0
- package/dist/services/agentHostStatusService.js +178 -0
- package/dist/services/agentService.js +291 -0
- package/dist/services/attachmentProxyService.js +131 -0
- package/dist/services/browserSocketService.js +78 -0
- package/dist/services/chatService.js +201 -0
- package/dist/services/configExportService.js +61 -0
- package/dist/services/costsService.js +127 -0
- package/dist/services/hostService.js +156 -0
- package/dist/services/hubConnectionService.js +320 -0
- package/dist/services/logFileService.js +11 -0
- package/dist/services/mailService.js +154 -0
- package/dist/services/modelService.js +92 -0
- package/dist/services/runsService.js +168 -0
- package/dist/services/userService.js +147 -0
- package/dist/services/variableService.js +23 -0
- package/dist/supervisorServer.js +221 -0
- package/package.json +79 -0
package/package.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@naisys/supervisor",
|
|
3
|
+
"version": "3.0.0-beta.10",
|
|
4
|
+
"description": "NAISYS Supervisor - Web UI for monitoring agents, logs, and messaging",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/supervisorServer.js",
|
|
7
|
+
"bin": {
|
|
8
|
+
"naisys-supervisor": "bin/naisys-supervisor"
|
|
9
|
+
},
|
|
10
|
+
"exports": {
|
|
11
|
+
".": "./dist/supervisorServer.js"
|
|
12
|
+
},
|
|
13
|
+
"scripts": {
|
|
14
|
+
"clean": "rimraf dist client-dist",
|
|
15
|
+
"dev": "tsx watch src/supervisorServer.ts",
|
|
16
|
+
"start": "node dist/supervisorServer.js",
|
|
17
|
+
"start:reset-password": "node dist/supervisorServer.js --reset-password",
|
|
18
|
+
"build": "tsc",
|
|
19
|
+
"bundle": "npx shx rm -rf client-dist && npx shx cp -r ../client/dist client-dist",
|
|
20
|
+
"test": "vitest run",
|
|
21
|
+
"type-check": "tsc --noEmit",
|
|
22
|
+
"npm:publish:dryrun": "npm publish --dry-run",
|
|
23
|
+
"npm:publish": "npm publish --access public"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist",
|
|
27
|
+
"client-dist",
|
|
28
|
+
"bin",
|
|
29
|
+
"!dist/**/*.map",
|
|
30
|
+
"!dist/**/*.d.ts",
|
|
31
|
+
"!dist/**/*.d.ts.map",
|
|
32
|
+
"!dist/**/tests",
|
|
33
|
+
"!dist/**/*.test.*"
|
|
34
|
+
],
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"@naisys/erp": "3.0.0-beta.10"
|
|
37
|
+
},
|
|
38
|
+
"peerDependenciesMeta": {
|
|
39
|
+
"@naisys/erp": {
|
|
40
|
+
"optional": true
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"@fastify/cookie": "^11.0.2",
|
|
45
|
+
"@fastify/cors": "^11.2.0",
|
|
46
|
+
"@fastify/multipart": "^9.4.0",
|
|
47
|
+
"@fastify/rate-limit": "^10.3.0",
|
|
48
|
+
"@fastify/static": "^9.0.0",
|
|
49
|
+
"@fastify/swagger": "^9.7.0",
|
|
50
|
+
"@naisys/supervisor-shared": "3.0.0-beta.10",
|
|
51
|
+
"@naisys/common": "3.0.0-beta.10",
|
|
52
|
+
"@naisys/common-node": "3.0.0-beta.10",
|
|
53
|
+
"@naisys/hub-database": "3.0.0-beta.10",
|
|
54
|
+
"@naisys/hub-protocol": "3.0.0-beta.10",
|
|
55
|
+
"@naisys/supervisor-database": "3.0.0-beta.10",
|
|
56
|
+
"@scalar/fastify-api-reference": "^1.48.7",
|
|
57
|
+
"@types/archiver": "^7.0.0",
|
|
58
|
+
"archiver": "^7.0.1",
|
|
59
|
+
"bcryptjs": "^3.0.2",
|
|
60
|
+
"dotenv": "^17.3.1",
|
|
61
|
+
"fastify": "^5.8.2",
|
|
62
|
+
"fastify-type-provider-zod": "^6.1.0",
|
|
63
|
+
"js-yaml": "^4.1.1",
|
|
64
|
+
"pino-pretty": "^13.1.3",
|
|
65
|
+
"socket.io": "^4.8.3",
|
|
66
|
+
"socket.io-client": "^4.8.3",
|
|
67
|
+
"zod": "^4.3.6"
|
|
68
|
+
},
|
|
69
|
+
"devDependencies": {
|
|
70
|
+
"@types/js-yaml": "^4.0.9",
|
|
71
|
+
"@types/node": "^25.5.0",
|
|
72
|
+
"tsx": "^4.21.0",
|
|
73
|
+
"typescript": "^5.9.3",
|
|
74
|
+
"vitest": "^4.1.0"
|
|
75
|
+
},
|
|
76
|
+
"engines": {
|
|
77
|
+
"node": ">=22.0.0"
|
|
78
|
+
}
|
|
79
|
+
}
|