iobroker.eos-admin 7.9.93 → 7.9.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/INSTALL_TEST_V7.9.95.md +15 -0
  2. package/NEXOWATT_EOS_BUILD_INFO.json +23 -18
  3. package/NEXOWATT_EOS_STABLE_7.9.94.md +16 -0
  4. package/{PUBLISH_STABLE_V7.9.93.md → PUBLISH_STABLE_V7.9.95.md} +2 -5
  5. package/README_STABILITY_V7.9.95.md +12 -0
  6. package/RELEASE_ACCEPTANCE_V7.9.95.md +11 -0
  7. package/RELEASE_NOTES_V7.9.95.md +12 -0
  8. package/adminWww/assets/Adapters-B5_jQ7DE-v84.js +1 -1
  9. package/adminWww/css/nexowatt-native-shell.css +4 -156
  10. package/adminWww/index.html +13 -11
  11. package/adminWww/js/eos-account-management.js +1 -1
  12. package/adminWww/js/eos-assistant.js +5 -556
  13. package/adminWww/js/eos-basic-settings.js +1 -1
  14. package/adminWww/js/eos-branding-sanitizer.js +1 -3
  15. package/adminWww/js/eos-native-security.js +1 -1
  16. package/adminWww/js/eos-policy-client.js +1 -1
  17. package/adminWww/js/eos-role-bootstrap.js +2 -2
  18. package/adminWww/js/eos-role-ui.js +1 -1
  19. package/adminWww/js/nexowatt-native-shell.js +1 -1
  20. package/adminWww/static/js/nexowatt-stable-login.js +79 -0
  21. package/build/lib/chat/assistantKnowledge.js +6 -21
  22. package/build/lib/chat/chatOrchestrator.js +38 -33
  23. package/build/lib/chat/mcpClientManager.js +1 -1
  24. package/build/lib/nexowattStableAuth.js +74 -0
  25. package/build/lib/web.js +24 -7
  26. package/build/main.js +123 -308
  27. package/io-package.json +20 -16
  28. package/package.json +23 -32
  29. package/INSTALL_TEST_V7.9.93.md +0 -12
  30. package/README_STABILITY_V7.9.93.md +0 -15
  31. package/RELEASE_ACCEPTANCE_V7.9.93.md +0 -15
  32. package/RELEASE_NOTES_V7.9.93.md +0 -10
  33. package/tools/nexowatt-account-management-selftest.cjs +0 -61
  34. package/tools/nexowatt-clean-legacy-runtime.cjs +0 -147
  35. package/tools/nexowatt-ensure-release-defaults.cjs +0 -72
  36. package/tools/nexowatt-generate-eos-admin-repo-entry.cjs +0 -37
  37. package/tools/nexowatt-generate-repo-entry.cjs +0 -3
  38. package/tools/nexowatt-internal-reserve-selftest.cjs +0 -57
  39. package/tools/nexowatt-login-layout-selftest.cjs +0 -62
  40. package/tools/nexowatt-modern-ui-selftest.cjs +0 -50
  41. package/tools/nexowatt-patch-repo.cjs +0 -54
  42. package/tools/nexowatt-publish-channel-guard.cjs +0 -58
  43. package/tools/nexowatt-release-defaults-selftest.cjs +0 -29
  44. package/tools/nexowatt-runtime-cleanup-selftest.cjs +0 -47
  45. package/tools/nexowatt-validate-package.cjs +0 -246
