// Left column: agent picker + model params + system prompt.
//
// Skills / MCP toggles used to live here too, but they overlapped with the
// in-composer ChipPicker in chat-panel.jsx (which toggles session-only,
// while these toggled agent.enabledSkills / enabledMCPs as the agent
// default). The chat surface picker is enough for day-to-day toggling;
// editing the agent's persistent defaults is a Manage-page concern (same
// reason "New agent" was moved to Manage in PR pg-new-agent-to-manage).
// Removed here 2026-06-06 per user request.
function AgentPicker({ agents, activeId, onSelect, onAdd }) {
return (
Agents
{agents.map((a) => (
onSelect(a.id)}
>
{a.initials}
{a.name}
{a.desc}
))}
{/* PR pg-new-agent-to-manage: "+ New agent" now navigates to
/manage?new=agent (Manage page picks up the hint to open the
creation form). "Browse" removed — Manage is the single place
for agent CRUD; having both inline-create and "browse" in
Playground was redundant + the inline path skipped the proper
naming/system-prompt fields. */}