export interface Member {
	agentId: string;
	name: string;
	agentType: string;
	model?: string;
	joinedAt: number;
	tmuxPaneId: string;
	windowId?: string;
	cwd: string;
	subscriptions: any[];
	prompt?: string;
	color?: string;
	thinking?: "off" | "minimal" | "low" | "medium" | "high";
	planModeRequired?: boolean;
	backendType?: string;
	isActive?: boolean;
}

export interface TeamConfig {
	name: string;
	description: string;
	createdAt: number;
	leadAgentId: string;
	leadSessionId: string;
	members: Member[];
	defaultModel?: string;
	separateWindows?: boolean;
}

export interface TaskFile {
	id: string;
	subject: string;
	description: string;
	activeForm?: string;
	status: "pending" | "planning" | "in_progress" | "completed" | "deleted";
	plan?: string;
	planFeedback?: string;
	blocks: string[];
	blockedBy: string[];
	owner?: string;
	metadata?: Record<string, any>;
}

export interface InboxMessage {
	from: string;
	text: string;
	timestamp: string;
	read: boolean;
	summary?: string;
	color?: string;
}