@@ -0,0 +1,15 @@
1
+ # Installationstest 7.9.95
2
+
3
+ ```bash
4
+ cd /opt/iobroker
5
+ iobroker stop eos-admin.0
6
+ npm install --no-save --omit=dev iobroker.eos-admin@7.9.95
7
+ iobroker upload eos-admin
8
+ iobroker restart eos-admin.0
9
+ ```
10
+
11
+ Version prüfen:
12
+
13
+ ```bash
14
+ node -p "require('/opt/iobroker/node_modules/iobroker.eos-admin/package.json').version"
15
+ ```
@@ -1,26 +1,31 @@
1
1
  {
2
- "version": "7.9.93",
3
- "channel": "test-candidate-before-stable-latest",
2
+ "version": "7.9.95",
3
+ "channel": "stable-latest",
4
4
  "baseFrontend": "validated Admin 7 runtime with NexoWatt EOS compact login, role, overview and service-reserve hardening",
5
5
  "runtimeEntry": "v84",
6
- "releaseType": "test-candidate-login-publisher-eos-assist",
7
- "release": "test-candidate-login-publisher-eos-assist",
8
- "label": "v93",
6
+ "releaseType": "stable-merge-safe-packaging",
7
+ "release": "stable-merge-safe-packaging",
8
+ "label": "v95",
9
9
  "notes": [
10
- "7.9.93 is a test candidate and may move to npm latest only after real-system acceptance.",
11
- "The compact login card no longer renders an internal scrollbar.",
12
- "The visible npm/GitHub install search labels the EOS package publisher as NexoWatt while the technical npm package id remains compatible.",
13
- "EOS Assist uses the configured AI provider and authenticated, role-aware read tools to answer questions about the live EOS system."
10
+ "7.9.95 is the merge-safe NexoWatt EOS Admin release for npm dist-tag latest.",
11
+ "The flat update ZIP can be extracted directly over an existing repository folder.",
12
+ "All version-bearing release files are synchronized automatically before validation and npm publishing.",
13
+ "The 7.9.94 login, roles, password bootstrap, port 8081 and disabled EOS Assist remain functionally unchanged."
14
14
  ],
15
15
  "changes": [
16
- "Removes overflow scrolling from the compact login card.",
17
- "Displays NexoWatt as the publisher label for eos-admin in the module installation search.",
18
- "Replaces static canned EOS Assist answers with a socket-backed AI/MCP assistant using actual system data.",
19
- "Adds Admin/Service-only EOS Assist provider configuration and role-aware read-only access."
16
+ "Adds deterministic synchronization for package, io-package, lockfiles, frontend version, build info and repository entry.",
17
+ "Adds guarded Windows merge verification scripts without deleting .git or node_modules.",
18
+ "Adds a regression test proving that a stale 7.9.92 io-package is repaired before publication.",
19
+ "Adds a flat merge ZIP intended for direct extraction into the existing working folder.",
20
+ "Cleans the npm files manifest and rejects missing distribution entries before publication.",
21
+ "Aligns account-management and modern-UI self-tests with the documented stable initial-password and disabled-assistant contracts.",
22
+ "Synchronizes package-lock root scripts and release policy with package.json and validates lock metadata drift.",
23
+ "Builds a genuinely flat merge ZIP with repository files at archive root.",
24
+ "Keeps source-only validation helpers out of the installed npm runtime while retaining the supported update-repair helper."
20
25
  ],
21
- "brandingCacheVersion": 93,
22
- "shellCacheVersion": 93,
23
- "nativeShellVersion": 93,
24
- "shellCacheTag": "93",
25
- "repositoryEntry": "nexowatt-eos-admin-repository-entry-v93.json"
26
+ "brandingCacheVersion": 91,
27
+ "shellCacheVersion": 91,
28
+ "nativeShellVersion": 91,
29
+ "shellCacheTag": "91",
30
+ "repositoryEntry": "nexowatt-eos-admin-repository-entry-v95.json"
26
31
  }
@@ -0,0 +1,16 @@
1
+ # NexoWatt EOS Admin 7.9.94 – Stable candidate
2
+
3
+ ## Stable scope
4
+
5
+ - Standard port 8081 and authentication enabled.
6
+ - Initial commissioning credentials for `installer`, `guest`, and `user`: password `nexowatt`.
7
+ - A personal password is mandatory immediately after the first successful login.
8
+ - The old passwordless activation flow is disabled.
9
+ - Admin/Service credentials are never changed by the bootstrap.
10
+ - EOS Assist is disabled in this stable release and will return only after its separate read-only redesign and acceptance.
11
+ - The login card remains fully usable when validation or authentication errors are shown.
12
+ - Customer-visible publisher: NexoWatt; technical npm identity remains `iobroker.eos-admin` for update compatibility.
13
+
14
+ ## Security note
15
+
16
+ The shared commissioning password is only an initial credential. Commissioning is not complete until installer and customer accounts have replaced it with personal passwords. Shipping a system with the initial credential still active is not permitted.
@@ -1,12 +1,10 @@
1
- # npm-Freigabe 7.9.93
1
+ # npm-Veröffentlichung 7.9.95
2
2
 
3
- Nach erfolgreichem Realtest:
3
+ Nach dem Entpacken der Merge-ZIP zuerst `MERGE_UPDATE.cmd` ausführen. Danach:
4
4
 
