From 2c2f7cfe3065776aa4148a120b6f7ce698d06e36 Mon Sep 17 00:00:00 2001 From: Shawn Morreau Date: Thu, 11 Dec 2025 15:06:32 -0500 Subject: [PATCH] remove top level import --- mcp/comment.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mcp/comment.ts b/mcp/comment.ts index 77c5394..2713988 100644 --- a/mcp/comment.ts +++ b/mcp/comment.ts @@ -1,6 +1,5 @@ import { Octokit } from "@octokit/rest"; import { type } from "arktype"; -import { LEAPING_INTO_ACTION_PREFIX } from "../../utils/github/leapingComment.ts"; import type { Payload } from "../external.ts"; import { agentsManifest } from "../external.ts"; import { fetchWorkflowRunInfo } from "../utils/api.ts"; @@ -9,6 +8,13 @@ import { contextualize, getMcpContext, tool } from "./shared.ts"; const PULLFROG_DIVIDER = ""; +/** + * The prefix text for the initial "leaping into action" comment. + * This is used to identify if a comment is still in its initial state + * and hasn't been updated with progress or error messages. + */ +export const LEAPING_INTO_ACTION_PREFIX = "Leaping into action"; + function buildCommentFooter(payload: Payload): string { const repoContext = parseRepoContext(); const runId = process.env.GITHUB_RUN_ID;