+
+ {AGENT_ROLE_ICONS[agent.role] ?? '๐ค'}
+ updateAgent(activeGroupId, agent.id, { name: (e.target as HTMLInputElement).value })}
+ />
+ {agent.role}
+
+
+
+
+
+
+ Working Directory
+
+
+
+
+
+
+
+ Model
+
+ updateAgent(activeGroupId, agent.id, { model: (e.target as HTMLInputElement).value || undefined })}
+ />
+
+
+ {#if agent.role === 'manager'}
+
+
+
+ Wake Interval
+
+
+ updateAgent(activeGroupId, agent.id, { wakeIntervalMin: parseInt((e.target as HTMLInputElement).value) })}
+ />
+ {agent.wakeIntervalMin ?? 3} min
+
+
+ {/if}
+
+
+
+
+ Custom Context
+
+
+
+
+
+
+
+ Preview full introductory prompt
+
+ {generateAgentPrompt({
+ role: agent.role as GroupAgentRole,
+ agentId: agent.id,
+ agentName: agent.name,
+ group: activeGroup,
+ customPrompt: agent.systemPrompt,
+ })}
+
+