automagik-forge 0.1.2 → 0.1.4
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/bin/cli.js
CHANGED
@@ -157,6 +157,12 @@ if (isMcpMode || isMcpSseMode) {
|
|
157
157
|
const backendPort = process.env.BACKEND_PORT || process.env.PORT || "8887";
|
158
158
|
const host = process.env.HOST || "127.0.0.1";
|
159
159
|
|
160
|
+
// Ensure environment variables are set for spawned processes
|
161
|
+
process.env.MCP_SSE_PORT = mcpSsePort;
|
162
|
+
process.env.BACKEND_PORT = backendPort;
|
163
|
+
process.env.HOST = host;
|
164
|
+
process.env.RUST_LOG = process.env.RUST_LOG || "info";
|
165
|
+
|
160
166
|
let mainServerProc, mcpServerProc;
|
161
167
|
let shutdownInProgress = false;
|
162
168
|
|
Binary file
|
Binary file
|