myrlin-workbook 0.9.16 → 0.9.17
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/logs/server.pid +1 -1
- package/package.json +1 -1
- package/src/supervisor.js +1 -1
- package/src/web/public/app.js +3 -1
package/logs/server.pid
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
21156
|
package/package.json
CHANGED
package/src/supervisor.js
CHANGED
|
@@ -83,7 +83,7 @@ function startChild() {
|
|
|
83
83
|
lastStartTime = Date.now();
|
|
84
84
|
console.log(`[supervisor] Starting GUI server (attempt ${consecutiveRestarts + 1})...`);
|
|
85
85
|
|
|
86
|
-
child = spawn(process.execPath, ['--max-old-space-size=
|
|
86
|
+
child = spawn(process.execPath, ['--max-old-space-size=1024', guiScript, ...guiArgs], {
|
|
87
87
|
stdio: 'inherit',
|
|
88
88
|
env: { ...process.env, CWM_NO_OPEN: consecutiveRestarts > 0 ? '1' : '' },
|
|
89
89
|
});
|
package/src/web/public/app.js
CHANGED
|
@@ -1822,7 +1822,9 @@ class CWMApp {
|
|
|
1822
1822
|
this.showApp();
|
|
1823
1823
|
this.initDragAndDrop();
|
|
1824
1824
|
this.initTerminalResize();
|
|
1825
|
-
|
|
1825
|
+
// Terminal group restore spawns PTY sessions and can be slow.
|
|
1826
|
+
// Run it in the background so login resolves immediately.
|
|
1827
|
+
this.initTerminalGroups().catch(e => console.error('Terminal groups init:', e));
|
|
1826
1828
|
this.initTerminalPaneSwipe();
|
|
1827
1829
|
this.initNotesEditor();
|
|
1828
1830
|
this.initAIInsights();
|