diff --git a/agents/instructions.ts b/agents/instructions.ts index 65cfc7a..2a9fc7d 100644 --- a/agents/instructions.ts +++ b/agents/instructions.ts @@ -1,6 +1,6 @@ +import type { Payload } from "../external.ts"; import { ghPullfrogMcpName } from "../mcp/index.ts"; import { modes } from "../modes.ts"; -import type { Payload } from "../payload.ts"; export const addInstructions = (payload: Payload) => `************* GENERAL INSTRUCTIONS ************* diff --git a/agents/shared.ts b/agents/shared.ts index ce2e296..5a36399 100644 --- a/agents/shared.ts +++ b/agents/shared.ts @@ -5,7 +5,7 @@ import { tmpdir } from "node:os"; import { join } from "node:path"; import { pipeline } from "node:stream/promises"; import type { McpStdioServerConfig } from "@anthropic-ai/claude-agent-sdk"; -import type { Payload } from "../payload.ts"; +import type { Payload } from "../external.ts"; import { log } from "../utils/cli.ts"; /** diff --git a/payload.ts b/external.ts similarity index 100% rename from payload.ts rename to external.ts diff --git a/main.ts b/main.ts index d4ccdd2..2218d7e 100644 --- a/main.ts +++ b/main.ts @@ -1,10 +1,10 @@ import { flatMorph } from "@ark/util"; import { type } from "arktype"; import { agents } from "./agents/index.ts"; +import type { Payload } from "./external.ts"; import { createMcpConfigs } from "./mcp/config.ts"; import { modes } from "./modes.ts"; import packageJson from "./package.json" with { type: "json" }; -import type { Payload } from "./payload.ts"; import { fetchRepoSettings } from "./utils/api.ts"; import { log } from "./utils/cli.ts"; import { diff --git a/todo.md b/todo.md index 4d6fe19..5086370 100644 --- a/todo.md +++ b/todo.md @@ -5,7 +5,7 @@ [] handle defaulting agent name value [] test agent/mode combinations [] test if home directory mcp.json works if mcp.json is specified in repo -[] add footer to the working comment ("executed by {agent}", link to pullfrog (homepage) w/ small logo?, feedback (create github issue), link to workflow run) +[] add footer to the working comment ("executed by {agent}", link to pullfrog (homepage) w/ small logo?, feedback (create github issue), link to workflow run)- see https://github.com/colinhacks/zod/issues/5459#issuecomment-3548382991 ## MAYBE