update instructions fixtures and comment handling

This commit is contained in:
Colin McDonnell
2025-11-20 18:58:20 -08:00
parent 550a162ca6
commit 595b246235
6 changed files with 34 additions and 19 deletions
+2 -1
View File
@@ -12,6 +12,7 @@ import { log } from "./utils/cli.ts";
import { setupTestRepo } from "./utils/setup.ts";
config();
config({ path: join(process.cwd(), "../.env") });
export async function run(prompt: string): Promise<AgentResult> {
try {
@@ -26,7 +27,7 @@ export async function run(prompt: string): Promise<AgentResult> {
// we don't need to extract it here since main() will parse the payload
const inputs: Required<Inputs> = {
prompt,
defaultAgent: undefined,
defaultAgent: "cursor",
...flatMorph(agents, (_, agent) =>
agent.apiKeyNames.map((inputKey) => [inputKey, process.env[inputKey.toUpperCase()]])
),