refactor main
This commit is contained in:
@@ -6,6 +6,8 @@ import { gemini } from "./gemini.ts";
|
||||
import { opencode } from "./opencode.ts";
|
||||
import type { Agent } from "./shared.ts";
|
||||
|
||||
export type { Agent } from "./shared.ts";
|
||||
|
||||
export const agents = {
|
||||
claude,
|
||||
codex,
|
||||
|
||||
+1
-1
@@ -506,7 +506,7 @@ export const agent = <const input extends AgentInput>(input: input): defineAgent
|
||||
|
||||
export interface AgentInput {
|
||||
name: AgentName;
|
||||
install: () => Promise<string>;
|
||||
install: (token?: string) => Promise<string>;
|
||||
run: (config: AgentConfig) => Promise<AgentResult>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user