iobroker.eos-admin 9.0.18 → 9.0.20
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 +8 -9
- package/README.md +7 -3
- package/START_HIER_9.0.19.md +52 -0
- package/START_HIER_9.0.20.md +65 -0
- package/adminWww/.vite/manifest.json +114 -114
- package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +13762 -13761
- package/adminWww/assets/{AdapterUpdateDialog-ByJk9Cxj.js → AdapterUpdateDialog-CRD3XVom.js} +1 -1
- package/adminWww/assets/{Adapters-V2JtEPZX.js → Adapters-Cuf0X0CU.js} +1 -1
- package/adminWww/assets/{ConfigManager-BKcdyJnN.js → ConfigManager-B8ycQt1C.js} +1 -1
- package/adminWww/assets/{Enums-ChbfAWzp.js → Enums-CctVCgZX.js} +1 -1
- package/adminWww/assets/{Fields-DzaVXEvg.js → Fields-onm4DfoO.js} +1 -1
- package/adminWww/assets/{Files-CRpIXj4X.js → Files-OLP3Rwc7.js} +1 -1
- package/adminWww/assets/{Hosts-rOgfd2wo.js → Hosts-C31oqMcW.js} +1 -1
- package/adminWww/assets/{Instances-BxLhJ6Pb.js → Instances-DFdvJ9pa.js} +1 -1
- package/adminWww/assets/{Intro-BOql527d.js → Intro-DvsFJxU0.js} +1 -1
- package/adminWww/assets/{Logs-WUUDY7a4.js → Logs-Zqg2Bqv6.js} +1 -1
- package/adminWww/assets/{Objects-DYaZkCK7.js → Objects-CpWZp6yp.js} +1 -1
- package/adminWww/assets/{Overview-C6hiiPbm.js → Overview-BsKUo298.js} +1 -1
- package/adminWww/assets/{State-AH43l7fG.js → State-D_xwlhhb.js} +1 -1
- package/adminWww/assets/{UsedResources-jhsRMH4X.js → UsedResources-C79N6yZx.js} +1 -1
- package/adminWww/assets/{Users-D9wyLyJ1.js → Users-WgC0O8P0.js} +1 -1
- package/adminWww/assets/{bootstrap-gVLo1K_2.js → bootstrap-BcfBoIoa.js} +3 -3
- package/adminWww/assets/{hostInit-Dt_M-NAC.js → hostInit-B7bBV7cH.js} +1 -1
- package/adminWww/assets/icons/nexowatt-180.png +0 -0
- package/adminWww/assets/{icons-material-DuVW_EUA.js → icons-material-D1JYmRTj.js} +1 -1
- package/adminWww/assets/{index-B1cnPkSO.js → index-DbiuoDjo.js} +2 -2
- package/adminWww/assets/{installSVGRenderer-GvgHjubR.js → installSVGRenderer-BAY-Pzp-.js} +1 -1
- package/adminWww/assets/{mf-entry-bootstrap-0-6b32b635.js → mf-entry-bootstrap-0-33384c20.js} +2 -2
- package/adminWww/index.html +24 -24
- package/adminWww/mf-manifest.json +1 -1
- package/adminWww/mf-stats.json +1 -1
- package/adminWww/{remoteEntry-eos-9.0.18.js → remoteEntry-eos-9.0.20.js} +1 -1
- package/adminWww/remoteEntry.js +1 -1
- package/build/lib/eosCookieNamespace.js +12 -2
- package/build/lib/eosCookieNamespace.js.map +1 -1
- package/build/lib/eosDeviceEmsPlan.js +449 -28
- package/build/lib/eosDeviceEmsPlan.js.map +1 -1
- package/build/lib/eosDeviceEmsService.js +158 -12
- package/build/lib/eosDeviceEmsService.js.map +1 -1
- package/build/lib/eosLegacyMigration.js +26 -1
- package/build/lib/eosLegacyMigration.js.map +1 -1
- package/build/lib/eosModuleHost.js +218 -53
- package/build/lib/eosModuleHost.js.map +1 -1
- package/build/lib/eosStateSubscriptions.js +59 -2
- package/build/lib/eosStateSubscriptions.js.map +1 -1
- package/build/lib/web.js +22 -3
- package/build/lib/web.js.map +1 -1
- package/docs/reports/unified-9.0.19/ALIAS_MESSWERTFRISCHE.md +31 -0
- package/docs/reports/unified-9.0.19/COMMISSIONING_PLAN_REVIEW.md +56 -0
- package/docs/reports/unified-9.0.19/EMS_ABSCHLUSSREVIEW.md +43 -0
- package/docs/reports/unified-9.0.19/EMS_KATEGORIEN_ABDECKUNG.md +66 -0
- package/docs/reports/unified-9.0.19/EMS_VERGLEICH_UND_KOPPLUNG.md +25 -0
- package/docs/reports/unified-9.0.19/EVCS_STATE_OBJECTS.md +47 -0
- package/docs/reports/unified-9.0.19/GERAETE_EMS_EINRICHTUNG.md +100 -0
- package/docs/reports/unified-9.0.19/GERAETE_STARTAUSFALL.md +37 -0
- package/docs/reports/unified-9.0.19/INSTALLER_LIFECYCLE_REVIEW.md +59 -0
- package/docs/reports/unified-9.0.19/LEGACY_REGRESSION_REVIEW.md +42 -0
- package/docs/reports/unified-9.0.19/MODBUS_AUTHORIZATION_READS.md +25 -0
- package/docs/reports/unified-9.0.19/PRUEFBERICHT.md +56 -0
- package/docs/reports/unified-9.0.19/RUNTIME_START_UEBERNAHME.md +33 -0
- package/docs/reports/unified-9.0.19/SMA_RECEIVER_LIFECYCLE.md +42 -0
- package/docs/reports/unified-9.0.19/STATIC_REVIEW_DE.md +11 -0
- package/docs/reports/unified-9.0.19/TARIFF_PRICE_VALUES_REVIEW.md +31 -0
- package/docs/reports/unified-9.0.19/TARIF_VIERTELSTUNDEN_RUNTIME.md +17 -0
- package/docs/reports/unified-9.0.19/UNABHAENGIGER_REVIEW.md +49 -0
- package/docs/reports/unified-9.0.19/raw/INDEX.json +751 -0
- package/docs/reports/unified-9.0.19/raw/audit-full.log +345 -0
- package/docs/reports/unified-9.0.19/raw/audit-full.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/audit-runtime.log +23 -0
- package/docs/reports/unified-9.0.19/raw/audit-runtime.result.json +15 -0
- package/docs/reports/unified-9.0.19/raw/backend-final.log +5 -0
- package/docs/reports/unified-9.0.19/raw/backend-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/devices-hosted-typecheck-node22.log +0 -0
- package/docs/reports/unified-9.0.19/raw/devices-hosted-typecheck-node22.result.json +15 -0
- package/docs/reports/unified-9.0.19/raw/devices-hosted-typecheck-node24.log +0 -0
- package/docs/reports/unified-9.0.19/raw/devices-hosted-typecheck-node24.result.json +15 -0
- package/docs/reports/unified-9.0.19/raw/devices-incident-build.log +5 -0
- package/docs/reports/unified-9.0.19/raw/devices-incident-host-final.log +70 -0
- package/docs/reports/unified-9.0.19/raw/devices-incident-lease-918-before.log +26 -0
- package/docs/reports/unified-9.0.19/raw/devices-incident-lease-after.log +9 -0
- package/docs/reports/unified-9.0.19/raw/devices-incident-metadata-after.log +11 -0
- package/docs/reports/unified-9.0.19/raw/devices-incident-metadata-before.log +28 -0
- package/docs/reports/unified-9.0.19/raw/devices-incident-web-pipeline.log +22 -0
- package/docs/reports/unified-9.0.19/raw/frontend-build.log +152 -0
- package/docs/reports/unified-9.0.19/raw/frontend-build.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/installer-build.log +26 -0
- package/docs/reports/unified-9.0.19/raw/installer-build.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/keygen-source.json +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-auto-pv.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-auto-pv.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-charging-grid-cap-clamp.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-charging-grid-cap-clamp.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-charging-grid-cap-safe.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-charging-grid-cap-safe.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-charging-mode-recovery.log +539 -0
- package/docs/reports/unified-9.0.19/raw/legacy-charging-mode-recovery.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-core-limits-phase1.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-core-limits-phase1.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-core-limits-phase2.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-core-limits-phase2.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-core-limits-tariff-final.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-core-limits-tariff-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-energy-wallet-final.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-energy-wallet-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-farm-dispatch-loader-current.log +2 -0
- package/docs/reports/unified-9.0.19/raw/legacy-farm-dispatch-loader-current.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-final-write-envelope.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-final-write-envelope.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-history-http.log +39 -0
- package/docs/reports/unified-9.0.19/raw/legacy-history-http.result.json +15 -0
- package/docs/reports/unified-9.0.19/raw/legacy-import-grid-budget.log +30 -0
- package/docs/reports/unified-9.0.19/raw/legacy-import-grid-budget.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-import-grid-contract-current.log +2 -0
- package/docs/reports/unified-9.0.19/raw/legacy-import-grid-contract-current.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-live-mode-loader-current.log +203 -0
- package/docs/reports/unified-9.0.19/raw/legacy-live-mode-loader-current.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-load-grid-sanity.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-load-grid-sanity.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-ocpp-stability.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-ocpp-stability.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-ocpp21-storage-safety.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-ocpp21-storage-safety.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-permanent-grid-protection.log +18 -0
- package/docs/reports/unified-9.0.19/raw/legacy-permanent-grid-protection.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-storage-dp-persistence.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-storage-dp-persistence.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-storage-farm-dispatch-recovery.log +16 -0
- package/docs/reports/unified-9.0.19/raw/legacy-storage-farm-dispatch-recovery.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-storage-functional-safety.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-storage-functional-safety.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-storage-topology-loader-current.log +2 -0
- package/docs/reports/unified-9.0.19/raw/legacy-storage-topology-loader-current.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-test-loader.cjs +47 -0
- package/docs/reports/unified-9.0.19/raw/lint-final.log +16 -0
- package/docs/reports/unified-9.0.19/raw/lint-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/modules-build.log +5 -0
- package/docs/reports/unified-9.0.19/raw/modules-build.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/node22-tests-final.log +10719 -0
- package/docs/reports/unified-9.0.19/raw/node22-tests-final.result.json +13 -0
- package/docs/reports/unified-9.0.19/raw/node22-typecheck-final.log +7 -0
- package/docs/reports/unified-9.0.19/raw/node22-typecheck-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.19/raw/node24-tests-final.log +1805 -0
- package/docs/reports/unified-9.0.19/raw/node24-tests-final.result.json +13 -0
- package/docs/reports/unified-9.0.19/raw/node24-typecheck-final.log +5 -0
- package/docs/reports/unified-9.0.19/raw/node24-typecheck-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.19/raw/sbom-runtime.log +7 -0
- package/docs/reports/unified-9.0.19/raw/sbom-runtime.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/sbom-vendor-check.log +1 -0
- package/docs/reports/unified-9.0.19/raw/sbom-vendor-check.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/tariff-price-chain-919.log +11 -0
- package/docs/reports/unified-9.0.19/raw/tariff-price-chain-919.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/tariff-price-chain-old-918.log +68 -0
- package/docs/reports/unified-9.0.19/raw/tariff-price-chain-old-918.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/ui-docs-check.log +6 -0
- package/docs/reports/unified-9.0.19/raw/ui-docs-check.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/ui-runtime-final.log +7 -0
- package/docs/reports/unified-9.0.19/raw/ui-runtime-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/ui-runtime-sync.log +6 -0
- package/docs/reports/unified-9.0.19/raw/ui-runtime-sync.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/ui-sbom-check.log +6 -0
- package/docs/reports/unified-9.0.19/raw/ui-sbom-check.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/ui-sbom-final.log +6 -0
- package/docs/reports/unified-9.0.19/raw/ui-sbom-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/ui-secret-final.log +6 -0
- package/docs/reports/unified-9.0.19/raw/ui-secret-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/ui-security-final.log +8 -0
- package/docs/reports/unified-9.0.19/raw/ui-security-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/ANFORDERUNGEN_UND_INBETRIEBNAHME.md +159 -0
- package/docs/reports/unified-9.0.20/DEVICE_COMMAND_DELIVERY_REVIEW.md +82 -0
- package/docs/reports/unified-9.0.20/DEVICE_LIFECYCLE_REVIEW.md +46 -0
- package/docs/reports/unified-9.0.20/DEVICE_PLAN_REVIEW.md +33 -0
- package/docs/reports/unified-9.0.20/DEVICE_POWER_CAPABILITY_REVIEW.md +25 -0
- package/docs/reports/unified-9.0.20/FARM_CONTROLLER_REVIEW.md +27 -0
- package/docs/reports/unified-9.0.20/FARM_DIAGNOSE_UI.md +81 -0
- package/docs/reports/unified-9.0.20/FARM_DISPATCH_REVIEW.md +47 -0
- package/docs/reports/unified-9.0.20/HISTORY_REVIEW.md +68 -0
- package/docs/reports/unified-9.0.20/INFLUXDB2_INSTALLER_UI.md +39 -0
- package/docs/reports/unified-9.0.20/INFLUX_CREDENTIAL_NETWORK_REVIEW.md +38 -0
- package/docs/reports/unified-9.0.20/INFLUX_DIRECT_UNABHAENGIGE_PRUEFUNG.md +64 -0
- package/docs/reports/unified-9.0.20/INFLUX_RUNTIME_INTEGRATION_REVIEW.md +53 -0
- package/docs/reports/unified-9.0.20/INFLUX_RUNTIME_UNABHAENGIGE_PRUEFUNG.md +34 -0
- package/docs/reports/unified-9.0.20/INFLUX_TRANSPORT_ABSCHLUSSPRUEFUNG.md +55 -0
- package/docs/reports/unified-9.0.20/LOGIN_WEBAPP_LOGO.md +29 -0
- package/docs/reports/unified-9.0.20/MIGRATION_REVIEW.md +35 -0
- package/docs/reports/unified-9.0.20/PRUEFBERICHT.md +54 -0
- package/docs/reports/unified-9.0.20/PWA_ANONYMOUS_HTTPS_REVIEW.md +28 -0
- package/docs/reports/unified-9.0.20/PWA_ICON_UNABHAENGIGE_PRUEFUNG.md +60 -0
- package/docs/reports/unified-9.0.20/SERIAL_LIFECYCLE_REVIEW.md +37 -0
- package/docs/reports/unified-9.0.20/SOLAX_READBACK_REVIEW.md +43 -0
- package/docs/reports/unified-9.0.20/SOLAX_READBACK_UNABHAENGIGE_PRUEFUNG.md +34 -0
- package/docs/reports/unified-9.0.20/STATIC_REVIEW_DE.md +175 -0
- package/docs/reports/unified-9.0.20/STORAGE_COMMAND_ACK_REVIEW.md +36 -0
- package/docs/reports/unified-9.0.20/TARIFF_REPORT_REVIEW.md +29 -0
- package/docs/reports/unified-9.0.20/VISUALISIERUNG.md +64 -0
- package/docs/reports/unified-9.0.20/history-setup-navigation-proxy.txt +26 -0
- package/docs/reports/unified-9.0.20/history-setup-navigation-ssr.txt +7 -0
- package/docs/reports/unified-9.0.20/history-setup-ui-lint.txt +0 -0
- package/docs/reports/unified-9.0.20/history-setup-ui-node22.txt +102 -0
- package/docs/reports/unified-9.0.20/history-setup-ui-node24.txt +23 -0
- package/docs/reports/unified-9.0.20/history-setup-ui-security.txt +0 -0
- package/docs/reports/unified-9.0.20/history-setup-ui-typecheck.txt +0 -0
- package/docs/reports/unified-9.0.20/login-pwa-branding-hashes.txt +9 -0
- package/docs/reports/unified-9.0.20/login-pwa-branding-node22.txt +42 -0
- package/docs/reports/unified-9.0.20/login-pwa-branding-node24.txt +13 -0
- package/docs/reports/unified-9.0.20/raw/INDEX.json +1913 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/baseline-node22.log +16 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/baseline-node24.log +14 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/lint-after.json +1 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/lint-before.json +1 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/modbus-stop-backoff.cjs +22 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/node22-control-review.log +29 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/node22-modbus-final.json +18 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/node22-modbus-final.log +325 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/node22-modbus-review.log +278 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/node24-modbus-final.json +18 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/node24-modbus-final.log +58 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/node24-modbus-review.log +51 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/api-gaps-before.log +64 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/api-negative-before.log +46 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/chart-gaps-before.log +127 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-after.log +67 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-before.log +61 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-eslint-js.log +0 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-eslint-ts.log +0 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-node22.log +442 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-node24.log +78 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/fix.py +73 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-eslint-final.json +7 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-final-node22.log +279 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-final-node24.log +52 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-followup-node22.log +223 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-followup-node24.log +43 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-own-cache.log +17 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/negative-pricing-before.log +96 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/node22-after.log +66 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/node22-repro.log +8 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/node24-after.log +17 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/node24-repro.log +8 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/repro.cjs +39 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/visuals/chromium-probe.log +3 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/visuals/patch-live.py +101 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/visuals/repro-live-display.cjs +26 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/visuals/repro-live-display.log +36 -0
- package/docs/reports/unified-9.0.20/raw/audit-full.log +345 -0
- package/docs/reports/unified-9.0.20/raw/audit-full.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/audit-runtime.log +23 -0
- package/docs/reports/unified-9.0.20/raw/audit-runtime.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/backend-final.log +5 -0
- package/docs/reports/unified-9.0.20/raw/backend-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/baseline-919-coverage-tests-node22.result.json +20 -0
- package/docs/reports/unified-9.0.20/raw/baseline-919-coverage-tests-node22.tap +721 -0
- package/docs/reports/unified-9.0.20/raw/baseline-919-coverage-tests-node24.result.json +20 -0
- package/docs/reports/unified-9.0.20/raw/baseline-919-coverage-tests-node24.tap +127 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-evidence.json +69 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-failed-init-drain-919-before.log +14 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-final-node22.log +882 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-final-node24.log +149 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-lint.log +0 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-planner-919-before.log +70 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-retained-readiness-before.log +34 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-runtime-retry-919-before.log +46 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-types-node24.log +0 -0
- package/docs/reports/unified-9.0.20/raw/device-farm-protocol/DEVICE_FARM_READONLY_REVIEW.md +66 -0
- package/docs/reports/unified-9.0.20/raw/device-farm-protocol/run-readback-tests.cjs +13 -0
- package/docs/reports/unified-9.0.20/raw/device-farm-protocol/solax-control-chain.test.cjs +58 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-baseline-node22.log +16 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-baseline-node24.log +14 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-evidence.json +55 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-lint-after.json +1 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-lint-before.json +1 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-modbus-stop-backoff.cjs +22 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-node22-control-review.log +29 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-node22-modbus-final.json +18 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-node22-modbus-final.log +325 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-node22-modbus-review.log +278 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-node24-modbus-final.json +18 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-node24-modbus-final.log +58 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-node24-modbus-review.log +51 -0
- package/docs/reports/unified-9.0.20/raw/devices-hosted-typecheck-node22.log +0 -0
- package/docs/reports/unified-9.0.20/raw/devices-hosted-typecheck-node22.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/devices-hosted-typecheck-node24.log +0 -0
- package/docs/reports/unified-9.0.20/raw/devices-hosted-typecheck-node24.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/farm-controller/controller-node22.log +110 -0
- package/docs/reports/unified-9.0.20/raw/farm-controller/controller-node24.log +24 -0
- package/docs/reports/unified-9.0.20/raw/farm-controller/evidence.json +33 -0
- package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-lint.txt +0 -0
- package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-node22.txt +113 -0
- package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-node24.txt +26 -0
- package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-security.txt +0 -0
- package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-typecheck.txt +0 -0
- package/docs/reports/unified-9.0.20/raw/farm-dispatch/allocator-baseline.jsonl +6 -0
- package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-before.log +138 -0
- package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-main-delta.patch +77 -0
- package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-main-lint.json +7 -0
- package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-node22.log +64 -0
- package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-node22.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-node24.log +18 -0
- package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-node24.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/final-ui-independent-review.json +194 -0
- package/docs/reports/unified-9.0.20/raw/frontend-build.log +152 -0
- package/docs/reports/unified-9.0.20/raw/frontend-build.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/parser-after-node22.json +35 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/parser-after-node22.result.json +17 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/parser-after-node24.json +31 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/parser-after-node24.result.json +17 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/parser-before.json +31 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/parser-reproducer.cjs +9 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra-node22.result.json +18 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra-node22.tap +34 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra-node24.result.json +18 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra-node24.tap +11 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra.test.cjs +9 -0
- package/docs/reports/unified-9.0.20/raw/independent-solax/node22-focused.log +165 -0
- package/docs/reports/unified-9.0.20/raw/independent-solax/node24-focused.log +35 -0
- package/docs/reports/unified-9.0.20/raw/independent-solax/review-receipt.json +57 -0
- package/docs/reports/unified-9.0.20/raw/independent-solax/split-response-after.log +1 -0
- package/docs/reports/unified-9.0.20/raw/independent-solax/split-response-before.log +1 -0
- package/docs/reports/unified-9.0.20/raw/independent-solax/split-response.cjs +16 -0
- package/docs/reports/unified-9.0.20/raw/independent-solax/stop-race-generation-guard.log +1 -0
- package/docs/reports/unified-9.0.20/raw/independent-solax/stop-race.cjs +13 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct/eslint.log +0 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct/node22.log +112 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct/node24.log +24 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct/typecheck.log +0 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/hosted-module-history.test.cjs +85 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/independent-node22.json +12 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/independent-node22.log +100 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/independent-node24.json +12 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/independent-node24.log +21 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/runtime-after.test.cjs +15 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/runtime-loss-before.test.cjs +9 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/security-scan.cjs +15 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/transport-extra.test.cjs +9 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/legacy-history-node22.log +227 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/legacy-history-node22.result.json +11 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/legacy-history-node24.log +44 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/legacy-history-node24.result.json +11 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/node22.log +112 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/node22.result.json +12 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/node24.log +23 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/node24.result.json +12 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/runtime-after.test.cjs +15 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/transport-extra.test.cjs +9 -0
- package/docs/reports/unified-9.0.20/raw/influx-runtime/evidence.json +24 -0
- package/docs/reports/unified-9.0.20/raw/influx-runtime/final-node22.log +326 -0
- package/docs/reports/unified-9.0.20/raw/influx-runtime/final-node24.log +59 -0
- package/docs/reports/unified-9.0.20/raw/influx-runtime/runtime-node22.log +62 -0
- package/docs/reports/unified-9.0.20/raw/influx-runtime/runtime-node24.log +16 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-lint.log +0 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-lint.result.json +17 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-node22.log +112 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-node22.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-node24.log +106 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-node24.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-typecheck.log +0 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-typecheck.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/source-sha256.json +5 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-lint-final.log +0 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-lint-final.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-node22-final.log +124 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-node22-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-node24-final.log +26 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-node24-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-type-node22-final.log +0 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-type-node22-final.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-type-node24-final.log +0 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-type-node24-final.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/influx-ui-independent-review-final.json +285 -0
- package/docs/reports/unified-9.0.20/raw/influx-ui-independent-review-intermediate.json +285 -0
- package/docs/reports/unified-9.0.20/raw/installer-build.log +26 -0
- package/docs/reports/unified-9.0.20/raw/installer-build.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/isolation/INDEX.json +332 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-final.log +3 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-final.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-hosted.log +6 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-hosted.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-verified.log +1 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-verified.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family.log +11 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-final.log +3 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-final.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-hosted.log +3 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-hosted.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-verified.log +1 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-verified.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid.log +11 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-final-node22.log +296 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-final-node22.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-final-node24.log +56 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-final-node24.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-node24.log +54 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-node24.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-output-modes.log +1 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-output-modes.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-final-node22.log +332 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-final-node22.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-final-node24.log +62 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-final-node24.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-node22.log +342 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-node22.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-node24.log +72 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-node24.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/isolation-node22.log +482 -0
- package/docs/reports/unified-9.0.20/raw/isolation/isolation-node22.result.json +19 -0
- package/docs/reports/unified-9.0.20/raw/isolation/isolation-node24.log +87 -0
- package/docs/reports/unified-9.0.20/raw/isolation/migration-lint.log +0 -0
- package/docs/reports/unified-9.0.20/raw/isolation/migration-lint.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/migration-node22.log +330 -0
- package/docs/reports/unified-9.0.20/raw/isolation/migration-node22.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/migration-node24-before.log +72 -0
- package/docs/reports/unified-9.0.20/raw/isolation/migration-node24-before.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/migration-node24.log +60 -0
- package/docs/reports/unified-9.0.20/raw/isolation/migration-node24.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/repro-migration-start-budget.cjs +49 -0
- package/docs/reports/unified-9.0.20/raw/isolation/repro-serial-release.cjs +21 -0
- package/docs/reports/unified-9.0.20/raw/isolation/repro-sunspec-discovery.cjs +11 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-before-repro.log +1 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-before-repro.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-gates-node22.log +32 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-gates-node22.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-gates-node24.log +11 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-gates-node24.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-helper-typecheck-final.log +0 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-helper-typecheck-final.result.json +28 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-helper-typecheck.log +2 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-helper-typecheck.result.json +26 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-lint.log +0 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-lint.result.json +18 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-node22.log +344 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-node22.result.json +17 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-node24.log +62 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-node24.result.json +17 -0
- package/docs/reports/unified-9.0.20/raw/isolation/sunspec-review-after.log +3 -0
- package/docs/reports/unified-9.0.20/raw/isolation/sunspec-review-after.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/sunspec-review-before.log +3 -0
- package/docs/reports/unified-9.0.20/raw/isolation/sunspec-review-before.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/keygen-source.json +6 -0
- package/docs/reports/unified-9.0.20/raw/legacy-mirror-debt/check-919.log +70 -0
- package/docs/reports/unified-9.0.20/raw/legacy-mirror-debt/check-920.log +71 -0
- package/docs/reports/unified-9.0.20/raw/legacy-mirror-debt/diff.json +82 -0
- package/docs/reports/unified-9.0.20/raw/legacy-mirror-debt/receipt.json +48 -0
- package/docs/reports/unified-9.0.20/raw/lint-final.log +16 -0
- package/docs/reports/unified-9.0.20/raw/lint-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/main-individual-review-before-cache-boundary-fix.json +112 -0
- package/docs/reports/unified-9.0.20/raw/main-individual-review-before-capability-ack.json +103 -0
- package/docs/reports/unified-9.0.20/raw/main-individual-review-before-farm-diagnostics.json +102 -0
- package/docs/reports/unified-9.0.20/raw/main-individual-review-final.json +103 -0
- package/docs/reports/unified-9.0.20/raw/main-individual-review.json +93 -0
- package/docs/reports/unified-9.0.20/raw/modules-build.log +5 -0
- package/docs/reports/unified-9.0.20/raw/modules-build.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/node22-tests-final.log +12471 -0
- package/docs/reports/unified-9.0.20/raw/node22-tests-final.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/node22-typecheck-final.log +7 -0
- package/docs/reports/unified-9.0.20/raw/node22-typecheck-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.20/raw/node24-tests-final.log +2093 -0
- package/docs/reports/unified-9.0.20/raw/node24-tests-final.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/node24-typecheck-final.log +5 -0
- package/docs/reports/unified-9.0.20/raw/node24-typecheck-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.20/raw/power-capability/evidence.json +69 -0
- package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-existing-regressions-node24.log +94 -0
- package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-lint.log +0 -0
- package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-node22.log +304 -0
- package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-node24.log +56 -0
- package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-typecheck.log +0 -0
- package/docs/reports/unified-9.0.20/raw/pwa-https/evidence.json +45 -0
- package/docs/reports/unified-9.0.20/raw/pwa-https/node22-build.log +21 -0
- package/docs/reports/unified-9.0.20/raw/pwa-https/node22-source.log +23 -0
- package/docs/reports/unified-9.0.20/raw/pwa-https/node24-build.log +11 -0
- package/docs/reports/unified-9.0.20/raw/pwa-https/node24-source.log +11 -0
- package/docs/reports/unified-9.0.20/raw/pwa-independent/policy-boundaries.test.cjs +45 -0
- package/docs/reports/unified-9.0.20/raw/pwa-independent/policy-receipt.json +71 -0
- package/docs/reports/unified-9.0.20/raw/pwa-independent/policy-v22.23.4.tap +34 -0
- package/docs/reports/unified-9.0.20/raw/pwa-independent/policy-v24.22.3.tap +11 -0
- package/docs/reports/unified-9.0.20/raw/pwa-ui-independent-review-final.json +348 -0
- package/docs/reports/unified-9.0.20/raw/repro-failed-init-drain-before.cjs +15 -0
- package/docs/reports/unified-9.0.20/raw/repro-profile-replacement-after-unmapped.cjs +15 -0
- package/docs/reports/unified-9.0.20/raw/repro-runtime-retry-before.cjs +18 -0
- package/docs/reports/unified-9.0.20/raw/sbom-runtime.log +7 -0
- package/docs/reports/unified-9.0.20/raw/sbom-runtime.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/sbom-vendor-check.log +1 -0
- package/docs/reports/unified-9.0.20/raw/sbom-vendor-check.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/solax-readback-node22.json +30 -0
- package/docs/reports/unified-9.0.20/raw/solax-readback-node22.log +542 -0
- package/docs/reports/unified-9.0.20/raw/solax-readback-node24.json +30 -0
- package/docs/reports/unified-9.0.20/raw/solax-readback-node24.log +97 -0
- package/docs/reports/unified-9.0.20/raw/tariff-report-before.log +147 -0
- package/docs/reports/unified-9.0.20/raw/tariff-report-evidence.json +48 -0
- package/docs/reports/unified-9.0.20/raw/tariff-report-final-node22.log +151 -0
- package/docs/reports/unified-9.0.20/raw/tariff-report-final-node24.log +32 -0
- package/docs/reports/unified-9.0.20/raw/ui-docs-check.log +6 -0
- package/docs/reports/unified-9.0.20/raw/ui-docs-check.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/ui-runtime-final.log +7 -0
- package/docs/reports/unified-9.0.20/raw/ui-runtime-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/ui-runtime-sync.log +6 -0
- package/docs/reports/unified-9.0.20/raw/ui-runtime-sync.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/ui-sbom-check.log +6 -0
- package/docs/reports/unified-9.0.20/raw/ui-sbom-check.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/ui-sbom-final.log +6 -0
- package/docs/reports/unified-9.0.20/raw/ui-sbom-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/ui-secret-final.log +6 -0
- package/docs/reports/unified-9.0.20/raw/ui-secret-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/ui-security-final.log +8 -0
- package/docs/reports/unified-9.0.20/raw/ui-security-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/visuals-baseline-919.txt +36 -0
- package/docs/reports/unified-9.0.20/raw/visuals-browser-limit.txt +3 -0
- package/docs/reports/unified-9.0.20/raw/visuals-lint.txt +0 -0
- package/docs/reports/unified-9.0.20/raw/visuals-node22.txt +258 -0
- package/docs/reports/unified-9.0.20/raw/visuals-node24.txt +51 -0
- package/docs/reports/unified-9.0.20/raw/visuals-security.txt +0 -0
- package/docs/reports/unified-9.0.20/raw/visuals-typecheck.txt +0 -0
- package/docs/reports/unified-9.0.20/raw/wallet-freshness-after.log +19 -0
- package/docs/reports/unified-9.0.20/raw/wallet-freshness-after.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/wallet-freshness-before.log +31 -0
- package/docs/reports/unified-9.0.20/raw/wallet-freshness-before.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/wallet-freshness-independent.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/wallet-freshness-independent.tap +10 -0
- package/io-package.json +12 -12
- package/modules/devices/admin/ems-assignment.d.ts +8 -2
- package/modules/devices/admin/ems-assignment.js +192 -30
- package/modules/devices/admin/host-bridge.js +36 -11
- package/modules/devices/admin/index.html +26 -5
- package/modules/devices/admin/index_m.js +87 -3
- package/modules/devices/admin/style.css +17 -4
- package/modules/devices/checks/emsAssignment.check.js +10 -6
- package/modules/devices/contracts.d.ts +1 -1
- package/modules/devices/index.js +54 -17
- package/modules/devices/lib/device-alias-semantics-v1.json +22 -1
- package/modules/devices/lib/deviceAliasFreshness.js +66 -0
- package/modules/devices/lib/deviceAliasSemantics.js +13 -3
- package/modules/devices/lib/deviceRuntime.js +278 -133
- package/modules/devices/lib/drivers/modbus.js +107 -23
- package/modules/devices/lib/drivers/modbusAsciiBus.js +47 -31
- package/modules/devices/lib/drivers/modbusRtuBus.js +33 -9
- package/modules/devices/lib/drivers/modbusSerialLease.js +29 -0
- package/modules/devices/lib/drivers/speedwire.js +42 -22
- package/modules/devices/lib/modbusReadEvidence.js +29 -0
- package/modules/devices/test/deviceAliasFreshness.test.js +154 -0
- package/modules/devices/test/emsAssignmentUi.test.js +119 -11
- package/modules/devices/test/modbusAuthorizationReads.test.js +112 -0
- package/modules/devices/test/modbusConnectLifecycle.test.js +148 -0
- package/modules/devices/test/modbusSerialLifecycle.test.js +91 -0
- package/modules/devices/test/runtimeLiveness.test.js +1 -1
- package/modules/devices/test/serialOperationGate.test.js +3 -3
- package/modules/devices/test/solaxReadbackContext.test.js +472 -0
- package/modules/devices/test/speedwireLifecycle.test.js +118 -0
- package/modules/devices/tsconfig.alias-semantics.json +1 -1
- package/modules/devices/tsconfig.hosted.json +1 -1
- package/modules/devices/tsconfig.serial-lifecycle.json +18 -0
- package/package.json +11 -7
- package/release-manifests/unified/build-environment.cdx.json +1483 -7370
- package/release-manifests/unified/files.json +758 -185
- package/release-manifests/unified/frontend.cdx.json +2688 -5952
- package/release-manifests/unified/installer.cdx.json +2053 -821
- package/release-manifests/unified/obsolete-admin-assets.json +170 -6
- package/release-manifests/unified/runtime.cdx.json +40 -3283
- package/release-manifests/unified/validation.json +15 -15
- package/tools/eos-release-check.cjs +2 -2
- package/tools/eos-release-manifest.cjs +3 -3
- package/ui/admin/react/assets/index-BJO3q7oe.js +13 -0
- package/ui/admin/react/assets/{index-CuquHlsY.css → index-ofLP_Y7y.css} +1 -1
- package/ui/admin/react/index.html +2 -2
- package/ui/docs/security/eslint-reviewed-findings.json +26 -26
- package/ui/ems/engine.js +54 -7
- package/ui/ems/module-manager.js +44 -21
- package/ui/ems/modules/core-limits.js +5 -3
- package/ui/ems/modules/energy-wallet.js +38 -33
- package/ui/ems/modules/storage-control.js +64 -22
- package/ui/ems/modules/tarif-vis.js +36 -24
- package/ui/ems/modules/tariff-provider.js +28 -6
- package/ui/ems/services/tariff-provider-registry.js +11 -8
- package/ui/io-package.json +1 -1
- package/ui/lib/customer-tariff.js +5 -1
- package/ui/lib/influx-config.js +204 -0
- package/ui/lib/influx-direct.js +527 -0
- package/ui/lib/influx-history-runtime.js +326 -0
- package/ui/lib/influx-network-policy.js +112 -0
- package/ui/lib/installer-lifecycle.js +134 -1
- package/ui/lib/storage-farm-overview.js +115 -0
- package/ui/lib/tariff-price.js +115 -0
- package/ui/lib/ui-access-policy.js +2 -2
- package/ui/main.js +743 -264
- package/ui/package.json +18 -6
- package/ui/www/app.js +195 -334
- package/ui/www/ems-apps.html +4 -1
- package/ui/www/ems-apps.js +21 -2
- package/ui/www/energy-ledger.html +1 -1
- package/ui/www/evcs.html +1 -1
- package/ui/www/history.html +1 -1
- package/ui/www/history.js +114 -74
- package/ui/www/index.html +4 -1
- package/ui/www/licenses/smarthome-markdown-components.json +156 -156
- package/ui/www/live-display.js +115 -0
- package/ui/www/logic.html +1 -1
- package/ui/www/login.css +1 -0
- package/ui/www/login.html +2 -1
- package/ui/www/manifest.webmanifest +2 -2
- package/ui/www/power-measurements.js +62 -0
- package/ui/www/settings.html +4 -1
- package/ui/www/simulation.html +1 -1
- package/ui/www/smarthome-config.html +1 -1
- package/ui/www/smarthome.html +1 -1
- package/ui/www/storagefarm-dispatch.js +287 -0
- package/ui/www/storagefarm-summary.css +32 -0
- package/ui/www/storagefarm-summary.js +136 -0
- package/ui/www/storagefarm.html +31 -2
- package/ui/www/storagefarm.js +14 -44
- package/ui/www/tariff-display.js +161 -0
- package/ui/www/tariff-report.js +43 -25
- package/ui/admin/react/assets/index-Bq5IupDw.js +0 -13
|
@@ -10,6 +10,8 @@ const SECRET_KEY = /password|passwd|^pass$|accessjson|expertmount|secret|token|p
|
|
|
10
10
|
const MAX_CONFIG_BYTES = 512 * 1024;
|
|
11
11
|
const MAX_LEGACY_INSTANCES = 64;
|
|
12
12
|
const LEASE_MS = 12000;
|
|
13
|
+
const DEVICES_START_IDLE_MS = 10000;
|
|
14
|
+
const DEVICES_START_TOTAL_MS = 120000;
|
|
13
15
|
const isRecord = value => !!value && typeof value === 'object' && !Array.isArray(value);
|
|
14
16
|
const fail = code => Object.assign(new Error(code), { code });
|
|
15
17
|
function bounded(promise, milliseconds = 5000) {
|
|
@@ -108,11 +110,13 @@ class EosModuleHost {
|
|
|
108
110
|
this.mutation = false;
|
|
109
111
|
this.timer = null;
|
|
110
112
|
this.nextOwnershipCheck = 0;
|
|
113
|
+
this.leasePending = null;
|
|
111
114
|
this.bridgeHandler = null;
|
|
112
115
|
this.bridgeReply = null;
|
|
113
116
|
this.stopped = false;
|
|
114
117
|
this.stopPromise = null;
|
|
115
118
|
this.deviceEms = null;
|
|
119
|
+
this.reserveDeviceProfileChange = null;
|
|
116
120
|
for (const id of Object.keys(MODULES)) {
|
|
117
121
|
this.entries.set(id, { id, module: null, config: { enabled: false }, configLoaded: false, reason: 'DISABLED', lease: 0,
|
|
118
122
|
generation: 0, blockers: [], loading: false, failed: false, started: false, startup: null, stopEntryPromise: null, pendingWrites: new Set(), timers: new Set(), subscriptions: new Set(), downloads: new Set() });
|
|
@@ -124,9 +128,10 @@ class EosModuleHost {
|
|
|
124
128
|
return this.options.factories?.[id] || require(join(this.options.baseDir, 'modules', id, 'index.js'));
|
|
125
129
|
}
|
|
126
130
|
/** Bind only the internal hosted runtime, never a URL or browser callback. */
|
|
127
|
-
bindDeviceEms(handler) {
|
|
131
|
+
bindDeviceEms(handler, reserveProfileChange) {
|
|
128
132
|
if (this.deviceEms || this.stopped || typeof handler !== 'function')
|
|
129
133
|
throw fail('EOS_EMS_BRIDGE_INVALID');
|
|
134
|
+
this.reserveDeviceProfileChange = typeof reserveProfileChange === 'function' ? reserveProfileChange : null;
|
|
130
135
|
this.deviceEms = new EosDeviceEmsService({
|
|
131
136
|
owner: this.owner,
|
|
132
137
|
getSnapshot: () => {
|
|
@@ -137,6 +142,7 @@ class EosModuleHost {
|
|
|
137
142
|
(entry.started === true && this.canOperate('devices', entry.generation))) };
|
|
138
143
|
},
|
|
139
144
|
canRun: () => !this.stopped && !this.mutation && this.licensed('devices') && this.owner.eosOwnership?.canWrite() === true,
|
|
145
|
+
report: code => this.owner.log.warn(`[EOS EMS commissioning] ${code}; saved device configuration remains unchanged`),
|
|
140
146
|
apply: async (devices) => {
|
|
141
147
|
// Keep the authoritative device revision stable until the hosted
|
|
142
148
|
// configuration write completes. Discovery itself holds no lock.
|
|
@@ -155,6 +161,17 @@ class EosModuleHost {
|
|
|
155
161
|
}
|
|
156
162
|
requestDeviceEms() { this.deviceEms?.request('apps'); }
|
|
157
163
|
async flushDeviceEms() { await this.deviceEms?.flush(); }
|
|
164
|
+
deviceEmsView() {
|
|
165
|
+
if (this.deviceEms)
|
|
166
|
+
return this.deviceEms.view();
|
|
167
|
+
const entry = this.entries.get('devices');
|
|
168
|
+
const code = this.stopped ? 'EOS_EMS_STOPPED' : 'EOS_EMS_BRIDGE_UNAVAILABLE';
|
|
169
|
+
return { state: this.stopped ? 'stopped' : 'pending', code, updatedAt: 0,
|
|
170
|
+
statuses: (Array.isArray(entry.config.devices) ? entry.config.devices.slice(0, 128) : [])
|
|
171
|
+
.filter(device => typeof device?.id === 'string' && /^[A-Za-z0-9_-][A-Za-z0-9_.-]{0,159}$/.test(device.id))
|
|
172
|
+
.map(device => ({ deviceId: device.id, devId: device.id, baseId: `${this.namespace('devices')}.devices.${device.id}`,
|
|
173
|
+
status: 'pending', code, target: '', mappedFields: [], missing: [], optionalMissing: [] })) };
|
|
174
|
+
}
|
|
158
175
|
readConfig(id) {
|
|
159
176
|
return this.decodeConfig(id, this.owner.config.eosModules?.[id]);
|
|
160
177
|
}
|
|
@@ -290,10 +307,12 @@ class EosModuleHost {
|
|
|
290
307
|
return entry.stopEntryPromise;
|
|
291
308
|
const module = entry.module;
|
|
292
309
|
const startup = entry.startup;
|
|
310
|
+
const commandSubscription = entry.commandSubscriptionPending;
|
|
293
311
|
const wasStarting = startup?.module === module && startup.settled !== true;
|
|
294
312
|
entry.module = null;
|
|
295
313
|
entry.started = false;
|
|
296
314
|
entry.generation++;
|
|
315
|
+
startup?.cancel?.();
|
|
297
316
|
const markUnconfirmed = () => {
|
|
298
317
|
entry.failed = true;
|
|
299
318
|
entry.stopFailed = true;
|
|
@@ -331,6 +350,13 @@ class EosModuleHost {
|
|
|
331
350
|
// Do not restore the old owner while an accepted mutation may still
|
|
332
351
|
// settle into the retained namespace. Never retry an uncertain write.
|
|
333
352
|
await Promise.allSettled([...entry.pendingWrites]);
|
|
353
|
+
// Startup may still be waiting for subscription acknowledgement.
|
|
354
|
+
// Drain that acquisition and release only this module's lease.
|
|
355
|
+
const releaseCommands = await commandSubscription?.catch(() => null);
|
|
356
|
+
if (releaseCommands)
|
|
357
|
+
await releaseCommands();
|
|
358
|
+
if (entry.commandSubscriptionPending === commandSubscription)
|
|
359
|
+
entry.commandSubscriptionPending = null;
|
|
334
360
|
const subscriptions = [...entry.subscriptions];
|
|
335
361
|
await Promise.all(subscriptions.map(pattern => bounded(Promise.resolve().then(() => this.owner.unsubscribeForeignStatesAsync(pattern)), 1000)));
|
|
336
362
|
for (const pattern of subscriptions)
|
|
@@ -394,6 +420,18 @@ class EosModuleHost {
|
|
|
394
420
|
void pending.then(() => entry.pendingWrites.delete(pending), () => entry.pendingWrites.delete(pending));
|
|
395
421
|
return pending;
|
|
396
422
|
};
|
|
423
|
+
const metadata = operation => mutate(async () => {
|
|
424
|
+
const result = await operation();
|
|
425
|
+
const startup = entry.startup;
|
|
426
|
+
// Only completed object provisioning advances startup. Telemetry,
|
|
427
|
+
// attempted/failed IO and a previous generation cannot keep it alive.
|
|
428
|
+
if (entry.id === 'devices' && entry.generation === generation &&
|
|
429
|
+
startup?.generation === generation && !startup.settled) {
|
|
430
|
+
startup.lastProgressAt = performance.now();
|
|
431
|
+
startup.completedObjects++;
|
|
432
|
+
}
|
|
433
|
+
return result;
|
|
434
|
+
});
|
|
397
435
|
return {
|
|
398
436
|
namespace, hostNamespace: owner.namespace,
|
|
399
437
|
eosTargetNamespace: owner.config.eosUiMigration?.preserveNamespace ? owner.config.eosUiMigration.source : owner.namespace,
|
|
@@ -404,13 +442,13 @@ class EosModuleHost {
|
|
|
404
442
|
if (entry.generation !== generation)
|
|
405
443
|
return Promise.reject(fail('EOS_MODULE_STOPPED'));
|
|
406
444
|
const full = resolve(id);
|
|
407
|
-
return
|
|
445
|
+
return metadata(() => owner.setForeignObjectNotExistsAsync(full, object));
|
|
408
446
|
},
|
|
409
447
|
extendObjectAsync: (id, object) => {
|
|
410
448
|
if (entry.generation !== generation)
|
|
411
449
|
return Promise.reject(fail('EOS_MODULE_STOPPED'));
|
|
412
450
|
const full = resolve(id);
|
|
413
|
-
return
|
|
451
|
+
return metadata(() => owner.extendForeignObjectAsync(full, object));
|
|
414
452
|
},
|
|
415
453
|
setStateAsync: (id, value, ack) => {
|
|
416
454
|
if (entry.generation !== generation) {
|
|
@@ -519,15 +557,51 @@ class EosModuleHost {
|
|
|
519
557
|
},
|
|
520
558
|
};
|
|
521
559
|
}
|
|
560
|
+
async renewOwnershipLeases() {
|
|
561
|
+
if (!this.running || !this.initialized || this.stopped)
|
|
562
|
+
return;
|
|
563
|
+
if (this.leasePending)
|
|
564
|
+
return this.leasePending;
|
|
565
|
+
if (performance.now() < this.nextOwnershipCheck)
|
|
566
|
+
return;
|
|
567
|
+
this.nextOwnershipCheck = performance.now() + 4000;
|
|
568
|
+
// Lease renewal cannot wait behind another module's initial connection or
|
|
569
|
+
// shutdown. The fixed three-module inventory remains bounded and fenced.
|
|
570
|
+
this.leasePending = Promise.all([...this.entries.values()].map(async (entry) => {
|
|
571
|
+
if (!entry.config.enabled || entry.failed)
|
|
572
|
+
return;
|
|
573
|
+
const generation = entry.generation;
|
|
574
|
+
try {
|
|
575
|
+
const allowed = await bounded(this.inspectOwnership(entry));
|
|
576
|
+
if (!this.running || this.stopped || generation !== entry.generation)
|
|
577
|
+
return;
|
|
578
|
+
if (!this.licensed(entry.id))
|
|
579
|
+
this.revoke(entry, 'LICENSE_REQUIRED');
|
|
580
|
+
else if (this.owner.eosOwnership?.canWrite() !== true)
|
|
581
|
+
this.revoke(entry, 'EOS_OWNERSHIP_REQUIRED');
|
|
582
|
+
else if (!allowed)
|
|
583
|
+
this.revoke(entry, 'LEGACY_CONFLICT');
|
|
584
|
+
else {
|
|
585
|
+
entry.lease = performance.now() + LEASE_MS;
|
|
586
|
+
entry.reason = entry.module ? (entry.started ? 'RUNNING' : 'STARTING') : 'READY';
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
catch {
|
|
590
|
+
if (this.running && !this.stopped && generation === entry.generation)
|
|
591
|
+
this.revoke(entry, 'OWNERSHIP_UNAVAILABLE');
|
|
592
|
+
}
|
|
593
|
+
})).finally(() => { this.leasePending = null; });
|
|
594
|
+
await this.leasePending;
|
|
595
|
+
}
|
|
522
596
|
async reconcile() {
|
|
597
|
+
if (!this.running || !this.initialized || this.stopped)
|
|
598
|
+
return;
|
|
599
|
+
await this.renewOwnershipLeases();
|
|
523
600
|
if (!this.running || !this.initialized || this.stopped)
|
|
524
601
|
return;
|
|
525
602
|
if (this.pending)
|
|
526
603
|
return this.pending;
|
|
527
604
|
this.pending = (async () => {
|
|
528
|
-
const checkOwnership = performance.now() >= this.nextOwnershipCheck;
|
|
529
|
-
if (checkOwnership)
|
|
530
|
-
this.nextOwnershipCheck = performance.now() + 4000;
|
|
531
605
|
for (const entry of this.entries.values()) {
|
|
532
606
|
if (!this.running || this.stopped)
|
|
533
607
|
break;
|
|
@@ -537,23 +611,6 @@ class EosModuleHost {
|
|
|
537
611
|
this.revoke(entry, 'LICENSE_REQUIRED');
|
|
538
612
|
else if (this.owner.eosOwnership?.canWrite() !== true)
|
|
539
613
|
this.revoke(entry, 'EOS_OWNERSHIP_REQUIRED');
|
|
540
|
-
else if (checkOwnership && !entry.failed) {
|
|
541
|
-
const generation = entry.generation;
|
|
542
|
-
try {
|
|
543
|
-
const allowed = await bounded(this.inspectOwnership(entry));
|
|
544
|
-
if (this.running && !this.stopped && generation === entry.generation) {
|
|
545
|
-
if (allowed) {
|
|
546
|
-
entry.lease = performance.now() + LEASE_MS;
|
|
547
|
-
entry.reason = entry.module && entry.started ? 'RUNNING' : 'READY';
|
|
548
|
-
}
|
|
549
|
-
else
|
|
550
|
-
this.revoke(entry, 'LEGACY_CONFLICT');
|
|
551
|
-
}
|
|
552
|
-
}
|
|
553
|
-
catch {
|
|
554
|
-
this.revoke(entry, 'OWNERSHIP_UNAVAILABLE');
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
614
|
if (entry.module && entry.moduleGeneration !== entry.generation)
|
|
558
615
|
await this.stopEntry(entry);
|
|
559
616
|
if (!this.canOperate(entry.id, entry.generation)) {
|
|
@@ -564,7 +621,39 @@ class EosModuleHost {
|
|
|
564
621
|
if (entry.module || entry.failed)
|
|
565
622
|
continue;
|
|
566
623
|
const generation = entry.generation;
|
|
624
|
+
// A completed previous stop belongs to its old startup attempt.
|
|
625
|
+
// New acquisition/factory failures must run their own cleanup.
|
|
626
|
+
entry.stopEntryPromise = null;
|
|
567
627
|
try {
|
|
628
|
+
if (entry.id === 'devices') {
|
|
629
|
+
const namespace = this.namespace(entry.id);
|
|
630
|
+
if (!/^(?:eos-admin|nexowatt-devices)\.\d+$/.test(namespace))
|
|
631
|
+
throw fail('EOS_MODULE_STATE_SCOPE');
|
|
632
|
+
const pattern = `${namespace}.devices.*`;
|
|
633
|
+
// Raw control states, legacy aliases and AliasV1 all need
|
|
634
|
+
// delivery independently of browser subscriptions and EMS
|
|
635
|
+
// mappings. Acquire before factory/start can open hardware.
|
|
636
|
+
entry.commandSubscriptionPending = this.owner.eosStateSubscriptions?.acquireHost
|
|
637
|
+
? this.owner.eosStateSubscriptions.acquireHost(pattern)
|
|
638
|
+
: Promise.resolve(this.owner.subscribeForeignStatesAsync(pattern)).then(() => {
|
|
639
|
+
let released = false;
|
|
640
|
+
let releasing = null;
|
|
641
|
+
return async () => {
|
|
642
|
+
if (released)
|
|
643
|
+
return;
|
|
644
|
+
releasing ||= Promise.resolve().then(() => this.owner.unsubscribeForeignStatesAsync(pattern))
|
|
645
|
+
.then(() => { released = true; }).finally(() => { releasing = null; });
|
|
646
|
+
await releasing;
|
|
647
|
+
};
|
|
648
|
+
});
|
|
649
|
+
// Keep the original promise for late stop cleanup; a slow
|
|
650
|
+
// controller must not hold startup/reconcile indefinitely.
|
|
651
|
+
const releaseCommands = await bounded(entry.commandSubscriptionPending, 10000);
|
|
652
|
+
if (!this.canOperate(entry.id, generation)) {
|
|
653
|
+
await releaseCommands();
|
|
654
|
+
throw fail('EOS_MODULE_STOPPED');
|
|
655
|
+
}
|
|
656
|
+
}
|
|
568
657
|
const factory = this.factory(entry.id);
|
|
569
658
|
const module = factory.createHostedModule({
|
|
570
659
|
adapter: this.facade(entry, generation), config: entry.config,
|
|
@@ -581,10 +670,17 @@ class EosModuleHost {
|
|
|
581
670
|
entry.moduleGeneration = generation;
|
|
582
671
|
entry.started = false;
|
|
583
672
|
entry.stopEntryPromise = null;
|
|
584
|
-
|
|
673
|
+
entry.startupError = '';
|
|
674
|
+
entry.reason = 'STARTING';
|
|
675
|
+
const now = performance.now();
|
|
676
|
+
const startup = { module, generation, startedAt: now, lastProgressAt: now, completedObjects: 0,
|
|
677
|
+
settled: false, promise: Promise.resolve().then(() => module.start()) };
|
|
585
678
|
entry.startup = startup;
|
|
586
679
|
void startup.promise.then(() => { startup.settled = true; }, () => { startup.settled = true; });
|
|
587
|
-
|
|
680
|
+
if (entry.id === 'devices')
|
|
681
|
+
await this.waitForDevicesStart(entry, startup);
|
|
682
|
+
else
|
|
683
|
+
await bounded(startup.promise, 10000);
|
|
588
684
|
if (!this.canOperate(entry.id, generation))
|
|
589
685
|
await this.stopEntry(entry);
|
|
590
686
|
else {
|
|
@@ -594,17 +690,42 @@ class EosModuleHost {
|
|
|
594
690
|
this.deviceEms?.request('started');
|
|
595
691
|
}
|
|
596
692
|
}
|
|
597
|
-
catch {
|
|
693
|
+
catch (error) {
|
|
694
|
+
entry.startupError = ['EOS_MODULE_START_IDLE_TIMEOUT', 'EOS_MODULE_START_TOTAL_TIMEOUT',
|
|
695
|
+
'EOS_MODULE_START_CANCELLED'].includes(error?.code) ? error.code : 'EOS_MODULE_START_FAILED';
|
|
598
696
|
if (!entry.stopFailed)
|
|
599
697
|
this.revoke(entry, 'START_FAILED_RESTART_REQUIRED');
|
|
600
698
|
entry.failed = true;
|
|
601
699
|
await this.stopEntry(entry);
|
|
602
|
-
this.owner.log.warn(`EOS_MODULE_START_FAILED: ${entry.id}; HTTPS remains available`);
|
|
700
|
+
this.owner.log.warn(`EOS_MODULE_START_FAILED: ${entry.id}; ${entry.startupError}; HTTPS remains available`);
|
|
603
701
|
}
|
|
604
702
|
}
|
|
605
703
|
})().catch(() => this.owner.log.warn('EOS_MODULE_RECONCILE_FAILED')).finally(() => { this.pending = null; });
|
|
606
704
|
return this.pending;
|
|
607
705
|
}
|
|
706
|
+
async waitForDevicesStart(entry, startup) {
|
|
707
|
+
let timer;
|
|
708
|
+
const monitor = new Promise((_, reject) => {
|
|
709
|
+
startup.cancel = () => reject(fail('EOS_MODULE_START_CANCELLED'));
|
|
710
|
+
timer = setInterval(() => {
|
|
711
|
+
const now = performance.now();
|
|
712
|
+
if (!this.canOperate(entry.id, startup.generation))
|
|
713
|
+
startup.cancel();
|
|
714
|
+
else if (now - startup.startedAt >= DEVICES_START_TOTAL_MS)
|
|
715
|
+
reject(fail('EOS_MODULE_START_TOTAL_TIMEOUT'));
|
|
716
|
+
else if (now - startup.lastProgressAt >= DEVICES_START_IDLE_MS)
|
|
717
|
+
reject(fail('EOS_MODULE_START_IDLE_TIMEOUT'));
|
|
718
|
+
}, 250);
|
|
719
|
+
});
|
|
720
|
+
// Retain startup.promise itself for stopEntry's late-resource cleanup.
|
|
721
|
+
try {
|
|
722
|
+
await Promise.race([startup.promise, monitor]);
|
|
723
|
+
}
|
|
724
|
+
finally {
|
|
725
|
+
clearInterval(timer);
|
|
726
|
+
startup.cancel = null;
|
|
727
|
+
}
|
|
728
|
+
}
|
|
608
729
|
async start() {
|
|
609
730
|
if (this.startPromise)
|
|
610
731
|
return this.startPromise;
|
|
@@ -706,6 +827,11 @@ class EosModuleHost {
|
|
|
706
827
|
catch {
|
|
707
828
|
details = { statusUnavailable: true };
|
|
708
829
|
}
|
|
830
|
+
if (entry.id === 'devices' && entry.startup) {
|
|
831
|
+
details = { ...details, startup: { completedObjects: entry.startup.completedObjects,
|
|
832
|
+
pending: !!entry.module && !entry.started && !entry.startup.settled,
|
|
833
|
+
error: entry.startupError || '' } };
|
|
834
|
+
}
|
|
709
835
|
return { id, enabled: entry.config.enabled === true, active: !!entry.module && entry.started === true && entry.moduleGeneration === entry.generation && this.canOperate(id, entry.generation),
|
|
710
836
|
reason: entry.reason, blockers: entry.blockers, details: redact(assertJson(details)),
|
|
711
837
|
namespace: id === 'devices' ? `${this.namespace(id)}.devices` : this.namespace(id) };
|
|
@@ -718,7 +844,7 @@ class EosModuleHost {
|
|
|
718
844
|
const reason = this.configurationReason(id);
|
|
719
845
|
return { id, config: redact(entry.config), configurationReady: !reason, configurationLoaded: entry.configLoaded,
|
|
720
846
|
configurationReason: reason, status: await this.status(id),
|
|
721
|
-
...(id === 'devices'
|
|
847
|
+
...(id === 'devices' ? { emsCommissioning: this.deviceEmsView() } : {}),
|
|
722
848
|
manualImport: this.manualImportStatus(id), migration: entry.loadedEnvelope?.migration || this.owner.config.eosModules?.[id]?.migration || null };
|
|
723
849
|
}
|
|
724
850
|
manualImportStatus(id) {
|
|
@@ -764,32 +890,71 @@ class EosModuleHost {
|
|
|
764
890
|
if (!entry)
|
|
765
891
|
throw fail('EOS_MODULE_UNKNOWN');
|
|
766
892
|
const normalized = this.factory(id).validateConfig(restoreSecrets(assertJson(config), entry.config));
|
|
767
|
-
const
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
893
|
+
const previous = new Map((id === 'devices' && Array.isArray(entry.config.devices) ? entry.config.devices : [])
|
|
894
|
+
.map(device => [device.id, device]));
|
|
895
|
+
const changes = (id === 'devices' && Array.isArray(normalized.devices) ? normalized.devices : []).flatMap(device => {
|
|
896
|
+
const before = previous.get(device.id);
|
|
897
|
+
// A newly introduced ID may still be referenced by an active EMS row
|
|
898
|
+
// after an earlier removal (including before a process restart).
|
|
899
|
+
// It needs the same real-controller admission as a profile change.
|
|
900
|
+
return !before || before.templateId !== device.templateId || before.protocol !== device.protocol
|
|
901
|
+
? [{ deviceId: device.id, previousTemplateId: before?.templateId || '', templateId: device.templateId,
|
|
902
|
+
previousProtocol: before?.protocol || '', protocol: device.protocol }] : [];
|
|
903
|
+
});
|
|
904
|
+
let releaseProfileChange = null;
|
|
905
|
+
if (changes.length) {
|
|
906
|
+
if (!this.reserveDeviceProfileChange)
|
|
907
|
+
throw fail('EOS_DEVICES_PROFILE_CHECK_UNAVAILABLE');
|
|
908
|
+
releaseProfileChange = await this.reserveDeviceProfileChange({ namespace: this.namespace('devices'), changes });
|
|
909
|
+
if (typeof releaseProfileChange !== 'function')
|
|
910
|
+
throw fail('EOS_DEVICES_PROFILE_CHECK_UNAVAILABLE');
|
|
911
|
+
}
|
|
912
|
+
let commit;
|
|
913
|
+
let commitSettled = true;
|
|
914
|
+
try {
|
|
915
|
+
if (this.stopped)
|
|
916
|
+
throw fail('EOS_MODULE_BUSY');
|
|
917
|
+
const encrypted = this.owner.encrypt(JSON.stringify(normalized));
|
|
918
|
+
if (typeof encrypted !== 'string' || encrypted === JSON.stringify(normalized))
|
|
919
|
+
throw fail('EOS_MODULE_ENCRYPTION');
|
|
920
|
+
const envelope = { v: 1, encrypted,
|
|
921
|
+
migration: migration || entry.loadedEnvelope?.migration || this.owner.config.eosModules?.[id]?.migration || null };
|
|
922
|
+
// Commit before interrupting the old runtime. Failed/conflicting writes
|
|
923
|
+
// leave its validated settings and transport generation untouched.
|
|
924
|
+
commitSettled = false;
|
|
925
|
+
commit = this.configStore.save(id, envelope);
|
|
926
|
+
void commit.then(() => { commitSettled = true; }, () => { commitSettled = true; });
|
|
927
|
+
await bounded(commit);
|
|
928
|
+
this.revoke(entry, 'CONFIG_CHANGED');
|
|
929
|
+
await this.stopEntry(entry);
|
|
930
|
+
this.owner.config.eosModules = { ...this.owner.config.eosModules, [id]: envelope };
|
|
931
|
+
entry.config = normalized;
|
|
932
|
+
entry.loadedEnvelope = envelope;
|
|
933
|
+
if (!entry.stopFailed) {
|
|
934
|
+
entry.failed = false;
|
|
935
|
+
entry.reason = normalized.enabled ? 'STARTING' : 'DISABLED';
|
|
936
|
+
}
|
|
937
|
+
else {
|
|
938
|
+
entry.failed = true;
|
|
939
|
+
entry.reason = 'STOP_FAILED_RESTART_REQUIRED';
|
|
940
|
+
}
|
|
941
|
+
this.nextOwnershipCheck = 0;
|
|
942
|
+
if (id === 'devices')
|
|
943
|
+
this.deviceEms?.request('configuration');
|
|
944
|
+
void this.reconcile();
|
|
945
|
+
return await this.view(id);
|
|
946
|
+
}
|
|
947
|
+
finally {
|
|
948
|
+
// A timeout never proves that a persistent write was cancelled. Keep
|
|
949
|
+
// the shared installer reservation until that original commit settles.
|
|
950
|
+
if (releaseProfileChange) {
|
|
951
|
+
if (commit && !commitSettled)
|
|
952
|
+
void commit.then(releaseProfileChange, releaseProfileChange)
|
|
953
|
+
.catch(() => this.owner.log.warn('EOS_DEVICES_PROFILE_RESERVATION_RELEASE_FAILED'));
|
|
954
|
+
else
|
|
955
|
+
releaseProfileChange();
|
|
956
|
+
}
|
|
787
957
|
}
|
|
788
|
-
this.nextOwnershipCheck = 0;
|
|
789
|
-
if (id === 'devices')
|
|
790
|
-
this.deviceEms?.request('configuration');
|
|
791
|
-
void this.reconcile();
|
|
792
|
-
return this.view(id);
|
|
793
958
|
}
|
|
794
959
|
async importLegacy(id, instance) {
|
|
795
960
|
if (!this.initialized && !this.stopped)
|