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.
- package/NEXOWATT_EOS_BUILD_INFO.json +17 -11
- package/README.md +37 -9
- package/START_HIER_9.0.21.md +53 -0
- package/START_HIER_9.0.22.md +48 -0
- package/START_HIER_9.0.23.md +47 -0
- package/START_HIER_9.0.24.md +70 -0
- package/START_HIER_9.0.25.md +60 -0
- package/adminWww/.vite/manifest.json +55 -55
- package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +13760 -13760
- package/adminWww/assets/{AdapterUpdateDialog-Dxl_b7Op.js → AdapterUpdateDialog-CLDpmxDx.js} +1 -1
- package/adminWww/assets/{Adapters-CVKKhXmI.js → Adapters-BCGeX2v7.js} +1 -1
- package/adminWww/assets/{ConfigManager-Bf6nTAkL.js → ConfigManager-B_sJf5_w.js} +1 -1
- package/adminWww/assets/{Enums-CJHVJY7t.js → Enums-D3n1pOtc.js} +1 -1
- package/adminWww/assets/{Fields-DWHbZKvm.js → Fields-Bdx5gPoT.js} +1 -1
- package/adminWww/assets/{Files-a6owMTXA.js → Files-BPK84lYU.js} +1 -1
- package/adminWww/assets/{Hosts-LtEMeXpV.js → Hosts--Jr6oLf2.js} +1 -1
- package/adminWww/assets/{Instances-DhChziA1.js → Instances-DxTOzFus.js} +1 -1
- package/adminWww/assets/{Intro-Cyq9gVDC.js → Intro-CYBGeZtu.js} +1 -1
- package/adminWww/assets/{Logs-wcramXsg.js → Logs-CVNC-4S8.js} +1 -1
- package/adminWww/assets/{Objects-DINVHd_e.js → Objects-Cqm9Rvym.js} +1 -1
- package/adminWww/assets/{Overview-DK4R41zR.js → Overview-JgjcHwlz.js} +1 -1
- package/adminWww/assets/{State-DcEACXzL.js → State-BV14HSwZ.js} +1 -1
- package/adminWww/assets/{UsedResources-C1LcM0Rb.js → UsedResources-Dz48WzEF.js} +1 -1
- package/adminWww/assets/{Users-DvDdSyDY.js → Users-D19YlRCD.js} +1 -1
- package/adminWww/assets/{bootstrap-Dbj_GbnP.js → bootstrap-a7POLSDr.js} +4 -4
- package/adminWww/assets/{hostInit-BNFIx0-f.js → hostInit-keGjwsZR.js} +1 -1
- package/adminWww/assets/{icons-material-DVbdXNgr.js → icons-material-Omb_HCfb.js} +1 -1
- package/adminWww/assets/{index-CoKP1NSA.js → index-DqPrQK7T.js} +2 -2
- package/adminWww/assets/{installSVGRenderer-CMvku1F1.js → installSVGRenderer-iWfLFoQU.js} +1 -1
- package/adminWww/assets/{mf-entry-bootstrap-0-ac330bce.js → mf-entry-bootstrap-0-2a856bb6.js} +2 -2
- package/adminWww/index.html +23 -23
- package/adminWww/mf-manifest.json +1 -1
- package/adminWww/mf-stats.json +1 -1
- package/adminWww/remoteEntry-eos-9.0.25.js +12 -0
- package/adminWww/remoteEntry.js +1 -1
- package/build/lib/eosHistoryBackupScope.js +73 -0
- package/build/lib/eosHistoryBackupScope.js.map +1 -0
- package/build/lib/eosKiosk.js +348 -0
- package/build/lib/eosKiosk.js.map +1 -0
- package/build/lib/eosLegacyMigration.js +24 -3
- package/build/lib/eosLegacyMigration.js.map +1 -1
- package/build/lib/eosLicenseService.js +1 -1
- package/build/lib/eosLicenseService.js.map +1 -1
- package/build/lib/eosModuleConfigStore.js +2 -2
- package/build/lib/eosModuleConfigStore.js.map +1 -1
- package/build/lib/eosModuleHost.js +289 -25
- package/build/lib/eosModuleHost.js.map +1 -1
- package/build/lib/eosModuleHttp.js +71 -8
- package/build/lib/eosModuleHttp.js.map +1 -1
- package/build/lib/eosModuleProcess.js +317 -0
- package/build/lib/eosModuleProcess.js.map +1 -0
- package/build/lib/eosModuleProcessProtocol.js +213 -0
- package/build/lib/eosModuleProcessProtocol.js.map +1 -0
- package/build/lib/eosModuleProcessWorker.js +279 -0
- package/build/lib/eosModuleProcessWorker.js.map +1 -0
- package/build/lib/eosPostgresProvisioning.js +189 -0
- package/build/lib/eosPostgresProvisioning.js.map +1 -0
- package/build/lib/eosRuntimeControl.js +224 -0
- package/build/lib/eosRuntimeControl.js.map +1 -0
- package/build/lib/eosRuntimeHealth.js +170 -0
- package/build/lib/eosRuntimeHealth.js.map +1 -0
- package/build/lib/eosUiProcess.js +728 -0
- package/build/lib/eosUiProcess.js.map +1 -0
- package/build/lib/eosUiProcessRpc.js +292 -0
- package/build/lib/eosUiProcessRpc.js.map +1 -0
- package/build/lib/eosUiProcessWorker.js +443 -0
- package/build/lib/eosUiProcessWorker.js.map +1 -0
- package/build/lib/eosUiSecretCodec.js +64 -0
- package/build/lib/eosUiSecretCodec.js.map +1 -0
- package/build/lib/eosUnifiedBoundary.js +28 -4
- package/build/lib/eosUnifiedBoundary.js.map +1 -1
- package/build/lib/eosUpdateSnapshot.js +32 -1
- package/build/lib/eosUpdateSnapshot.js.map +1 -1
- package/build/lib/web.js +175 -18
- package/build/lib/web.js.map +1 -1
- package/build/main.js +6 -2
- package/build/main.js.map +1 -1
- package/docs/reports/unified-9.0.21/CRA_NACHWEISSTAND.md +159 -0
- package/docs/reports/unified-9.0.21/CUSTOMER_UPDATE_BACKEND_REVIEW.md +30 -0
- package/docs/reports/unified-9.0.21/CUSTOMER_UPDATE_UI_REVIEW.md +44 -0
- package/docs/reports/unified-9.0.21/CUSTOMER_UPDATE_WORKER_REVIEW.md +147 -0
- package/docs/reports/unified-9.0.21/CUSTOMER_WORKER_ZWEITPRUEFUNG.md +108 -0
- package/docs/reports/unified-9.0.21/DEVICE_STABILITY_REVIEW.md +50 -0
- package/docs/reports/unified-9.0.21/EMS_STABILITAET.md +41 -0
- package/docs/reports/unified-9.0.21/HISTORY_TARIFF_STABILITY_REVIEW.md +48 -0
- package/docs/reports/unified-9.0.21/MQTT_ZWEITPRUEFUNG_EMS.md +47 -0
- package/docs/reports/unified-9.0.21/PERSISTENZ_STABILITAET.md +76 -0
- package/docs/reports/unified-9.0.21/PRUEFBERICHT.md +64 -0
- package/docs/reports/unified-9.0.21/SECURITY_STABILITY_REVIEW.md +118 -0
- package/docs/reports/unified-9.0.21/UI_SECURITY_GATE_REVIEW.md +62 -0
- package/docs/reports/unified-9.0.21/UPDATE_HTTP_SNAPSHOT_PRUEFUNG.md +46 -0
- package/docs/reports/unified-9.0.21/raw/INDEX.json +1307 -0
- package/docs/reports/unified-9.0.21/raw/audit-full.log +345 -0
- package/docs/reports/unified-9.0.21/raw/audit-full.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/audit-runtime.log +23 -0
- package/docs/reports/unified-9.0.21/raw/audit-runtime.result.json +15 -0
- package/docs/reports/unified-9.0.21/raw/backend-final.log +5 -0
- package/docs/reports/unified-9.0.21/raw/backend-final.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/cra/frontend-installer-sbom.json +32 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-glue/root-glue-focused-node24.tap +34 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-service/lint.log +0 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-service/real920-archive-inspection.json +20 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-service/service-node22.log +110 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-service/service-node24.log +24 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-service/service-verification.json +54 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-service/typecheck.log +0 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/customer-worker-lint.log +0 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/customer-worker-node22.tap +86 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/customer-worker-node24.tap +20 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/customer-worker-strict-typecheck.log +0 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/customer-worker-typecheck.log +0 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/independent/independent-worker-probes.cjs +109 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/independent/node22.tap +86 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/independent/node24.tap +20 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/independent/probes-node22.tap +44 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/independent/probes-node24.tap +13 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/independent/receipt.json +89 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/receipt.json +42 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-before-drain-catch-node22.log +1959 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-before-drain-test-update-node22.log +1968 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-before-drain-test-update-node24.log +337 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-before-runtime-review-node22.log +1895 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-before-runtime-review-node24.log +317 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-final-node22.log +1959 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-final-node24.log +327 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-final-message-test-node22.log +36 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-final-message-test-node24.log +28 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-message-session-node22.log +36 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-message-session-node24.log +28 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-mqtt-command-replay-repro-node22.log +15 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-mqtt-command-replay-repro-node24.log +13 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-mqtt-shutdown-repro-node22.log +16 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-mqtt-shutdown-repro-node24.log +14 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-resources-node22.log +74 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-resources-node24.log +46 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/commands-before-drain-test-update.json +206 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/commands-before-runtime-review.json +150 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/commands-final.json +275 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/commands.json +134 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/env-node22.log +3 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/env-node24.log +1 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/lint-before-drain-test-update-node22.log +2 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/lint-before-drain-test-update-node24.log +0 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/lint-before-runtime-review-node22.log +2 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/lint-before-runtime-review-node24.log +0 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/lint-final-node22.log +2 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/lint-final-node24.log +0 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/mqtt-command-replay-repro.cjs +38 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/mqtt-shutdown-repro.cjs +31 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/regression-node22.log +322 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/regression-node24.log +55 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/run-evidence.py +23 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/run-final-evidence.py +20 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/runtime-lint-920.json +1 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/runtime-lint-921.json +1 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/source-hashes.json +16 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/types-before-drain-test-update-node22.log +0 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/types-before-drain-test-update-node24.log +0 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/types-before-runtime-review-node22.log +0 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/types-before-runtime-review-node24.log +0 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/types-final-node22.log +0 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/types-final-node24.log +0 -0
- package/docs/reports/unified-9.0.21/raw/ems/baseline-files-eslint.json +1 -0
- package/docs/reports/unified-9.0.21/raw/ems/changed-files-eslint.json +1 -0
- package/docs/reports/unified-9.0.21/raw/ems/engine.patch +38 -0
- package/docs/reports/unified-9.0.21/raw/ems/eslint-delta.json +6 -0
- package/docs/reports/unified-9.0.21/raw/ems/evidence.json +171 -0
- package/docs/reports/unified-9.0.21/raw/ems/farm-concurrency-baseline-node24.log +124 -0
- package/docs/reports/unified-9.0.21/raw/ems/farm-concurrency-node22.log +56 -0
- package/docs/reports/unified-9.0.21/raw/ems/farm-concurrency-node24.log +15 -0
- package/docs/reports/unified-9.0.21/raw/ems/farm-owned-methods.patch +133 -0
- package/docs/reports/unified-9.0.21/raw/ems/generated-regression-node22.log +460 -0
- package/docs/reports/unified-9.0.21/raw/ems/generated-regression-node24.log +82 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-final-frozen-node22.log +170 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-final-frozen-node24.log +33 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-final-review-node22.log +153 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-final-review-node24.log +39 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-final-reviewed-node22.log +170 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-final-reviewed-node24.log +33 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-queue-inheritance-before.log +28 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-runtime-review-baseline-node24.log +64 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-runtime-review-initial-timing.log +32 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-runtime-review-node22.log +44 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-runtime-review-node24.log +13 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-runtime-session-review.cjs +23 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-runtime-session-review.log +119 -0
- package/docs/reports/unified-9.0.21/raw/ems/nvp-baseline-node22.log +170 -0
- package/docs/reports/unified-9.0.21/raw/ems/nvp-baseline-node24.log +121 -0
- package/docs/reports/unified-9.0.21/raw/ems/nvp-node22.log +68 -0
- package/docs/reports/unified-9.0.21/raw/ems/nvp-node24.log +17 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-code-delta-inventory.json +32 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-docs-check.log +6 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-farm-fingerprint-moves.json +74 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-lint-policy-tests.log +6 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-lint-security-final-node22.log +5 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-lint-security-final-node24.log +8 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-lint-security-initial.log +6 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-main-full-delta.patch +135 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-reviewed-changes.json +93 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-reviewed-findings-before.json +3185 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-security-final-node22.json +28833 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-security-final-node24.json +28833 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-security-inventory-before.json +28991 -0
- package/docs/reports/unified-9.0.21/raw/ems/update-ui-reviewed-findings.cjs +59 -0
- package/docs/reports/unified-9.0.21/raw/frontend-build.log +152 -0
- package/docs/reports/unified-9.0.21/raw/frontend-build.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/frontend-installer-sbom.json +32 -0
- package/docs/reports/unified-9.0.21/raw/history/baseline920-influx-sequence-node24.log +12 -0
- package/docs/reports/unified-9.0.21/raw/history/baseline920-outage-node24.log +64 -0
- package/docs/reports/unified-9.0.21/raw/history/cra-tariff-source-node22.log +38 -0
- package/docs/reports/unified-9.0.21/raw/history/cra-tariff-source-node24.log +36 -0
- package/docs/reports/unified-9.0.21/raw/history/lint-baseline-comparison.json +83 -0
- package/docs/reports/unified-9.0.21/raw/history/lint-scope.cjs +29 -0
- package/docs/reports/unified-9.0.21/raw/history/regression-node22.log +438 -0
- package/docs/reports/unified-9.0.21/raw/history/regression-node24.log +75 -0
- package/docs/reports/unified-9.0.21/raw/history/results-node22.json +37 -0
- package/docs/reports/unified-9.0.21/raw/history/results-node24.json +66 -0
- package/docs/reports/unified-9.0.21/raw/history/run-checks.py +18 -0
- package/docs/reports/unified-9.0.21/raw/history/source-evidence.json +83 -0
- package/docs/reports/unified-9.0.21/raw/installer-build.log +26 -0
- package/docs/reports/unified-9.0.21/raw/installer-build.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/keygen-source.json +6 -0
- package/docs/reports/unified-9.0.21/raw/lint-final.log +16 -0
- package/docs/reports/unified-9.0.21/raw/lint-final.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/modules-build.log +5 -0
- package/docs/reports/unified-9.0.21/raw/modules-build.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/node22-tests-final.log +13274 -0
- package/docs/reports/unified-9.0.21/raw/node22-tests-final.result.json +13 -0
- package/docs/reports/unified-9.0.21/raw/node22-typecheck-final.log +7 -0
- package/docs/reports/unified-9.0.21/raw/node22-typecheck-final.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.21/raw/node24-tests-final.log +2223 -0
- package/docs/reports/unified-9.0.21/raw/node24-tests-final.result.json +13 -0
- package/docs/reports/unified-9.0.21/raw/node24-typecheck-final.log +5 -0
- package/docs/reports/unified-9.0.21/raw/node24-typecheck-final.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.21/raw/persistence/920-http-draft-revision-node24.log +50 -0
- package/docs/reports/unified-9.0.21/raw/persistence/920-late-commit-overwrite-node24.log +30 -0
- package/docs/reports/unified-9.0.21/raw/persistence/920-save-lifecycle-node24.log +59 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-backend-types.log +0 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-editor-lint.log +0 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-eebus-editor-typecheck.log +0 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-final-format-review.json +24 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-lint.log +0 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-new-update-http-before.log +177 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-new-update-snapshot-before.log +80 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-persistence-final-node22.log +1019 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-persistence-final-node22.receipt.json +28 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-persistence-final-node24.log +174 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-persistence-final-node24.receipt.json +28 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-eslint-final.log +0 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-final-node22.log +137 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-final-node22.receipt.json +21 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-final-node24.log +30 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-final-node24.receipt.json +21 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-strict-typecheck.log +0 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-typecheck-final.log +0 -0
- package/docs/reports/unified-9.0.21/raw/persistence/http-slowbody-after.log +3 -0
- package/docs/reports/unified-9.0.21/raw/persistence/http-slowbody-before-observation.json +25 -0
- package/docs/reports/unified-9.0.21/raw/persistence/http-slowbody-repro.cjs +7 -0
- package/docs/reports/unified-9.0.21/raw/persistence/source-files.pre-final-format.sha256 +14 -0
- package/docs/reports/unified-9.0.21/raw/persistence/source-files.sha256 +14 -0
- package/docs/reports/unified-9.0.21/raw/release-overlay/obsolete-assets-920-added.json +94 -0
- package/docs/reports/unified-9.0.21/raw/release-overlay/publish-catalog-regression.log +49 -0
- package/docs/reports/unified-9.0.21/raw/release-overlay/publish-catalog-regression.result.json +15 -0
- package/docs/reports/unified-9.0.21/raw/sbom-runtime.log +7 -0
- package/docs/reports/unified-9.0.21/raw/sbom-runtime.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/sbom-vendor-check.log +1 -0
- package/docs/reports/unified-9.0.21/raw/sbom-vendor-check.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/backend-typecheck.log +0 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/boundaries-node22.tap +495 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/boundaries-node24.tap +88 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/coexistence-node22.tap +179 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/coexistence-node24.tap +36 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/results.json +118 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/upload-admission-before-node22.tap +63 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/upload-admission-before-node24.tap +47 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/upload-lint.log +0 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/upload-node22.tap +148 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/upload-node24.tap +30 -0
- package/docs/reports/unified-9.0.21/raw/ui-docs-check.log +6 -0
- package/docs/reports/unified-9.0.21/raw/ui-docs-check.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/ui-runtime-final.log +7 -0
- package/docs/reports/unified-9.0.21/raw/ui-runtime-final.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/ui-runtime-sync.log +1 -0
- package/docs/reports/unified-9.0.21/raw/ui-runtime-sync.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/ui-sbom-check.log +6 -0
- package/docs/reports/unified-9.0.21/raw/ui-sbom-check.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/ui-sbom-final.log +6 -0
- package/docs/reports/unified-9.0.21/raw/ui-sbom-final.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/ui-secret-final.log +6 -0
- package/docs/reports/unified-9.0.21/raw/ui-secret-final.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/ui-security-final.log +8 -0
- package/docs/reports/unified-9.0.21/raw/ui-security-final.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/baseline-ui.log +280 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/browser-preview.test.cjs +170 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/draft-regression.log +214 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/eos-updates-before.ts +171 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/lint.log +0 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/results.json +90 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/source-evidence.json +30 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/type-node22.log +0 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/type-node24.log +0 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/ui-node22.log +98 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/ui-node24.log +22 -0
- package/docs/reports/unified-9.0.22/BACKUP_POSTGRES_FOLLOWUP.md +44 -0
- package/docs/reports/unified-9.0.22/ENERGIEFLUSS_BROWSERPRUEFUNG.md +40 -0
- package/docs/reports/unified-9.0.22/ENERGY_FLOW_BACKEND.md +44 -0
- package/docs/reports/unified-9.0.22/FLOW_TARIFF_INDEPENDENT_REVIEW.md +33 -0
- package/docs/reports/unified-9.0.22/OCPP_STOP_WRITER_REVIEW.md +27 -0
- package/docs/reports/unified-9.0.22/POSTGRESQL_SYSTEM_SETUP.md +34 -0
- package/docs/reports/unified-9.0.22/PRUEFBERICHT.md +85 -0
- package/docs/reports/unified-9.0.22/flow/PRUEFVERMERK.md +42 -0
- package/docs/reports/unified-9.0.22/flow/frontend-cadence-tests.log +37 -0
- package/docs/reports/unified-9.0.22/flow/frontend-source-hashes.json +13 -0
- package/docs/reports/unified-9.0.22/flow/frontend-tests.log +31 -0
- package/docs/reports/unified-9.0.22/postgres-history-review.md +43 -0
- package/docs/reports/unified-9.0.22/postgres-real-review.tap +21 -0
- package/docs/reports/unified-9.0.22/postgres-review-lint.log +0 -0
- package/docs/reports/unified-9.0.22/postgres-review-typecheck.log +0 -0
- package/docs/reports/unified-9.0.22/postgres-review-unit-api.tap +25 -0
- package/docs/reports/unified-9.0.22/raw/INDEX.json +43 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/eslint-backup.log +0 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/evcs-stop-writer-after.tap +13 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/evcs-stop-writer-before.tap +54 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/evcs-stop-writer-test-eslint.log +0 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/influx-real-node24.tap +11 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/scope-hashes.json +51 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/storage-nullable-before.tap +96 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/storage-nullable-flow.tap +12 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/tests-node24.tap +116 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/typecheck-backup-scope.log +0 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/typecheck-backup.log +0 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/typecheck-postgres-setup.log +0 -0
- package/docs/reports/unified-9.0.22/raw/current/admin-build.log +152 -0
- package/docs/reports/unified-9.0.22/raw/current/availability-final.log +1 -0
- package/docs/reports/unified-9.0.22/raw/current/backend-build.log +5 -0
- package/docs/reports/unified-9.0.22/raw/current/baseline-repairs.log +60 -0
- package/docs/reports/unified-9.0.22/raw/current/baseline-unified.log +1675 -0
- package/docs/reports/unified-9.0.22/raw/current/combined-fixes.log +65 -0
- package/docs/reports/unified-9.0.22/raw/current/control-final.log +25 -0
- package/docs/reports/unified-9.0.22/raw/current/energyflow-browser.json +244 -0
- package/docs/reports/unified-9.0.22/raw/current/energyflow-browser.stderr +0 -0
- package/docs/reports/unified-9.0.22/raw/current/energyflow-cadence-browser.json +63 -0
- package/docs/reports/unified-9.0.22/raw/current/energyflow-cadence-browser.stderr +0 -0
- package/docs/reports/unified-9.0.22/raw/current/lint-final.log +5 -0
- package/docs/reports/unified-9.0.22/raw/current/lint.log +5 -0
- package/docs/reports/unified-9.0.22/raw/current/markdown-build.log +1 -0
- package/docs/reports/unified-9.0.22/raw/current/modules-build.log +5 -0
- package/docs/reports/unified-9.0.22/raw/current/pre-ocpp-full.log +2337 -0
- package/docs/reports/unified-9.0.22/raw/current/production-audit.json +22 -0
- package/docs/reports/unified-9.0.22/raw/current/production-audit.stderr +1 -0
- package/docs/reports/unified-9.0.22/raw/current/runtime-build-final.log +8 -0
- package/docs/reports/unified-9.0.22/raw/current/runtime-build.log +32 -0
- package/docs/reports/unified-9.0.22/raw/current/runtime-sync.log +1 -0
- package/docs/reports/unified-9.0.22/raw/current/safety-envelope-final.log +1 -0
- package/docs/reports/unified-9.0.22/raw/current/sbom-lock-graph.log +1 -0
- package/docs/reports/unified-9.0.22/raw/current/sbom.log +6120 -0
- package/docs/reports/unified-9.0.22/raw/current/station-permission-final.log +1 -0
- package/docs/reports/unified-9.0.22/raw/current/storage-feedforward-final.log +1 -0
- package/docs/reports/unified-9.0.22/raw/current/typecheck-final.log +5 -0
- package/docs/reports/unified-9.0.22/raw/current/typecheck.log +5 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/eslint.txt +0 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/node22-availability.txt +1 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/node22-safety.txt +1 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/node22-station.txt +1 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/node22-tests.tap +124 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/node24-availability.txt +1 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/node24-safety.txt +1 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/node24-station.txt +1 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/node24-tests.tap +26 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/typecheck.txt +0 -0
- package/docs/reports/unified-9.0.22/raw/flow-backend/core-pv-node22.tap +30 -0
- package/docs/reports/unified-9.0.22/raw/flow-backend/core-pv-node24.tap +11 -0
- package/docs/reports/unified-9.0.22/raw/flow-backend/environment.json +7 -0
- package/docs/reports/unified-9.0.22/raw/flow-backend/lint.log +0 -0
- package/docs/reports/unified-9.0.22/raw/flow-backend/node22.tap +164 -0
- package/docs/reports/unified-9.0.22/raw/flow-backend/node24.tap +33 -0
- package/docs/reports/unified-9.0.22/raw/flow-backend/typecheck.log +0 -0
- package/docs/reports/unified-9.0.22/raw/history-ui/browser-runtime.json +11 -0
- package/docs/reports/unified-9.0.22/raw/history-ui/browser-smoke.json +49 -0
- package/docs/reports/unified-9.0.22/raw/history-ui/browser-smoke.stderr +0 -0
- package/docs/reports/unified-9.0.22/raw/history-ui/build.log +18 -0
- package/docs/reports/unified-9.0.22/raw/history-ui/environment.json +38 -0
- package/docs/reports/unified-9.0.22/raw/history-ui/lint.log +0 -0
- package/docs/reports/unified-9.0.22/raw/history-ui/node22.tap +144 -0
- package/docs/reports/unified-9.0.22/raw/history-ui/node24.tap +30 -0
- package/docs/reports/unified-9.0.22/raw/node22-tests-final.log +14086 -0
- package/docs/reports/unified-9.0.22/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.22/raw/node24-tests-final.log +2356 -0
- package/docs/reports/unified-9.0.22/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.22/raw/postgresql-system/setup-eslint.log +0 -0
- package/docs/reports/unified-9.0.22/raw/postgresql-system/setup-node22.tap +72 -0
- package/docs/reports/unified-9.0.22/raw/postgresql-system/setup-node24.tap +70 -0
- package/docs/reports/unified-9.0.22/raw/postgresql-system/status-eslint.log +0 -0
- package/docs/reports/unified-9.0.22/raw/postgresql-system/typecheck.log +0 -0
- package/docs/reports/unified-9.0.23/MODULE_PROCESS_IMPLEMENTATION.md +43 -0
- package/docs/reports/unified-9.0.23/OCPP_0.4.3_ERGEBNIS.json +24 -0
- package/docs/reports/unified-9.0.23/OCPP_0.4.3_PRUEFBERICHT.md +50 -0
- package/docs/reports/unified-9.0.23/OCPP_AUTOMATISCHE_ZUORDNUNG.md +49 -0
- package/docs/reports/unified-9.0.23/OCPP_CM_INTEGRATION.md +31 -0
- package/docs/reports/unified-9.0.23/PROZESSDIAGNOSE.md +35 -0
- package/docs/reports/unified-9.0.23/PRUEFBERICHT.md +75 -0
- package/docs/reports/unified-9.0.23/UI_EMS_PROZESSGRENZE.md +36 -0
- package/docs/reports/unified-9.0.23/UI_PROCESS_INDEPENDENT_FOLLOWUP.md +33 -0
- package/docs/reports/unified-9.0.23/module-process-contract-review-node22.tap +86 -0
- package/docs/reports/unified-9.0.23/module-process-contract-review-node24.tap +20 -0
- package/docs/reports/unified-9.0.23/module-process-contract-review.md +39 -0
- package/docs/reports/unified-9.0.23/module-process-contract-review.tap +20 -0
- package/docs/reports/unified-9.0.23/module-process-final.tap +27 -0
- package/docs/reports/unified-9.0.23/module-process-static.json +57 -0
- package/docs/reports/unified-9.0.23/raw/INDEX.json +43 -0
- package/docs/reports/unified-9.0.23/raw/build-backend-final.log +5 -0
- package/docs/reports/unified-9.0.23/raw/build-frontend.log +152 -0
- package/docs/reports/unified-9.0.23/raw/build-installer.log +26 -0
- package/docs/reports/unified-9.0.23/raw/build-ui-final.log +7 -0
- package/docs/reports/unified-9.0.23/raw/current/evcs-stop-writer-ocpp043.txt +20 -0
- package/docs/reports/unified-9.0.23/raw/current/ocpp-runtime-feedback-lint.txt +1 -0
- package/docs/reports/unified-9.0.23/raw/current/ocpp-runtime-feedback-tests.txt +28 -0
- package/docs/reports/unified-9.0.23/raw/current/runtime-health-browser.json +49 -0
- package/docs/reports/unified-9.0.23/raw/current/runtime-health-browser.stderr.txt +0 -0
- package/docs/reports/unified-9.0.23/raw/current/runtime-health-lint.txt +1 -0
- package/docs/reports/unified-9.0.23/raw/current/runtime-health-tests.txt +27 -0
- package/docs/reports/unified-9.0.23/raw/current/runtime-health-types.txt +1 -0
- package/docs/reports/unified-9.0.23/raw/eos-production-audit.json +22 -0
- package/docs/reports/unified-9.0.23/raw/idle-pwa-node22.log +75 -0
- package/docs/reports/unified-9.0.23/raw/idle-pwa-node24.log +22 -0
- package/docs/reports/unified-9.0.23/raw/lint-final.log +5 -0
- package/docs/reports/unified-9.0.23/raw/node22-tests-final.log +14612 -0
- package/docs/reports/unified-9.0.23/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.23/raw/node24-tests-final.log +2443 -0
- package/docs/reports/unified-9.0.23/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.23/raw/ocpp-auto-discovery.log +21 -0
- package/docs/reports/unified-9.0.23/raw/ocpp-discovery-browser.json +55 -0
- package/docs/reports/unified-9.0.23/raw/ocpp-discovery-lifecycle-regression.log +48 -0
- package/docs/reports/unified-9.0.23/raw/ocpp-production-audit.json +69 -0
- package/docs/reports/unified-9.0.23/raw/typecheck-final.log +5 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/discovery-review.tap +21 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/lint.log +0 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/node22.tap +118 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/node24.tap +112 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/root-typecheck.log +0 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/typecheck.log +0 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/unified-listen-build-node24.tap +196 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/unified-listen-node22.tap +200 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/web-lint.log +0 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/web-pipeline-node22.tap +92 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/web-pipeline-node24.tap +90 -0
- package/docs/reports/unified-9.0.23/ui-process-contract-review.md +30 -0
- package/docs/reports/unified-9.0.23/ui-process-final-review-node22.tap +50 -0
- package/docs/reports/unified-9.0.23/ui-process-final-review-node24.tap +14 -0
- package/docs/reports/unified-9.0.23/ui-process-followup-hashes.json +13 -0
- package/docs/reports/unified-9.0.23/ui-process-operational-review-node22.tap +30 -0
- package/docs/reports/unified-9.0.23/ui-process-operational-review-node24.tap +11 -0
- package/docs/reports/unified-9.0.23/ui-process-review-node22.tap +48 -0
- package/docs/reports/unified-9.0.23/ui-process-review-node24.tap +46 -0
- package/docs/reports/unified-9.0.24/BACKUP_INTEROP_PRUEFBERICHT.md +48 -0
- package/docs/reports/unified-9.0.24/KIOSK_FRONTEND_BROWSERPRUEFUNG.md +49 -0
- package/docs/reports/unified-9.0.24/KIOSK_UNABHAENGIGER_REVIEW.md +21 -0
- package/docs/reports/unified-9.0.24/OCPP_HOST_MIGRATION.md +41 -0
- package/docs/reports/unified-9.0.24/OCPP_NAMESPACE_REGELPFAD.md +55 -0
- package/docs/reports/unified-9.0.24/OCPP_UNABHAENGIGER_REVIEW.md +37 -0
- package/docs/reports/unified-9.0.24/OCPP_VERWALTUNG.md +33 -0
- package/docs/reports/unified-9.0.24/PRUEFBERICHT.md +54 -0
- package/docs/reports/unified-9.0.24/PUBLISH_OVERLAY_9_0_21.md +23 -0
- package/docs/reports/unified-9.0.24/raw/INDEX.json +43 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/ems-independence-node24.tap +9 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/final-node22.tap +175 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/final-node24.tap +35 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/focused-node22.tap +132 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/focused-node24.tap +27 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/kiosk-review-node24.tap +13 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/kiosk-update-snapshot-node24.tap +22 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/lint-source.txt +0 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/lint-tests.txt +0 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/ocpp-backup-node24.tap +10 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/own-source-hashes.json +12 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/types.txt +0 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/update-snapshot-node24.tap +20 -0
- package/docs/reports/unified-9.0.24/raw/build.log +200 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-browser-node22.json +69 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-browser-node22.stderr.txt +3 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-browser.json +69 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-browser.stderr.txt +2 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-http-node22.txt +253 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-http-node24.txt +52 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-lint.txt +0 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-types.txt +0 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-lease-registration-before.txt +28 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-namespace-independent-node22.txt +302 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-namespace-independent-node24.txt +55 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-native-generic-before.txt +25 -0
- package/docs/reports/unified-9.0.24/raw/current/runtime-health-browser.json +49 -0
- package/docs/reports/unified-9.0.24/raw/current/runtime-health-browser.stderr.txt +0 -0
- package/docs/reports/unified-9.0.24/raw/current/runtime-health-types.txt +0 -0
- package/docs/reports/unified-9.0.24/raw/eos-production-audit.json +77 -0
- package/docs/reports/unified-9.0.24/raw/kiosk-auth-profiles-node22.log +16 -0
- package/docs/reports/unified-9.0.24/raw/kiosk-auth-profiles-node24.log +14 -0
- package/docs/reports/unified-9.0.24/raw/kiosk-browser-node22.json +57 -0
- package/docs/reports/unified-9.0.24/raw/kiosk-browser-node24.json +57 -0
- package/docs/reports/unified-9.0.24/raw/kiosk-idle-node22.log +215 -0
- package/docs/reports/unified-9.0.24/raw/kiosk-idle-node24.log +42 -0
- package/docs/reports/unified-9.0.24/raw/lint.log +45 -0
- package/docs/reports/unified-9.0.24/raw/node22-tests-final.log +15517 -0
- package/docs/reports/unified-9.0.24/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.24/raw/node24-tests-final.log +2595 -0
- package/docs/reports/unified-9.0.24/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.24/raw/ocpp-host-node22.tap +105 -0
- package/docs/reports/unified-9.0.24/raw/ocpp-host-node24.tap +24 -0
- package/docs/reports/unified-9.0.24/raw/ocpp-host-regression-node22.tap +818 -0
- package/docs/reports/unified-9.0.24/raw/ocpp-host-regression-node24.tap +140 -0
- package/docs/reports/unified-9.0.24/raw/ocpp-hosted-mapping-browser.log +2 -0
- package/docs/reports/unified-9.0.24/raw/ocpp-legacy-mapping-browser.log +2 -0
- package/docs/reports/unified-9.0.24/raw/ocpp-namespace-control.log +49 -0
- package/docs/reports/unified-9.0.24/raw/publish-overlay-node22.tap +278 -0
- package/docs/reports/unified-9.0.24/raw/publish-overlay-node24.tap +52 -0
- package/docs/reports/unified-9.0.24/raw/publish-overlay-provenance-922-923.json +32 -0
- package/docs/reports/unified-9.0.24/raw/publish-overlay-provenance.json +19 -0
- package/docs/reports/unified-9.0.24/raw/typecheck.log +5 -0
- package/docs/reports/unified-9.0.25/MIGRATION_INDEPENDENT_REVIEW.md +74 -0
- package/docs/reports/unified-9.0.25/OCPP_STARTSPERRE_9.0.24.md +60 -0
- package/docs/reports/unified-9.0.25/PRUEFBERICHT.md +78 -0
- package/docs/reports/unified-9.0.25/RUNTIME_CONTROLS_BROWSERPRUEFUNG.md +81 -0
- package/docs/reports/unified-9.0.25/RUNTIME_CONTROL_BACKEND.md +58 -0
- package/docs/reports/unified-9.0.25/RUNTIME_CONTROL_INDEPENDENT_REVIEW.md +66 -0
- package/docs/reports/unified-9.0.25/RUNTIME_LOGIN_RECOVERY.md +32 -0
- package/docs/reports/unified-9.0.25/TARIFF_UPDATE_PERSISTENCE.md +50 -0
- package/docs/reports/unified-9.0.25/UI_CONFIG_COMMIT_ACK.md +51 -0
- package/docs/reports/unified-9.0.25/raw/BUILD_CHECKS.json +49 -0
- package/docs/reports/unified-9.0.25/raw/INDEX.json +43 -0
- package/docs/reports/unified-9.0.25/raw/SBOM_GENERATION.json +42 -0
- package/docs/reports/unified-9.0.25/raw/build-backend.log +5 -0
- package/docs/reports/unified-9.0.25/raw/build-frontend.log +152 -0
- package/docs/reports/unified-9.0.25/raw/build-installer.log +26 -0
- package/docs/reports/unified-9.0.25/raw/build-modules.log +5 -0
- package/docs/reports/unified-9.0.25/raw/build-ui-runtime.log +7 -0
- package/docs/reports/unified-9.0.25/raw/eos-production-audit.json +77 -0
- package/docs/reports/unified-9.0.25/raw/eos-production-audit.stderr +1 -0
- package/docs/reports/unified-9.0.25/raw/frontend-sbom.stderr +1 -0
- package/docs/reports/unified-9.0.25/raw/installer-sbom.stderr +1 -0
- package/docs/reports/unified-9.0.25/raw/lint.log +45 -0
- package/docs/reports/unified-9.0.25/raw/node22-tests-final.log +15879 -0
- package/docs/reports/unified-9.0.25/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.25/raw/node24-tests-final.log +2653 -0
- package/docs/reports/unified-9.0.25/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.25/raw/runtime-control-backend/runtime-control-backend-node22-final.tap +236 -0
- package/docs/reports/unified-9.0.25/raw/runtime-control-backend/runtime-control-backend-node24-final.tap +44 -0
- package/docs/reports/unified-9.0.25/raw/runtime-control-backend/source-sha256.json +19 -0
- package/docs/reports/unified-9.0.25/raw/runtime-controls/controls-node22.json +70 -0
- package/docs/reports/unified-9.0.25/raw/runtime-controls/controls-node24.json +70 -0
- package/docs/reports/unified-9.0.25/raw/runtime-controls/health-node22.json +49 -0
- package/docs/reports/unified-9.0.25/raw/runtime-controls/health-node24.json +49 -0
- package/docs/reports/unified-9.0.25/raw/runtime-controls/login-contract-node22.log +15 -0
- package/docs/reports/unified-9.0.25/raw/runtime-controls/login-contract-node24.log +15 -0
- package/docs/reports/unified-9.0.25/raw/runtime-controls/login-node22.json +32 -0
- package/docs/reports/unified-9.0.25/raw/runtime-controls/login-node24.json +32 -0
- package/docs/reports/unified-9.0.25/raw/runtime-login-recovery/node22.log +28 -0
- package/docs/reports/unified-9.0.25/raw/runtime-login-recovery/node24.log +10 -0
- package/docs/reports/unified-9.0.25/raw/runtime-login-recovery/route-regression-node24.log +28 -0
- package/docs/reports/unified-9.0.25/raw/runtime-login-recovery/source-sha256.json +6 -0
- package/docs/reports/unified-9.0.25/raw/runtime-processes/README.md +41 -0
- package/docs/reports/unified-9.0.25/raw/runtime-processes/runtime-control-processes-node22.tap +44 -0
- package/docs/reports/unified-9.0.25/raw/runtime-processes/runtime-control-processes-node24.tap +13 -0
- package/docs/reports/unified-9.0.25/raw/runtime-review/runtime-controls-and-ui-review-node22.tap +232 -0
- package/docs/reports/unified-9.0.25/raw/runtime-review/runtime-controls-and-ui-review-node24.tap +43 -0
- package/docs/reports/unified-9.0.25/raw/runtime-review/runtime-controls-review-node22.tap +68 -0
- package/docs/reports/unified-9.0.25/raw/runtime-review/runtime-controls-review-node24.tap +17 -0
- package/docs/reports/unified-9.0.25/raw/sbom-lock.log +1 -0
- package/docs/reports/unified-9.0.25/raw/sbom-lock.stderr +1 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/ack-node22.tap +44 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/ack-node24.tap +40 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/ack-review-node22.tap +44 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/ack-review-node24.tap +13 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/commit-ack-sha256.txt +4 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/config-ack-result.json +19 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/generate-921-fixture.cjs +36 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/node22.tap +68 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/node24.tap +64 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/reproduce-config-ack.cjs +55 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/reviewed-sha256.txt +4 -0
- package/docs/reports/unified-9.0.25/raw/typecheck.log +5 -0
- package/docs/unified/EMS_BEDIEN_DATENPUNKTE_9_0_22.md +51 -0
- package/docs/unified/HISTORY_UI_9_0_22.md +75 -0
- package/docs/unified/POSTGRESQL_9_0_22.md +89 -0
- package/io-package.json +20 -22
- package/modules/backup/README.md +10 -0
- package/modules/backup/RECOVERY-9.0.22.md +59 -0
- package/modules/backup/admin/index.html +2 -1
- package/modules/backup/admin/index.js +17 -1
- package/modules/backup/build/config.js +2 -0
- package/modules/backup/build/coverage.js +64 -0
- package/modules/backup/build/creators.js +22 -17
- package/modules/backup/build/databaseTargets.js +42 -0
- package/modules/backup/build/index.js +47 -4
- package/modules/backup/build/influxIntegrity.js +159 -0
- package/modules/backup/build/postgresHistory.js +91 -0
- package/modules/backup/build/preflight.js +3 -8
- package/modules/backup/build/publicTrust.js +46 -0
- package/modules/backup/build/restore-cli.js +72 -1
- package/modules/backup/build/storageRetention.js +26 -0
- package/modules/backup/build/worker.js +18 -1
- package/modules/backup/src/config.ts +2 -0
- package/modules/backup/src/coverage.ts +50 -0
- package/modules/backup/src/creators.ts +20 -17
- package/modules/backup/src/databaseTargets.ts +45 -0
- package/modules/backup/src/index.ts +37 -4
- package/modules/backup/src/influxIntegrity.ts +125 -0
- package/modules/backup/src/postgresHistory.ts +66 -0
- package/modules/backup/src/preflight.ts +3 -10
- package/modules/backup/src/publicTrust.ts +34 -0
- package/modules/backup/src/restore-cli.ts +55 -4
- package/modules/backup/src/storageRetention.ts +20 -0
- package/modules/backup/src/types.ts +5 -0
- package/modules/backup/src/worker.ts +18 -2
- package/modules/backup/test/completeness.test.cjs +193 -0
- package/modules/backup/test/hosted.test.cjs +43 -3
- package/modules/backup/test/influx-real.test.cjs +75 -0
- package/modules/backup/test/lifecycle.test.cjs +7 -5
- package/modules/backup/test/ocpp-coverage.test.cjs +152 -0
- package/modules/devices/admin/index.html +1 -1
- package/modules/eebus/admin/index.html +1 -1
- package/modules/ocpp/LICENSE +21 -0
- package/modules/ocpp/README.md +61 -0
- package/modules/ocpp/admin/config-fields.json +353 -0
- package/modules/ocpp/admin/index.html +52 -0
- package/modules/ocpp/admin/index.js +228 -0
- package/modules/ocpp/admin/style.css +27 -0
- package/modules/ocpp/build/index.js +401 -0
- package/modules/ocpp/build/operationGuard.js +26 -0
- package/modules/ocpp/build/server.js +155 -0
- package/modules/ocpp/eslint.config.mjs +13 -0
- package/modules/ocpp/index.js +3 -0
- package/modules/ocpp/native-defaults.json +44 -0
- package/modules/ocpp/ocpp/common.js +646 -0
- package/modules/ocpp/ocpp/compact.js +332 -0
- package/modules/ocpp/ocpp/configuration.js +364 -0
- package/modules/ocpp/ocpp/eos-contract.js +149 -0
- package/modules/ocpp/ocpp/freshness.d.ts +10 -0
- package/modules/ocpp/ocpp/freshness.js +272 -0
- package/modules/ocpp/ocpp/schemas/NOTICE.md +17 -0
- package/modules/ocpp/ocpp/schemas/ocpp2_0_1_official.json +1 -0
- package/modules/ocpp/ocpp/schemas/ocpp2_1_official.json +1 -0
- package/modules/ocpp/ocpp/server.js +3 -0
- package/modules/ocpp/ocpp/v16.js +213 -0
- package/modules/ocpp/ocpp/v201.js +4 -0
- package/modules/ocpp/ocpp/v21.js +4 -0
- package/modules/ocpp/ocpp/v2base.js +255 -0
- package/modules/ocpp/package.json +11 -0
- package/modules/ocpp/provenance.json +33 -0
- package/modules/ocpp/runtime.d.ts +16 -0
- package/modules/ocpp/runtime.js +3391 -0
- package/modules/ocpp/src/index.ts +463 -0
- package/modules/ocpp/src/operationGuard.ts +29 -0
- package/modules/ocpp/src/server.ts +193 -0
- package/modules/ocpp/test/configuration-runtime.test.js +786 -0
- package/modules/ocpp/test/core.test.js +772 -0
- package/modules/ocpp/test/eos-contract.test.js +67 -0
- package/modules/ocpp/test/hosted.test.cjs +165 -0
- package/modules/ocpp/tsconfig.json +7 -0
- package/modules/ocpp/validation/manifest.json +36 -0
- package/modules/ocpp/validation/node22-tests.log +525 -0
- package/modules/ocpp/validation/node24-tests.log +92 -0
- package/package.json +29 -11
- package/public/eos-migration/index.html +1 -1
- package/public/eos-migration/index.js +2 -2
- package/public/eos-runtime/index.html +36 -0
- package/public/eos-runtime/index.js +249 -0
- package/public/eos-runtime/style.css +27 -0
- package/release-manifests/unified/build-environment.cdx.json +767 -131
- package/release-manifests/unified/files.json +700 -214
- package/release-manifests/unified/frontend.cdx.json +6 -6
- package/release-manifests/unified/installer.cdx.json +6 -6
- package/release-manifests/unified/obsolete-admin-assets.json +292 -6
- package/release-manifests/unified/runtime.cdx.json +871 -143
- package/release-manifests/unified/validation.json +15 -15
- package/reports/unified/ocpp-pure-pv-9.0.22/PRUEFVERMERK.md +35 -0
- package/reports/unified/ocpp-pure-pv-9.0.22/raw/auto-pv-phases.log +1 -0
- package/reports/unified/ocpp-pure-pv-9.0.22/raw/control-tests.log +11 -0
- package/reports/unified/ocpp-pure-pv-9.0.22/raw/ocpp-stability.log +1 -0
- package/reports/unified/ocpp-pure-pv-9.0.22/raw/rc60.log +1 -0
- package/reports/unified/tariff-energy-flow-9.0.22/PRUEFVERMERK.md +44 -0
- package/reports/unified/tariff-energy-flow-9.0.22/raw/focused-tests.log +37 -0
- package/reports/unified/tariff-energy-flow-9.0.22/raw/grid-charge-policy.log +1 -0
- package/reports/unified/tariff-energy-flow-9.0.22/raw/status-truth.log +1 -0
- package/tools/eos-release-check.cjs +5 -0
- package/tools/eos-release-manifest.cjs +3 -3
- package/tools/eos-sbom-vendored.cjs +2 -1
- package/tools/system/eos-postgresql-setup.cjs +409 -0
- package/tsconfig.eos-history-backup-scope.json +9 -0
- package/tsconfig.eos-postgres-system.json +15 -0
- package/ui/admin/react/assets/index-wHWXfD_g.js +13 -0
- package/ui/admin/react/index.html +1 -1
- package/ui/ems/consumers/evcs.js +11 -7
- package/ui/ems/datapoints.js +14 -5
- package/ui/ems/engine.js +4 -1
- package/ui/ems/modules/charging-management.js +193 -63
- package/ui/ems/modules/core-limits.js +15 -20
- package/ui/ems/modules/storage-control.js +8 -6
- package/ui/ems/modules/tarif-vis.js +7 -2
- package/ui/ems/modules/tariff-status.js +19 -1
- package/ui/eslint.postgres-history.config.mjs +9 -0
- package/ui/io-package.json +5 -1
- package/ui/lib/ems-control-values.js +64 -0
- package/ui/lib/flow-measurement.js +72 -0
- package/ui/lib/hosted-adapter.js +12 -1
- package/ui/lib/influx-history-runtime.js +66 -24
- package/ui/lib/installer-lifecycle.js +4 -2
- package/ui/lib/ocpp-auto-discovery.js +397 -0
- package/ui/lib/ocpp-limit-feedback.js +166 -0
- package/ui/lib/partner-runtime.js +35 -2
- package/ui/lib/partner-websocket.js +4 -1
- package/ui/lib/postgres-history-config.js +57 -0
- package/ui/lib/postgres-history.js +344 -0
- package/ui/lib/runtime-proxy-html.js +34 -1
- package/ui/lib/smarthome-device-controls.js +4 -1
- package/ui/lib/ui-access-policy.js +39 -6
- package/ui/main.js +392 -222
- package/ui/package.json +1 -1
- package/ui/tsconfig.postgres-history.json +4 -0
- package/ui/www/app.js +106 -152
- package/ui/www/auth.js +36 -10
- package/ui/www/charging-diagnostics-appcenter.js +1 -0
- package/ui/www/customer-tariff.js +1 -0
- package/ui/www/dashboard-lp-status.js +1 -0
- package/ui/www/dc-station-display.js +1 -0
- package/ui/www/ems-apps.js +48 -8
- package/ui/www/energy-origin-appcenter.js +1 -0
- package/ui/www/energy-origin-ledger-view.js +1 -0
- package/ui/www/eos-kiosk-settings.js +174 -0
- package/ui/www/eos-session-idle.js +40 -6
- package/ui/www/eos-updates.js +1 -0
- package/ui/www/index.html +2 -1
- package/ui/www/license.js +1 -0
- package/ui/www/licenses/smarthome-markdown-components.json +157 -157
- package/ui/www/live-display.js +4 -2
- package/ui/www/login.js +25 -9
- package/ui/www/manifest.webmanifest +3 -3
- package/ui/www/netoperator-appcenter.js +1 -0
- package/ui/www/netoperator.js +1 -0
- package/ui/www/operating-strategies-appcenter.js +1 -0
- package/ui/www/operating-strategies-rule-builder.js +1 -0
- package/ui/www/power-measurements.js +27 -2
- package/ui/www/pwa.js +1 -0
- package/ui/www/runtime-base.js +1 -0
- package/ui/www/settings.html +13 -1
- package/ui/www/smarthome-activation.js +1 -0
- package/ui/www/smarthome-alias-config.js +1 -0
- package/ui/www/smarthome-custom-config.js +1 -0
- package/ui/www/smarthome-custom-views.js +1 -0
- package/ui/www/smarthome-device-categories.js +1 -0
- package/ui/www/smarthome-device-config.js +1 -0
- package/ui/www/smarthome-device-controls.js +1 -0
- package/ui/www/smarthome-feedback.js +1 -0
- package/ui/www/smarthome-layout-editor.js +1 -0
- package/ui/www/smarthome-presentation.js +1 -0
- package/ui/www/smarthome-setup.js +1 -0
- package/ui/www/smarthome-touch.js +1 -0
- package/ui/www/storagefarm-dispatch.js +1 -0
- package/ui/www/storagefarm-summary.js +1 -0
- package/ui/www/tariff-display.js +62 -2
- package/adminWww/remoteEntry-eos-9.0.21.js +0 -12
- package/ui/admin/react/assets/index-BJO3q7oe.js +0 -13
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
/* Copyright (c) 2026 NexoWatt. Confidential and proprietary. */
|
|
2
|
+
'use strict';
|
|
3
|
+
// @ts-check
|
|
4
|
+
const { randomUUID } = require('node:crypto');
|
|
5
|
+
const { EosModuleConfigStore } = require('./eosModuleConfigStore');
|
|
6
|
+
/** @typedef {'ui'|'devices'|'eebus'|'backup'|'ocpp'} ProcessId */
|
|
7
|
+
/** @typedef {'enable'|'disable'|'restart'} Action */
|
|
8
|
+
/** @typedef {Record<ProcessId, boolean>} Activation */
|
|
9
|
+
/** @typedef {{enabled:boolean,canEnable:boolean,canDisable:boolean,canRestart:boolean,busy:boolean,reason:string,revision:string}} ControlView */
|
|
10
|
+
/** @typedef {{namespace:string,config:Record<string,unknown>,encrypt:(text:string)=>string,decrypt:(text:string)=>string,getForeignObjectAsync:(id:string)=>Promise<unknown>,setForeignObjectAsync:(id:string,value:unknown)=>Promise<unknown>,eosMigration?:{allowsStartup:()=>boolean,status?:()=>unknown},eosOwnership?:{canWrite:()=>boolean},eosLicenseService?:{statusView:()=>unknown,allowsEmbeddedModule?:(id:string)=>boolean},log:{warn:(code:string)=>void}}} Owner */
|
|
11
|
+
/** @typedef {{mutation?:boolean,configurationSavePromise?:Promise<unknown>|null,view:(id:string)=>Promise<unknown>,controlProcess:(id:string,action:'stop'|'start')=>Promise<void>}} Host */
|
|
12
|
+
/** @typedef {{pause:()=>Promise<void>,resume:()=>Promise<void>,status:()=>Record<string,unknown>}} Runtime */
|
|
13
|
+
const IDS = /** @type {const} */ (['ui', 'devices', 'eebus', 'backup', 'ocpp']);
|
|
14
|
+
/** @param {unknown} value @returns {Record<string,unknown>} */
|
|
15
|
+
function record(value) { return value !== null && typeof value === 'object' && !Array.isArray(value) ? /** @type {Record<string,unknown>} */ (value) : {}; }
|
|
16
|
+
/** @param {string} code */
|
|
17
|
+
const fail = code => Object.assign(new Error(code), { code });
|
|
18
|
+
/** @param {unknown} error */
|
|
19
|
+
function code(error) { const value = record(error).code; return typeof value === 'string' && /^(?:EOS|EEBUS)_[A-Z0-9_]{1,72}$/.test(value) ? value : 'EOS_RUNTIME_CONTROL_FAILED'; }
|
|
20
|
+
/** @returns {Activation} */
|
|
21
|
+
const defaults = () => ({ ui: true, devices: true, eebus: true, backup: true, ocpp: true });
|
|
22
|
+
/** @template T @param {Promise<T>} operation @param {number} timeout @returns {Promise<T>} */
|
|
23
|
+
async function readWithin(operation, timeout) {
|
|
24
|
+
/** @type {ReturnType<typeof setTimeout>|undefined} */ let timer;
|
|
25
|
+
try {
|
|
26
|
+
return await Promise.race([operation, new Promise((_, reject) => {
|
|
27
|
+
timer = setTimeout(() => reject(fail('EOS_RUNTIME_CONFIG_TIMEOUT')), timeout);
|
|
28
|
+
})]);
|
|
29
|
+
}
|
|
30
|
+
finally {
|
|
31
|
+
clearTimeout(timer);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
/** A persisted process pause is independent of device settings and migration targets.
|
|
35
|
+
* Only one accepted transaction can exist; an HTTP disconnect never releases its lock.
|
|
36
|
+
*/
|
|
37
|
+
class EosRuntimeControl {
|
|
38
|
+
/** @param {{owner:Owner,host:Host,runtime:Runtime,readTimeoutMs?:number}} options */
|
|
39
|
+
constructor({ owner, host, runtime, readTimeoutMs = 5000 }) {
|
|
40
|
+
this.owner = owner;
|
|
41
|
+
this.host = host;
|
|
42
|
+
this.runtime = runtime;
|
|
43
|
+
this.store = new EosModuleConfigStore(owner, { moduleIds: ['runtime'] });
|
|
44
|
+
this.enabled = defaults();
|
|
45
|
+
/** @type {string} */ this.revision = randomUUID();
|
|
46
|
+
this.ready = false;
|
|
47
|
+
this.closed = false;
|
|
48
|
+
this.error = '';
|
|
49
|
+
this.readTimeoutMs = Math.max(1, Math.min(5000, readTimeoutMs));
|
|
50
|
+
/** @type {Promise<void>|null} */ this.loading = null;
|
|
51
|
+
/** @type {Promise<void>|null} */ this.pending = null;
|
|
52
|
+
/** @type {ProcessId|null} */ this.target = null;
|
|
53
|
+
/** @type {Set<ProcessId>} */ this.inhibited = new Set();
|
|
54
|
+
/** @type {Set<ProcessId>} */ this.stopFailures = new Set();
|
|
55
|
+
/** @type {Partial<Record<ProcessId,string>>} */ this.errors = {};
|
|
56
|
+
}
|
|
57
|
+
/** Read once before either hosted runtime is allowed to start. @returns {Promise<void>} */
|
|
58
|
+
initialize() {
|
|
59
|
+
if (this.loading)
|
|
60
|
+
return this.loading;
|
|
61
|
+
this.loading = (async () => {
|
|
62
|
+
try {
|
|
63
|
+
const envelope = await readWithin(this.store.load('runtime'), this.readTimeoutMs);
|
|
64
|
+
if (this.closed)
|
|
65
|
+
return;
|
|
66
|
+
if (envelope) {
|
|
67
|
+
const data = record(JSON.parse(this.owner.decrypt(envelope.encrypted)));
|
|
68
|
+
const enabled = record(data.enabled);
|
|
69
|
+
if (data.v !== 1 || Object.keys(data).some(key => !['v', 'enabled'].includes(key)) ||
|
|
70
|
+
Object.keys(enabled).length !== IDS.length || IDS.some(id => typeof enabled[id] !== 'boolean')) {
|
|
71
|
+
throw fail('EOS_RUNTIME_CONFIG_INVALID');
|
|
72
|
+
}
|
|
73
|
+
for (const id of IDS)
|
|
74
|
+
this.enabled[id] = enabled[id] === true;
|
|
75
|
+
}
|
|
76
|
+
this.revision = this.store.revisions.get('runtime') || this.revision;
|
|
77
|
+
this.ready = true;
|
|
78
|
+
}
|
|
79
|
+
catch (error) {
|
|
80
|
+
this.error = code(error);
|
|
81
|
+
this.owner.log.warn(`EOS_RUNTIME_CONFIGURATION_UNAVAILABLE: ${this.error}`);
|
|
82
|
+
}
|
|
83
|
+
})();
|
|
84
|
+
return this.loading;
|
|
85
|
+
}
|
|
86
|
+
/** @param {string} id */
|
|
87
|
+
isEnabled(id) {
|
|
88
|
+
return this.ready && !this.closed && IDS.some(value => value === id) &&
|
|
89
|
+
this.enabled[ /** @type {ProcessId} */(id)] && !this.inhibited.has(/** @type {ProcessId} */ (id));
|
|
90
|
+
}
|
|
91
|
+
/** @param {ProcessId} id @param {boolean} configured */
|
|
92
|
+
startReason(id, configured) {
|
|
93
|
+
if (!this.ready || this.closed)
|
|
94
|
+
return this.error || 'EOS_RUNTIME_NOT_READY';
|
|
95
|
+
if (this.stopFailures.has(id))
|
|
96
|
+
return this.errors[id] || 'EOS_RUNTIME_STOP_UNCONFIRMED';
|
|
97
|
+
if (this.owner.eosMigration?.allowsStartup() === false)
|
|
98
|
+
return 'EOS_RUNTIME_MIGRATION_BLOCKED';
|
|
99
|
+
const license = record(this.owner.eosLicenseService?.statusView());
|
|
100
|
+
if (license.valid !== true || license.coreEnabled !== true ||
|
|
101
|
+
(id !== 'ui' && this.owner.eosLicenseService?.allowsEmbeddedModule?.(id) !== true))
|
|
102
|
+
return 'EOS_RUNTIME_LICENSE_REQUIRED';
|
|
103
|
+
if (this.owner.eosOwnership?.canWrite() !== true)
|
|
104
|
+
return 'EOS_RUNTIME_OWNERSHIP_REQUIRED';
|
|
105
|
+
if (!configured)
|
|
106
|
+
return 'EOS_RUNTIME_MODULE_DISABLED';
|
|
107
|
+
return '';
|
|
108
|
+
}
|
|
109
|
+
/** This projection is the complete public control contract. @param {string} id @param {boolean} configured @returns {ControlView|undefined} */
|
|
110
|
+
view(id, configured = true) {
|
|
111
|
+
if (!IDS.some(value => value === id))
|
|
112
|
+
return undefined;
|
|
113
|
+
const key = /** @type {ProcessId} */ (id);
|
|
114
|
+
const ready = this.ready && !this.closed;
|
|
115
|
+
const busy = this.pending !== null;
|
|
116
|
+
const enabled = this.enabled[key];
|
|
117
|
+
const blocker = this.startReason(key, configured);
|
|
118
|
+
return { enabled, revision: this.revision, busy,
|
|
119
|
+
canEnable: ready && !busy && !enabled && !blocker,
|
|
120
|
+
canDisable: ready && !busy && enabled,
|
|
121
|
+
canRestart: ready && !busy && enabled && !blocker,
|
|
122
|
+
reason: this.errors[key] || blocker || (!enabled ? 'EOS_RUNTIME_DISABLED' : '') };
|
|
123
|
+
}
|
|
124
|
+
/** Exact actions only; no arbitrary process IDs, commands or configuration are accepted.
|
|
125
|
+
* @param {unknown} id @param {unknown} action @param {unknown} revision
|
|
126
|
+
*/
|
|
127
|
+
request(id, action, revision) {
|
|
128
|
+
if (typeof id !== 'string' || !IDS.some(value => value === id))
|
|
129
|
+
throw fail('EOS_RUNTIME_PROCESS_INVALID');
|
|
130
|
+
if (!['enable', 'disable', 'restart'].includes(String(action)) || typeof action !== 'string')
|
|
131
|
+
throw fail('EOS_RUNTIME_ACTION_INVALID');
|
|
132
|
+
if (!this.ready || this.closed)
|
|
133
|
+
throw fail(this.error || 'EOS_RUNTIME_NOT_READY');
|
|
134
|
+
if (this.pending || this.host.mutation || this.host.configurationSavePromise)
|
|
135
|
+
throw fail('EOS_RUNTIME_BUSY');
|
|
136
|
+
if (typeof revision !== 'string' || revision !== this.revision)
|
|
137
|
+
throw fail('EOS_RUNTIME_CONFIG_CONFLICT');
|
|
138
|
+
const key = /** @type {ProcessId} */ (id);
|
|
139
|
+
const operation = /** @type {Action} */ (action);
|
|
140
|
+
if (operation !== 'disable') {
|
|
141
|
+
const reason = this.startReason(key, true);
|
|
142
|
+
if (reason)
|
|
143
|
+
throw fail(reason);
|
|
144
|
+
}
|
|
145
|
+
if (operation === 'restart' && !this.enabled[key])
|
|
146
|
+
throw fail('EOS_RUNTIME_DISABLED');
|
|
147
|
+
this.target = key;
|
|
148
|
+
delete this.errors[key];
|
|
149
|
+
const pending = this.apply(key, operation).catch(error => {
|
|
150
|
+
this.errors[key] = code(error);
|
|
151
|
+
this.owner.log.warn(`EOS_RUNTIME_CONTROL_FAILED: ${key}; ${this.errors[key]}`);
|
|
152
|
+
}).finally(() => { if (this.pending === pending) {
|
|
153
|
+
this.pending = null;
|
|
154
|
+
this.target = null;
|
|
155
|
+
} });
|
|
156
|
+
this.pending = pending;
|
|
157
|
+
return { ok: true, accepted: true };
|
|
158
|
+
}
|
|
159
|
+
assertOpen() { if (this.closed)
|
|
160
|
+
throw fail('EOS_RUNTIME_STOPPED'); }
|
|
161
|
+
/** The durable pause is committed before shutdown. Only a confirmed stop may persist a new enable.
|
|
162
|
+
* @param {ProcessId} id @param {boolean} enabled
|
|
163
|
+
*/
|
|
164
|
+
async persist(id, enabled) {
|
|
165
|
+
this.assertOpen();
|
|
166
|
+
const next = { ...this.enabled, [id]: enabled };
|
|
167
|
+
const plaintext = JSON.stringify({ v: 1, enabled: next });
|
|
168
|
+
const encrypted = this.owner.encrypt(plaintext);
|
|
169
|
+
if (!encrypted || encrypted === plaintext)
|
|
170
|
+
throw fail('EOS_RUNTIME_ENCRYPTION');
|
|
171
|
+
await this.store.save('runtime', { v: 1, encrypted }, () => !this.closed);
|
|
172
|
+
this.assertOpen();
|
|
173
|
+
this.enabled = next;
|
|
174
|
+
this.revision = this.store.revisions.get('runtime') || this.revision;
|
|
175
|
+
}
|
|
176
|
+
/** @param {ProcessId} id @param {Action} action */
|
|
177
|
+
async apply(id, action) {
|
|
178
|
+
// Yield once so the transaction owns its lock before any synchronous completion.
|
|
179
|
+
await Promise.resolve();
|
|
180
|
+
this.assertOpen();
|
|
181
|
+
if (action !== 'disable' && id !== 'ui') {
|
|
182
|
+
const view = record(await this.host.view(id));
|
|
183
|
+
this.assertOpen();
|
|
184
|
+
const reason = this.startReason(id, record(view.config).enabled === true);
|
|
185
|
+
if (reason)
|
|
186
|
+
throw fail(reason);
|
|
187
|
+
}
|
|
188
|
+
await this.persist(id, false);
|
|
189
|
+
this.inhibited.add(id);
|
|
190
|
+
try {
|
|
191
|
+
if (id === 'ui')
|
|
192
|
+
await this.runtime.pause();
|
|
193
|
+
else
|
|
194
|
+
await this.host.controlProcess(id, 'stop');
|
|
195
|
+
}
|
|
196
|
+
catch (error) {
|
|
197
|
+
// Stop implementations retain their failed drain fence for this owner
|
|
198
|
+
// lifecycle. Do not offer an activation that they cannot safely admit.
|
|
199
|
+
this.stopFailures.add(id);
|
|
200
|
+
throw error;
|
|
201
|
+
}
|
|
202
|
+
this.assertOpen();
|
|
203
|
+
if (action === 'disable') {
|
|
204
|
+
this.inhibited.delete(id);
|
|
205
|
+
return;
|
|
206
|
+
}
|
|
207
|
+
const reason = this.startReason(id, true);
|
|
208
|
+
if (reason)
|
|
209
|
+
throw fail(reason);
|
|
210
|
+
await this.persist(id, true);
|
|
211
|
+
this.inhibited.delete(id);
|
|
212
|
+
if (id === 'ui')
|
|
213
|
+
await this.runtime.resume();
|
|
214
|
+
else
|
|
215
|
+
await this.host.controlProcess(id, 'start');
|
|
216
|
+
this.assertOpen();
|
|
217
|
+
}
|
|
218
|
+
/** Await the accepted transaction, including an already-issued storage write. @returns {Promise<void>} */
|
|
219
|
+
async whenIdle() { await this.pending; }
|
|
220
|
+
/** Revoke immediately, then drain an accepted mutation before owner shutdown. @returns {Promise<void>} */
|
|
221
|
+
close() { this.closed = true; return this.whenIdle(); }
|
|
222
|
+
}
|
|
223
|
+
module.exports = { EosRuntimeControl };
|
|
224
|
+
//# sourceMappingURL=eosRuntimeControl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eosRuntimeControl.js","sourceRoot":"./src/","sources":["lib/eosRuntimeControl.js"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,YAAY,CAAC;AACb,YAAY;AACZ,MAAM,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;AAC9C,MAAM,EAAE,oBAAoB,EAAE,GAAG,OAAO,CAAC,wBAAwB,CAAC,CAAC;AAEnE,kEAAkE;AAClE,qDAAqD;AACrD,uDAAuD;AACvD,kJAAkJ;AAClJ,mdAAmd;AACnd,6LAA6L;AAC7L,8GAA8G;AAC9G,MAAM,GAAG,GAAG,oBAAoB,CAAC,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AC,QAAQ,KAAK,MAAM,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAExC,0GAA0G;IAC1G,KAAK,KAAK,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;CAC1D;AAED,MAAM,CAAC,OAAO,GAAG,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
/* Copyright (c) 2026 NexoWatt. Confidential and proprietary. */
|
|
2
|
+
'use strict';
|
|
3
|
+
const { pid: parentPid } = require('node:process');
|
|
4
|
+
/** @typedef {Record<string, unknown>} RecordValue */
|
|
5
|
+
/** @typedef {{id:string,label:string,kind:string,state:string,pid:number|null,active:boolean|null,emsReady:boolean|null,connected:boolean|null,generation:number|null,restarts:number|null,reason:string,lastHeartbeatAt:number|null,nextRestartAt:number|null}} ProcessRow */
|
|
6
|
+
/** @typedef {{status:(id:string)=>unknown,owner?:{getObjectViewAsync?:(design:string,search:string,params:RecordValue)=>Promise<unknown>,getForeignStateAsync?:(id:string)=>Promise<unknown>}}} HealthHost */
|
|
7
|
+
const STATES = new Set(['starting', 'running', 'stopping', 'stopped', 'error', 'failed', 'backoff']);
|
|
8
|
+
const HOST_REASONS = new Set(['DISABLED', 'RUNNING', 'STARTING', 'READY', 'PROCESS_BACKOFF', 'CONFIG_INVALID',
|
|
9
|
+
'STOP_FAILED_RESTART_REQUIRED', 'OWNERSHIP_CHANGED', 'LICENSE_REQUIRED', 'LICENSE_INVALID',
|
|
10
|
+
'LEGACY_ENABLED_OR_UNKNOWN', 'LEGACY_STOP_NOT_CONFIRMED', 'START_FAILED', 'STOPPED', 'MODULE_CALLBACK_FAILED',
|
|
11
|
+
'LEGACY_CONFLICT', 'OWNERSHIP_UNAVAILABLE', 'START_FAILED_RESTART_REQUIRED', 'CONFIG_CHANGED']);
|
|
12
|
+
const MODULE_LABELS = Object.freeze({ devices: 'Geräte', eebus: 'EEBus', backup: 'Sicherung', ocpp: 'OCPP-Ladestationen' });
|
|
13
|
+
/** @param {unknown} value @returns {RecordValue} */
|
|
14
|
+
function record(value) { return value && typeof value === 'object' && !Array.isArray(value) ? /** @type {RecordValue} */ (value) : {}; }
|
|
15
|
+
/** @param {unknown} value @returns {number|null} */
|
|
16
|
+
function natural(value) { return typeof value === 'number' && Number.isSafeInteger(value) && value >= 0 ? value : null; }
|
|
17
|
+
/** @param {unknown} value @returns {number|null} */
|
|
18
|
+
function pid(value) { const result = natural(value); return result && result <= 2147483647 ? result : null; }
|
|
19
|
+
/** @param {unknown} value @returns {number|null} */
|
|
20
|
+
function timestamp(value) { const result = natural(value); return result && result <= 8640000000000000 ? result : null; }
|
|
21
|
+
/** @param {unknown} value @returns {boolean|null} */
|
|
22
|
+
function boolean(value) { return typeof value === 'boolean' ? value : null; }
|
|
23
|
+
/** Only protocol codes, never arbitrary runtime exception text. @param {unknown} value */
|
|
24
|
+
function reason(value) {
|
|
25
|
+
return typeof value === 'string' && value.length <= 80 && (HOST_REASONS.has(value) || /^(?:EOS|EEBUS)_[A-Z0-9_]+$/.test(value)) ? value : '';
|
|
26
|
+
}
|
|
27
|
+
/** @param {string} id @param {string} label @param {string} kind @returns {ProcessRow} */
|
|
28
|
+
function unknownRow(id, label, kind) {
|
|
29
|
+
return { id, label, kind, state: 'unknown', pid: null, active: null, emsReady: null, connected: null,
|
|
30
|
+
generation: null, restarts: null, reason: '', lastHeartbeatAt: null, nextRestartAt: null };
|
|
31
|
+
}
|
|
32
|
+
/** Explicit projection: module config, IPC content, license and raw errors are never serialised.
|
|
33
|
+
* @param {string} id @param {string} label @param {unknown} value @param {boolean} [ui]
|
|
34
|
+
* @returns {ProcessRow}
|
|
35
|
+
*/
|
|
36
|
+
function processRow(id, label, value, ui = false) {
|
|
37
|
+
const raw = record(value);
|
|
38
|
+
const details = record(raw.details);
|
|
39
|
+
const process = record(ui ? raw.process : details.process);
|
|
40
|
+
const result = unknownRow(id, label, 'child');
|
|
41
|
+
result.state = typeof process.state === 'string' && STATES.has(process.state) ? process.state : 'unknown';
|
|
42
|
+
if (raw.enabled === false && ['unknown', 'stopped'].includes(result.state))
|
|
43
|
+
result.state = 'disabled';
|
|
44
|
+
result.pid = ['running', 'starting', 'stopping'].includes(result.state) ? pid(process.pid) : null;
|
|
45
|
+
result.active = raw.active === false ? false : raw.active === true && result.state === 'running' ? true : null;
|
|
46
|
+
if (ui)
|
|
47
|
+
result.emsReady = raw.emsReady === false ? false : raw.emsReady === true && result.active === true ? true : null;
|
|
48
|
+
result.generation = natural(process.generation);
|
|
49
|
+
result.restarts = natural(process.restarts);
|
|
50
|
+
result.reason = reason(process.lastError) || reason(raw.reason);
|
|
51
|
+
result.lastHeartbeatAt = timestamp(process.lastHeartbeatAt);
|
|
52
|
+
result.nextRestartAt = timestamp(process.nextRestartAt);
|
|
53
|
+
if (details.statusUnavailable === true)
|
|
54
|
+
result.active = null;
|
|
55
|
+
return result;
|
|
56
|
+
}
|
|
57
|
+
/** A controller state must be acknowledged, valid and timestamped. @param {unknown} value @param {number} now */
|
|
58
|
+
function controllerState(value, now) {
|
|
59
|
+
const state = record(value);
|
|
60
|
+
const ts = timestamp(state.ts);
|
|
61
|
+
return state.ack === true && (state.q === 0 || state.q === undefined) && ts !== null && ts <= now + 5000 ? state : null;
|
|
62
|
+
}
|
|
63
|
+
/** Exact controller instance inventory only; no user supplied namespace, wildcard states or writes.
|
|
64
|
+
* A reported PID is displayed only while a fresh alive state confirms the same process run.
|
|
65
|
+
* @param {HealthHost['owner']} owner @param {number} [now] @returns {Promise<ProcessRow[]>}
|
|
66
|
+
*/
|
|
67
|
+
async function readExternalOcppStatus(owner, now = Date.now()) {
|
|
68
|
+
if (!owner?.getObjectViewAsync || !owner.getForeignStateAsync)
|
|
69
|
+
return [];
|
|
70
|
+
const view = record(await owner.getObjectViewAsync('system', 'instance', {
|
|
71
|
+
startkey: 'system.adapter.ocpp21.', endkey: 'system.adapter.ocpp21.\u9999', limit: 33,
|
|
72
|
+
}));
|
|
73
|
+
if (!Array.isArray(view.rows))
|
|
74
|
+
throw new Error('EOS_RUNTIME_OCPP_INVENTORY');
|
|
75
|
+
if (view.rows.length > 32)
|
|
76
|
+
throw new Error('EOS_RUNTIME_OCPP_LIMIT');
|
|
77
|
+
const instances = [...new Set(view.rows.map(row => record(row).id)
|
|
78
|
+
.filter((id) => typeof id === 'string' && /^system\.adapter\.ocpp21\.\d{1,8}$/.test(id)))];
|
|
79
|
+
return Promise.all(instances.map(async (instanceId) => {
|
|
80
|
+
const instance = /** @type {string} */ (instanceId).slice('system.adapter.'.length);
|
|
81
|
+
const row = unknownRow(instance, `OCPP · ${instance}`, 'external');
|
|
82
|
+
const read = /** @type {NonNullable<NonNullable<HealthHost['owner']>['getForeignStateAsync']>} */ (owner.getForeignStateAsync).bind(owner);
|
|
83
|
+
const [aliveValue, pidValue, connectionValue] = await Promise.all([
|
|
84
|
+
read(`${instanceId}.alive`).catch(() => null), read(`${instanceId}.pid`).catch(() => null), read(`${instance}.info.connection`).catch(() => null),
|
|
85
|
+
]);
|
|
86
|
+
const alive = controllerState(aliveValue, now);
|
|
87
|
+
const reportedPid = controllerState(pidValue, now);
|
|
88
|
+
const connected = controllerState(connectionValue, now);
|
|
89
|
+
if (alive && typeof alive.val === 'boolean' && now - Number(alive.ts) <= 120000) {
|
|
90
|
+
row.state = alive.val ? 'running' : 'stopped';
|
|
91
|
+
row.active = alive.val;
|
|
92
|
+
row.lastHeartbeatAt = timestamp(alive.ts);
|
|
93
|
+
const aliveChanged = timestamp(alive.lc);
|
|
94
|
+
if (alive.val && reportedPid && aliveChanged && Number(reportedPid.ts) >= aliveChanged - 5000)
|
|
95
|
+
row.pid = pid(reportedPid.val);
|
|
96
|
+
}
|
|
97
|
+
if (row.state === 'running' && connected && now - Number(connected.ts) <= 120000)
|
|
98
|
+
row.connected = boolean(connected.val);
|
|
99
|
+
return row;
|
|
100
|
+
}));
|
|
101
|
+
}
|
|
102
|
+
/** @template T @param {Promise<T>} promise @param {number} milliseconds @returns {Promise<T>} */
|
|
103
|
+
function within(promise, milliseconds) {
|
|
104
|
+
/** @type {ReturnType<typeof setTimeout>|undefined} */ let timer;
|
|
105
|
+
return Promise.race([promise, new Promise((_, reject) => { timer = setTimeout(() => reject(new Error('EOS_RUNTIME_STATUS_TIMEOUT')), milliseconds); })])
|
|
106
|
+
.finally(() => clearTimeout(timer));
|
|
107
|
+
}
|
|
108
|
+
/** Single-flight per source remains occupied until the underlying read settles, even after its deadline.
|
|
109
|
+
* This bounds unresolved ioBroker/IPC work across tabs and polling retries.
|
|
110
|
+
* @param {{host:HealthHost,runtimeStatus?:()=>unknown,timeoutMs?:number,runtimeControl?:{view:(id:string,configured?:boolean)=>unknown,isEnabled:(id:string)=>boolean}}} options
|
|
111
|
+
*/
|
|
112
|
+
function createRuntimeHealthReader({ host, runtimeStatus, timeoutMs = 2500, runtimeControl }) {
|
|
113
|
+
/** @type {Map<string, Promise<unknown>>} */ const pending = new Map();
|
|
114
|
+
/** @param {string} id @param {()=>unknown} read */
|
|
115
|
+
const source = (id, read) => {
|
|
116
|
+
let promise = pending.get(id);
|
|
117
|
+
if (!promise) {
|
|
118
|
+
promise = Promise.resolve().then(read);
|
|
119
|
+
pending.set(id, promise);
|
|
120
|
+
void promise.then(() => pending.delete(id), () => pending.delete(id));
|
|
121
|
+
}
|
|
122
|
+
return within(promise, timeoutMs).catch(() => null);
|
|
123
|
+
};
|
|
124
|
+
/** @type {Promise<{observedAt:number,processes:ProcessRow[]}>|null} */ let request = null;
|
|
125
|
+
return () => {
|
|
126
|
+
if (request)
|
|
127
|
+
return request;
|
|
128
|
+
request = (async () => {
|
|
129
|
+
const ids = /** @type {const} */ (['devices', 'eebus', 'backup', 'ocpp']);
|
|
130
|
+
const [values, ui, external] = await Promise.all([
|
|
131
|
+
Promise.all(ids.map(id => source(id, () => host.status(id)))),
|
|
132
|
+
source('ui', () => runtimeStatus?.()), source('ocpp-external', () => readExternalOcppStatus(host.owner)),
|
|
133
|
+
]);
|
|
134
|
+
const parent = unknownRow('admin', 'EOS Administration', 'parent');
|
|
135
|
+
parent.state = 'running';
|
|
136
|
+
parent.pid = parentPid;
|
|
137
|
+
parent.active = true;
|
|
138
|
+
const processes = [parent, processRow('ui', 'Oberfläche und EMS', ui, true),
|
|
139
|
+
...ids.map((id, index) => processRow(id, MODULE_LABELS[id], values[index]))];
|
|
140
|
+
for (const row of processes) {
|
|
141
|
+
if (row.kind !== 'child' || !runtimeControl)
|
|
142
|
+
continue;
|
|
143
|
+
const configured = row.id === 'ui' || record(values[ids.indexOf(/** @type {'devices'|'eebus'|'backup'|'ocpp'} */ (row.id))]).enabled === true;
|
|
144
|
+
const controls = runtimeControl.view(row.id, configured);
|
|
145
|
+
Object.assign(row, { controls });
|
|
146
|
+
if (!runtimeControl.isEnabled(row.id)) {
|
|
147
|
+
row.active = false;
|
|
148
|
+
if (row.id === 'ui')
|
|
149
|
+
row.emsReady = false;
|
|
150
|
+
if (['unknown', 'stopped'].includes(row.state))
|
|
151
|
+
row.state = 'disabled';
|
|
152
|
+
row.reason = reason(record(controls).reason) || 'EOS_RUNTIME_DISABLED';
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
const hostedNamespace = record(values[ids.indexOf('ocpp')]).namespace;
|
|
156
|
+
if (Array.isArray(external))
|
|
157
|
+
processes.push(... /** @type {ProcessRow[]} */(external)
|
|
158
|
+
.filter(row => row.id !== hostedNamespace || row.state !== 'stopped'));
|
|
159
|
+
else {
|
|
160
|
+
const row = unknownRow('ocpp-external', 'OCPP · externe Instanzprüfung', 'external');
|
|
161
|
+
row.reason = 'EOS_RUNTIME_OCPP_UNAVAILABLE';
|
|
162
|
+
processes.push(row);
|
|
163
|
+
}
|
|
164
|
+
return { observedAt: Date.now(), processes };
|
|
165
|
+
})().finally(() => { request = null; });
|
|
166
|
+
return request;
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
module.exports = { createRuntimeHealthReader, processRow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