Support running multiple Yaak instances via git worktrees (#341)

This commit is contained in:
Gregory Schier
2026-01-03 09:31:35 -08:00
committed by GitHub
parent 11694921e3
commit 52f7447f85
9 changed files with 425 additions and 47 deletions

View File

@@ -1,7 +1,7 @@
import type { Context, PluginDefinition } from '@yaakapp/api';
import { createMcpServer } from './server.js';
const serverPort = 64343;
const serverPort = parseInt(process.env.YAAK_PLUGIN_MCP_SERVER_PORT ?? '64343', 10);
let mcpServer: Awaited<ReturnType<typeof createMcpServer>> | null = null;