add more codex logic

This commit is contained in:
Shawn Morreau
2025-11-12 19:22:48 -05:00
parent 71698d3e07
commit 7aaebe9584
9 changed files with 948 additions and 907 deletions
+4
View File
@@ -20,11 +20,15 @@ export interface AgentConfig {
githubInstallationToken: string;
prompt: string;
mcpServers: Record<string, McpServerConfig>;
cliPath: string;
}
type InputKey = "anthropic_api_key" | "openai_api_key";
export type Agent = {
install: () => Promise<string>;
run: (config: AgentConfig) => Promise<AgentResult>;
inputKey: InputKey;
};
export const instructions = `