MASSIVE IMPROVCE

This commit is contained in:
David Blass
2025-11-12 19:57:34 -05:00
parent aff634af29
commit 9588ffd4b6
7 changed files with 155 additions and 167 deletions
+5 -2
View File
@@ -23,12 +23,15 @@ export interface AgentConfig {
cliPath: string;
}
type InputKey = "anthropic_api_key" | "openai_api_key";
export const agent = <const agent extends Agent>(agent: agent): agent => {
return agent;
};
export type Agent = {
name: string;
inputKey: string;
install: () => Promise<string>;
run: (config: AgentConfig) => Promise<AgentResult>;
inputKey: InputKey;
};
export const instructions = `