import type { PBLAgent, PBLProjectInfo } from '@/lib/pbl/types'; import { useI18n } from '@/lib/hooks/use-i18n'; import { PBLGuideInline } from './guide'; interface PBLRoleSelectionProps { readonly projectInfo: PBLProjectInfo; readonly agents: PBLAgent[]; readonly onSelectRole: (agentName: string) => void; } export function PBLRoleSelection({ projectInfo, agents, onSelectRole }: PBLRoleSelectionProps) { const { t } = useI18n(); // Only show non-system development roles const selectableAgents = agents.filter( (a) => !a.is_system_agent && a.role_division === 'development', ); return (
{projectInfo.description}
{t('pbl.roleSelection.description')}