blun-king-cli 9.1.573 → 9.1.574
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/CHANGELOG.md +13 -0
- package/bin/update-notice.js +18 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# 9.1.574 - 2026-09-07
|
|
2
|
+
|
|
3
|
+
- Cumulative release retaining every public 9.1.573 payload change.
|
|
4
|
+
- Explicit updates now distinguish a blocked update, an unavailable lock check,
|
|
5
|
+
an unavailable private directory, an invalid installed version and an
|
|
6
|
+
unavailable protected installer instead of reporting them as failed package
|
|
7
|
+
verification. German and English messages are covered.
|
|
8
|
+
- Update admission, locking, return reasons, exit codes and installer behavior
|
|
9
|
+
are unchanged. Running sessions are not stopped automatically.
|
|
10
|
+
- Packages pinned to an old internal channel still need an explicit npm
|
|
11
|
+
installation after King is closed. This release does not remove that pin.
|
|
12
|
+
|
|
13
|
+
|
|
1
14
|
## 9.1.573
|
|
2
15
|
|
|
3
16
|
- Keep the input field visible and focused after the startup goal choice,
|
package/bin/update-notice.js
CHANGED
|
@@ -638,6 +638,11 @@ function updateCopy(uiLocale) {
|
|
|
638
638
|
current: (version) => `Kein Update verfügbar. Installiert: ${version} · Aktuell: ${version}.`,
|
|
639
639
|
enter: 'Enter drücken, um fortzufahren',
|
|
640
640
|
failed: (code) => `Update fehlgeschlagen (Code ${code}).`,
|
|
641
|
+
invalidCurrentVersion: 'Die installierte Versionsnummer ist ungültig. Das Update wurde nicht gestartet.',
|
|
642
|
+
updateBusy: 'Update gesperrt. Beende laufende King-Sitzungen nach Abschluss ihrer Arbeit regulär und warte, bis andere Updates fertig sind. Bleibt die Sperre bestehen, muss ihr Zustand geprüft werden.',
|
|
643
|
+
leaseUnavailable: 'Die Updatesperre konnte nicht geprüft werden. Das Update wurde nicht gestartet.',
|
|
644
|
+
privateHomeUnavailable: 'Das private BLUN-Verzeichnis konnte nicht abgesichert werden. Das Update wurde nicht gestartet.',
|
|
645
|
+
installerUnavailable: 'Der geschützte Installer konnte nicht vorbereitet werden.',
|
|
641
646
|
install: (version) => `Jetzt aktualisieren (führt \`${installCommandText(version)}\` aus)`,
|
|
642
647
|
installFailed: (code) => `Update fehlgeschlagen (Code ${code}). Die vorhandene Version wird gestartet.`,
|
|
643
648
|
installed: 'Installation geprüft',
|
|
@@ -660,6 +665,11 @@ function updateCopy(uiLocale) {
|
|
|
660
665
|
current: (version) => `No update available. Installed: ${version} · Current: ${version}.`,
|
|
661
666
|
enter: 'Press Enter to continue',
|
|
662
667
|
failed: (code) => `Update failed (code ${code}).`,
|
|
668
|
+
invalidCurrentVersion: 'The installed version number is invalid. The update has not started.',
|
|
669
|
+
updateBusy: 'Update blocked. Finish and close running King sessions normally, and wait for other updates to finish. If it remains blocked, the lock state needs to be checked.',
|
|
670
|
+
leaseUnavailable: 'The update lock could not be checked. The update has not started.',
|
|
671
|
+
privateHomeUnavailable: 'The private BLUN directory could not be secured. The update has not started.',
|
|
672
|
+
installerUnavailable: 'The protected installer could not be prepared.',
|
|
663
673
|
install: (version) => `Update now (runs \`${installCommandText(version)}\`)`,
|
|
664
674
|
installFailed: (code) => `Update failed (code ${code}). The installed version will start.`,
|
|
665
675
|
installed: 'Installation verified',
|
|
@@ -1369,7 +1379,14 @@ function explicitFailure(stderr, reason, exitCode, uiLocale) {
|
|
|
1369
1379
|
if (hasExitCode) {
|
|
1370
1380
|
stderr.write(`${copy.failed(exitCode)}\n`);
|
|
1371
1381
|
} else {
|
|
1372
|
-
|
|
1382
|
+
const messages = new Map([
|
|
1383
|
+
['invalid_current_version', copy.invalidCurrentVersion],
|
|
1384
|
+
['update_in_progress', copy.updateBusy],
|
|
1385
|
+
['lease_unavailable', copy.leaseUnavailable],
|
|
1386
|
+
['private_home_unavailable', copy.privateHomeUnavailable],
|
|
1387
|
+
['installer_unavailable', copy.installerUnavailable],
|
|
1388
|
+
]);
|
|
1389
|
+
stderr.write(`${messages.get(reason) || copy.verificationFailed}\n`);
|
|
1373
1390
|
}
|
|
1374
1391
|
return {
|
|
1375
1392
|
kind: 'failed',
|