Files
oh-my-opencode/dist/hooks/runtime-fallback/agent-resolver.d.ts
T
2026-03-14 04:56:50 +00:00

6 lines
373 B
TypeScript

export declare const AGENT_NAMES: string[];
export declare const agentPattern: RegExp;
export declare function detectAgentFromSession(sessionID: string): string | undefined;
export declare function normalizeAgentName(agent: string | undefined): string | undefined;
export declare function resolveAgentForSession(sessionID: string, eventAgent?: string): string | undefined;