iobroker.eos-admin 9.0.29 → 9.0.30

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.
Files changed (100) hide show
  1. package/NEXOWATT_EOS_BUILD_INFO.json +12 -13
  2. package/README.md +9 -9
  3. package/adminWww/.vite/manifest.json +39 -39
  4. package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +107 -107
  5. package/adminWww/assets/{AdapterUpdateDialog-DXp4Dgkx.js → AdapterUpdateDialog-qC6MANmq.js} +1 -1
  6. package/adminWww/assets/{Adapters-1AOp__74.js → Adapters-C8quekd0.js} +1 -1
  7. package/adminWww/assets/{ConfigManager-CGGXU4Jp.js → ConfigManager-hRZCAWRy.js} +1 -1
  8. package/adminWww/assets/{Enums-Bl4EngJF.js → Enums-Dd0Z2KfV.js} +1 -1
  9. package/adminWww/assets/{Fields-zSEjRWOB.js → Fields-WfHFtdYw.js} +1 -1
  10. package/adminWww/assets/{Files-CnYmjEbu.js → Files-DyG14v5-.js} +1 -1
  11. package/adminWww/assets/{Hosts-zFJyiuvd.js → Hosts-3pSXVMxW.js} +1 -1
  12. package/adminWww/assets/{Instances-D10dnQY4.js → Instances-DT6fp_TN.js} +1 -1
  13. package/adminWww/assets/{Intro-DxLBfGZ8.js → Intro-C6pMFhbu.js} +1 -1
  14. package/adminWww/assets/{Logs-CAc6o-d_.js → Logs-suepwNkZ.js} +1 -1
  15. package/adminWww/assets/{Objects-I64lF3ZS.js → Objects-CpjVeEjv.js} +1 -1
  16. package/adminWww/assets/{Overview-BQ7HBH-7.js → Overview-CxZJgF7X.js} +1 -1
  17. package/adminWww/assets/{State-DHLL8gAc.js → State-CUsia7sz.js} +1 -1
  18. package/adminWww/assets/{UsedResources-DlQ_XqoR.js → UsedResources-C3zr7pM8.js} +1 -1
  19. package/adminWww/assets/{Users-CKHDvxG5.js → Users-BoBSUBkO.js} +1 -1
  20. package/adminWww/assets/{bootstrap-CIDT4MeX.js → bootstrap-CM9qXoc1.js} +3 -3
  21. package/adminWww/assets/{hostInit-Cvl4lPGh.js → hostInit-BQPg9kSQ.js} +1 -1
  22. package/adminWww/assets/{icons-material-ngdwOXrt.js → icons-material-CDhwkQ0o.js} +1 -1
  23. package/adminWww/assets/{index-B9Tfj1YG.js → index-BrXN_pu2.js} +2 -2
  24. package/adminWww/assets/{installSVGRenderer-COP6GC9p.js → installSVGRenderer-BEgWxsNI.js} +1 -1
  25. package/adminWww/assets/{mf-entry-bootstrap-0-31191d2e.js → mf-entry-bootstrap-0-3ef6056c.js} +2 -2
  26. package/adminWww/index.html +23 -23
  27. package/adminWww/mf-manifest.json +1 -1
  28. package/adminWww/mf-stats.json +1 -1
  29. package/adminWww/remoteEntry-eos-9.0.30.js +12 -0
  30. package/adminWww/remoteEntry.js +1 -1
  31. package/build/lib/eosRuntimeControl.js +21 -10
  32. package/build/lib/eosRuntimeControl.js.map +1 -1
  33. package/build/lib/eosRuntimeHealth.js +12 -9
  34. package/build/lib/eosRuntimeHealth.js.map +1 -1
  35. package/build/lib/eosSplitRuntime.js +61 -0
  36. package/build/lib/eosSplitRuntime.js.map +1 -0
  37. package/build/lib/eosUiProcess.js +91 -13
  38. package/build/lib/eosUiProcess.js.map +1 -1
  39. package/build/lib/eosUiProcessWorker.js +15 -8
  40. package/build/lib/eosUiProcessWorker.js.map +1 -1
  41. package/build/lib/web.js +17 -7
  42. package/build/lib/web.js.map +1 -1
  43. package/docs/README.md +2 -2
  44. package/docs/reports/unified-9.0.30/PRUEFBERICHT.md +37 -0
  45. package/docs/reports/{unified-9.0.29 → unified-9.0.30}/PRUEFERGEBNISSE.json +13 -13
  46. package/docs/reports/unified-9.0.30/raw/INDEX.json +137 -0
  47. package/docs/reports/unified-9.0.30/raw/acceptance-node22.log +30 -0
  48. package/docs/reports/unified-9.0.30/raw/acceptance-node24.log +11 -0
  49. package/docs/reports/{unified-9.0.29 → unified-9.0.30}/raw/backend.log +1 -1
  50. package/docs/reports/unified-9.0.30/raw/baseline-10000.json +1 -0
  51. package/docs/reports/unified-9.0.30/raw/baseline-50000.json +1 -0
  52. package/docs/reports/unified-9.0.30/raw/candidate-10000.json +1 -0
  53. package/docs/reports/unified-9.0.30/raw/candidate-50000.json +1 -0
  54. package/docs/reports/{unified-9.0.29 → unified-9.0.30}/raw/frontend.log +25 -25
  55. package/docs/reports/{unified-9.0.29 → unified-9.0.30}/raw/installer.log +4 -4
  56. package/docs/reports/{unified-9.0.29 → unified-9.0.30}/raw/lint.log +2 -2
  57. package/docs/reports/{unified-9.0.29 → unified-9.0.30}/raw/modules.log +1 -1
  58. package/docs/reports/unified-9.0.30/raw/node22-profile.json +611 -0
  59. package/docs/reports/{unified-9.0.29 → unified-9.0.30}/raw/node22-tests-final.log +5272 -5206
  60. package/docs/reports/unified-9.0.30/raw/node24-profile.json +611 -0
  61. package/docs/reports/{unified-9.0.29 → unified-9.0.30}/raw/node24-tests-final.log +2774 -2764
  62. package/docs/reports/unified-9.0.30/raw/profile-combined-node24.log +12 -0
  63. package/docs/reports/unified-9.0.30/raw/profile-split-node24.log +12 -0
  64. package/docs/reports/{unified-9.0.29 → unified-9.0.30}/raw/typecheck.log +1 -1
  65. package/docs/reports/{unified-9.0.29 → unified-9.0.30}/raw/ui-runtime.log +3 -2
  66. package/docs/start/START_HIER_9.0.30.md +16 -0
  67. package/docs/unified/ARCHITECTURE.md +18 -12
  68. package/io-package.json +8 -8
  69. package/modules/devices/README.md +1 -1
  70. package/modules/devices/lib/deviceRuntime.js +18 -14
  71. package/modules/devices/test/driverLoading.test.js +76 -0
  72. package/package.json +6 -6
  73. package/public/eos-runtime/index.js +7 -6
  74. package/release-manifests/unified/build-environment.cdx.json +6 -6
  75. package/release-manifests/unified/files.json +136 -96
  76. package/release-manifests/unified/frontend.cdx.json +6 -6
  77. package/release-manifests/unified/installer.cdx.json +6 -6
  78. package/release-manifests/unified/obsolete-admin-assets.json +89 -6
  79. package/release-manifests/unified/runtime.cdx.json +27 -27
  80. package/release-manifests/unified/validation.json +15 -15
  81. package/tools/eos-release-check.cjs +2 -0
  82. package/tools/eos-release-manifest.cjs +1 -1
  83. package/ui/io-package.json +2 -2
  84. package/ui/lib/datapoint-picker.js +184 -0
  85. package/ui/lib/eos-presentation-routes.js +61 -0
  86. package/ui/lib/eos-presentation.js +140 -0
  87. package/ui/lib/ephemeral-cache.js +7 -4
  88. package/ui/main.js +5 -302
  89. package/ui/package.json +1 -1
  90. package/ui/www/manifest.webmanifest +2 -2
  91. package/adminWww/remoteEntry-eos-9.0.29.js +0 -12
  92. package/docs/reports/unified-9.0.29/PRUEFBERICHT.md +0 -30
  93. package/docs/reports/unified-9.0.29/raw/INDEX.json +0 -97
  94. package/docs/reports/unified-9.0.29/raw/tls-targeted-build-node22.log +0 -139
  95. package/docs/reports/unified-9.0.29/raw/tls-targeted-node24.log +0 -132
  96. package/docs/start/START_HIER_9.0.29.md +0 -22
  97. /package/docs/reports/{unified-9.0.29 → unified-9.0.30}/raw/node22-version.log +0 -0
  98. /package/docs/reports/{unified-9.0.29 → unified-9.0.30}/raw/node24-version.log +0 -0
  99. /package/docs/reports/{unified-9.0.29 → unified-9.0.30}/raw/npm-audit-runtime.json +0 -0
  100. /package/docs/reports/{unified-9.0.29/raw/tls-lint.log → unified-9.0.30/raw/split-lint.log} +0 -0
