blun-king-cli 9.1.618 → 9.1.620
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 +8 -0
- package/LIESMICH.txt +1 -1
- package/README.md +1 -1
- package/bin/blun.js +0 -0
- package/bin/core-bootstrap.js +13 -0
- package/bin/king.js +0 -0
- package/bin/launcher-mode.js +0 -0
- package/bin/launcher-runtime.js +3 -2
- package/bin/managed-node.js +0 -0
- package/bin/native-module-repair.js +0 -0
- package/bin/node-runtime.js +0 -0
- package/bin/node-version.js +0 -0
- package/bin/plugin-bootstrap.js +0 -0
- package/bin/private-paths.js +0 -0
- package/bin/standard-tools-bootstrap.js +0 -0
- package/bin/update-copy.js +0 -0
- package/bin/update-lease.js +0 -0
- package/bin/update-notice.js +0 -0
- package/blun.mjs +255 -225
- package/package.json +1 -1
- package/worker-host.mjs +35 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# BLUN King Changelog
|
|
2
2
|
|
|
3
|
+
## 9.1.620
|
|
4
|
+
|
|
5
|
+
Unter Windows beendet sich die Konsole beim Schließen des Fensters vollständig, damit beim nächsten Start kein „läuft bereits“ mehr erscheint.
|
|
6
|
+
|
|
7
|
+
## 9.1.619
|
|
8
|
+
|
|
9
|
+
Verdichtungsfehler werden nur noch gezählt, wenn sie direkt aufeinanderfolgen. Ein einzelner früherer Fehler sperrt deine Sitzung nach einer erfolgreichen Verdichtung nicht mehr. Die Sperrmeldung nennt klar „Verdichtung pausiert“ und behauptet nicht mehr, dass der Kontext voll ist.
|
|
10
|
+
|
|
3
11
|
## 9.1.618
|
|
4
12
|
|
|
5
13
|
- Trifft eine Telegram-Nachricht beim Fortsetzen deiner Sitzung auf laufende Arbeit, bleibt sie in der Warteschlange und wird danach zugestellt. King zeigt dafür keine irreführende Meldung mehr an, dass bereits ein Zug läuft.
|
package/LIESMICH.txt
CHANGED
package/README.md
CHANGED
package/bin/blun.js
CHANGED
|
File without changes
|
package/bin/core-bootstrap.js
CHANGED
|
@@ -11,7 +11,20 @@ const { isStandaloneHelpRequest } = require('./launcher-mode');
|
|
|
11
11
|
|
|
12
12
|
const CORE_LOADED_MESSAGE = 'blun-core-bootstrap-loaded';
|
|
13
13
|
|
|
14
|
+
function bindInteractiveTerminalOwner() {
|
|
15
|
+
if (process.platform !== 'win32' || process.env.BLUN_TERMINAL_OWNER !== '1' || !process.channel) return;
|
|
16
|
+
const stop = () => {
|
|
17
|
+
// IPC belongs to this launcher, not to another profile or a PID file.
|
|
18
|
+
// Use the TUI's normal shutdown first; bound only this process's cleanup.
|
|
19
|
+
setTimeout(() => process.exit(143), 5000);
|
|
20
|
+
if (!process.emit('SIGTERM')) process.exit(143);
|
|
21
|
+
};
|
|
22
|
+
process.once('disconnect', stop);
|
|
23
|
+
if (!process.connected) stop();
|
|
24
|
+
}
|
|
25
|
+
|
|
14
26
|
async function runCoreBootstrap() {
|
|
27
|
+
bindInteractiveTerminalOwner();
|
|
15
28
|
const informational = isStandaloneHelpRequest(process.argv.slice(2));
|
|
16
29
|
let diagnostics;
|
|
17
30
|
if (!informational) {
|
package/bin/king.js
CHANGED
|
File without changes
|
package/bin/launcher-mode.js
CHANGED
|
File without changes
|
package/bin/launcher-runtime.js
CHANGED
|
@@ -148,6 +148,7 @@ function readPackageVersion() {
|
|
|
148
148
|
|
|
149
149
|
function shouldDetachProtectedCore(options = {}) {
|
|
150
150
|
const platform = options.platform || process.platform;
|
|
151
|
+
if (platform === 'win32' && options.interactive === true) return false;
|
|
151
152
|
const stdinIsTTY = Object.hasOwn(options, 'stdinIsTTY')
|
|
152
153
|
? options.stdinIsTTY
|
|
153
154
|
: process.stdin.isTTY;
|
|
@@ -160,8 +161,8 @@ function spawnProtectedCore(args, env, cwd, onProfileMessage) {
|
|
|
160
161
|
[path.join(PKG, 'bin', 'core-bootstrap.js'), ...args],
|
|
161
162
|
{
|
|
162
163
|
cwd,
|
|
163
|
-
detached: shouldDetachProtectedCore(),
|
|
164
|
-
env,
|
|
164
|
+
detached: shouldDetachProtectedCore({ interactive: Boolean(onProfileMessage) }),
|
|
165
|
+
env: { ...env, BLUN_TERMINAL_OWNER: process.platform === 'win32' && onProfileMessage ? '1' : '0' },
|
|
165
166
|
stdio: ['inherit', 'inherit', 'inherit', 'ipc'],
|
|
166
167
|
windowsHide: true,
|
|
167
168
|
},
|
package/bin/managed-node.js
CHANGED
|
File without changes
|
|
File without changes
|
package/bin/node-runtime.js
CHANGED
|
File without changes
|
package/bin/node-version.js
CHANGED
|
File without changes
|
package/bin/plugin-bootstrap.js
CHANGED
|
File without changes
|
package/bin/private-paths.js
CHANGED
|
File without changes
|
|
File without changes
|
package/bin/update-copy.js
CHANGED
|
File without changes
|
package/bin/update-lease.js
CHANGED
|
File without changes
|
package/bin/update-notice.js
CHANGED
|
File without changes
|