@bobmatnyc/claude-pm-portfolio-manager
Version:
Claude PM Portfolio Management Dashboard - React-based monitoring and reporting for Claude PM managed projects
24 lines (23 loc) • 1.4 kB
TypeScript
import { Agent, AgentActivity, AgentAssignmentRequest, AgentAssignmentResponse, AgentRegistry, AgentRoleType, AgentStatus, Assignment, AgentCapacityInfo } from '../types/agent';
export declare class AgentService {
private static instance;
private agentRegistry;
private lastUpdate;
private readonly updateInterval;
static getInstance(): AgentService;
private getAgentRoleDefinition;
private generateMockAgent;
getAgentRegistry(projectPath?: string): Promise<AgentRegistry>;
private parseAgentData;
getAgentById(agentId: string, projectPath?: string): Promise<Agent | null>;
getAgentsByRole(roleType: AgentRoleType, projectPath?: string): Promise<Agent[]>;
getAgentsByStatus(status: AgentStatus, projectPath?: string): Promise<Agent[]>;
getAgentAssignments(agentId: string, projectPath?: string): Promise<Assignment[]>;
getAgentActivity(agentId: string, limit?: number, projectPath?: string): Promise<AgentActivity[]>;
private generateMockActivity;
assignAgentToTicket(request: AgentAssignmentRequest, projectPath?: string): Promise<AgentAssignmentResponse>;
getProjectAgents(projectPath?: string): Promise<Agent[]>;
getAgentCapacityInfo(agentId: string, projectPath?: string): Promise<AgentCapacityInfo | null>;
refreshAgentRegistry(projectPath?: string): Promise<void>;
}
export declare const agentService: AgentService;