5
5
  ```powershell
6
6
  npm login
7
7
  npm whoami
8
- npm run check:eos-package
9
- npm run check:eos-stability
10
8
  npm publish --dry-run --tag latest
11
9
  npm publish --tag latest
12
10
  ```
@@ -15,5 +13,4 @@ Kontrolle:
15
13
 
16
14
  ```powershell
17
15
  npm view iobroker.eos-admin@latest version
18
- npm dist-tag ls iobroker.eos-admin
19
16
  ```
@@ -0,0 +1,12 @@
1
+ # NexoWatt EOS Admin 7.9.95 – Stabilität
2
+
3
+ Version 7.9.95 ist ein packaging-only Stable-Update. Die produktive Laufzeit, Rollenlogik, Erstanmeldung mit dem Startpasswort `nexowatt`, Standardport 8081 und die Deaktivierung des EOS Assist bleiben gegenüber 7.9.94 unverändert.
4
+
5
+ Neu ist die mergesichere Release-Vorbereitung: Alle versionsführenden Dateien werden vor Prüfung, Packen und npm-Veröffentlichung automatisch an `package.json` angeglichen.
6
+
7
+ Die npm-Dateiliste wird nun zusätzlich gegen das reale Dateisystem geprüft. Nicht vorhandene oder nicht gepackte Pflichtdateien brechen die Veröffentlichung vor dem Upload ab.
8
+
9
+
10
+ Zusätzlich werden die Rootmetadaten der Lockdateien gegen die zugehörigen `package.json`-Dateien geprüft. Dadurch können veraltete `prepublishOnly`-, `prepack`- oder Stabilitätsskripte nicht mehr unbemerkt in einer gemischten Arbeitskopie verbleiben.
11
+
12
+ Die Merge-Datei für bestehende Arbeitsordner wird ohne übergeordneten Versionsordner erzeugt. `package.json`, `io-package.json` und `MERGE_UPDATE.cmd` liegen unmittelbar auf der ersten ZIP-Ebene.
@@ -0,0 +1,11 @@
1
+ # Release-Abnahme 7.9.95
2
+
3
+ - [ ] Merge-ZIP direkt über einen alten Arbeitsordner entpackt
4
+ - [ ] `MERGE_UPDATE.cmd` vollständig grün
5
+ - [ ] Alle Versionsdateien melden 7.9.95
6
+ - [ ] `npm publish --dry-run --tag latest` erfolgreich
7
+ - [ ] Installation über npm erfolgreich
8
+ - [ ] Admin-Login unverändert
9
+ - [ ] Installer/User-Erstlogin mit Startpasswort `nexowatt` geprüft
10
+ - [ ] EOS Assist in Stable deaktiviert
11
+ - [ ] EOS Admin auf Port 8081 erreichbar
@@ -0,0 +1,12 @@
1
+ # Release Notes – 7.9.95
2
+
3
+ - Flache Merge-ZIP für das direkte Entpacken in einen vorhandenen Repository-Ordner.
4
+ - Automatischer Versionsabgleich für `io-package.json`, Lockdateien, Frontend-Version, Build-Info und Repository-Eintrag.
5
+ - Selbsttest mit absichtlich veraltetem Stand 7.9.92.
6
+ - Windows-Helfer `MERGE_UPDATE.cmd` und `MERGE_UPDATE.ps1`.
7
+ - Keine funktionale Änderung an Login, Rollen, Port oder EOS-Assist-Sperre.
8
+ - npm-Dateiliste bereinigt: keine nicht vorhandenen 7.9.94-Dateien mehr; aktuelle Stable-, Merge- und Prüfscripte werden vollständig gepackt.
9
+ - Selbsttests an den dokumentierten Stable-Vertrag angeglichen: Startpasswort `nexowatt` mit Pflichtwechsel; EOS Assist bleibt deaktiviert.
10
+ - `package-lock.json`-Rootmetadaten (Skripte und Release-Policy) werden gemeinsam mit `package.json` synchronisiert und validiert.
11
+ - Die veröffentlichte npm-Tarball-Dateiliste enthält nur Runtime-Dateien, aktuelle Release-Dokumente und den installierten Update-Reparaturhelfer; Source-only-Prüfwerkzeuge bleiben in der Merge-/Repository-ZIP.
12
+ - Die ausgelieferte Merge-ZIP wird tatsächlich flach erzeugt, damit `package.json` direkt im bestehenden Repository-Ordner landet.