UNPKG

arela

Version:

AI-powered CTO with multi-agent orchestration, code summarization, visual testing (web + mobile) for blazing fast development.

61 lines 1.87 kB
import type { TicketStatus } from "../types.js"; export interface AgentStatus { ticketId: string; status: TicketStatus; agent?: string; assignedAt?: string; startedAt?: string; completedAt?: string; failedAt?: string; duration?: number; cost?: number; error?: string; } /** * Load ticket status */ export declare function loadTicketStatus(cwd: string): Promise<Record<string, AgentStatus>>; /** * Save ticket status */ export declare function saveTicketStatus(cwd: string, status: Record<string, AgentStatus>): Promise<void>; /** * Update status for a specific ticket */ export declare function updateTicketStatus(cwd: string, ticketId: string, update: Partial<AgentStatus>): Promise<void>; /** * Mark ticket as in progress */ export declare function markInProgress(cwd: string, ticketId: string, agent: string): Promise<void>; /** * Mark ticket as completed */ export declare function markCompleted(cwd: string, ticketId: string, cost?: number, duration?: number): Promise<void>; /** * Mark ticket as failed */ export declare function markFailed(cwd: string, ticketId: string, error: string): Promise<void>; /** * Check if ticket can be run (not completed or in progress) */ export declare function canRunTicket(cwd: string, ticketId: string, force?: boolean): Promise<boolean>; /** * Get status for a specific ticket */ export declare function getTicketStatus(cwd: string, ticketId: string): Promise<AgentStatus | null>; /** * Reset ticket status */ export declare function resetTicket(cwd: string, ticketId: string): Promise<void>; /** * Reset all tickets */ export declare function resetAllTickets(cwd: string): Promise<void>; /** * Show ticket status (for CLI) */ export declare function showStatus(opts: { cwd: string; verbose?: boolean; }): Promise<void>; //# sourceMappingURL=status.d.ts.map