package/build/lib/web.js CHANGED
@@ -68,7 +68,7 @@ const eosUploadGuard_1 = require("./eosUploadGuard");
68
68
  const eosFileTransferSecurity_1 = require("./eosFileTransferSecurity");
69
69
  const instanceProxy_1 = require("./instanceProxy");
70
70
  const eosUnifiedBoundary_1 = require("./eosUnifiedBoundary");
71
- const eosUiProcess_1 = require("./eosUiProcess");
71
+ const eosSplitRuntime_1 = require("./eosSplitRuntime");
72
72
  const eosModuleHost_1 = require("./eosModuleHost");
73
73
  const eosRuntimeControl_1 = require("./eosRuntimeControl");
74
74
  const eosDeviceEmsPlan_1 = require("./eosDeviceEmsPlan");
@@ -2027,7 +2027,7 @@ class Web {
2027
2027
  });
2028
2028
  this.adapter.eosModuleHost = moduleHost;
2029
2029
  this.moduleHost = moduleHost;
2030
- const runtime = (0, eosUiProcess_1.createEosUiProcess)(this.adapter, {
2030
+ const runtime = (0, eosSplitRuntime_1.createEosSplitRuntime)(this.adapter, {
2031
2031
  deviceEmsPlan: async (input) => {
2032
2032
  const config = (0, eosDeviceEmsService_1.projectDeviceEmsConfig)(input.config);
2033
2033
  const targets = await (0, eosDeviceEmsService_1.resolveDeviceEmsTargets)({
@@ -2070,7 +2070,7 @@ class Web {
2070
2070
  },
2071
2071
  originAllowed: (req) => this.unified.requestAllowed(req),
2072
2072
  machineRequestAllowed: (req) => this.unified.machineRequestAllowed(req),
2073
- canWrite: () => this.runtimeControl?.isEnabled('ui') === true && this.adapter.eosOwnership?.canWrite() === true,
2073
+ canWrite: () => this.runtimeControl?.isEnabled('ems') === true && this.adapter.eosOwnership?.canWrite() === true,
2074
2074
  isListening: () => !this.closed && !this.startupFailed && this.server.server?.listening === true,
2075
2075
  hostedModuleFeedback: (message) => moduleHost.receiveBridge(message),
2076
2076
  }, { baseDir: this.baseDir });
@@ -2101,11 +2101,21 @@ class Web {
2101
2101
  runtimeStatus: () => this.adapter.eosHostedRuntime?.status?.(),
2102
2102
  });
2103
2103
  if (runtimeControl.isEnabled('ui')) {
2104
- await runtime.start();
2104
+ void runtime.start().catch(() => {
2105
+ this.adapter.log.warn('EOS_UI_PROCESS_START_FAILED: Inspect the process status.');
2106
+ });
2105
2107
  }
2106
2108
  else {
2107
2109
  await runtime.pause();
2108
2110
  }
2111
+ if (runtimeControl.isEnabled('ems')) {
2112
+ void runtime.startEms().catch(() => {
2113
+ this.adapter.log.warn('EOS_EMS_PROCESS_START_FAILED: Inspect the process status.');
2114
+ });
2115
+ }
2116
+ else {
2117
+ await runtime.pauseEms();
2118
+ }
2109
2119
  app.use((req, res, next) => {
2110
2120
  if (!this.isUnifiedRequest(req)) {
2111
2121
  next();
@@ -3211,11 +3221,11 @@ class Web {
3211
3221
  void this.adapter.eosModuleHost?.start().catch(() => {
3212
3222
  this.adapter.log.warn('EOS_MODULE_START_UNAVAILABLE: HTTPS remains available.');
3213
3223
  });
3214
- // The authenticated shell is now reachable. Device, history and EMS initialization
3215
- // must never hold the only HTTPS listener hostage or hide the recovery console.
3224
+ // The EMS gets its own lease after the authenticated listener is up,
3225
+ // without a dependency on successful startup of the presentation process.
3216
3226
  void this.adapter.eosHostedRuntime?.startOperational().catch(() => {
3217
3227
  if (!this.closed) {
3218
- this.adapter.log.error('EOS_UI_OPERATIONAL_START_FAILED: HTTPS remains available; inspect the runtime startup status.');
3228
+ this.adapter.log.error('EOS_EMS_OPERATIONAL_START_FAILED: HTTPS remains available; inspect the runtime startup status.');
3219
3229
  }
3220
3230
  });
3221
3231
  // The coordinator observes readiness with its own bounded deadline;