iobroker.eos-admin 9.0.21 → 9.0.25

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 (762) hide show
  1. package/NEXOWATT_EOS_BUILD_INFO.json +17 -11
  2. package/README.md +37 -9
  3. package/START_HIER_9.0.21.md +53 -0
  4. package/START_HIER_9.0.22.md +48 -0
  5. package/START_HIER_9.0.23.md +47 -0
  6. package/START_HIER_9.0.24.md +70 -0
  7. package/START_HIER_9.0.25.md +60 -0
  8. package/adminWww/.vite/manifest.json +55 -55
  9. package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +13760 -13760
  10. package/adminWww/assets/{AdapterUpdateDialog-Dxl_b7Op.js → AdapterUpdateDialog-CLDpmxDx.js} +1 -1
  11. package/adminWww/assets/{Adapters-CVKKhXmI.js → Adapters-BCGeX2v7.js} +1 -1
  12. package/adminWww/assets/{ConfigManager-Bf6nTAkL.js → ConfigManager-B_sJf5_w.js} +1 -1
  13. package/adminWww/assets/{Enums-CJHVJY7t.js → Enums-D3n1pOtc.js} +1 -1
  14. package/adminWww/assets/{Fields-DWHbZKvm.js → Fields-Bdx5gPoT.js} +1 -1
  15. package/adminWww/assets/{Files-a6owMTXA.js → Files-BPK84lYU.js} +1 -1
  16. package/adminWww/assets/{Hosts-LtEMeXpV.js → Hosts--Jr6oLf2.js} +1 -1
  17. package/adminWww/assets/{Instances-DhChziA1.js → Instances-DxTOzFus.js} +1 -1
  18. package/adminWww/assets/{Intro-Cyq9gVDC.js → Intro-CYBGeZtu.js} +1 -1
  19. package/adminWww/assets/{Logs-wcramXsg.js → Logs-CVNC-4S8.js} +1 -1
  20. package/adminWww/assets/{Objects-DINVHd_e.js → Objects-Cqm9Rvym.js} +1 -1
  21. package/adminWww/assets/{Overview-DK4R41zR.js → Overview-JgjcHwlz.js} +1 -1
  22. package/adminWww/assets/{State-DcEACXzL.js → State-BV14HSwZ.js} +1 -1
  23. package/adminWww/assets/{UsedResources-C1LcM0Rb.js → UsedResources-Dz48WzEF.js} +1 -1
  24. package/adminWww/assets/{Users-DvDdSyDY.js → Users-D19YlRCD.js} +1 -1
  25. package/adminWww/assets/{bootstrap-Dbj_GbnP.js → bootstrap-a7POLSDr.js} +4 -4
  26. package/adminWww/assets/{hostInit-BNFIx0-f.js → hostInit-keGjwsZR.js} +1 -1
  27. package/adminWww/assets/{icons-material-DVbdXNgr.js → icons-material-Omb_HCfb.js} +1 -1
  28. package/adminWww/assets/{index-CoKP1NSA.js → index-DqPrQK7T.js} +2 -2
  29. package/adminWww/assets/{installSVGRenderer-CMvku1F1.js → installSVGRenderer-iWfLFoQU.js} +1 -1
  30. package/adminWww/assets/{mf-entry-bootstrap-0-ac330bce.js → mf-entry-bootstrap-0-2a856bb6.js} +2 -2
  31. package/adminWww/index.html +23 -23
  32. package/adminWww/mf-manifest.json +1 -1
  33. package/adminWww/mf-stats.json +1 -1
  34. package/adminWww/remoteEntry-eos-9.0.25.js +12 -0
  35. package/adminWww/remoteEntry.js +1 -1
  36. package/build/lib/eosHistoryBackupScope.js +73 -0
  37. package/build/lib/eosHistoryBackupScope.js.map +1 -0
  38. package/build/lib/eosKiosk.js +348 -0
  39. package/build/lib/eosKiosk.js.map +1 -0
  40. package/build/lib/eosLegacyMigration.js +24 -3
  41. package/build/lib/eosLegacyMigration.js.map +1 -1
  42. package/build/lib/eosLicenseService.js +1 -1
  43. package/build/lib/eosLicenseService.js.map +1 -1
  44. package/build/lib/eosModuleConfigStore.js +2 -2
  45. package/build/lib/eosModuleConfigStore.js.map +1 -1
  46. package/build/lib/eosModuleHost.js +289 -25
  47. package/build/lib/eosModuleHost.js.map +1 -1
  48. package/build/lib/eosModuleHttp.js +71 -8
  49. package/build/lib/eosModuleHttp.js.map +1 -1
  50. package/build/lib/eosModuleProcess.js +317 -0
  51. package/build/lib/eosModuleProcess.js.map +1 -0
  52. package/build/lib/eosModuleProcessProtocol.js +213 -0
  53. package/build/lib/eosModuleProcessProtocol.js.map +1 -0
  54. package/build/lib/eosModuleProcessWorker.js +279 -0
  55. package/build/lib/eosModuleProcessWorker.js.map +1 -0
  56. package/build/lib/eosPostgresProvisioning.js +189 -0
  57. package/build/lib/eosPostgresProvisioning.js.map +1 -0
  58. package/build/lib/eosRuntimeControl.js +224 -0
  59. package/build/lib/eosRuntimeControl.js.map +1 -0
  60. package/build/lib/eosRuntimeHealth.js +170 -0
  61. package/build/lib/eosRuntimeHealth.js.map +1 -0
  62. package/build/lib/eosUiProcess.js +728 -0
  63. package/build/lib/eosUiProcess.js.map +1 -0
  64. package/build/lib/eosUiProcessRpc.js +292 -0
  65. package/build/lib/eosUiProcessRpc.js.map +1 -0
  66. package/build/lib/eosUiProcessWorker.js +443 -0
  67. package/build/lib/eosUiProcessWorker.js.map +1 -0
  68. package/build/lib/eosUiSecretCodec.js +64 -0
  69. package/build/lib/eosUiSecretCodec.js.map +1 -0
  70. package/build/lib/eosUnifiedBoundary.js +28 -4
  71. package/build/lib/eosUnifiedBoundary.js.map +1 -1
  72. package/build/lib/eosUpdateSnapshot.js +32 -1
  73. package/build/lib/eosUpdateSnapshot.js.map +1 -1
  74. package/build/lib/web.js +175 -18
  75. package/build/lib/web.js.map +1 -1
  76. package/build/main.js +6 -2
  77. package/build/main.js.map +1 -1
  78. package/docs/reports/unified-9.0.21/CRA_NACHWEISSTAND.md +159 -0
  79. package/docs/reports/unified-9.0.21/CUSTOMER_UPDATE_BACKEND_REVIEW.md +30 -0
  80. package/docs/reports/unified-9.0.21/CUSTOMER_UPDATE_UI_REVIEW.md +44 -0
  81. package/docs/reports/unified-9.0.21/CUSTOMER_UPDATE_WORKER_REVIEW.md +147 -0
  82. package/docs/reports/unified-9.0.21/CUSTOMER_WORKER_ZWEITPRUEFUNG.md +108 -0
  83. package/docs/reports/unified-9.0.21/DEVICE_STABILITY_REVIEW.md +50 -0
  84. package/docs/reports/unified-9.0.21/EMS_STABILITAET.md +41 -0
  85. package/docs/reports/unified-9.0.21/HISTORY_TARIFF_STABILITY_REVIEW.md +48 -0
  86. package/docs/reports/unified-9.0.21/MQTT_ZWEITPRUEFUNG_EMS.md +47 -0
  87. package/docs/reports/unified-9.0.21/PERSISTENZ_STABILITAET.md +76 -0
  88. package/docs/reports/unified-9.0.21/PRUEFBERICHT.md +64 -0
  89. package/docs/reports/unified-9.0.21/SECURITY_STABILITY_REVIEW.md +118 -0
  90. package/docs/reports/unified-9.0.21/UI_SECURITY_GATE_REVIEW.md +62 -0
  91. package/docs/reports/unified-9.0.21/UPDATE_HTTP_SNAPSHOT_PRUEFUNG.md +46 -0
  92. package/docs/reports/unified-9.0.21/raw/INDEX.json +1307 -0
  93. package/docs/reports/unified-9.0.21/raw/audit-full.log +345 -0
  94. package/docs/reports/unified-9.0.21/raw/audit-full.result.json +14 -0
  95. package/docs/reports/unified-9.0.21/raw/audit-runtime.log +23 -0
  96. package/docs/reports/unified-9.0.21/raw/audit-runtime.result.json +15 -0
  97. package/docs/reports/unified-9.0.21/raw/backend-final.log +5 -0
  98. package/docs/reports/unified-9.0.21/raw/backend-final.result.json +14 -0
  99. package/docs/reports/unified-9.0.21/raw/cra/frontend-installer-sbom.json +32 -0
  100. package/docs/reports/unified-9.0.21/raw/customer-update-glue/root-glue-focused-node24.tap +34 -0
  101. package/docs/reports/unified-9.0.21/raw/customer-update-service/lint.log +0 -0
  102. package/docs/reports/unified-9.0.21/raw/customer-update-service/real920-archive-inspection.json +20 -0
  103. package/docs/reports/unified-9.0.21/raw/customer-update-service/service-node22.log +110 -0
  104. package/docs/reports/unified-9.0.21/raw/customer-update-service/service-node24.log +24 -0
  105. package/docs/reports/unified-9.0.21/raw/customer-update-service/service-verification.json +54 -0
  106. package/docs/reports/unified-9.0.21/raw/customer-update-service/typecheck.log +0 -0
  107. package/docs/reports/unified-9.0.21/raw/customer-update-worker/customer-worker-lint.log +0 -0
  108. package/docs/reports/unified-9.0.21/raw/customer-update-worker/customer-worker-node22.tap +86 -0
  109. package/docs/reports/unified-9.0.21/raw/customer-update-worker/customer-worker-node24.tap +20 -0
  110. package/docs/reports/unified-9.0.21/raw/customer-update-worker/customer-worker-strict-typecheck.log +0 -0
  111. package/docs/reports/unified-9.0.21/raw/customer-update-worker/customer-worker-typecheck.log +0 -0
  112. package/docs/reports/unified-9.0.21/raw/customer-update-worker/independent/independent-worker-probes.cjs +109 -0
  113. package/docs/reports/unified-9.0.21/raw/customer-update-worker/independent/node22.tap +86 -0
  114. package/docs/reports/unified-9.0.21/raw/customer-update-worker/independent/node24.tap +20 -0
  115. package/docs/reports/unified-9.0.21/raw/customer-update-worker/independent/probes-node22.tap +44 -0
  116. package/docs/reports/unified-9.0.21/raw/customer-update-worker/independent/probes-node24.tap +13 -0
  117. package/docs/reports/unified-9.0.21/raw/customer-update-worker/independent/receipt.json +89 -0
  118. package/docs/reports/unified-9.0.21/raw/customer-update-worker/receipt.json +42 -0
  119. package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-before-drain-catch-node22.log +1959 -0
  120. package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-before-drain-test-update-node22.log +1968 -0
  121. package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-before-drain-test-update-node24.log +337 -0
  122. package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-before-runtime-review-node22.log +1895 -0
  123. package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-before-runtime-review-node24.log +317 -0
  124. package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-final-node22.log +1959 -0
  125. package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-final-node24.log +327 -0
  126. package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-final-message-test-node22.log +36 -0
  127. package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-final-message-test-node24.log +28 -0
  128. package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-message-session-node22.log +36 -0
  129. package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-message-session-node24.log +28 -0
  130. package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-mqtt-command-replay-repro-node22.log +15 -0
  131. package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-mqtt-command-replay-repro-node24.log +13 -0
  132. package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-mqtt-shutdown-repro-node22.log +16 -0
  133. package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-mqtt-shutdown-repro-node24.log +14 -0
  134. package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-resources-node22.log +74 -0
  135. package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-resources-node24.log +46 -0
  136. package/docs/reports/unified-9.0.21/raw/device-mqtt/commands-before-drain-test-update.json +206 -0
  137. package/docs/reports/unified-9.0.21/raw/device-mqtt/commands-before-runtime-review.json +150 -0
  138. package/docs/reports/unified-9.0.21/raw/device-mqtt/commands-final.json +275 -0
  139. package/docs/reports/unified-9.0.21/raw/device-mqtt/commands.json +134 -0
  140. package/docs/reports/unified-9.0.21/raw/device-mqtt/env-node22.log +3 -0
  141. package/docs/reports/unified-9.0.21/raw/device-mqtt/env-node24.log +1 -0
  142. package/docs/reports/unified-9.0.21/raw/device-mqtt/lint-before-drain-test-update-node22.log +2 -0
  143. package/docs/reports/unified-9.0.21/raw/device-mqtt/lint-before-drain-test-update-node24.log +0 -0
  144. package/docs/reports/unified-9.0.21/raw/device-mqtt/lint-before-runtime-review-node22.log +2 -0
  145. package/docs/reports/unified-9.0.21/raw/device-mqtt/lint-before-runtime-review-node24.log +0 -0
  146. package/docs/reports/unified-9.0.21/raw/device-mqtt/lint-final-node22.log +2 -0
  147. package/docs/reports/unified-9.0.21/raw/device-mqtt/lint-final-node24.log +0 -0
  148. package/docs/reports/unified-9.0.21/raw/device-mqtt/mqtt-command-replay-repro.cjs +38 -0
  149. package/docs/reports/unified-9.0.21/raw/device-mqtt/mqtt-shutdown-repro.cjs +31 -0
  150. package/docs/reports/unified-9.0.21/raw/device-mqtt/regression-node22.log +322 -0
  151. package/docs/reports/unified-9.0.21/raw/device-mqtt/regression-node24.log +55 -0
  152. package/docs/reports/unified-9.0.21/raw/device-mqtt/run-evidence.py +23 -0
  153. package/docs/reports/unified-9.0.21/raw/device-mqtt/run-final-evidence.py +20 -0
  154. package/docs/reports/unified-9.0.21/raw/device-mqtt/runtime-lint-920.json +1 -0
  155. package/docs/reports/unified-9.0.21/raw/device-mqtt/runtime-lint-921.json +1 -0
  156. package/docs/reports/unified-9.0.21/raw/device-mqtt/source-hashes.json +16 -0
  157. package/docs/reports/unified-9.0.21/raw/device-mqtt/types-before-drain-test-update-node22.log +0 -0
  158. package/docs/reports/unified-9.0.21/raw/device-mqtt/types-before-drain-test-update-node24.log +0 -0
  159. package/docs/reports/unified-9.0.21/raw/device-mqtt/types-before-runtime-review-node22.log +0 -0
  160. package/docs/reports/unified-9.0.21/raw/device-mqtt/types-before-runtime-review-node24.log +0 -0
  161. package/docs/reports/unified-9.0.21/raw/device-mqtt/types-final-node22.log +0 -0
  162. package/docs/reports/unified-9.0.21/raw/device-mqtt/types-final-node24.log +0 -0
  163. package/docs/reports/unified-9.0.21/raw/ems/baseline-files-eslint.json +1 -0
  164. package/docs/reports/unified-9.0.21/raw/ems/changed-files-eslint.json +1 -0
  165. package/docs/reports/unified-9.0.21/raw/ems/engine.patch +38 -0
  166. package/docs/reports/unified-9.0.21/raw/ems/eslint-delta.json +6 -0
  167. package/docs/reports/unified-9.0.21/raw/ems/evidence.json +171 -0
  168. package/docs/reports/unified-9.0.21/raw/ems/farm-concurrency-baseline-node24.log +124 -0
  169. package/docs/reports/unified-9.0.21/raw/ems/farm-concurrency-node22.log +56 -0
  170. package/docs/reports/unified-9.0.21/raw/ems/farm-concurrency-node24.log +15 -0
  171. package/docs/reports/unified-9.0.21/raw/ems/farm-owned-methods.patch +133 -0
  172. package/docs/reports/unified-9.0.21/raw/ems/generated-regression-node22.log +460 -0
  173. package/docs/reports/unified-9.0.21/raw/ems/generated-regression-node24.log +82 -0
  174. package/docs/reports/unified-9.0.21/raw/ems/mqtt-final-frozen-node22.log +170 -0
  175. package/docs/reports/unified-9.0.21/raw/ems/mqtt-final-frozen-node24.log +33 -0
  176. package/docs/reports/unified-9.0.21/raw/ems/mqtt-final-review-node22.log +153 -0
  177. package/docs/reports/unified-9.0.21/raw/ems/mqtt-final-review-node24.log +39 -0
  178. package/docs/reports/unified-9.0.21/raw/ems/mqtt-final-reviewed-node22.log +170 -0
  179. package/docs/reports/unified-9.0.21/raw/ems/mqtt-final-reviewed-node24.log +33 -0
  180. package/docs/reports/unified-9.0.21/raw/ems/mqtt-queue-inheritance-before.log +28 -0
  181. package/docs/reports/unified-9.0.21/raw/ems/mqtt-runtime-review-baseline-node24.log +64 -0
  182. package/docs/reports/unified-9.0.21/raw/ems/mqtt-runtime-review-initial-timing.log +32 -0
  183. package/docs/reports/unified-9.0.21/raw/ems/mqtt-runtime-review-node22.log +44 -0
  184. package/docs/reports/unified-9.0.21/raw/ems/mqtt-runtime-review-node24.log +13 -0
  185. package/docs/reports/unified-9.0.21/raw/ems/mqtt-runtime-session-review.cjs +23 -0
  186. package/docs/reports/unified-9.0.21/raw/ems/mqtt-runtime-session-review.log +119 -0
  187. package/docs/reports/unified-9.0.21/raw/ems/nvp-baseline-node22.log +170 -0
  188. package/docs/reports/unified-9.0.21/raw/ems/nvp-baseline-node24.log +121 -0
  189. package/docs/reports/unified-9.0.21/raw/ems/nvp-node22.log +68 -0
  190. package/docs/reports/unified-9.0.21/raw/ems/nvp-node24.log +17 -0
  191. package/docs/reports/unified-9.0.21/raw/ems/ui-code-delta-inventory.json +32 -0
  192. package/docs/reports/unified-9.0.21/raw/ems/ui-docs-check.log +6 -0
  193. package/docs/reports/unified-9.0.21/raw/ems/ui-farm-fingerprint-moves.json +74 -0
  194. package/docs/reports/unified-9.0.21/raw/ems/ui-lint-policy-tests.log +6 -0
  195. package/docs/reports/unified-9.0.21/raw/ems/ui-lint-security-final-node22.log +5 -0
  196. package/docs/reports/unified-9.0.21/raw/ems/ui-lint-security-final-node24.log +8 -0
  197. package/docs/reports/unified-9.0.21/raw/ems/ui-lint-security-initial.log +6 -0
  198. package/docs/reports/unified-9.0.21/raw/ems/ui-main-full-delta.patch +135 -0
  199. package/docs/reports/unified-9.0.21/raw/ems/ui-reviewed-changes.json +93 -0
  200. package/docs/reports/unified-9.0.21/raw/ems/ui-reviewed-findings-before.json +3185 -0
  201. package/docs/reports/unified-9.0.21/raw/ems/ui-security-final-node22.json +28833 -0
  202. package/docs/reports/unified-9.0.21/raw/ems/ui-security-final-node24.json +28833 -0
  203. package/docs/reports/unified-9.0.21/raw/ems/ui-security-inventory-before.json +28991 -0
  204. package/docs/reports/unified-9.0.21/raw/ems/update-ui-reviewed-findings.cjs +59 -0
  205. package/docs/reports/unified-9.0.21/raw/frontend-build.log +152 -0
  206. package/docs/reports/unified-9.0.21/raw/frontend-build.result.json +14 -0
  207. package/docs/reports/unified-9.0.21/raw/frontend-installer-sbom.json +32 -0
  208. package/docs/reports/unified-9.0.21/raw/history/baseline920-influx-sequence-node24.log +12 -0
  209. package/docs/reports/unified-9.0.21/raw/history/baseline920-outage-node24.log +64 -0
  210. package/docs/reports/unified-9.0.21/raw/history/cra-tariff-source-node22.log +38 -0
  211. package/docs/reports/unified-9.0.21/raw/history/cra-tariff-source-node24.log +36 -0
  212. package/docs/reports/unified-9.0.21/raw/history/lint-baseline-comparison.json +83 -0
  213. package/docs/reports/unified-9.0.21/raw/history/lint-scope.cjs +29 -0
  214. package/docs/reports/unified-9.0.21/raw/history/regression-node22.log +438 -0
  215. package/docs/reports/unified-9.0.21/raw/history/regression-node24.log +75 -0
  216. package/docs/reports/unified-9.0.21/raw/history/results-node22.json +37 -0
  217. package/docs/reports/unified-9.0.21/raw/history/results-node24.json +66 -0
  218. package/docs/reports/unified-9.0.21/raw/history/run-checks.py +18 -0
  219. package/docs/reports/unified-9.0.21/raw/history/source-evidence.json +83 -0
  220. package/docs/reports/unified-9.0.21/raw/installer-build.log +26 -0
  221. package/docs/reports/unified-9.0.21/raw/installer-build.result.json +14 -0
  222. package/docs/reports/unified-9.0.21/raw/keygen-source.json +6 -0
  223. package/docs/reports/unified-9.0.21/raw/lint-final.log +16 -0
  224. package/docs/reports/unified-9.0.21/raw/lint-final.result.json +14 -0
  225. package/docs/reports/unified-9.0.21/raw/modules-build.log +5 -0
  226. package/docs/reports/unified-9.0.21/raw/modules-build.result.json +14 -0
  227. package/docs/reports/unified-9.0.21/raw/node22-tests-final.log +13274 -0
  228. package/docs/reports/unified-9.0.21/raw/node22-tests-final.result.json +13 -0
  229. package/docs/reports/unified-9.0.21/raw/node22-typecheck-final.log +7 -0
  230. package/docs/reports/unified-9.0.21/raw/node22-typecheck-final.result.json +14 -0
  231. package/docs/reports/unified-9.0.21/raw/node22-version.log +1 -0
  232. package/docs/reports/unified-9.0.21/raw/node24-tests-final.log +2223 -0
  233. package/docs/reports/unified-9.0.21/raw/node24-tests-final.result.json +13 -0
  234. package/docs/reports/unified-9.0.21/raw/node24-typecheck-final.log +5 -0
  235. package/docs/reports/unified-9.0.21/raw/node24-typecheck-final.result.json +14 -0
  236. package/docs/reports/unified-9.0.21/raw/node24-version.log +1 -0
  237. package/docs/reports/unified-9.0.21/raw/persistence/920-http-draft-revision-node24.log +50 -0
  238. package/docs/reports/unified-9.0.21/raw/persistence/920-late-commit-overwrite-node24.log +30 -0
  239. package/docs/reports/unified-9.0.21/raw/persistence/920-save-lifecycle-node24.log +59 -0
  240. package/docs/reports/unified-9.0.21/raw/persistence/921-backend-types.log +0 -0
  241. package/docs/reports/unified-9.0.21/raw/persistence/921-editor-lint.log +0 -0
  242. package/docs/reports/unified-9.0.21/raw/persistence/921-eebus-editor-typecheck.log +0 -0
  243. package/docs/reports/unified-9.0.21/raw/persistence/921-final-format-review.json +24 -0
  244. package/docs/reports/unified-9.0.21/raw/persistence/921-lint.log +0 -0
  245. package/docs/reports/unified-9.0.21/raw/persistence/921-new-update-http-before.log +177 -0
  246. package/docs/reports/unified-9.0.21/raw/persistence/921-new-update-snapshot-before.log +80 -0
  247. package/docs/reports/unified-9.0.21/raw/persistence/921-persistence-final-node22.log +1019 -0
  248. package/docs/reports/unified-9.0.21/raw/persistence/921-persistence-final-node22.receipt.json +28 -0
  249. package/docs/reports/unified-9.0.21/raw/persistence/921-persistence-final-node24.log +174 -0
  250. package/docs/reports/unified-9.0.21/raw/persistence/921-persistence-final-node24.receipt.json +28 -0
  251. package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-eslint-final.log +0 -0
  252. package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-final-node22.log +137 -0
  253. package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-final-node22.receipt.json +21 -0
  254. package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-final-node24.log +30 -0
  255. package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-final-node24.receipt.json +21 -0
  256. package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-strict-typecheck.log +0 -0
  257. package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-typecheck-final.log +0 -0
  258. package/docs/reports/unified-9.0.21/raw/persistence/http-slowbody-after.log +3 -0
  259. package/docs/reports/unified-9.0.21/raw/persistence/http-slowbody-before-observation.json +25 -0
  260. package/docs/reports/unified-9.0.21/raw/persistence/http-slowbody-repro.cjs +7 -0
  261. package/docs/reports/unified-9.0.21/raw/persistence/source-files.pre-final-format.sha256 +14 -0
  262. package/docs/reports/unified-9.0.21/raw/persistence/source-files.sha256 +14 -0
  263. package/docs/reports/unified-9.0.21/raw/release-overlay/obsolete-assets-920-added.json +94 -0
  264. package/docs/reports/unified-9.0.21/raw/release-overlay/publish-catalog-regression.log +49 -0
  265. package/docs/reports/unified-9.0.21/raw/release-overlay/publish-catalog-regression.result.json +15 -0
  266. package/docs/reports/unified-9.0.21/raw/sbom-runtime.log +7 -0
  267. package/docs/reports/unified-9.0.21/raw/sbom-runtime.result.json +14 -0
  268. package/docs/reports/unified-9.0.21/raw/sbom-vendor-check.log +1 -0
  269. package/docs/reports/unified-9.0.21/raw/sbom-vendor-check.result.json +14 -0
  270. package/docs/reports/unified-9.0.21/raw/security-stability/backend-typecheck.log +0 -0
  271. package/docs/reports/unified-9.0.21/raw/security-stability/boundaries-node22.tap +495 -0
  272. package/docs/reports/unified-9.0.21/raw/security-stability/boundaries-node24.tap +88 -0
  273. package/docs/reports/unified-9.0.21/raw/security-stability/coexistence-node22.tap +179 -0
  274. package/docs/reports/unified-9.0.21/raw/security-stability/coexistence-node24.tap +36 -0
  275. package/docs/reports/unified-9.0.21/raw/security-stability/results.json +118 -0
  276. package/docs/reports/unified-9.0.21/raw/security-stability/upload-admission-before-node22.tap +63 -0
  277. package/docs/reports/unified-9.0.21/raw/security-stability/upload-admission-before-node24.tap +47 -0
  278. package/docs/reports/unified-9.0.21/raw/security-stability/upload-lint.log +0 -0
  279. package/docs/reports/unified-9.0.21/raw/security-stability/upload-node22.tap +148 -0
  280. package/docs/reports/unified-9.0.21/raw/security-stability/upload-node24.tap +30 -0
  281. package/docs/reports/unified-9.0.21/raw/ui-docs-check.log +6 -0
  282. package/docs/reports/unified-9.0.21/raw/ui-docs-check.result.json +14 -0
  283. package/docs/reports/unified-9.0.21/raw/ui-runtime-final.log +7 -0
  284. package/docs/reports/unified-9.0.21/raw/ui-runtime-final.result.json +14 -0
  285. package/docs/reports/unified-9.0.21/raw/ui-runtime-sync.log +1 -0
  286. package/docs/reports/unified-9.0.21/raw/ui-runtime-sync.result.json +14 -0
  287. package/docs/reports/unified-9.0.21/raw/ui-sbom-check.log +6 -0
  288. package/docs/reports/unified-9.0.21/raw/ui-sbom-check.result.json +14 -0
  289. package/docs/reports/unified-9.0.21/raw/ui-sbom-final.log +6 -0
  290. package/docs/reports/unified-9.0.21/raw/ui-sbom-final.result.json +14 -0
  291. package/docs/reports/unified-9.0.21/raw/ui-secret-final.log +6 -0
  292. package/docs/reports/unified-9.0.21/raw/ui-secret-final.result.json +14 -0
  293. package/docs/reports/unified-9.0.21/raw/ui-security-final.log +8 -0
  294. package/docs/reports/unified-9.0.21/raw/ui-security-final.result.json +14 -0
  295. package/docs/reports/unified-9.0.21/raw/update-ui/baseline-ui.log +280 -0
  296. package/docs/reports/unified-9.0.21/raw/update-ui/browser-preview.test.cjs +170 -0
  297. package/docs/reports/unified-9.0.21/raw/update-ui/draft-regression.log +214 -0
  298. package/docs/reports/unified-9.0.21/raw/update-ui/eos-updates-before.ts +171 -0
  299. package/docs/reports/unified-9.0.21/raw/update-ui/lint.log +0 -0
  300. package/docs/reports/unified-9.0.21/raw/update-ui/results.json +90 -0
  301. package/docs/reports/unified-9.0.21/raw/update-ui/source-evidence.json +30 -0
  302. package/docs/reports/unified-9.0.21/raw/update-ui/type-node22.log +0 -0
  303. package/docs/reports/unified-9.0.21/raw/update-ui/type-node24.log +0 -0
  304. package/docs/reports/unified-9.0.21/raw/update-ui/ui-node22.log +98 -0
  305. package/docs/reports/unified-9.0.21/raw/update-ui/ui-node24.log +22 -0
  306. package/docs/reports/unified-9.0.22/BACKUP_POSTGRES_FOLLOWUP.md +44 -0
  307. package/docs/reports/unified-9.0.22/ENERGIEFLUSS_BROWSERPRUEFUNG.md +40 -0
  308. package/docs/reports/unified-9.0.22/ENERGY_FLOW_BACKEND.md +44 -0
  309. package/docs/reports/unified-9.0.22/FLOW_TARIFF_INDEPENDENT_REVIEW.md +33 -0
  310. package/docs/reports/unified-9.0.22/OCPP_STOP_WRITER_REVIEW.md +27 -0
  311. package/docs/reports/unified-9.0.22/POSTGRESQL_SYSTEM_SETUP.md +34 -0
  312. package/docs/reports/unified-9.0.22/PRUEFBERICHT.md +85 -0
  313. package/docs/reports/unified-9.0.22/flow/PRUEFVERMERK.md +42 -0
  314. package/docs/reports/unified-9.0.22/flow/frontend-cadence-tests.log +37 -0
  315. package/docs/reports/unified-9.0.22/flow/frontend-source-hashes.json +13 -0
  316. package/docs/reports/unified-9.0.22/flow/frontend-tests.log +31 -0
  317. package/docs/reports/unified-9.0.22/postgres-history-review.md +43 -0
  318. package/docs/reports/unified-9.0.22/postgres-real-review.tap +21 -0
  319. package/docs/reports/unified-9.0.22/postgres-review-lint.log +0 -0
  320. package/docs/reports/unified-9.0.22/postgres-review-typecheck.log +0 -0
  321. package/docs/reports/unified-9.0.22/postgres-review-unit-api.tap +25 -0
  322. package/docs/reports/unified-9.0.22/raw/INDEX.json +43 -0
  323. package/docs/reports/unified-9.0.22/raw/backup-followup/eslint-backup.log +0 -0
  324. package/docs/reports/unified-9.0.22/raw/backup-followup/evcs-stop-writer-after.tap +13 -0
  325. package/docs/reports/unified-9.0.22/raw/backup-followup/evcs-stop-writer-before.tap +54 -0
  326. package/docs/reports/unified-9.0.22/raw/backup-followup/evcs-stop-writer-test-eslint.log +0 -0
  327. package/docs/reports/unified-9.0.22/raw/backup-followup/influx-real-node24.tap +11 -0
  328. package/docs/reports/unified-9.0.22/raw/backup-followup/scope-hashes.json +51 -0
  329. package/docs/reports/unified-9.0.22/raw/backup-followup/storage-nullable-before.tap +96 -0
  330. package/docs/reports/unified-9.0.22/raw/backup-followup/storage-nullable-flow.tap +12 -0
  331. package/docs/reports/unified-9.0.22/raw/backup-followup/tests-node24.tap +116 -0
  332. package/docs/reports/unified-9.0.22/raw/backup-followup/typecheck-backup-scope.log +0 -0
  333. package/docs/reports/unified-9.0.22/raw/backup-followup/typecheck-backup.log +0 -0
  334. package/docs/reports/unified-9.0.22/raw/backup-followup/typecheck-postgres-setup.log +0 -0
  335. package/docs/reports/unified-9.0.22/raw/current/admin-build.log +152 -0
  336. package/docs/reports/unified-9.0.22/raw/current/availability-final.log +1 -0
  337. package/docs/reports/unified-9.0.22/raw/current/backend-build.log +5 -0
  338. package/docs/reports/unified-9.0.22/raw/current/baseline-repairs.log +60 -0
  339. package/docs/reports/unified-9.0.22/raw/current/baseline-unified.log +1675 -0
  340. package/docs/reports/unified-9.0.22/raw/current/combined-fixes.log +65 -0
  341. package/docs/reports/unified-9.0.22/raw/current/control-final.log +25 -0
  342. package/docs/reports/unified-9.0.22/raw/current/energyflow-browser.json +244 -0
  343. package/docs/reports/unified-9.0.22/raw/current/energyflow-browser.stderr +0 -0
  344. package/docs/reports/unified-9.0.22/raw/current/energyflow-cadence-browser.json +63 -0
  345. package/docs/reports/unified-9.0.22/raw/current/energyflow-cadence-browser.stderr +0 -0
  346. package/docs/reports/unified-9.0.22/raw/current/lint-final.log +5 -0
  347. package/docs/reports/unified-9.0.22/raw/current/lint.log +5 -0
  348. package/docs/reports/unified-9.0.22/raw/current/markdown-build.log +1 -0
  349. package/docs/reports/unified-9.0.22/raw/current/modules-build.log +5 -0
  350. package/docs/reports/unified-9.0.22/raw/current/pre-ocpp-full.log +2337 -0
  351. package/docs/reports/unified-9.0.22/raw/current/production-audit.json +22 -0
  352. package/docs/reports/unified-9.0.22/raw/current/production-audit.stderr +1 -0
  353. package/docs/reports/unified-9.0.22/raw/current/runtime-build-final.log +8 -0
  354. package/docs/reports/unified-9.0.22/raw/current/runtime-build.log +32 -0
  355. package/docs/reports/unified-9.0.22/raw/current/runtime-sync.log +1 -0
  356. package/docs/reports/unified-9.0.22/raw/current/safety-envelope-final.log +1 -0
  357. package/docs/reports/unified-9.0.22/raw/current/sbom-lock-graph.log +1 -0
  358. package/docs/reports/unified-9.0.22/raw/current/sbom.log +6120 -0
  359. package/docs/reports/unified-9.0.22/raw/current/station-permission-final.log +1 -0
  360. package/docs/reports/unified-9.0.22/raw/current/storage-feedforward-final.log +1 -0
  361. package/docs/reports/unified-9.0.22/raw/current/typecheck-final.log +5 -0
  362. package/docs/reports/unified-9.0.22/raw/current/typecheck.log +5 -0
  363. package/docs/reports/unified-9.0.22/raw/ems-control-points/eslint.txt +0 -0
  364. package/docs/reports/unified-9.0.22/raw/ems-control-points/node22-availability.txt +1 -0
  365. package/docs/reports/unified-9.0.22/raw/ems-control-points/node22-safety.txt +1 -0
  366. package/docs/reports/unified-9.0.22/raw/ems-control-points/node22-station.txt +1 -0
  367. package/docs/reports/unified-9.0.22/raw/ems-control-points/node22-tests.tap +124 -0
  368. package/docs/reports/unified-9.0.22/raw/ems-control-points/node24-availability.txt +1 -0
  369. package/docs/reports/unified-9.0.22/raw/ems-control-points/node24-safety.txt +1 -0
  370. package/docs/reports/unified-9.0.22/raw/ems-control-points/node24-station.txt +1 -0
  371. package/docs/reports/unified-9.0.22/raw/ems-control-points/node24-tests.tap +26 -0
  372. package/docs/reports/unified-9.0.22/raw/ems-control-points/typecheck.txt +0 -0
  373. package/docs/reports/unified-9.0.22/raw/flow-backend/core-pv-node22.tap +30 -0
  374. package/docs/reports/unified-9.0.22/raw/flow-backend/core-pv-node24.tap +11 -0
  375. package/docs/reports/unified-9.0.22/raw/flow-backend/environment.json +7 -0
  376. package/docs/reports/unified-9.0.22/raw/flow-backend/lint.log +0 -0
  377. package/docs/reports/unified-9.0.22/raw/flow-backend/node22.tap +164 -0
  378. package/docs/reports/unified-9.0.22/raw/flow-backend/node24.tap +33 -0
  379. package/docs/reports/unified-9.0.22/raw/flow-backend/typecheck.log +0 -0
  380. package/docs/reports/unified-9.0.22/raw/history-ui/browser-runtime.json +11 -0
  381. package/docs/reports/unified-9.0.22/raw/history-ui/browser-smoke.json +49 -0
  382. package/docs/reports/unified-9.0.22/raw/history-ui/browser-smoke.stderr +0 -0
  383. package/docs/reports/unified-9.0.22/raw/history-ui/build.log +18 -0
  384. package/docs/reports/unified-9.0.22/raw/history-ui/environment.json +38 -0
  385. package/docs/reports/unified-9.0.22/raw/history-ui/lint.log +0 -0
  386. package/docs/reports/unified-9.0.22/raw/history-ui/node22.tap +144 -0
  387. package/docs/reports/unified-9.0.22/raw/history-ui/node24.tap +30 -0
  388. package/docs/reports/unified-9.0.22/raw/node22-tests-final.log +14086 -0
  389. package/docs/reports/unified-9.0.22/raw/node22-version.log +1 -0
  390. package/docs/reports/unified-9.0.22/raw/node24-tests-final.log +2356 -0
  391. package/docs/reports/unified-9.0.22/raw/node24-version.log +1 -0
  392. package/docs/reports/unified-9.0.22/raw/postgresql-system/setup-eslint.log +0 -0
  393. package/docs/reports/unified-9.0.22/raw/postgresql-system/setup-node22.tap +72 -0
  394. package/docs/reports/unified-9.0.22/raw/postgresql-system/setup-node24.tap +70 -0
  395. package/docs/reports/unified-9.0.22/raw/postgresql-system/status-eslint.log +0 -0
  396. package/docs/reports/unified-9.0.22/raw/postgresql-system/typecheck.log +0 -0
  397. package/docs/reports/unified-9.0.23/MODULE_PROCESS_IMPLEMENTATION.md +43 -0
  398. package/docs/reports/unified-9.0.23/OCPP_0.4.3_ERGEBNIS.json +24 -0
  399. package/docs/reports/unified-9.0.23/OCPP_0.4.3_PRUEFBERICHT.md +50 -0
  400. package/docs/reports/unified-9.0.23/OCPP_AUTOMATISCHE_ZUORDNUNG.md +49 -0
  401. package/docs/reports/unified-9.0.23/OCPP_CM_INTEGRATION.md +31 -0
  402. package/docs/reports/unified-9.0.23/PROZESSDIAGNOSE.md +35 -0
  403. package/docs/reports/unified-9.0.23/PRUEFBERICHT.md +75 -0
  404. package/docs/reports/unified-9.0.23/UI_EMS_PROZESSGRENZE.md +36 -0
  405. package/docs/reports/unified-9.0.23/UI_PROCESS_INDEPENDENT_FOLLOWUP.md +33 -0
  406. package/docs/reports/unified-9.0.23/module-process-contract-review-node22.tap +86 -0
  407. package/docs/reports/unified-9.0.23/module-process-contract-review-node24.tap +20 -0
  408. package/docs/reports/unified-9.0.23/module-process-contract-review.md +39 -0
  409. package/docs/reports/unified-9.0.23/module-process-contract-review.tap +20 -0
  410. package/docs/reports/unified-9.0.23/module-process-final.tap +27 -0
  411. package/docs/reports/unified-9.0.23/module-process-static.json +57 -0
  412. package/docs/reports/unified-9.0.23/raw/INDEX.json +43 -0
  413. package/docs/reports/unified-9.0.23/raw/build-backend-final.log +5 -0
  414. package/docs/reports/unified-9.0.23/raw/build-frontend.log +152 -0
  415. package/docs/reports/unified-9.0.23/raw/build-installer.log +26 -0
  416. package/docs/reports/unified-9.0.23/raw/build-ui-final.log +7 -0
  417. package/docs/reports/unified-9.0.23/raw/current/evcs-stop-writer-ocpp043.txt +20 -0
  418. package/docs/reports/unified-9.0.23/raw/current/ocpp-runtime-feedback-lint.txt +1 -0
  419. package/docs/reports/unified-9.0.23/raw/current/ocpp-runtime-feedback-tests.txt +28 -0
  420. package/docs/reports/unified-9.0.23/raw/current/runtime-health-browser.json +49 -0
  421. package/docs/reports/unified-9.0.23/raw/current/runtime-health-browser.stderr.txt +0 -0
  422. package/docs/reports/unified-9.0.23/raw/current/runtime-health-lint.txt +1 -0
  423. package/docs/reports/unified-9.0.23/raw/current/runtime-health-tests.txt +27 -0
  424. package/docs/reports/unified-9.0.23/raw/current/runtime-health-types.txt +1 -0
  425. package/docs/reports/unified-9.0.23/raw/eos-production-audit.json +22 -0
  426. package/docs/reports/unified-9.0.23/raw/idle-pwa-node22.log +75 -0
  427. package/docs/reports/unified-9.0.23/raw/idle-pwa-node24.log +22 -0
  428. package/docs/reports/unified-9.0.23/raw/lint-final.log +5 -0
  429. package/docs/reports/unified-9.0.23/raw/node22-tests-final.log +14612 -0
  430. package/docs/reports/unified-9.0.23/raw/node22-version.log +1 -0
  431. package/docs/reports/unified-9.0.23/raw/node24-tests-final.log +2443 -0
  432. package/docs/reports/unified-9.0.23/raw/node24-version.log +1 -0
  433. package/docs/reports/unified-9.0.23/raw/ocpp-auto-discovery.log +21 -0
  434. package/docs/reports/unified-9.0.23/raw/ocpp-discovery-browser.json +55 -0
  435. package/docs/reports/unified-9.0.23/raw/ocpp-discovery-lifecycle-regression.log +48 -0
  436. package/docs/reports/unified-9.0.23/raw/ocpp-production-audit.json +69 -0
  437. package/docs/reports/unified-9.0.23/raw/typecheck-final.log +5 -0
  438. package/docs/reports/unified-9.0.23/raw/ui-process/discovery-review.tap +21 -0
  439. package/docs/reports/unified-9.0.23/raw/ui-process/lint.log +0 -0
  440. package/docs/reports/unified-9.0.23/raw/ui-process/node22.tap +118 -0
  441. package/docs/reports/unified-9.0.23/raw/ui-process/node24.tap +112 -0
  442. package/docs/reports/unified-9.0.23/raw/ui-process/root-typecheck.log +0 -0
  443. package/docs/reports/unified-9.0.23/raw/ui-process/typecheck.log +0 -0
  444. package/docs/reports/unified-9.0.23/raw/ui-process/unified-listen-build-node24.tap +196 -0
  445. package/docs/reports/unified-9.0.23/raw/ui-process/unified-listen-node22.tap +200 -0
  446. package/docs/reports/unified-9.0.23/raw/ui-process/web-lint.log +0 -0
  447. package/docs/reports/unified-9.0.23/raw/ui-process/web-pipeline-node22.tap +92 -0
  448. package/docs/reports/unified-9.0.23/raw/ui-process/web-pipeline-node24.tap +90 -0
  449. package/docs/reports/unified-9.0.23/ui-process-contract-review.md +30 -0
  450. package/docs/reports/unified-9.0.23/ui-process-final-review-node22.tap +50 -0
  451. package/docs/reports/unified-9.0.23/ui-process-final-review-node24.tap +14 -0
  452. package/docs/reports/unified-9.0.23/ui-process-followup-hashes.json +13 -0
  453. package/docs/reports/unified-9.0.23/ui-process-operational-review-node22.tap +30 -0
  454. package/docs/reports/unified-9.0.23/ui-process-operational-review-node24.tap +11 -0
  455. package/docs/reports/unified-9.0.23/ui-process-review-node22.tap +48 -0
  456. package/docs/reports/unified-9.0.23/ui-process-review-node24.tap +46 -0
  457. package/docs/reports/unified-9.0.24/BACKUP_INTEROP_PRUEFBERICHT.md +48 -0
  458. package/docs/reports/unified-9.0.24/KIOSK_FRONTEND_BROWSERPRUEFUNG.md +49 -0
  459. package/docs/reports/unified-9.0.24/KIOSK_UNABHAENGIGER_REVIEW.md +21 -0
  460. package/docs/reports/unified-9.0.24/OCPP_HOST_MIGRATION.md +41 -0
  461. package/docs/reports/unified-9.0.24/OCPP_NAMESPACE_REGELPFAD.md +55 -0
  462. package/docs/reports/unified-9.0.24/OCPP_UNABHAENGIGER_REVIEW.md +37 -0
  463. package/docs/reports/unified-9.0.24/OCPP_VERWALTUNG.md +33 -0
  464. package/docs/reports/unified-9.0.24/PRUEFBERICHT.md +54 -0
  465. package/docs/reports/unified-9.0.24/PUBLISH_OVERLAY_9_0_21.md +23 -0
  466. package/docs/reports/unified-9.0.24/raw/INDEX.json +43 -0
  467. package/docs/reports/unified-9.0.24/raw/backup-interop/ems-independence-node24.tap +9 -0
  468. package/docs/reports/unified-9.0.24/raw/backup-interop/final-node22.tap +175 -0
  469. package/docs/reports/unified-9.0.24/raw/backup-interop/final-node24.tap +35 -0
  470. package/docs/reports/unified-9.0.24/raw/backup-interop/focused-node22.tap +132 -0
  471. package/docs/reports/unified-9.0.24/raw/backup-interop/focused-node24.tap +27 -0
  472. package/docs/reports/unified-9.0.24/raw/backup-interop/kiosk-review-node24.tap +13 -0
  473. package/docs/reports/unified-9.0.24/raw/backup-interop/kiosk-update-snapshot-node24.tap +22 -0
  474. package/docs/reports/unified-9.0.24/raw/backup-interop/lint-source.txt +0 -0
  475. package/docs/reports/unified-9.0.24/raw/backup-interop/lint-tests.txt +0 -0
  476. package/docs/reports/unified-9.0.24/raw/backup-interop/ocpp-backup-node24.tap +10 -0
  477. package/docs/reports/unified-9.0.24/raw/backup-interop/own-source-hashes.json +12 -0
  478. package/docs/reports/unified-9.0.24/raw/backup-interop/types.txt +0 -0
  479. package/docs/reports/unified-9.0.24/raw/backup-interop/update-snapshot-node24.tap +20 -0
  480. package/docs/reports/unified-9.0.24/raw/build.log +200 -0
  481. package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-browser-node22.json +69 -0
  482. package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-browser-node22.stderr.txt +3 -0
  483. package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-browser.json +69 -0
  484. package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-browser.stderr.txt +2 -0
  485. package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-http-node22.txt +253 -0
  486. package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-http-node24.txt +52 -0
  487. package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-lint.txt +0 -0
  488. package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-types.txt +0 -0
  489. package/docs/reports/unified-9.0.24/raw/current/ocpp-lease-registration-before.txt +28 -0
  490. package/docs/reports/unified-9.0.24/raw/current/ocpp-namespace-independent-node22.txt +302 -0
  491. package/docs/reports/unified-9.0.24/raw/current/ocpp-namespace-independent-node24.txt +55 -0
  492. package/docs/reports/unified-9.0.24/raw/current/ocpp-native-generic-before.txt +25 -0
  493. package/docs/reports/unified-9.0.24/raw/current/runtime-health-browser.json +49 -0
  494. package/docs/reports/unified-9.0.24/raw/current/runtime-health-browser.stderr.txt +0 -0
  495. package/docs/reports/unified-9.0.24/raw/current/runtime-health-types.txt +0 -0
  496. package/docs/reports/unified-9.0.24/raw/eos-production-audit.json +77 -0
  497. package/docs/reports/unified-9.0.24/raw/kiosk-auth-profiles-node22.log +16 -0
  498. package/docs/reports/unified-9.0.24/raw/kiosk-auth-profiles-node24.log +14 -0
  499. package/docs/reports/unified-9.0.24/raw/kiosk-browser-node22.json +57 -0
  500. package/docs/reports/unified-9.0.24/raw/kiosk-browser-node24.json +57 -0
  501. package/docs/reports/unified-9.0.24/raw/kiosk-idle-node22.log +215 -0
  502. package/docs/reports/unified-9.0.24/raw/kiosk-idle-node24.log +42 -0
  503. package/docs/reports/unified-9.0.24/raw/lint.log +45 -0
  504. package/docs/reports/unified-9.0.24/raw/node22-tests-final.log +15517 -0
  505. package/docs/reports/unified-9.0.24/raw/node22-version.log +1 -0
  506. package/docs/reports/unified-9.0.24/raw/node24-tests-final.log +2595 -0
  507. package/docs/reports/unified-9.0.24/raw/node24-version.log +1 -0
  508. package/docs/reports/unified-9.0.24/raw/ocpp-host-node22.tap +105 -0
  509. package/docs/reports/unified-9.0.24/raw/ocpp-host-node24.tap +24 -0
  510. package/docs/reports/unified-9.0.24/raw/ocpp-host-regression-node22.tap +818 -0
  511. package/docs/reports/unified-9.0.24/raw/ocpp-host-regression-node24.tap +140 -0
  512. package/docs/reports/unified-9.0.24/raw/ocpp-hosted-mapping-browser.log +2 -0
  513. package/docs/reports/unified-9.0.24/raw/ocpp-legacy-mapping-browser.log +2 -0
  514. package/docs/reports/unified-9.0.24/raw/ocpp-namespace-control.log +49 -0
  515. package/docs/reports/unified-9.0.24/raw/publish-overlay-node22.tap +278 -0
  516. package/docs/reports/unified-9.0.24/raw/publish-overlay-node24.tap +52 -0
  517. package/docs/reports/unified-9.0.24/raw/publish-overlay-provenance-922-923.json +32 -0
  518. package/docs/reports/unified-9.0.24/raw/publish-overlay-provenance.json +19 -0
  519. package/docs/reports/unified-9.0.24/raw/typecheck.log +5 -0
  520. package/docs/reports/unified-9.0.25/MIGRATION_INDEPENDENT_REVIEW.md +74 -0
  521. package/docs/reports/unified-9.0.25/OCPP_STARTSPERRE_9.0.24.md +60 -0
  522. package/docs/reports/unified-9.0.25/PRUEFBERICHT.md +78 -0
  523. package/docs/reports/unified-9.0.25/RUNTIME_CONTROLS_BROWSERPRUEFUNG.md +81 -0
  524. package/docs/reports/unified-9.0.25/RUNTIME_CONTROL_BACKEND.md +58 -0
  525. package/docs/reports/unified-9.0.25/RUNTIME_CONTROL_INDEPENDENT_REVIEW.md +66 -0
  526. package/docs/reports/unified-9.0.25/RUNTIME_LOGIN_RECOVERY.md +32 -0
  527. package/docs/reports/unified-9.0.25/TARIFF_UPDATE_PERSISTENCE.md +50 -0
  528. package/docs/reports/unified-9.0.25/UI_CONFIG_COMMIT_ACK.md +51 -0
  529. package/docs/reports/unified-9.0.25/raw/BUILD_CHECKS.json +49 -0
  530. package/docs/reports/unified-9.0.25/raw/INDEX.json +43 -0
  531. package/docs/reports/unified-9.0.25/raw/SBOM_GENERATION.json +42 -0
  532. package/docs/reports/unified-9.0.25/raw/build-backend.log +5 -0
  533. package/docs/reports/unified-9.0.25/raw/build-frontend.log +152 -0
  534. package/docs/reports/unified-9.0.25/raw/build-installer.log +26 -0
  535. package/docs/reports/unified-9.0.25/raw/build-modules.log +5 -0
  536. package/docs/reports/unified-9.0.25/raw/build-ui-runtime.log +7 -0
  537. package/docs/reports/unified-9.0.25/raw/eos-production-audit.json +77 -0
  538. package/docs/reports/unified-9.0.25/raw/eos-production-audit.stderr +1 -0
  539. package/docs/reports/unified-9.0.25/raw/frontend-sbom.stderr +1 -0
  540. package/docs/reports/unified-9.0.25/raw/installer-sbom.stderr +1 -0
  541. package/docs/reports/unified-9.0.25/raw/lint.log +45 -0
  542. package/docs/reports/unified-9.0.25/raw/node22-tests-final.log +15879 -0
  543. package/docs/reports/unified-9.0.25/raw/node22-version.log +1 -0
  544. package/docs/reports/unified-9.0.25/raw/node24-tests-final.log +2653 -0
  545. package/docs/reports/unified-9.0.25/raw/node24-version.log +1 -0
  546. package/docs/reports/unified-9.0.25/raw/runtime-control-backend/runtime-control-backend-node22-final.tap +236 -0
  547. package/docs/reports/unified-9.0.25/raw/runtime-control-backend/runtime-control-backend-node24-final.tap +44 -0
  548. package/docs/reports/unified-9.0.25/raw/runtime-control-backend/source-sha256.json +19 -0
  549. package/docs/reports/unified-9.0.25/raw/runtime-controls/controls-node22.json +70 -0
  550. package/docs/reports/unified-9.0.25/raw/runtime-controls/controls-node24.json +70 -0
  551. package/docs/reports/unified-9.0.25/raw/runtime-controls/health-node22.json +49 -0
  552. package/docs/reports/unified-9.0.25/raw/runtime-controls/health-node24.json +49 -0
  553. package/docs/reports/unified-9.0.25/raw/runtime-controls/login-contract-node22.log +15 -0
  554. package/docs/reports/unified-9.0.25/raw/runtime-controls/login-contract-node24.log +15 -0
  555. package/docs/reports/unified-9.0.25/raw/runtime-controls/login-node22.json +32 -0
  556. package/docs/reports/unified-9.0.25/raw/runtime-controls/login-node24.json +32 -0
  557. package/docs/reports/unified-9.0.25/raw/runtime-login-recovery/node22.log +28 -0
  558. package/docs/reports/unified-9.0.25/raw/runtime-login-recovery/node24.log +10 -0
  559. package/docs/reports/unified-9.0.25/raw/runtime-login-recovery/route-regression-node24.log +28 -0
  560. package/docs/reports/unified-9.0.25/raw/runtime-login-recovery/source-sha256.json +6 -0
  561. package/docs/reports/unified-9.0.25/raw/runtime-processes/README.md +41 -0
  562. package/docs/reports/unified-9.0.25/raw/runtime-processes/runtime-control-processes-node22.tap +44 -0
  563. package/docs/reports/unified-9.0.25/raw/runtime-processes/runtime-control-processes-node24.tap +13 -0
  564. package/docs/reports/unified-9.0.25/raw/runtime-review/runtime-controls-and-ui-review-node22.tap +232 -0
  565. package/docs/reports/unified-9.0.25/raw/runtime-review/runtime-controls-and-ui-review-node24.tap +43 -0
  566. package/docs/reports/unified-9.0.25/raw/runtime-review/runtime-controls-review-node22.tap +68 -0
  567. package/docs/reports/unified-9.0.25/raw/runtime-review/runtime-controls-review-node24.tap +17 -0
  568. package/docs/reports/unified-9.0.25/raw/sbom-lock.log +1 -0
  569. package/docs/reports/unified-9.0.25/raw/sbom-lock.stderr +1 -0
  570. package/docs/reports/unified-9.0.25/raw/tariff-update/ack-node22.tap +44 -0
  571. package/docs/reports/unified-9.0.25/raw/tariff-update/ack-node24.tap +40 -0
  572. package/docs/reports/unified-9.0.25/raw/tariff-update/ack-review-node22.tap +44 -0
  573. package/docs/reports/unified-9.0.25/raw/tariff-update/ack-review-node24.tap +13 -0
  574. package/docs/reports/unified-9.0.25/raw/tariff-update/commit-ack-sha256.txt +4 -0
  575. package/docs/reports/unified-9.0.25/raw/tariff-update/config-ack-result.json +19 -0
  576. package/docs/reports/unified-9.0.25/raw/tariff-update/generate-921-fixture.cjs +36 -0
  577. package/docs/reports/unified-9.0.25/raw/tariff-update/node22.tap +68 -0
  578. package/docs/reports/unified-9.0.25/raw/tariff-update/node24.tap +64 -0
  579. package/docs/reports/unified-9.0.25/raw/tariff-update/reproduce-config-ack.cjs +55 -0
  580. package/docs/reports/unified-9.0.25/raw/tariff-update/reviewed-sha256.txt +4 -0
  581. package/docs/reports/unified-9.0.25/raw/typecheck.log +5 -0
  582. package/docs/unified/EMS_BEDIEN_DATENPUNKTE_9_0_22.md +51 -0
  583. package/docs/unified/HISTORY_UI_9_0_22.md +75 -0
  584. package/docs/unified/POSTGRESQL_9_0_22.md +89 -0
  585. package/io-package.json +20 -22
  586. package/modules/backup/README.md +10 -0
  587. package/modules/backup/RECOVERY-9.0.22.md +59 -0
  588. package/modules/backup/admin/index.html +2 -1
  589. package/modules/backup/admin/index.js +17 -1
  590. package/modules/backup/build/config.js +2 -0
  591. package/modules/backup/build/coverage.js +64 -0
  592. package/modules/backup/build/creators.js +22 -17
  593. package/modules/backup/build/databaseTargets.js +42 -0
  594. package/modules/backup/build/index.js +47 -4
  595. package/modules/backup/build/influxIntegrity.js +159 -0
  596. package/modules/backup/build/postgresHistory.js +91 -0
  597. package/modules/backup/build/preflight.js +3 -8
  598. package/modules/backup/build/publicTrust.js +46 -0
  599. package/modules/backup/build/restore-cli.js +72 -1
  600. package/modules/backup/build/storageRetention.js +26 -0
  601. package/modules/backup/build/worker.js +18 -1
  602. package/modules/backup/src/config.ts +2 -0
  603. package/modules/backup/src/coverage.ts +50 -0
  604. package/modules/backup/src/creators.ts +20 -17
  605. package/modules/backup/src/databaseTargets.ts +45 -0
  606. package/modules/backup/src/index.ts +37 -4
  607. package/modules/backup/src/influxIntegrity.ts +125 -0
  608. package/modules/backup/src/postgresHistory.ts +66 -0
  609. package/modules/backup/src/preflight.ts +3 -10
  610. package/modules/backup/src/publicTrust.ts +34 -0
  611. package/modules/backup/src/restore-cli.ts +55 -4
  612. package/modules/backup/src/storageRetention.ts +20 -0
  613. package/modules/backup/src/types.ts +5 -0
  614. package/modules/backup/src/worker.ts +18 -2
  615. package/modules/backup/test/completeness.test.cjs +193 -0
  616. package/modules/backup/test/hosted.test.cjs +43 -3
  617. package/modules/backup/test/influx-real.test.cjs +75 -0
  618. package/modules/backup/test/lifecycle.test.cjs +7 -5
  619. package/modules/backup/test/ocpp-coverage.test.cjs +152 -0
  620. package/modules/devices/admin/index.html +1 -1
  621. package/modules/eebus/admin/index.html +1 -1
  622. package/modules/ocpp/LICENSE +21 -0
  623. package/modules/ocpp/README.md +61 -0
  624. package/modules/ocpp/admin/config-fields.json +353 -0
  625. package/modules/ocpp/admin/index.html +52 -0
  626. package/modules/ocpp/admin/index.js +228 -0
  627. package/modules/ocpp/admin/style.css +27 -0
  628. package/modules/ocpp/build/index.js +401 -0
  629. package/modules/ocpp/build/operationGuard.js +26 -0
  630. package/modules/ocpp/build/server.js +155 -0
  631. package/modules/ocpp/eslint.config.mjs +13 -0
  632. package/modules/ocpp/index.js +3 -0
  633. package/modules/ocpp/native-defaults.json +44 -0
  634. package/modules/ocpp/ocpp/common.js +646 -0
  635. package/modules/ocpp/ocpp/compact.js +332 -0
  636. package/modules/ocpp/ocpp/configuration.js +364 -0
  637. package/modules/ocpp/ocpp/eos-contract.js +149 -0
  638. package/modules/ocpp/ocpp/freshness.d.ts +10 -0
  639. package/modules/ocpp/ocpp/freshness.js +272 -0
  640. package/modules/ocpp/ocpp/schemas/NOTICE.md +17 -0
  641. package/modules/ocpp/ocpp/schemas/ocpp2_0_1_official.json +1 -0
  642. package/modules/ocpp/ocpp/schemas/ocpp2_1_official.json +1 -0
  643. package/modules/ocpp/ocpp/server.js +3 -0
  644. package/modules/ocpp/ocpp/v16.js +213 -0
  645. package/modules/ocpp/ocpp/v201.js +4 -0
  646. package/modules/ocpp/ocpp/v21.js +4 -0
  647. package/modules/ocpp/ocpp/v2base.js +255 -0
  648. package/modules/ocpp/package.json +11 -0
  649. package/modules/ocpp/provenance.json +33 -0
  650. package/modules/ocpp/runtime.d.ts +16 -0
  651. package/modules/ocpp/runtime.js +3391 -0
  652. package/modules/ocpp/src/index.ts +463 -0
  653. package/modules/ocpp/src/operationGuard.ts +29 -0
  654. package/modules/ocpp/src/server.ts +193 -0
  655. package/modules/ocpp/test/configuration-runtime.test.js +786 -0
  656. package/modules/ocpp/test/core.test.js +772 -0
  657. package/modules/ocpp/test/eos-contract.test.js +67 -0
  658. package/modules/ocpp/test/hosted.test.cjs +165 -0
  659. package/modules/ocpp/tsconfig.json +7 -0
  660. package/modules/ocpp/validation/manifest.json +36 -0
  661. package/modules/ocpp/validation/node22-tests.log +525 -0
  662. package/modules/ocpp/validation/node24-tests.log +92 -0
  663. package/package.json +29 -11
  664. package/public/eos-migration/index.html +1 -1
  665. package/public/eos-migration/index.js +2 -2
  666. package/public/eos-runtime/index.html +36 -0
  667. package/public/eos-runtime/index.js +249 -0
  668. package/public/eos-runtime/style.css +27 -0
  669. package/release-manifests/unified/build-environment.cdx.json +767 -131
  670. package/release-manifests/unified/files.json +700 -214
  671. package/release-manifests/unified/frontend.cdx.json +6 -6
  672. package/release-manifests/unified/installer.cdx.json +6 -6
  673. package/release-manifests/unified/obsolete-admin-assets.json +292 -6
  674. package/release-manifests/unified/runtime.cdx.json +871 -143
  675. package/release-manifests/unified/validation.json +15 -15
  676. package/reports/unified/ocpp-pure-pv-9.0.22/PRUEFVERMERK.md +35 -0
  677. package/reports/unified/ocpp-pure-pv-9.0.22/raw/auto-pv-phases.log +1 -0
  678. package/reports/unified/ocpp-pure-pv-9.0.22/raw/control-tests.log +11 -0
  679. package/reports/unified/ocpp-pure-pv-9.0.22/raw/ocpp-stability.log +1 -0
  680. package/reports/unified/ocpp-pure-pv-9.0.22/raw/rc60.log +1 -0
  681. package/reports/unified/tariff-energy-flow-9.0.22/PRUEFVERMERK.md +44 -0
  682. package/reports/unified/tariff-energy-flow-9.0.22/raw/focused-tests.log +37 -0
  683. package/reports/unified/tariff-energy-flow-9.0.22/raw/grid-charge-policy.log +1 -0
  684. package/reports/unified/tariff-energy-flow-9.0.22/raw/status-truth.log +1 -0
  685. package/tools/eos-release-check.cjs +5 -0
  686. package/tools/eos-release-manifest.cjs +3 -3
  687. package/tools/eos-sbom-vendored.cjs +2 -1
  688. package/tools/system/eos-postgresql-setup.cjs +409 -0
  689. package/tsconfig.eos-history-backup-scope.json +9 -0
  690. package/tsconfig.eos-postgres-system.json +15 -0
  691. package/ui/admin/react/assets/index-wHWXfD_g.js +13 -0
  692. package/ui/admin/react/index.html +1 -1
  693. package/ui/ems/consumers/evcs.js +11 -7
  694. package/ui/ems/datapoints.js +14 -5
  695. package/ui/ems/engine.js +4 -1
  696. package/ui/ems/modules/charging-management.js +193 -63
  697. package/ui/ems/modules/core-limits.js +15 -20
  698. package/ui/ems/modules/storage-control.js +8 -6
  699. package/ui/ems/modules/tarif-vis.js +7 -2
  700. package/ui/ems/modules/tariff-status.js +19 -1
  701. package/ui/eslint.postgres-history.config.mjs +9 -0
  702. package/ui/io-package.json +5 -1
  703. package/ui/lib/ems-control-values.js +64 -0
  704. package/ui/lib/flow-measurement.js +72 -0
  705. package/ui/lib/hosted-adapter.js +12 -1
  706. package/ui/lib/influx-history-runtime.js +66 -24
  707. package/ui/lib/installer-lifecycle.js +4 -2
  708. package/ui/lib/ocpp-auto-discovery.js +397 -0
  709. package/ui/lib/ocpp-limit-feedback.js +166 -0
  710. package/ui/lib/partner-runtime.js +35 -2
  711. package/ui/lib/partner-websocket.js +4 -1
  712. package/ui/lib/postgres-history-config.js +57 -0
  713. package/ui/lib/postgres-history.js +344 -0
  714. package/ui/lib/runtime-proxy-html.js +34 -1
  715. package/ui/lib/smarthome-device-controls.js +4 -1
  716. package/ui/lib/ui-access-policy.js +39 -6
  717. package/ui/main.js +392 -222
  718. package/ui/package.json +1 -1
  719. package/ui/tsconfig.postgres-history.json +4 -0
  720. package/ui/www/app.js +106 -152
  721. package/ui/www/auth.js +36 -10
  722. package/ui/www/charging-diagnostics-appcenter.js +1 -0
  723. package/ui/www/customer-tariff.js +1 -0
  724. package/ui/www/dashboard-lp-status.js +1 -0
  725. package/ui/www/dc-station-display.js +1 -0
  726. package/ui/www/ems-apps.js +48 -8
  727. package/ui/www/energy-origin-appcenter.js +1 -0
  728. package/ui/www/energy-origin-ledger-view.js +1 -0
  729. package/ui/www/eos-kiosk-settings.js +174 -0
  730. package/ui/www/eos-session-idle.js +40 -6
  731. package/ui/www/eos-updates.js +1 -0
  732. package/ui/www/index.html +2 -1
  733. package/ui/www/license.js +1 -0
  734. package/ui/www/licenses/smarthome-markdown-components.json +157 -157
  735. package/ui/www/live-display.js +4 -2
  736. package/ui/www/login.js +25 -9
  737. package/ui/www/manifest.webmanifest +3 -3
  738. package/ui/www/netoperator-appcenter.js +1 -0
  739. package/ui/www/netoperator.js +1 -0
  740. package/ui/www/operating-strategies-appcenter.js +1 -0
  741. package/ui/www/operating-strategies-rule-builder.js +1 -0
  742. package/ui/www/power-measurements.js +27 -2
  743. package/ui/www/pwa.js +1 -0
  744. package/ui/www/runtime-base.js +1 -0
  745. package/ui/www/settings.html +13 -1
  746. package/ui/www/smarthome-activation.js +1 -0
  747. package/ui/www/smarthome-alias-config.js +1 -0
  748. package/ui/www/smarthome-custom-config.js +1 -0
  749. package/ui/www/smarthome-custom-views.js +1 -0
  750. package/ui/www/smarthome-device-categories.js +1 -0
  751. package/ui/www/smarthome-device-config.js +1 -0
  752. package/ui/www/smarthome-device-controls.js +1 -0
  753. package/ui/www/smarthome-feedback.js +1 -0
  754. package/ui/www/smarthome-layout-editor.js +1 -0
  755. package/ui/www/smarthome-presentation.js +1 -0
  756. package/ui/www/smarthome-setup.js +1 -0
  757. package/ui/www/smarthome-touch.js +1 -0
  758. package/ui/www/storagefarm-dispatch.js +1 -0
  759. package/ui/www/storagefarm-summary.js +1 -0
  760. package/ui/www/tariff-display.js +62 -2
  761. package/adminWww/remoteEntry-eos-9.0.21.js +0 -12
  762. package/ui/admin/react/assets/index-BJO3q7oe.js +0 -13
