automagik-forge 0.1.8 → 0.1.10

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
@@ -186,7 +186,12 @@ if (isMcpMode || isMcpSseMode) {
186
186
  console.log(`🚀 Starting main backend server on http://${host}:${backendPort}...`);
187
187
  mainServerProc = spawn(mainBin, [], {
188
188
  stdio: ["pipe", "pipe", "pipe"],
189
- env: { ...process.env }
189
+ env: {
190
+ ...process.env,
191
+ BACKEND_PORT: backendPort,
192
+ PORT: backendPort,
193
+ HOST: host
194
+ }
190
195
  });
191
196
 
192
197
  mainServerProc.stdout.on("data", (data) => {
@@ -213,7 +218,11 @@ if (isMcpMode || isMcpSseMode) {
213
218
  console.log(`🚀 Starting MCP SSE server on http://${host}:${mcpSsePort}/sse...`);
214
219
  mcpServerProc = spawn(mcpBin, ["--mcp-sse"], {
215
220
  stdio: ["pipe", "pipe", "pipe"],
216
- env: { ...process.env }
221
+ env: {
222
+ ...process.env,
223
+ MCP_SSE_PORT: mcpSsePort,
224
+ HOST: host
225
+ }
217
226
  });
218
227
 
219
228
  mcpServerProc.stdout.on("data", (data) => {
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "automagik-forge",
3
3
  "private": false,
4
- "version": "0.1.8",
4
+ "version": "0.1.10",
5
5
  "main": "index.js",
6
6
  "bin": {
7
7
  "automagik-forge": "bin/cli.js"