diff --git a/play.ts b/play.ts index 276111c..912acf7 100644 --- a/play.ts +++ b/play.ts @@ -26,7 +26,7 @@ export async function run( prompt, agent: "claude", ...flatMorph(agents, (_, agent) => - agent.inputKeys.map((inputKey) => [inputKey, process.env[inputKey.toUpperCase()]]) + agent.apiKeyNames.map((inputKey) => [inputKey, process.env[inputKey.toUpperCase()]]) ), }; diff --git a/todo.md b/todo.md index 6159893..a7d7984 100644 --- a/todo.md +++ b/todo.md @@ -7,7 +7,6 @@ [] 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)- see https://github.com/colinhacks/zod/issues/5459#issuecomment-3548382991 [] avoid passing all of process.env into agents: minimum # of vars -[] external.ts align to agents [] toon encode in prompt ## MAYBE @@ -35,4 +34,5 @@ [x] entry.js [x] split up prompts, load dynamically based on mode [x] log.txt to stdout -[x] rename mcp to use underscore \ No newline at end of file +[x] rename mcp to use underscore +[x] external.ts align to agents