iobroker.eos-admin 9.0.21 → 9.0.24
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 +32 -8
- 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/adminWww/.vite/manifest.json +55 -55
- package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +13760 -13760
- package/adminWww/assets/{AdapterUpdateDialog-Dxl_b7Op.js → AdapterUpdateDialog-D7sI5VRm.js} +1 -1
- package/adminWww/assets/{Adapters-CVKKhXmI.js → Adapters-DS6ITaEH.js} +1 -1
- package/adminWww/assets/{ConfigManager-Bf6nTAkL.js → ConfigManager-_iFDSXuD.js} +1 -1
- package/adminWww/assets/{Enums-CJHVJY7t.js → Enums-Bdv7Tqmf.js} +1 -1
- package/adminWww/assets/{Fields-DWHbZKvm.js → Fields-CWUY1AnV.js} +1 -1
- package/adminWww/assets/{Files-a6owMTXA.js → Files-BveV1b_F.js} +1 -1
- package/adminWww/assets/{Hosts-LtEMeXpV.js → Hosts-B1HWZLGl.js} +1 -1
- package/adminWww/assets/{Instances-DhChziA1.js → Instances-DYvbOlj7.js} +1 -1
- package/adminWww/assets/{Intro-Cyq9gVDC.js → Intro-pYT2FzIK.js} +1 -1
- package/adminWww/assets/{Logs-wcramXsg.js → Logs-D2ZbCY3Z.js} +1 -1
- package/adminWww/assets/{Objects-DINVHd_e.js → Objects-CTUxbXJM.js} +1 -1
- package/adminWww/assets/{Overview-DK4R41zR.js → Overview-i6PsoN_F.js} +1 -1
- package/adminWww/assets/{State-DcEACXzL.js → State-BEQXNcI3.js} +1 -1
- package/adminWww/assets/{UsedResources-C1LcM0Rb.js → UsedResources-CLc1afk1.js} +1 -1
- package/adminWww/assets/{Users-DvDdSyDY.js → Users-DG6i7iqC.js} +1 -1
- package/adminWww/assets/{bootstrap-Dbj_GbnP.js → bootstrap-4KhX67tn.js} +4 -4
- package/adminWww/assets/{hostInit-BNFIx0-f.js → hostInit-B08JmaAP.js} +1 -1
- package/adminWww/assets/{icons-material-DVbdXNgr.js → icons-material-sOCHi6x9.js} +1 -1
- package/adminWww/assets/{index-CoKP1NSA.js → index-DHSNS0v8.js} +2 -2
- package/adminWww/assets/{installSVGRenderer-CMvku1F1.js → installSVGRenderer-CWaaO5tF.js} +1 -1
- package/adminWww/assets/{mf-entry-bootstrap-0-ac330bce.js → mf-entry-bootstrap-0-e7c54f7f.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.21.js → remoteEntry-eos-9.0.24.js} +1 -1
- 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 +14 -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 +1 -1
- package/build/lib/eosModuleConfigStore.js.map +1 -1
- package/build/lib/eosModuleHost.js +241 -21
- package/build/lib/eosModuleHost.js.map +1 -1
- package/build/lib/eosModuleHttp.js +40 -6
- 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/eosRuntimeHealth.js +155 -0
- package/build/lib/eosRuntimeHealth.js.map +1 -0
- package/build/lib/eosUiProcess.js +689 -0
- package/build/lib/eosUiProcess.js.map +1 -0
- package/build/lib/eosUiProcessRpc.js +279 -0
- package/build/lib/eosUiProcessRpc.js.map +1 -0
- package/build/lib/eosUiProcessWorker.js +399 -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 +104 -7
- package/build/lib/web.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/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 +16 -17
- 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 +27 -11
- package/public/eos-migration/index.html +1 -1
- package/public/eos-migration/index.js +2 -2
- package/public/eos-runtime/index.html +35 -0
- package/public/eos-runtime/index.js +111 -0
- package/public/eos-runtime/style.css +18 -0
- package/release-manifests/unified/build-environment.cdx.json +767 -131
- package/release-manifests/unified/files.json +612 -207
- package/release-manifests/unified/obsolete-admin-assets.json +210 -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 +19 -7
- 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/ui/admin/react/assets/index-BJO3q7oe.js +0 -13
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/lib/installer-lifecycle.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:d663f11e31c885760fe9a0d4e9be7b8d2b41c83f47ecf281ec37e450cafd3ef2
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -64,7 +64,9 @@ function installerRevision(patch) {
|
|
|
64
64
|
* Once present, a missing or stale token must never replace a newer nonempty row list. */
|
|
65
65
|
function assertInstallerRevision(expected, patch) {
|
|
66
66
|
const bindings = record(record(record(patch).eosDeviceEms).bindings);
|
|
67
|
-
const
|
|
67
|
+
const ocppRows = record(record(patch).settingsConfig).evcsList;
|
|
68
|
+
const required = Object.keys(bindings).length > 0 || (Array.isArray(ocppRows)
|
|
69
|
+
&& ocppRows.some(row => record(record(row).ocppDiscovery).source === 'nexowatt-ocpp21'));
|
|
68
70
|
if ((expected === undefined || expected === null) && !required)
|
|
69
71
|
return;
|
|
70
72
|
if (typeof expected !== 'string' || !/^[a-f0-9]{64}$/.test(expected) || expected !== installerRevision(patch)) {
|
|
@@ -0,0 +1,397 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026 NexoWatt. All rights reserved.
|
|
3
|
+
* Confidential and Proprietary.
|
|
4
|
+
* Use, modification or distribution without express written permission is prohibited.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
|
+
*
|
|
9
|
+
* Quelle: src-ts/runtime-executables/lib/ocpp-auto-discovery.ts
|
|
10
|
+
* Quell-Hash: sha256:e68a9d3f1cd8d5f1d5096f12d1de05ac217fe507cb921343d695cfb6f8c462bb
|
|
11
|
+
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
|
+
*
|
|
13
|
+
* Zweck:
|
|
14
|
+
* Diese JavaScript-Datei ist das ausführbare Build-Artefakt für lib/ocpp-auto-discovery.js.
|
|
15
|
+
* Die fachliche Bearbeitung erfolgt ab 0.7.131 in der TypeScript-Quelle.
|
|
16
|
+
* Ab 0.7.132 sind doppelte Legacy-JS-Bäume wie .nwcore entfernt.
|
|
17
|
+
*
|
|
18
|
+
* Pflege-Regel:
|
|
19
|
+
* 1. Änderung zuerst in src-ts/runtime-executables/ vornehmen.
|
|
20
|
+
* 2. npm run sync:ts-runtime-executables ausführen.
|
|
21
|
+
* 3. npm run test:runtime-executables prüfen.
|
|
22
|
+
*/
|
|
23
|
+
"use strict";
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.OcppAutoDiscovery = exports.OCPP_NATIVE_CONTRACT = void 0;
|
|
26
|
+
exports.ocppStationRoot = ocppStationRoot;
|
|
27
|
+
exports.ocppRootInScope = ocppRootInScope;
|
|
28
|
+
exports.ocppNamespace = ocppNamespace;
|
|
29
|
+
exports.ocppDiscoveryPatterns = ocppDiscoveryPatterns;
|
|
30
|
+
exports.collectOcppStations = collectOcppStations;
|
|
31
|
+
exports.normalizeOcppDiscovery = normalizeOcppDiscovery;
|
|
32
|
+
exports.planOcppDiscovery = planOcppDiscovery;
|
|
33
|
+
exports.OCPP_NATIVE_CONTRACT = 'nexowatt-ocpp21-0.4-native';
|
|
34
|
+
const MAX_STATIONS = 128;
|
|
35
|
+
const MAX_OBJECTS = 50000;
|
|
36
|
+
const MAX_ROWS = 50;
|
|
37
|
+
const META = new Set(['eosContract', 'deviceType', 'identity', 'protocol', 'connectorCount', 'evseCount', 'topologySource', 'controlScope', 'topologyJson', 'socketConnected']);
|
|
38
|
+
const record = (value) => value !== null && typeof value === 'object' && !Array.isArray(value) ? value : {};
|
|
39
|
+
const text = (value, max = 160) => typeof value === 'string' && value.length <= max && !/[\x00-\x1f\x7f]/.test(value) ? value : '';
|
|
40
|
+
const empty = (value) => value === null || value === undefined || value === '';
|
|
41
|
+
const fail = (code) => Object.assign(new Error(code), { code });
|
|
42
|
+
const valueOf = (states, id) => {
|
|
43
|
+
const state = record(states[id]);
|
|
44
|
+
return state.ack !== false && (state.q === undefined || state.q === 0) ? state.val : undefined;
|
|
45
|
+
};
|
|
46
|
+
/** Known native and previous public alias identities. Arbitrary aliases are never guessed. */
|
|
47
|
+
function ocppStationRoot(value) {
|
|
48
|
+
const id = text(value, 512);
|
|
49
|
+
const hosted = /^(eos-admin\.\d+\.ocpp)\.([A-Za-z0-9_-]+)(?:\.|$)/.exec(id);
|
|
50
|
+
if (hosted && hosted[2] && !['__proto__', 'prototype', 'constructor'].includes(hosted[2]))
|
|
51
|
+
return `${hosted[1]}.${hosted[2]}`;
|
|
52
|
+
const match = /^(?:ocpp21\.(\d+)\.([A-Za-z0-9_-]+)|alias\.0\.nexowatt\.ocpp\.(\d+)\.([A-Za-z0-9_-]+)|alias\.0\.ocpp21\.(\d+)\.([A-Za-z0-9_-]+))(?:\.|$)/.exec(id);
|
|
53
|
+
if (!match)
|
|
54
|
+
return '';
|
|
55
|
+
const instance = match[1] ?? match[3] ?? match[5];
|
|
56
|
+
const station = match[2] ?? match[4] ?? match[6];
|
|
57
|
+
if (!station || ['__proto__', 'prototype', 'constructor'].includes(station))
|
|
58
|
+
return '';
|
|
59
|
+
return `ocpp21.${instance}.${station}`;
|
|
60
|
+
}
|
|
61
|
+
/** Only the owning EOS instance may discover/control its hosted OCPP tree. */
|
|
62
|
+
function ocppRootInScope(root, hostNamespace) {
|
|
63
|
+
if (ocppStationRoot(root) !== root)
|
|
64
|
+
return false;
|
|
65
|
+
return root.startsWith('ocpp21.') || (typeof hostNamespace === 'string' && /^eos-admin\.\d+$/.test(hostNamespace)
|
|
66
|
+
&& root.startsWith(`${hostNamespace}.ocpp.`));
|
|
67
|
+
}
|
|
68
|
+
function ocppNamespace(root) {
|
|
69
|
+
return ocppStationRoot(root) === root ? root.slice(0, root.lastIndexOf('.')) : '';
|
|
70
|
+
}
|
|
71
|
+
function ocppDiscoveryPatterns(hostNamespace) {
|
|
72
|
+
return ['ocpp21.*', ...(typeof hostNamespace === 'string' && /^eos-admin\.\d+$/.test(hostNamespace)
|
|
73
|
+
? [`${hostNamespace}.ocpp.*`] : [])];
|
|
74
|
+
}
|
|
75
|
+
const SPECS = [
|
|
76
|
+
{ field: 'powerId', suffix: 'measurements.powerW', type: 'number', unit: 'W', required: true },
|
|
77
|
+
{ field: 'currentId', suffix: 'measurements.currentA', type: 'number', unit: 'A' },
|
|
78
|
+
{ field: 'energyTotalId', suffix: 'measurements.energyKWh', type: 'number', unit: 'kWh' },
|
|
79
|
+
{ field: 'statusId', suffix: 'info.status', type: 'string', required: true },
|
|
80
|
+
{ field: 'chargingStateId', suffix: 'transactions.chargingState', type: 'string' },
|
|
81
|
+
{ field: 'activeId', suffix: 'transactions.transactionActive', type: 'boolean' },
|
|
82
|
+
{ field: 'heartbeatId', suffix: 'health.lastSeenMs', type: 'number', required: true },
|
|
83
|
+
{ field: 'onlineId', suffix: 'info.socketConnected', type: 'boolean', required: true },
|
|
84
|
+
{ field: 'dataFreshId', suffix: 'health.dataFresh', type: 'boolean', required: true },
|
|
85
|
+
{ field: 'setPowerWId', suffix: 'control.chargeLimit', type: 'number', unit: 'W', write: true, required: true },
|
|
86
|
+
{ field: 'enableWriteId', suffix: 'control.availability', type: 'boolean', write: true, required: true },
|
|
87
|
+
{ field: 'appliedChargeLimitWId', suffix: 'control.appliedChargeLimitW', type: 'number', unit: 'W', required: true },
|
|
88
|
+
{ field: 'appliedChargeLimitValidId', suffix: 'control.appliedChargeLimitValid', type: 'boolean', required: true },
|
|
89
|
+
{ field: 'vehicleSocId', suffix: 'measurements.socPercent', type: 'number', unit: '%' },
|
|
90
|
+
{ field: 'rfidReadId', suffix: 'info.rfid', type: 'string' },
|
|
91
|
+
];
|
|
92
|
+
const ID_FIELDS = [...SPECS.map(spec => spec.field), 'setCurrentAId', 'phaseSwitchId', 'energySessionId'];
|
|
93
|
+
/** Object definitions establish units/directions; a stale measurement is not used to register a writer. */
|
|
94
|
+
function collectOcppStations(objectInput, stateInput, hostNamespace) {
|
|
95
|
+
const objects = record(objectInput);
|
|
96
|
+
const states = record(stateInput);
|
|
97
|
+
const keys = Object.keys(objects);
|
|
98
|
+
if (keys.length > MAX_OBJECTS || Object.keys(states).length > MAX_OBJECTS)
|
|
99
|
+
throw fail('EOS_OCPP_DISCOVERY_INVENTORY_LIMIT');
|
|
100
|
+
const roots = [...new Set(keys.filter(id => id.endsWith('.info.eosContract')).map(ocppStationRoot).filter(root => ocppRootInScope(root, hostNamespace)))].sort();
|
|
101
|
+
if (roots.length > MAX_STATIONS)
|
|
102
|
+
throw fail('EOS_OCPP_DISCOVERY_STATION_LIMIT');
|
|
103
|
+
const count = (value) => typeof value === 'number' && Number.isInteger(value) && value >= 0 && value <= 1024 ? value : null;
|
|
104
|
+
const stations = [];
|
|
105
|
+
for (const root of roots) {
|
|
106
|
+
if (valueOf(states, `${root}.info.eosContract`) !== exports.OCPP_NATIVE_CONTRACT || valueOf(states, `${root}.info.deviceType`) !== 'evCharger')
|
|
107
|
+
continue;
|
|
108
|
+
const scope = valueOf(states, `${root}.info.controlScope`);
|
|
109
|
+
if (scope !== undefined && scope !== '' && scope !== 'station')
|
|
110
|
+
continue;
|
|
111
|
+
const ids = {};
|
|
112
|
+
const missing = [];
|
|
113
|
+
for (const spec of SPECS) {
|
|
114
|
+
const id = `${root}.${spec.suffix}`;
|
|
115
|
+
const object = record(objects[id]);
|
|
116
|
+
const common = record(object.common);
|
|
117
|
+
const valid = object.type === 'state' && (object._id === undefined || object._id === id)
|
|
118
|
+
&& common.type === spec.type && common.read !== false && (!spec.write || common.write === true)
|
|
119
|
+
&& (!spec.unit || common.unit === spec.unit);
|
|
120
|
+
if (valid)
|
|
121
|
+
ids[spec.field] = id;
|
|
122
|
+
else if (spec.required)
|
|
123
|
+
missing.push(spec.field);
|
|
124
|
+
}
|
|
125
|
+
const connectors = new Map();
|
|
126
|
+
// Optional detail objects describe topology; they never become independent command paths.
|
|
127
|
+
for (const id of keys) {
|
|
128
|
+
if (!id.startsWith(`${root}.connectors.`))
|
|
129
|
+
continue;
|
|
130
|
+
const match = /^(\d+)_(\d+)(?:\.|$)/.exec(id.slice(`${root}.connectors.`.length));
|
|
131
|
+
if (!match)
|
|
132
|
+
continue;
|
|
133
|
+
const evseId = Number(match[1]);
|
|
134
|
+
const connectorId = Number(match[2]);
|
|
135
|
+
if (evseId > 0 && evseId <= 1024 && connectorId > 0 && connectorId <= 1024)
|
|
136
|
+
connectors.set(`${evseId}:${connectorId}`, { evseId, connectorId });
|
|
137
|
+
if (connectors.size > 1024)
|
|
138
|
+
throw fail('EOS_OCPP_DISCOVERY_TOPOLOGY_LIMIT');
|
|
139
|
+
}
|
|
140
|
+
// Newer contracts publish topology even when optional connector detail objects are off.
|
|
141
|
+
const topology = valueOf(states, `${root}.info.topologyJson`);
|
|
142
|
+
if (typeof topology === 'string' && topology.length <= 32768) {
|
|
143
|
+
try {
|
|
144
|
+
const parsed = JSON.parse(topology);
|
|
145
|
+
const ports = Array.isArray(parsed) ? parsed : record(parsed).connectors;
|
|
146
|
+
if (Array.isArray(ports) && ports.length <= 1024)
|
|
147
|
+
for (const port of ports) {
|
|
148
|
+
const p = record(port);
|
|
149
|
+
const evseId = count(p.evseId);
|
|
150
|
+
const connectorId = count(p.connectorId);
|
|
151
|
+
if (evseId && connectorId)
|
|
152
|
+
connectors.set(`${evseId}:${connectorId}`, { evseId, connectorId });
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
catch { /* Invalid optional topology must not grant any additional control scope. */ }
|
|
156
|
+
}
|
|
157
|
+
stations.push({ root, adapterInstance: ocppNamespace(root),
|
|
158
|
+
name: text(valueOf(states, `${root}.info.identity`), 120) || root.slice(root.lastIndexOf('.') + 1),
|
|
159
|
+
protocol: text(valueOf(states, `${root}.info.protocol`), 30), ids, missing,
|
|
160
|
+
connectorCount: count(valueOf(states, `${root}.info.connectorCount`)), evseCount: count(valueOf(states, `${root}.info.evseCount`)),
|
|
161
|
+
topologySource: text(valueOf(states, `${root}.info.topologySource`), 60) || 'unknown',
|
|
162
|
+
connectors: [...connectors.values()].sort((a, b) => a.evseId - b.evseId || a.connectorId - b.connectorId) });
|
|
163
|
+
}
|
|
164
|
+
return stations;
|
|
165
|
+
}
|
|
166
|
+
function rootsOf(row) {
|
|
167
|
+
return [...new Set([...ID_FIELDS.map(key => ocppStationRoot(row[key])), ocppStationRoot(record(row.ocppDiscovery).stationRoot)].filter(Boolean))];
|
|
168
|
+
}
|
|
169
|
+
/** Only bounded discovery metadata crosses the normalized runtime configuration. */
|
|
170
|
+
function normalizeOcppDiscovery(value) {
|
|
171
|
+
const input = record(value);
|
|
172
|
+
const stationRoot = text(input.stationRoot, 200);
|
|
173
|
+
if (input.source !== 'nexowatt-ocpp21' || input.contract !== exports.OCPP_NATIVE_CONTRACT
|
|
174
|
+
|| input.controlScope !== 'station' || ocppStationRoot(stationRoot) !== stationRoot
|
|
175
|
+
|| !['MAPPED', 'COMMISSIONING_REQUIRED', 'CONTRACT_INCOMPLETE', 'CONTROL_GROUP_CONFLICT', 'MIXED_MANUAL_MAPPING', 'MANUAL_MAPPING_REVIEW_REQUIRED'].includes(String(input.code)))
|
|
176
|
+
return null;
|
|
177
|
+
const count = (item) => typeof item === 'number' && Number.isInteger(item) && item >= 0 && item <= 1024 ? item : null;
|
|
178
|
+
const connectors = Array.isArray(input.connectors) ? input.connectors.slice(0, 1024).map(item => {
|
|
179
|
+
const port = record(item);
|
|
180
|
+
return { evseId: count(port.evseId), connectorId: count(port.connectorId) };
|
|
181
|
+
}).filter(port => port.evseId !== null && port.evseId > 0 && port.connectorId !== null && port.connectorId > 0) : [];
|
|
182
|
+
return { source: 'nexowatt-ocpp21', stationRoot, contract: exports.OCPP_NATIVE_CONTRACT, controlScope: 'station',
|
|
183
|
+
code: input.code, autoCreated: input.autoCreated === true, connectorCount: count(input.connectorCount), evseCount: count(input.evseCount),
|
|
184
|
+
topologySource: text(input.topologySource, 60) || 'unknown', connectors };
|
|
185
|
+
}
|
|
186
|
+
function knownAliasEquivalent(field, current, canonical, root) {
|
|
187
|
+
const id = text(current, 512);
|
|
188
|
+
if (!id.startsWith('alias.0.') || ocppStationRoot(id) !== root)
|
|
189
|
+
return false;
|
|
190
|
+
const suffix = canonical.slice(root.length + 1).toLowerCase();
|
|
191
|
+
if (id.toLowerCase().endsWith(`.${suffix}`))
|
|
192
|
+
return true;
|
|
193
|
+
const aliases = {
|
|
194
|
+
powerId: ['powerw', 'power'], energyTotalId: ['energykwh', 'energytotal'],
|
|
195
|
+
statusId: ['status'], onlineId: ['socketconnected'], dataFreshId: ['datafresh'],
|
|
196
|
+
setPowerWId: ['chargelimit', 'setpowerw'], enableWriteId: ['availability'],
|
|
197
|
+
heartbeatId: ['lastseenms'], activeId: ['transactionactive'], chargingStateId: ['chargingstate'],
|
|
198
|
+
vehicleSocId: ['socpercent'], rfidReadId: ['rfid'],
|
|
199
|
+
};
|
|
200
|
+
return (aliases[field] || []).some(suffix => id.toLowerCase().endsWith(`.${suffix}`));
|
|
201
|
+
}
|
|
202
|
+
/** Called inside the shared installer mutation lock with the latest configuration. */
|
|
203
|
+
function planOcppDiscovery(configInput, stations, options = {}) {
|
|
204
|
+
const config = record(configInput);
|
|
205
|
+
const settings = record(config.settingsConfig);
|
|
206
|
+
const limit = options.maxRows ?? MAX_ROWS;
|
|
207
|
+
if (!Number.isInteger(limit) || limit < 0)
|
|
208
|
+
throw fail('EOS_OCPP_LICENSE_LIMIT_INVALID');
|
|
209
|
+
const maxRows = Math.min(MAX_ROWS, limit);
|
|
210
|
+
if (settings.evcsList !== undefined && !Array.isArray(settings.evcsList))
|
|
211
|
+
throw fail('EOS_OCPP_CONFIG_INVALID');
|
|
212
|
+
const original = (settings.evcsList || []);
|
|
213
|
+
if (original.length > MAX_ROWS || original.some(row => !row || typeof row !== 'object' || Array.isArray(row)))
|
|
214
|
+
throw fail('EOS_OCPP_CONFIG_INVALID');
|
|
215
|
+
const rows = original.map(row => ({ ...record(row) }));
|
|
216
|
+
const statuses = [];
|
|
217
|
+
if (stations.length > MAX_STATIONS)
|
|
218
|
+
throw fail('EOS_OCPP_DISCOVERY_STATION_LIMIT');
|
|
219
|
+
for (const station of stations) {
|
|
220
|
+
const found = rows.map((row, index) => ({ row, index })).filter(item => rootsOf(item.row).includes(station.root));
|
|
221
|
+
const existing = found[0];
|
|
222
|
+
let code = station.missing.length ? 'CONTRACT_INCOMPLETE' : 'MAPPED';
|
|
223
|
+
if (found.length > 1)
|
|
224
|
+
code = 'CONTROL_GROUP_CONFLICT';
|
|
225
|
+
else if (existing && rootsOf(existing.row).length > 1)
|
|
226
|
+
code = 'MIXED_MANUAL_MAPPING';
|
|
227
|
+
else if (!found.length && rows.length >= maxRows)
|
|
228
|
+
code = maxRows < MAX_ROWS ? 'LICENSE_LIMIT' : 'ROW_LIMIT';
|
|
229
|
+
const blocked = ['CONTROL_GROUP_CONFLICT', 'MIXED_MANUAL_MAPPING', 'ROW_LIMIT', 'LICENSE_LIMIT'].includes(code);
|
|
230
|
+
const index = existing ? existing.index : rows.length;
|
|
231
|
+
// Partial registration is visible, with every verified field filled now; retry completes it later.
|
|
232
|
+
if (!blocked) {
|
|
233
|
+
const next = existing ? { ...existing.row } : { enabled: false, name: station.name, stationKey: station.root, connectorNo: 1 };
|
|
234
|
+
const autoCreated = !existing || record(next.ocppDiscovery).autoCreated === true;
|
|
235
|
+
const manualMonitor = !!existing && !autoCreated && next.enabled !== false
|
|
236
|
+
&& empty(next.setCurrentAId) && empty(next.setPowerWId);
|
|
237
|
+
for (const [key, id] of Object.entries(station.ids)) {
|
|
238
|
+
// Discovering an existing monitor must not authorize a first command writer.
|
|
239
|
+
if (manualMonitor && (key === 'setPowerWId' || key === 'enableWriteId'))
|
|
240
|
+
continue;
|
|
241
|
+
if (key === 'setPowerWId' && !empty(next.setCurrentAId) && empty(next.setPowerWId))
|
|
242
|
+
continue;
|
|
243
|
+
if (empty(next[key]) || knownAliasEquivalent(key, next[key], id, station.root)) {
|
|
244
|
+
next[key] = id;
|
|
245
|
+
if (key === 'energyTotalId')
|
|
246
|
+
next.energyTotalInputIsWh = false;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
if (empty(next.telemetryProfile))
|
|
250
|
+
next.telemetryProfile = 'nexowattocpp';
|
|
251
|
+
if (empty(next.controlPreference) && empty(next.setCurrentAId) && !manualMonitor)
|
|
252
|
+
next.controlPreference = 'powerW';
|
|
253
|
+
if (code === 'MAPPED' && next.enabled === false)
|
|
254
|
+
code = 'COMMISSIONING_REQUIRED';
|
|
255
|
+
if (manualMonitor)
|
|
256
|
+
code = 'MANUAL_MAPPING_REVIEW_REQUIRED';
|
|
257
|
+
next.ocppDiscovery = { source: 'nexowatt-ocpp21', stationRoot: station.root, contract: exports.OCPP_NATIVE_CONTRACT,
|
|
258
|
+
controlScope: 'station', connectorCount: station.connectorCount, evseCount: station.evseCount,
|
|
259
|
+
topologySource: station.topologySource, connectors: station.connectors, code, autoCreated };
|
|
260
|
+
rows[index] = next;
|
|
261
|
+
}
|
|
262
|
+
statuses.push({ root: station.root, adapterInstance: station.adapterInstance, rowIndex: blocked && !found.length ? null : index,
|
|
263
|
+
code, connectorCount: station.connectorCount, evseCount: station.evseCount, topologySource: station.topologySource, missing: station.missing });
|
|
264
|
+
}
|
|
265
|
+
const count = settings.evcsCount;
|
|
266
|
+
if (count !== undefined && (typeof count !== 'number' || !Number.isInteger(count) || count < 0 || count > MAX_ROWS))
|
|
267
|
+
throw fail('EOS_OCPP_CONFIG_INVALID');
|
|
268
|
+
const nextCount = Math.max(typeof count === 'number' ? count : 0, rows.length);
|
|
269
|
+
const changed = JSON.stringify(rows) !== JSON.stringify(original) || (rows.length > 0 && count !== nextCount);
|
|
270
|
+
return { changed, patch: changed ? { settingsConfig: { ...settings, evcsList: rows, evcsCount: nextCount } } : {}, statuses };
|
|
271
|
+
}
|
|
272
|
+
/** Single-flight scans coalesce registration events; periodic retry covers missed events/restarts. */
|
|
273
|
+
class OcppAutoDiscovery {
|
|
274
|
+
constructor(options) {
|
|
275
|
+
this.options = options;
|
|
276
|
+
this.stopped = false;
|
|
277
|
+
this.started = false;
|
|
278
|
+
this.dirty = false;
|
|
279
|
+
this.running = null;
|
|
280
|
+
this.metadata = new Map();
|
|
281
|
+
this.view = { state: 'idle', error: '', ts: 0, stations: [] };
|
|
282
|
+
}
|
|
283
|
+
status() { return { ...this.view, stations: this.view.stations.map(item => ({ ...item, missing: [...item.missing] })) }; }
|
|
284
|
+
async start() {
|
|
285
|
+
if (this.started || this.stopped)
|
|
286
|
+
return;
|
|
287
|
+
this.started = true;
|
|
288
|
+
try {
|
|
289
|
+
await this.readBounded(this.options.subscribe());
|
|
290
|
+
}
|
|
291
|
+
catch {
|
|
292
|
+
this.options.warn('EOS_OCPP_SUBSCRIBE_FAILED');
|
|
293
|
+
}
|
|
294
|
+
if (this.stopped)
|
|
295
|
+
return;
|
|
296
|
+
this.poll = setInterval(() => this.request(), this.options.pollMs ?? 60000);
|
|
297
|
+
this.poll.unref?.();
|
|
298
|
+
await this.refresh();
|
|
299
|
+
}
|
|
300
|
+
onStateChange(id, state) {
|
|
301
|
+
const root = ocppStationRoot(id);
|
|
302
|
+
if (!ocppRootInScope(root, this.options.hostNamespace) || !id.startsWith(`${root}.info.`) || !META.has(id.slice(`${root}.info.`.length)))
|
|
303
|
+
return;
|
|
304
|
+
const st = record(state);
|
|
305
|
+
const value = typeof st.val === 'string' ? (st.val.length <= 32768 ? st.val : 'oversized-metadata')
|
|
306
|
+
: typeof st.val === 'boolean' || (typeof st.val === 'number' && Number.isFinite(st.val)) ? st.val : null;
|
|
307
|
+
const signature = JSON.stringify([value, typeof st.q === 'number' ? st.q : null, st.ack === true]);
|
|
308
|
+
if (this.metadata.get(id) === signature)
|
|
309
|
+
return;
|
|
310
|
+
if (this.metadata.size < MAX_STATIONS * META.size)
|
|
311
|
+
this.metadata.set(id, signature);
|
|
312
|
+
this.request();
|
|
313
|
+
}
|
|
314
|
+
request() {
|
|
315
|
+
if (this.stopped || !this.started)
|
|
316
|
+
return;
|
|
317
|
+
this.dirty = true;
|
|
318
|
+
if (this.running || this.timer)
|
|
319
|
+
return;
|
|
320
|
+
this.timer = setTimeout(() => { this.timer = undefined; void this.refresh(); }, this.options.debounceMs ?? 500);
|
|
321
|
+
this.timer.unref?.();
|
|
322
|
+
}
|
|
323
|
+
async refresh() {
|
|
324
|
+
if (this.stopped)
|
|
325
|
+
return;
|
|
326
|
+
this.dirty = true;
|
|
327
|
+
if (this.running)
|
|
328
|
+
return this.running;
|
|
329
|
+
this.running = this.drain();
|
|
330
|
+
try {
|
|
331
|
+
await this.running;
|
|
332
|
+
}
|
|
333
|
+
finally {
|
|
334
|
+
this.running = null;
|
|
335
|
+
if (this.dirty && !this.stopped)
|
|
336
|
+
this.request();
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
async readBounded(operation) {
|
|
340
|
+
let timer;
|
|
341
|
+
try {
|
|
342
|
+
return await Promise.race([operation, new Promise((_resolve, reject) => {
|
|
343
|
+
timer = setTimeout(() => reject(fail('EOS_OCPP_DISCOVERY_TIMEOUT')), 5000);
|
|
344
|
+
})]);
|
|
345
|
+
}
|
|
346
|
+
finally {
|
|
347
|
+
if (timer)
|
|
348
|
+
clearTimeout(timer);
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
async drain() {
|
|
352
|
+
// Bound one event burst; further work yields to the regular event loop.
|
|
353
|
+
for (let pass = 0; pass < 2 && this.dirty && !this.stopped; pass++) {
|
|
354
|
+
this.dirty = false;
|
|
355
|
+
if (!this.options.canRun()) {
|
|
356
|
+
this.view = { ...this.view, state: 'blocked', error: 'EOS_OCPP_RUNTIME_NOT_READY' };
|
|
357
|
+
return;
|
|
358
|
+
}
|
|
359
|
+
try {
|
|
360
|
+
const [objects, states] = await Promise.all([this.readBounded(this.options.readObjects()), this.readBounded(this.options.readMetadata())]);
|
|
361
|
+
if (this.stopped || !this.options.canRun())
|
|
362
|
+
return;
|
|
363
|
+
const stations = collectOcppStations(objects, states, this.options.hostNamespace);
|
|
364
|
+
const plan = await this.options.reconcile(stations);
|
|
365
|
+
if (this.stopped)
|
|
366
|
+
return;
|
|
367
|
+
this.view = { state: 'ready', error: '', ts: Date.now(), stations: plan.statuses };
|
|
368
|
+
}
|
|
369
|
+
catch (error) {
|
|
370
|
+
if (this.stopped)
|
|
371
|
+
return;
|
|
372
|
+
const code = error instanceof Error && /^EOS_[A-Z0-9_]+$/.test(error.message) ? error.message : 'EOS_OCPP_DISCOVERY_FAILED';
|
|
373
|
+
if (this.view.error !== code)
|
|
374
|
+
this.options.warn(code);
|
|
375
|
+
this.view = { ...this.view, state: 'pending', error: code };
|
|
376
|
+
if (!this.timer) {
|
|
377
|
+
this.timer = setTimeout(() => { this.timer = undefined; void this.refresh(); }, 5000);
|
|
378
|
+
this.timer.unref?.();
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
async stop() {
|
|
384
|
+
this.stopped = true;
|
|
385
|
+
this.dirty = false;
|
|
386
|
+
if (this.timer)
|
|
387
|
+
clearTimeout(this.timer);
|
|
388
|
+
if (this.poll)
|
|
389
|
+
clearInterval(this.poll);
|
|
390
|
+
this.timer = undefined;
|
|
391
|
+
this.poll = undefined;
|
|
392
|
+
await this.running;
|
|
393
|
+
this.metadata.clear();
|
|
394
|
+
this.view = { ...this.view, state: 'stopped' };
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
exports.OcppAutoDiscovery = OcppAutoDiscovery;
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026 NexoWatt. All rights reserved.
|
|
3
|
+
* Confidential and Proprietary.
|
|
4
|
+
* Use, modification or distribution without express written permission is prohibited.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
|
+
*
|
|
9
|
+
* Quelle: src-ts/runtime-executables/lib/ocpp-limit-feedback.ts
|
|
10
|
+
* Quell-Hash: sha256:53d1842e1c60a31eb42e6477d176cafcf995c5ecf48fdf0197a43392bd911aba
|
|
11
|
+
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
|
+
*
|
|
13
|
+
* Zweck:
|
|
14
|
+
* Diese JavaScript-Datei ist das ausführbare Build-Artefakt für lib/ocpp-limit-feedback.js.
|
|
15
|
+
* Die fachliche Bearbeitung erfolgt ab 0.7.131 in der TypeScript-Quelle.
|
|
16
|
+
* Ab 0.7.132 sind doppelte Legacy-JS-Bäume wie .nwcore entfernt.
|
|
17
|
+
*
|
|
18
|
+
* Pflege-Regel:
|
|
19
|
+
* 1. Änderung zuerst in src-ts/runtime-executables/ vornehmen.
|
|
20
|
+
* 2. npm run sync:ts-runtime-executables ausführen.
|
|
21
|
+
* 3. npm run test:runtime-executables prüfen.
|
|
22
|
+
*/
|
|
23
|
+
"use strict";
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.OcppControlLeases = void 0;
|
|
26
|
+
exports.ocppConnectionConfirmed = ocppConnectionConfirmed;
|
|
27
|
+
exports.resolveOcppRuntimeAlive = resolveOcppRuntimeAlive;
|
|
28
|
+
exports.resolveOcppLimitFeedback = resolveOcppLimitFeedback;
|
|
29
|
+
exports.ocppLeaseCapability = ocppLeaseCapability;
|
|
30
|
+
function record(value) {
|
|
31
|
+
return value !== null && typeof value === 'object' && !Array.isArray(value);
|
|
32
|
+
}
|
|
33
|
+
function finite(value) { return typeof value === 'number' && Number.isFinite(value); }
|
|
34
|
+
function power(value) { return finite(value) && value >= 0 && value <= 1e9; }
|
|
35
|
+
function code(value) { return typeof value === 'string' && /^[A-Za-z0-9_.:-]{0,160}$/.test(value) ? value : ''; }
|
|
36
|
+
function timestamp(state) {
|
|
37
|
+
const value = Object.hasOwn(state, 'sourceTs') ? state.sourceTs : state.ts;
|
|
38
|
+
return finite(value) && value > 0 ? value : 0;
|
|
39
|
+
}
|
|
40
|
+
function state(value, now, maxAgeMs) {
|
|
41
|
+
if (!record(value) || value.ack !== true || (value.q !== undefined && value.q !== 0))
|
|
42
|
+
return null;
|
|
43
|
+
const ts = timestamp(value);
|
|
44
|
+
return ts > 0 && ts <= now && now - ts <= maxAgeMs ? value : null;
|
|
45
|
+
}
|
|
46
|
+
/** Event-based connection flags may be unchanged, but must retain valid source metadata. */
|
|
47
|
+
function ocppConnectionConfirmed(value, now) {
|
|
48
|
+
return state(value, now, Infinity)?.val === true;
|
|
49
|
+
}
|
|
50
|
+
/** Hosted workers heartbeat independently; a live Admin parent cannot authorize charging. */
|
|
51
|
+
function resolveOcppRuntimeAlive(input) {
|
|
52
|
+
// Only a valid explicit false (confirmed migration rollback) permits external fallback.
|
|
53
|
+
// Missing/invalid metadata on a present marker must never imply that rollback succeeded.
|
|
54
|
+
const marker = state(input.marker, input.now, Infinity);
|
|
55
|
+
const hosted = input.hostedNamespace || (input.marker !== null && input.marker !== undefined && marker?.val !== false);
|
|
56
|
+
const markerValid = input.hostedNamespace || marker?.val === true;
|
|
57
|
+
const heartbeat = markerValid ? state(input.runtimeAlive, input.now, 15000) : null;
|
|
58
|
+
return { hosted, alive: hosted && heartbeat?.val === true, state: heartbeat };
|
|
59
|
+
}
|
|
60
|
+
function time(value) {
|
|
61
|
+
if (finite(value))
|
|
62
|
+
return value > 0 ? (value < 1e11 ? value * 1000 : value) : 0;
|
|
63
|
+
if (typeof value !== 'string' || value.length > 40 || !/^\d{4}-\d\d-\d\dT/.test(value))
|
|
64
|
+
return 0;
|
|
65
|
+
const result = Date.parse(value);
|
|
66
|
+
return Number.isFinite(result) ? result : 0;
|
|
67
|
+
}
|
|
68
|
+
function resolveOcppLimitFeedback(input) {
|
|
69
|
+
const { now } = input;
|
|
70
|
+
const maxAge = input.maxAgeMs ?? 120000;
|
|
71
|
+
const contract = input.atomic !== undefined && input.atomic !== null || input.session !== undefined && input.session !== null
|
|
72
|
+
? 'atomic' : input.appliedW !== undefined && input.appliedW !== null || input.valid !== undefined && input.valid !== null ? 'watts' : 'legacy';
|
|
73
|
+
const invalid = (error) => ({ valid: false, contract, requestedW: null, appliedW: null, commandAtMs: 0, reason: '', error });
|
|
74
|
+
if (!finite(now) || !finite(maxAge) || maxAge < 1 || maxAge > 300000)
|
|
75
|
+
return invalid('OCPP_FEEDBACK_CLOCK');
|
|
76
|
+
// Connection flags are event based. Their original timestamp must exist,
|
|
77
|
+
// but their unchanged age does not invalidate an otherwise current response.
|
|
78
|
+
if (state(input.connected, now, Infinity)?.val !== true || state(input.alive, now, Infinity)?.val !== true)
|
|
79
|
+
return invalid('OCPP_FEEDBACK_OFFLINE');
|
|
80
|
+
if (contract === 'atomic') {
|
|
81
|
+
const snapshot = state(input.atomic, now, maxAge);
|
|
82
|
+
const session = state(input.session, now, Infinity);
|
|
83
|
+
if (!snapshot || !session || typeof snapshot.val !== 'string' || snapshot.val.length > 4096)
|
|
84
|
+
return invalid('OCPP_FEEDBACK_UNAVAILABLE');
|
|
85
|
+
let parsed;
|
|
86
|
+
try {
|
|
87
|
+
parsed = JSON.parse(snapshot.val);
|
|
88
|
+
}
|
|
89
|
+
catch {
|
|
90
|
+
return invalid('OCPP_FEEDBACK_INVALID');
|
|
91
|
+
}
|
|
92
|
+
if (!record(parsed) || parsed.schema !== 1 || typeof parsed.valid !== 'boolean' ||
|
|
93
|
+
typeof parsed.sessionId !== 'string' || !/^[A-Za-z0-9_-]{16,128}$/.test(parsed.sessionId) || parsed.sessionId !== session.val ||
|
|
94
|
+
!finite(parsed.updatedAtMs) || parsed.updatedAtMs > now || parsed.updatedAtMs < timestamp(session) ||
|
|
95
|
+
now - parsed.updatedAtMs > maxAge || parsed.updatedAtMs > timestamp(snapshot))
|
|
96
|
+
return invalid('OCPP_FEEDBACK_SESSION');
|
|
97
|
+
if (parsed.valid !== true)
|
|
98
|
+
return invalid(code(parsed.error) || 'OCPP_PROFILE_UNCONFIRMED');
|
|
99
|
+
if (!power(parsed.requestedW) || !power(parsed.appliedW) || !finite(parsed.appliedAtMs) ||
|
|
100
|
+
parsed.appliedAtMs < timestamp(session) || parsed.appliedAtMs > parsed.updatedAtMs ||
|
|
101
|
+
parsed.appliedW > parsed.requestedW + 1 || (parsed.requestedW === 0 && parsed.appliedW !== 0))
|
|
102
|
+
return invalid('OCPP_FEEDBACK_INVALID');
|
|
103
|
+
return { valid: true, contract, requestedW: parsed.requestedW, appliedW: parsed.appliedW,
|
|
104
|
+
commandAtMs: parsed.appliedAtMs, reason: code(parsed.reason), error: '' };
|
|
105
|
+
}
|
|
106
|
+
const requested = state(input.requested, now, maxAge);
|
|
107
|
+
const applied = state(contract === 'watts' ? input.appliedW : input.legacyApplied, now, maxAge);
|
|
108
|
+
if (!requested || !applied || !power(requested.val) || !power(applied.val))
|
|
109
|
+
return invalid('OCPP_FEEDBACK_UNAVAILABLE');
|
|
110
|
+
if (contract === 'watts') {
|
|
111
|
+
const valid = state(input.valid, now, maxAge);
|
|
112
|
+
// 0.4.2 publishes valid last. A partially updated tuple is not confirmed.
|
|
113
|
+
if (!valid || valid.val !== true || timestamp(valid) < timestamp(requested) || timestamp(valid) < timestamp(applied))
|
|
114
|
+
return invalid('OCPP_PROFILE_UNCONFIRMED');
|
|
115
|
+
if (applied.val > requested.val + 1 || (requested.val === 0 && applied.val !== 0))
|
|
116
|
+
return invalid('OCPP_FEEDBACK_INVALID');
|
|
117
|
+
return { valid: true, contract, requestedW: requested.val, appliedW: applied.val,
|
|
118
|
+
commandAtMs: timestamp(applied), reason: code(state(input.reason, now, maxAge)?.val), error: '' };
|
|
119
|
+
}
|
|
120
|
+
const success = state(input.success, now, maxAge);
|
|
121
|
+
const command = state(input.command, now, maxAge);
|
|
122
|
+
const commandAt = time(state(input.commandAt, now, maxAge)?.val);
|
|
123
|
+
const unit = state(input.legacyUnit, now, Infinity)?.val;
|
|
124
|
+
if ((unit !== undefined && unit !== '' && unit !== 'W') || command?.val !== 'SetChargingProfile' || success?.val !== true ||
|
|
125
|
+
commandAt <= 0 || commandAt > now || now - commandAt > maxAge || state(input.error, now, maxAge)?.val)
|
|
126
|
+
return invalid('OCPP_LEGACY_FEEDBACK_UNCONFIRMED');
|
|
127
|
+
return { valid: true, contract, requestedW: requested.val, appliedW: applied.val, commandAtMs: commandAt,
|
|
128
|
+
reason: code(state(input.reason, now, maxAge)?.val), error: '' };
|
|
129
|
+
}
|
|
130
|
+
/** The native 0.4.3 contract needs a fresh process lease, independent of a profile acknowledgement. */
|
|
131
|
+
function ocppLeaseCapability(support, atomic, session, now) {
|
|
132
|
+
const required = support !== undefined && support !== null || atomic !== undefined && atomic !== null;
|
|
133
|
+
const sessionId = state(session, now, Infinity)?.val;
|
|
134
|
+
return { required, supported: state(support, now, Infinity)?.val === true && typeof sessionId === 'string'
|
|
135
|
+
&& /^[A-Za-z0-9_-]{16,128}$/.test(sessionId), sessionId: typeof sessionId === 'string' ? sessionId : '' };
|
|
136
|
+
}
|
|
137
|
+
/** A bounded renewal cache; successful local write is not a claim of physical or protocol acceptance. */
|
|
138
|
+
class OcppControlLeases {
|
|
139
|
+
constructor() {
|
|
140
|
+
this.renewed = new Map();
|
|
141
|
+
}
|
|
142
|
+
async renew(input) {
|
|
143
|
+
if (!input.required)
|
|
144
|
+
return true;
|
|
145
|
+
if (!input.supported || !input.enabled || !finite(input.now) || input.now <= 0) {
|
|
146
|
+
this.renewed.delete(input.root);
|
|
147
|
+
return false;
|
|
148
|
+
}
|
|
149
|
+
const last = this.renewed.get(input.root);
|
|
150
|
+
if (last && last.sessionId === input.sessionId && input.now >= last.at && input.now - last.at < 5000)
|
|
151
|
+
return true;
|
|
152
|
+
this.renewed.delete(input.root);
|
|
153
|
+
if (this.renewed.size >= 128)
|
|
154
|
+
return false;
|
|
155
|
+
try {
|
|
156
|
+
if (await input.write(input.now + 15000) !== true)
|
|
157
|
+
return false;
|
|
158
|
+
}
|
|
159
|
+
catch {
|
|
160
|
+
return false;
|
|
161
|
+
}
|
|
162
|
+
this.renewed.set(input.root, { at: input.now, sessionId: input.sessionId });
|
|
163
|
+
return true;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
exports.OcppControlLeases = OcppControlLeases;
|
|
@@ -21,6 +21,39 @@
|
|
|
21
21
|
* 3. npm run test:runtime-executables prüfen.
|
|
22
22
|
*/
|
|
23
23
|
"use strict";
|
|
24
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
25
|
+
if (k2 === undefined) k2 = k;
|
|
26
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
27
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
28
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
29
|
+
}
|
|
30
|
+
Object.defineProperty(o, k2, desc);
|
|
31
|
+
}) : (function(o, m, k, k2) {
|
|
32
|
+
if (k2 === undefined) k2 = k;
|
|
33
|
+
o[k2] = m[k];
|
|
34
|
+
}));
|
|
35
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
36
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
37
|
+
}) : function(o, v) {
|
|
38
|
+
o["default"] = v;
|
|
39
|
+
});
|
|
40
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
41
|
+
var ownKeys = function(o) {
|
|
42
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
43
|
+
var ar = [];
|
|
44
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
45
|
+
return ar;
|
|
46
|
+
};
|
|
47
|
+
return ownKeys(o);
|
|
48
|
+
};
|
|
49
|
+
return function (mod) {
|
|
50
|
+
if (mod && mod.__esModule) return mod;
|
|
51
|
+
var result = {};
|
|
52
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
53
|
+
__setModuleDefault(result, mod);
|
|
54
|
+
return result;
|
|
55
|
+
};
|
|
56
|
+
})();
|
|
24
57
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
58
|
exports.PartnerRuntime = exports.PartnerJournalStore = void 0;
|
|
26
59
|
exports.readPartnerProvisioning = readPartnerProvisioning;
|
|
@@ -33,9 +66,9 @@ exports.readPartnerProjection = readPartnerProjection;
|
|
|
33
66
|
* Bei Änderungen: Journalverlust, Widerruf während await, Reconnectgeneration, Appzustand und Datenfrische testen.
|
|
34
67
|
* Verknüpfungen: partner-service.ts, partner-websocket.ts, docs/PARTNER_RUNTIME_PROVISIONIERUNG_DE.md.
|
|
35
68
|
*/
|
|
36
|
-
const fs = require("node:fs/promises");
|
|
69
|
+
const fs = __importStar(require("node:fs/promises"));
|
|
37
70
|
const node_fs_1 = require("node:fs");
|
|
38
|
-
const path = require("node:path");
|
|
71
|
+
const path = __importStar(require("node:path"));
|
|
39
72
|
const node_crypto_1 = require("node:crypto");
|
|
40
73
|
const node_perf_hooks_1 = require("node:perf_hooks");
|
|
41
74
|
const partner_contracts_1 = require("./partner-contracts");
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
* 3. npm run test:runtime-executables prüfen.
|
|
22
22
|
*/
|
|
23
23
|
"use strict";
|
|
24
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
+
};
|
|
24
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
28
|
exports.PartnerWebSocketClient = exports.PARTNER_WS_LIMITS = void 0;
|
|
26
29
|
exports.isPartnerAddressAllowed = isPartnerAddressAllowed;
|
|
@@ -35,7 +38,7 @@ exports.validatePartnerEndpoint = validatePartnerEndpoint;
|
|
|
35
38
|
* prüfen; die fachliche Befehlslaufzeit ist unabhängig vom Socket-Heartbeat.
|
|
36
39
|
* Verknüpfungen: docs/QUELLCODE_VERKNUEPFUNGEN_DE.md; partner-runtime als Aufrufer.
|
|
37
40
|
*/
|
|
38
|
-
const ws_1 = require("ws");
|
|
41
|
+
const ws_1 = __importDefault(require("ws"));
|
|
39
42
|
const promises_1 = require("node:dns/promises");
|
|
40
43
|
const node_net_1 = require("node:net");
|
|
41
44
|
const node_tls_1 = require("node:tls");
|