automagik-forge 0.2.9-beta.1 → 0.2.9-beta.2
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 +3 -3
- package/package.json +1 -1
package/bin/cli.js
CHANGED
@@ -218,7 +218,7 @@ function extractAndRun(baseName, launch) {
|
|
218
218
|
}
|
219
219
|
|
220
220
|
if (isMcpMode || isMcpSseMode) {
|
221
|
-
extractAndRun("
|
221
|
+
extractAndRun("mcp_task_server", (bin) => {
|
222
222
|
const mcpArgs = isMcpSseMode ? ["--mcp-sse"] : ["--mcp"];
|
223
223
|
console.log(`Starting MCP server with ${isMcpSseMode ? 'SSE + STDIO' : 'STDIO'} transport...`);
|
224
224
|
|
@@ -245,7 +245,7 @@ if (isMcpMode || isMcpSseMode) {
|
|
245
245
|
});
|
246
246
|
} else {
|
247
247
|
// Start both main backend server and MCP SSE server concurrently
|
248
|
-
console.log(`📦 Extracting automagik-forge and
|
248
|
+
console.log(`📦 Extracting automagik-forge and mcp_task_server...`);
|
249
249
|
|
250
250
|
// Environment variables are loaded from .env file
|
251
251
|
// Use safe defaults (localhost only) unless overridden
|
@@ -310,7 +310,7 @@ if (isMcpMode || isMcpSseMode) {
|
|
310
310
|
});
|
311
311
|
|
312
312
|
// Extract and start MCP SSE server
|
313
|
-
extractAndRun("
|
313
|
+
extractAndRun("mcp_task_server", (mcpBin) => {
|
314
314
|
console.log(`🚀 Starting MCP SSE server on http://${host}:${mcpSsePort}/sse...`);
|
315
315
|
mcpServerProc = spawn(mcpBin, ["--mcp-sse"], {
|
316
316
|
stdio: ["pipe", "pipe", "pipe"],
|