From 47716aa11914e7509f4a6305e9cd7765f1bb3e0e Mon Sep 17 00:00:00 2001 From: Colin McDonnell Date: Thu, 13 Nov 2025 17:16:36 -0800 Subject: [PATCH] Fix outer build --- mcp/config.ts | 3 +-- mcp/index.ts | 4 ++++ modes.ts | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 mcp/index.ts 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 = [ {