@@ -0,0 +1,443 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const node_http_1 = require("node:http");
4
+ const node_perf_hooks_1 = require("node:perf_hooks");
5
+ const node_module_1 = require("node:module");
6
+ const eosUiSecretCodec_1 = require("./eosUiSecretCodec");
7
+ const eosUiProcessRpc_1 = require("./eosUiProcessRpc");
8
+ const runtimeRequire = (0, node_module_1.createRequire)(__filename);
9
+ let rpc = null;
10
+ let runtime = null;
11
+ let server = null;
12
+ let stopping = false;
13
+ let initialized = false;
14
+ let leaseAt = 0;
15
+ let leaseSequence = 0;
16
+ let authority = {};
17
+ let heartbeat = null;
18
+ const timers = new Set();
19
+ const requests = new WeakMap();
20
+ const reservations = new Map();
21
+ let reservationId = 0;
22
+ function call(method, args = []) {
23
+ return rpc ? rpc.call(method, args) : Promise.reject((0, eosUiProcessRpc_1.processError)('EOS_UI_PROCESS_DISCONNECTED'));
24
+ }
25
+ function notify(method, args = []) {
26
+ try {
27
+ rpc?.notify(method, args);
28
+ }
29
+ catch {
30
+ fail();
31
+ }
32
+ }
33
+ function canWrite() {
34
+ return !stopping && node_perf_hooks_1.performance.now() - leaseAt <= 3000 && authority.canWrite === true;
35
+ }
36
+ function updateAuthority(value) {
37
+ if (stopping ||
38
+ !Number.isSafeInteger(value.sequence) ||
39
+ Number(value.sequence) <= leaseSequence ||
40
+ typeof value.expiresAt !== 'number' ||
41
+ value.expiresAt <= Date.now() ||
42
+ value.expiresAt > Date.now() + 3500) {
43
+ return;
44
+ }
45
+ authority = value;
46
+ leaseSequence = Number(value.sequence);
47
+ // A queued lease retains its original age instead of being renewed on delivery.
48
+ leaseAt = node_perf_hooks_1.performance.now() - Math.max(0, 3000 - (value.expiresAt - Date.now()));
49
+ }
50
+ function fail() {
51
+ stopping = true;
52
+ authority = {};
53
+ for (const timer of timers) {
54
+ clearTimeout(timer);
55
+ }
56
+ // Parent death leaves no orphan regulator, TCP listener or periodic hardware operation.
57
+ process.exitCode = 1;
58
+ process.exit(1);
59
+ }
60
+ function localId(namespace, id) {
61
+ if (typeof id !== 'string' || id.length > 512) {
62
+ throw (0, eosUiProcessRpc_1.processError)('EOS_UI_PROCESS_STATE_ID');
63
+ }
64
+ return id.startsWith(`${namespace}.`) ? id : `${namespace}.${id}`;
65
+ }
66
+ function makeOwner(input) {
67
+ const namespace = String(input.namespace);
68
+ const config = (0, eosUiProcessRpc_1.processRecord)(input.config) ? input.config : {};
69
+ const migration = (0, eosUiProcessRpc_1.processRecord)(config.eosUiMigration) ? config.eosUiMigration : {};
70
+ const uiNamespace = migration.preserveNamespace === true &&
71
+ typeof migration.source === 'string' &&
72
+ /^nexowatt-ui\.\d+$/.test(migration.source)
73
+ ? migration.source
74
+ : namespace;
75
+ // Only fixed protected configuration stores receive a longer commit ACK
76
+ // window. In particular, ack:true alone is never sufficient for a state.
77
+ const configStateIds = new Set([
78
+ `${uiNamespace}.installer.configJson`,
79
+ `${uiNamespace}.simulation.backupConfigJson`,
80
+ '0_userdata.0.nexowattVis.backupJson',
81
+ '0_userdata.0.nexowattVis.backupJsonPrev',
82
+ ]);
83
+ const configCommit = (method, args) => {
84
+ if (method === 'saveUi') {
85
+ return true;
86
+ }
87
+ if (typeof args[0] !== 'string' || !configStateIds.has(args[0])) {
88
+ return false;
89
+ }
90
+ if (['setForeignObjectAsync', 'setForeignObjectNotExistsAsync', 'extendForeignObjectAsync'].includes(method)) {
91
+ return true;
92
+ }
93
+ return (['setForeignStateAsync', 'setForeignStateChangedAsync'].includes(method) &&
94
+ (0, eosUiProcessRpc_1.processRecord)(args[1]) &&
95
+ args[1].ack === true &&
96
+ typeof args[1].val === 'string');
97
+ };
98
+ const owner = {
99
+ namespace,
100
+ instance: input.instance,
101
+ name: 'eos-admin',
102
+ config: input.config,
103
+ };
104
+ const invoke = (method, args) => {
105
+ const mutating = /^(?:set|extend|del)/.test(method) ||
106
+ method === 'saveUi' ||
107
+ (method === 'sendTo' && args[1] !== 'getHistory');
108
+ if (mutating && !canWrite()) {
109
+ return Promise.reject((0, eosUiProcessRpc_1.processError)('EOS_UI_PROCESS_WRITE_FENCED'));
110
+ }
111
+ if (!rpc) {
112
+ return Promise.reject((0, eosUiProcessRpc_1.processError)('EOS_UI_PROCESS_DISCONNECTED'));
113
+ }
114
+ const committing = configCommit(method, args);
115
+ // Admission stays at two seconds for every mutation, including config.
116
+ // Await a timely admitted config commit instead of falsely reporting a
117
+ // rollback after two seconds while its controller write still completes.
118
+ return rpc
119
+ .call(`owner.${method}`, args, committing || !mutating ? 30_000 : 2000, mutating ? 2000 : 30_000)
120
+ .catch((error) => {
121
+ if (committing && error instanceof Error && error.message === 'EOS_UI_PROCESS_TIMEOUT') {
122
+ // Completion is unknown: do not continue regulating with stale
123
+ // in-memory configuration. Parent pendingWrites blocks a new
124
+ // generation until the accepted controller work has settled.
125
+ fail();
126
+ }
127
+ throw error;
128
+ });
129
+ };
130
+ for (const name of eosUiProcessRpc_1.UI_OWNER_ASYNC) {
131
+ owner[name] = (...args) => invoke(name, args);
132
+ if (!name.endsWith('Async')) {
133
+ continue;
134
+ }
135
+ const callbackName = name.slice(0, -5);
136
+ owner[callbackName] = (...args) => {
137
+ const callback = typeof args.at(-1) === 'function' ? args.pop() : undefined;
138
+ const result = invoke(name, args);
139
+ if (typeof callback === 'function') {
140
+ void result.then(value => callback(null, value), error => callback(error));
141
+ return undefined;
142
+ }
143
+ void result.catch(() => undefined);
144
+ return result;
145
+ };
146
+ }
147
+ for (const [name, foreign] of eosUiProcessRpc_1.UI_OWNER_LOCAL) {
148
+ for (const suffix of ['', 'Async']) {
149
+ owner[`${name}${suffix}`] = (id, ...args) => {
150
+ const method = owner[`${foreign}${suffix}`];
151
+ if (typeof method !== 'function') {
152
+ throw (0, eosUiProcessRpc_1.processError)('EOS_UI_PROCESS_OWNER_API');
153
+ }
154
+ const absolute = Array.isArray(id) ? id.map(item => localId(namespace, item)) : localId(namespace, id);
155
+ return Reflect.apply(method, owner, [absolute, ...args]);
156
+ };
157
+ }
158
+ }
159
+ owner.eosMigration = { saveUi: (config) => invoke('saveUi', [config]) };
160
+ owner.log = Object.fromEntries(['error', 'warn', 'info', 'debug', 'silly'].map(level => [
161
+ level,
162
+ (message) => notify('log', [
163
+ level === 'silly' ? 'debug' : level,
164
+ (0, eosUiProcessRpc_1.sanitizeUiProcessLog)(message, {
165
+ config: owner.config,
166
+ secret: input.secret,
167
+ apiKey: process.env.NEXOWATT_OPEN_METEO_API_KEY,
168
+ }),
169
+ ]),
170
+ ]));
171
+ owner.setTimeout = (callback, ms, ...args) => {
172
+ if (stopping ||
173
+ typeof callback !== 'function' ||
174
+ typeof ms !== 'number' ||
175
+ !Number.isFinite(ms) ||
176
+ timers.size >= 4096) {
177
+ throw (0, eosUiProcessRpc_1.processError)('EOS_UI_PROCESS_TIMER_LIMIT');
178
+ }
179
+ const timer = setTimeout(() => {
180
+ timers.delete(timer);
181
+ if (!stopping) {
182
+ Reflect.apply(callback, undefined, args);
183
+ }
184
+ }, ms);
185
+ timers.add(timer);
186
+ return timer;
187
+ };
188
+ owner.setInterval = (callback, ms, ...args) => {
189
+ if (stopping ||
190
+ typeof callback !== 'function' ||
191
+ typeof ms !== 'number' ||
192
+ !Number.isFinite(ms) ||
193
+ ms < 1 ||
194
+ timers.size >= 4096) {
195
+ throw (0, eosUiProcessRpc_1.processError)('EOS_UI_PROCESS_TIMER_LIMIT');
196
+ }
197
+ const timer = setInterval(() => {
198
+ if (!stopping) {
199
+ Reflect.apply(callback, undefined, args);
200
+ }
201
+ }, ms);
202
+ timers.add(timer);
203
+ return timer;
204
+ };
205
+ owner.clearTimeout = owner.clearInterval = (timer) => {
206
+ timers.delete(timer);
207
+ clearTimeout(timer);
208
+ };
209
+ owner.sendTo = (...args) => {
210
+ const callback = typeof args.at(-1) === 'function' ? args.pop() : undefined;
211
+ const result = invoke('sendTo', args);
212
+ if (typeof callback === 'function') {
213
+ void result.then(value => callback(value), () => callback({ error: 'EOS_UI_PROCESS_CALL_FAILED' }));
214
+ return undefined;
215
+ }
216
+ void result.catch(() => undefined);
217
+ return result;
218
+ };
219
+ owner.checkPassword = (...args) => {
220
+ const callback = args.pop();
221
+ if (typeof callback !== 'function') {
222
+ throw (0, eosUiProcessRpc_1.processError)('EOS_UI_PROCESS_CALLBACK_REQUIRED');
223
+ }
224
+ void invoke('checkPassword', args).then(value => {
225
+ if (Array.isArray(value)) {
226
+ callback(...value);
227
+ }
228
+ else {
229
+ callback(false);
230
+ }
231
+ }, () => callback(false));
232
+ };
233
+ const codec = (0, eosUiSecretCodec_1.createUiSecretCodec)(input.secret);
234
+ owner.encrypt = codec.encrypt;
235
+ owner.decrypt = codec.decrypt;
236
+ return owner;
237
+ }
238
+ const bridge = {
239
+ getLicense: () => authority.license,
240
+ getRuntimeReadiness: () => authority.readiness,
241
+ canWrite,
242
+ isListening: () => !stopping && authority.listening === true && node_perf_hooks_1.performance.now() - leaseAt <= 3000,
243
+ resolveAccess: (req) => {
244
+ const context = requests.get(req);
245
+ return context
246
+ ? call('request.access', [context.nonce])
247
+ : Promise.reject((0, eosUiProcessRpc_1.processError)('EOS_UI_PROCESS_REQUEST_EXPIRED'));
248
+ },
249
+ originAllowed: (req) => requests.get(req)?.context.originAllowed === true,
250
+ machineRequestAllowed: (req) => requests.get(req)?.context.machineAllowed === true,
251
+ deviceEmsPlan: (input) => call('bridge.deviceEmsPlan', [input]),
252
+ deviceEmsConfigChanged: () => notify('bridge.deviceEmsConfigChanged'),
253
+ resolveDeviceProfileReferences: (input) => call('bridge.resolveDeviceProfileReferences', [input]),
254
+ hostedModuleFeedback: (input) => call('bridge.hostedModuleFeedback', [input]),
255
+ };
256
+ async function initialize(input) {
257
+ if (stopping ||
258
+ initialized ||
259
+ !(0, eosUiProcessRpc_1.processRecord)(input) ||
260
+ typeof input.namespace !== 'string' ||
261
+ !/^eos-admin\.\d+$/.test(input.namespace) ||
262
+ typeof input.runtimePath !== 'string' ||
263
+ !(0, eosUiProcessRpc_1.processRecord)(input.snapshot)) {
264
+ throw (0, eosUiProcessRpc_1.processError)('EOS_UI_PROCESS_INITIALIZATION');
265
+ }
266
+ initialized = true;
267
+ updateAuthority(input.snapshot);
268
+ const factory = runtimeRequire(input.runtimePath);
269
+ if (!(0, eosUiProcessRpc_1.processRecord)(factory) || typeof factory.createHostedRuntime !== 'function') {
270
+ throw (0, eosUiProcessRpc_1.processError)('EOS_UI_FACTORY_MISSING');
271
+ }
272
+ heartbeat = setInterval(() => {
273
+ if (stopping) {
274
+ return;
275
+ }
276
+ if (node_perf_hooks_1.performance.now() - leaseAt > 10_000) {
277
+ fail();
278
+ return;
279
+ }
280
+ notify('health', [runtime?.status() || {}]);
281
+ }, 500);
282
+ heartbeat.unref();
283
+ try {
284
+ const system = await call('owner.getForeignObjectAsync', ['system.config']);
285
+ if ((0, eosUiProcessRpc_1.processRecord)(system) && (0, eosUiProcessRpc_1.processRecord)(system.native)) {
286
+ input.secret = system.native.secret;
287
+ }
288
+ }
289
+ catch {
290
+ /* Shell stays available; encrypted history configuration fails closed without its key. */
291
+ }
292
+ if (stopping) {
293
+ throw (0, eosUiProcessRpc_1.processError)('EOS_UI_PROCESS_STOPPED');
294
+ }
295
+ runtime = Reflect.apply(factory.createHostedRuntime, undefined, [makeOwner(input), bridge]);
296
+ await runtime.start();
297
+ if (stopping) {
298
+ throw (0, eosUiProcessRpc_1.processError)('EOS_UI_PROCESS_STOPPED');
299
+ }
300
+ server = (0, node_http_1.createServer)((req, res) => {
301
+ const nonce = req.headers['x-eos-process-context'];
302
+ delete req.headers['x-eos-process-context'];
303
+ if (stopping || typeof nonce !== 'string' || !/^[0-9a-f]{48}$/.test(nonce)) {
304
+ res.writeHead(403);
305
+ res.end();
306
+ return;
307
+ }
308
+ void call('request.context', [nonce, req.method, req.url]).then(value => {
309
+ if (!(0, eosUiProcessRpc_1.processRecord)(value) || !runtime || stopping) {
310
+ res.writeHead(503);
311
+ res.end();
312
+ return;
313
+ }
314
+ requests.set(req, { nonce, context: value });
315
+ Object.defineProperty(req.socket, 'remoteAddress', {
316
+ value: typeof value.remoteAddress === 'string' ? value.remoteAddress : '',
317
+ configurable: true,
318
+ });
319
+ if (value.encrypted === true) {
320
+ Object.defineProperty(req.socket, 'encrypted', { value: true, configurable: true });
321
+ }
322
+ runtime.handle(req, res, error => {
323
+ if (res.headersSent) {
324
+ if (error) {
325
+ res.destroy();
326
+ }
327
+ else {
328
+ res.end();
329
+ }
330
+ return;
331
+ }
332
+ res.writeHead(error ? 500 : 404, error ? {} : { 'x-eos-process-fallthrough': '1' });
333
+ res.end();
334
+ });
335
+ }, () => {
336
+ res.writeHead(403);
337
+ res.end();
338
+ });
339
+ });
340
+ server.maxHeadersCount = 100;
341
+ server.maxConnections = 512;
342
+ server.headersTimeout = 15_000;
343
+ server.requestTimeout = 30_000;
344
+ await new Promise((resolve, reject) => {
345
+ server?.once('error', reject);
346
+ server?.listen(0, '127.0.0.1', resolve);
347
+ });
348
+ notify('health', [runtime.status()]);
349
+ const address = server.address();
350
+ if (!address || typeof address === 'string' || address.address !== '127.0.0.1') {
351
+ throw (0, eosUiProcessRpc_1.processError)('EOS_UI_PROCESS_HTTP_UNAVAILABLE');
352
+ }
353
+ return { port: address.port };
354
+ }
355
+ async function dispatch(method, args) {
356
+ if (method === 'initialize') {
357
+ return initialize(args[0]);
358
+ }
359
+ if (method === 'stop') {
360
+ stopping = true;
361
+ authority = {};
362
+ if (heartbeat) {
363
+ clearInterval(heartbeat);
364
+ }
365
+ for (const timer of timers) {
366
+ clearTimeout(timer);
367
+ }
368
+ timers.clear();
369
+ server?.close();
370
+ server?.closeAllConnections();
371
+ for (const release of reservations.values()) {
372
+ release();
373
+ }
374
+ reservations.clear();
375
+ await runtime?.stop();
376
+ return undefined;
377
+ }
378
+ if (!runtime || stopping) {
379
+ throw (0, eosUiProcessRpc_1.processError)('EOS_UI_PROCESS_UNAVAILABLE');
380
+ }
381
+ if (method === 'startOperational') {
382
+ return runtime.startOperational();
383
+ }
384
+ if (method === 'getHistoryBackupRequirement') {
385
+ return runtime.getHistoryBackupRequirement();
386
+ }
387
+ if (method === 'reconcileDeviceEms') {
388
+ return runtime.reconcileDeviceEms(args[0]);
389
+ }
390
+ if (method === 'onHostedEebusMessage') {
391
+ return runtime.onHostedEebusMessage(args[0]);
392
+ }
393
+ if (method === 'onMessage') {
394
+ return runtime.onMessage(args[0]);
395
+ }
396
+ if (method === 'reserveDeviceProfileChange') {
397
+ if (reservations.size >= 32) {
398
+ throw (0, eosUiProcessRpc_1.processError)('EOS_UI_PROCESS_RESERVATION_LIMIT');
399
+ }
400
+ const id = ++reservationId;
401
+ const release = await runtime.reserveDeviceProfileChange(args[0]);
402
+ reservations.set(id, release);
403
+ return id;
404
+ }
405
+ if (method === 'releaseDeviceProfileChange' && typeof args[0] === 'number') {
406
+ reservations.get(args[0])?.();
407
+ reservations.delete(args[0]);
408
+ return undefined;
409
+ }
410
+ throw (0, eosUiProcessRpc_1.processError)('EOS_UI_PROCESS_METHOD_DENIED');
411
+ }
412
+ function event(method, args) {
413
+ if (method === 'lease' && (0, eosUiProcessRpc_1.processRecord)(args[0]) && !stopping) {
414
+ updateAuthority(args[0]);
415
+ return;
416
+ }
417
+ if (!runtime || stopping) {
418
+ return;
419
+ }
420
+ if (method === 'onStateChange' && typeof args[0] === 'string') {
421
+ return runtime.onStateChange?.(args[0], args[1]);
422
+ }
423
+ if (method === 'onObjectChange' && typeof args[0] === 'string') {
424
+ return runtime.onObjectChange?.(args[0], args[1]);
425
+ }
426
+ if (method === 'revokeSessions') {
427
+ runtime.revokeSessions?.();
428
+ }
429
+ }
430
+ process.once('message', (message) => {
431
+ if (!(0, eosUiProcessRpc_1.processRecord)(message) ||
432
+ message.kind !== 'bootstrap' ||
433
+ typeof message.generation !== 'string' ||
434
+ !/^[0-9a-f]{48}$/.test(message.generation)) {
435
+ fail();
436
+ return;
437
+ }
438
+ rpc = new eosUiProcessRpc_1.UiProcessRpc(process, message.generation, dispatch, event, fail);
439
+ });
440
+ process.once('disconnect', fail);
441
+ process.once('SIGTERM', fail);
442
+ process.once('SIGINT', fail);
443
+ //# sourceMappingURL=eosUiProcessWorker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eosUiProcessWorker.js","sourceRoot":"./src/","sources":["lib/eosUiProcessWorker.ts"],"names":[],"mappings":";;AAEA,yCAAiG;AACjG,qDAA8C;AAC9C,6CAA4C;AAC5C,yDAAyD;AACzD,uDAO2B;AAE3B,MAAM,cAAc,GAAG,IAAA,2BAAa,EAAC,UAAU,CAAC,CAAC;AAgBjD,IAAI,GAAG,GAAwB,IAAI,CAAC;AACpC,IAAI,OAAO,GAAmB,IAAI,CAAC;AACnC,IA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EAAE,KAAK,EAAE,IAAI,CAAC,CAAC;AAC1G,CAAC,CAAC,CAAC;AACH,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC;AACjC,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC9B,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC"}
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createUiSecretCodec = createUiSecretCodec;
4
+ /** Copyright (c) 2026 NexoWatt. Proprietary; see LICENSE. */
5
+ const node_crypto_1 = require("node:crypto");
6
+ /**
7
+ * Wire-compatible with ioBroker js-controller-common-db tools.encrypt/decrypt.
8
+ * Preserve its existing AES-192-CBC envelope and legacy XOR migration format;
9
+ * no new credential format is introduced by the process boundary.
10
+ * Compatibility is checked bidirectionally against the installed controller SDK.
11
+ */
12
+ function createUiSecretCodec(secret) {
13
+ const input = (value, maxCharacters) => {
14
+ if (typeof secret !== 'string' ||
15
+ !secret ||
16
+ secret.length > 4096 ||
17
+ typeof value !== 'string' ||
18
+ value.length > maxCharacters) {
19
+ throw new Error('EOS_UI_PROCESS_SECRET_UNAVAILABLE');
20
+ }
21
+ return { key: secret, value };
22
+ };
23
+ const legacy = (key, value) => {
24
+ let result = '';
25
+ for (let index = 0; index < value.length; index++) {
26
+ result += String.fromCharCode(value.charCodeAt(index) ^ key.charCodeAt(index % key.length));
27
+ }
28
+ return result;
29
+ };
30
+ return {
31
+ encrypt(value) {
32
+ const checked = input(value, 65536);
33
+ if (Buffer.byteLength(checked.value, 'utf8') > 65536) {
34
+ throw new Error('EOS_UI_PROCESS_SECRET_INVALID');
35
+ }
36
+ if (!/^[0-9a-f]{48}$/.test(checked.key)) {
37
+ return legacy(checked.key, checked.value);
38
+ }
39
+ const iv = (0, node_crypto_1.randomBytes)(16);
40
+ const cipher = (0, node_crypto_1.createCipheriv)('aes-192-cbc', Buffer.from(checked.key, 'hex'), iv);
41
+ const encrypted = Buffer.concat([cipher.update(checked.value), cipher.final()]);
42
+ return `$/aes-192-cbc:${iv.toString('hex')}:${encrypted.toString('hex')}`;
43
+ },
44
+ decrypt(value) {
45
+ // AES ciphertext is hex plus one padded block and its existing envelope.
46
+ const checked = input(value, 131200);
47
+ if (!checked.value.startsWith('$/aes-192-cbc:') || !/^[0-9a-f]{48}$/.test(checked.key)) {
48
+ return legacy(checked.key, checked.value);
49
+ }
50
+ const parts = checked.value.split(':', 3);
51
+ const iv = parts[1];
52
+ const ciphertext = parts[2];
53
+ if (typeof iv !== 'string' ||
54
+ typeof ciphertext !== 'string' ||
55
+ !/^[0-9a-f]{32}$/i.test(iv) ||
56
+ !/^(?:[0-9a-f]{32})+$/i.test(ciphertext)) {
57
+ throw new Error('EOS_UI_PROCESS_SECRET_INVALID');
58
+ }
59
+ const decipher = (0, node_crypto_1.createDecipheriv)('aes-192-cbc', Buffer.from(checked.key, 'hex'), Buffer.from(iv, 'hex'));
60
+ return Buffer.concat([decipher.update(Buffer.from(ciphertext, 'hex')), decipher.final()]).toString();
61
+ },
62
+ };
63
+ }
64
+ //# sourceMappingURL=eosUiSecretCodec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eosUiSecretCodec.js","sourceRoot":"./src/","sources":["lib/eosUiSecretCodec.ts"],"names":[],"mappings":";;AASA,kDA0DC;AAnED,6DAA6D;AAC7D,6CAA4E;AAE5E;;;;;GAKG;AACH,SAAgB,mBAAmB,CAAC,MAAe;IAI/C,MAAM,KAAK,GAAG,CAAC,KAAc,EAAE,aAAqB,EAAkC,EAAE;QACpF,IACI,OAAO,MAAM,KAAK,QAAQ;YAC1B,CAAC,MAAM;YACP,MAAM,CAAC,MAAM,GAAG,IAAI;YACpB,OAAO,KAAK,KAAK,QAAQ;YACzB,KAAK,CAAC,MAAM,GAAG,aAAa,EAC9B,CAAC;YACC,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAA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I,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,EAAE,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;QACzG,CAAC;KACJ,CAAC;AACN,CAAC"}
@@ -97,6 +97,8 @@ class UnifiedSessions {
97
97
  this.origin = publicOrigin(options.externalOrigin);
98
98
  this.secret = randomBytes(32);
99
99
  this.rates = new Map();
100
+ this.kiosk = null;
101
+ this.kioskRequests = new WeakSet();
100
102
  }
