@agent-webui/ai-desk-daemon 1.0.23 → 1.0.24
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/dist/darwin-arm64/ai-desk-daemon +0 -0
- package/dist/darwin-x64/ai-desk-daemon +0 -0
- package/dist/linux-arm64/ai-desk-daemon +0 -0
- package/dist/linux-x64/ai-desk-daemon +0 -0
- package/dist/win32-x64/ai-desk-daemon.exe +0 -0
- package/lib/daemon-manager.js +2 -10
- package/lib/platform.js +1 -1
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/daemon-manager.js
CHANGED
|
@@ -112,18 +112,10 @@ function start() {
|
|
|
112
112
|
// The daemon handles its own logging to file (see daemon/logger.go)
|
|
113
113
|
// It uses io.MultiWriter to write to both stdout and the log file
|
|
114
114
|
// So we should ignore stdout/stderr here to avoid duplication
|
|
115
|
-
const
|
|
115
|
+
const child = spawn(binaryPath, ['--port', portNumber.toString(), '--config', configPath], {
|
|
116
116
|
detached: true,
|
|
117
117
|
stdio: ['ignore', 'ignore', 'ignore'] // Daemon writes to its own log file
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
// Windows-specific: hide console window
|
|
121
|
-
// This prevents the daemon process from showing a terminal window
|
|
122
|
-
if (process.platform === 'win32') {
|
|
123
|
-
spawnOptions.windowsHide = true;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
const child = spawn(binaryPath, ['--port', portNumber.toString(), '--config', configPath], spawnOptions);
|
|
118
|
+
});
|
|
127
119
|
|
|
128
120
|
child.unref();
|
|
129
121
|
|
package/lib/platform.js
CHANGED