arela
Version:
AI-powered CTO with multi-agent orchestration, code summarization, visual testing (web + mobile) for blazing fast development.
39 lines • 1.12 kB
TypeScript
import type { AgentName, TicketComplexity, DiscoveredAgent, AgentCapability } from "../types.js";
interface DispatchConfig {
cwd: string;
agent?: AgentName;
tickets?: string[];
dryRun?: boolean;
}
/**
* Get agent capabilities
*/
export declare function getAgentCapabilities(): Record<AgentName, AgentCapability>;
/**
* Select best agent for ticket
*/
export declare function selectBestAgent(complexity: TicketComplexity | undefined, availableAgents: DiscoveredAgent[]): AgentName;
/**
* Estimate cost for ticket
*/
export declare function estimateCost(estimatedTokens: number | undefined, agent: AgentName): {
tokens: number;
cost: number;
};
/**
* Check if ticket dependencies are met
*/
export declare function checkDependencies(cwd: string, ticketId: string, status: Record<string, any>): Promise<{
met: boolean;
blocking: string[];
}>;
/**
* Dispatch tickets to agents
*/
export declare function dispatchTickets(config: DispatchConfig): Promise<{
dispatched: string[];
blocked: string[];
errors: string[];
}>;
export {};
//# sourceMappingURL=dispatch.d.ts.map