@@ -526,17 +987,28 @@ const Subagents: React.FC = () => {
{registryItems.map((item) => (
{item.agent_id || '-'} · {item.role || '-'} · {item.enabled ? t('active') : t('paused')}
-
{item.type || '-'} · {item.display_name || '-'}
+
{item.type || '-'} · {item.transport || 'local'} · {item.display_name || '-'}
+ {(item.node_id || item.parent_agent_id || item.managed_by) && (
+
+ {item.node_id ? `node=${item.node_id}` : ''}
+ {item.node_id && item.parent_agent_id ? ' · ' : ''}
+ {item.parent_agent_id ? `parent=${item.parent_agent_id}` : ''}
+ {(item.node_id || item.parent_agent_id) && item.managed_by ? ' · ' : ''}
+ {item.managed_by ? `source=${item.managed_by}` : ''}
+
+ )}
{item.system_prompt_file || '-'}
{item.prompt_file_found ? t('promptFileReady') : t('promptFileMissing')}
{item.system_prompt || item.description || '-'}
{(item.routing_keywords || []).join(', ') || '-'}
-
- {item.agent_id !== 'main' && (
+ {item.managed_by === 'config.json' && (
+
+ )}
+ {item.managed_by === 'config.json' && item.agent_id !== 'main' && (
)}
@@ -548,13 +1020,6 @@ const Subagents: React.FC = () => {
{t('configSubagentDraft')}
-
-
-
-
{t('pendingSubagentDrafts')}
-
-
-
- {pendingDrafts.map((item) => (
-
-
{item.draft?.agent_id || '-'} · {item.draft?.role || '-'}
-
session: {item.session_key || '-'}
-
{item.draft?.system_prompt || item.draft?.description || '-'}
-
-
-
-
-
-
- ))}
- {pendingDrafts.length === 0 &&
{t('noPendingSubagentDrafts')}
}
-
-
-