diff --git a/mcp/config.ts b/mcp/config.ts index e549e89..4f25d39 100644 --- a/mcp/config.ts +++ b/mcp/config.ts @@ -5,8 +5,7 @@ import type { McpServerConfig } from "@anthropic-ai/claude-agent-sdk"; import { fromHere } from "@ark/fs"; import { parseRepoContext } from "../utils/github.ts"; - -export const ghPullfrogMcpName = "gh-pullfrog"; +import { ghPullfrogMcpName } from "./index.ts"; export type McpName = typeof ghPullfrogMcpName; diff --git a/mcp/index.ts b/mcp/index.ts new file mode 100644 index 0000000..368769c --- /dev/null +++ b/mcp/index.ts @@ -0,0 +1,4 @@ +// for reasos this can't live alongide config.ts +// because its imported into the frontend UI +// and we don't want to pull in FastMCP, etc +export const ghPullfrogMcpName = "gh-pullfrog"; diff --git a/modes.ts b/modes.ts index 6364f21..80034d3 100644 --- a/modes.ts +++ b/modes.ts @@ -1,4 +1,4 @@ -import { ghPullfrogMcpName } from "./mcp/config.ts"; +import { ghPullfrogMcpName } from "./mcp/index.ts"; export const modes = [ {