101
103
  originAllowed(req) {
102
104
  return sameOrigin(req, this.origin, this.options.secure);
@@ -125,7 +127,7 @@ class UnifiedSessions {
125
127
  }
126
128
  csrfAllowed(req) {
127
129
  const supplied = req.headers['x-nw-csrf'];
128
- const expected = this.csrf(req);
130
+ const expected = this.kioskRequests.has(req) ? this.kiosk?.csrf(req) || '' : this.csrf(req);
129
131
  return (this.originAllowed(req) &&
130
132
  typeof supplied === 'string' &&
131
133
  /^[a-f0-9]{64}$/.test(supplied) &&
@@ -141,7 +143,12 @@ class UnifiedSessions {
141
143
  return { ...value, csrfToken: value.authenticated ? this.csrf(req) : '' };
142
144
  }
143
145
  async idle(req) {
144
- return this.idleView(req, await this.readSession(req));
146
+ const normal = this.idleView(req, await this.readSession(req));
147
+ if (normal.authenticated) {
148
+ return { ...normal, kiosk: false, kioskEnabled: this.kiosk?.view().enabled === true };
149
+ }
150
+ const kiosk = this.requestAllowed(req) ? await this.kiosk?.access(req) : null;
151
+ return kiosk || { ...normal, kiosk: false, kioskEnabled: this.kiosk?.view().enabled === true };
145
152
  }
146
153
  async activity(req, res) {
147
154
  res.setHeader('Cache-Control', 'no-store');
@@ -174,15 +181,32 @@ class UnifiedSessions {
174
181
  return res.status(200).json({ ...status, expired: !status.authenticated });
175
182
  }
176
183
  /** @returns {Promise<boolean>} */
177
- bindStream(req, res) {
184
+ async bindStream(req, res) {
185
+ const access = await this.status(req);
186
+ if (access.kiosk === true) {
187
+ return this.kiosk?.bindStream(req, res) === true;
188
+ }
178
189
  return this.adapter.eosSessionSecurity.bindStream(readAccessToken(req), res);
179
190
  }
180
191
  async status(req) {
192
+ this.kioskRequests.delete(req);
193
+ const normal = await this.accountStatus(req);
194
+ const enabled = this.kiosk?.view().enabled === true;
195
+ if (!normal.authenticated && enabled && this.requestAllowed(req)) {
196
+ const kiosk = await this.kiosk.access(req);
197
+ if (kiosk) {
198
+ this.kioskRequests.add(req);
199
+ return kiosk;
200
+ }
201
+ }
202
+ return { ...normal, kiosk: false, kioskEnabled: enabled };
203
+ }
204
+ async accountStatus(req) {
181
205
  const access = await this.options.resolveAccess(req);
182
206
  const first = access.userId ? await this.options.firstLogin(access.userId, access.role) : { required: false };
183
207
  const license = this.options.getLicense();
184
208
  // Recheck after asynchronous role/password reads; req.user is not a lasting session proof.
185
- const idle = await this.idle(req);
209
+ const idle = this.idleView(req, await this.readSession(req));
186
210
  const authenticated = !!access.userId && idle.authenticated;
187
211
  const role = authenticated ? (access.role === 'enduser' ? 'customer' : access.role) : 'none';
188
212
  const activationRequired = authenticated && (!license?.valid || license?.coreEnabled !== true);