feat: optimize subagent list children query
This commit is contained in:
@@ -117,7 +117,7 @@ function CatalogRows({
|
||||
|
||||
const childCatalog = catalogs[entry.id]
|
||||
const isExpanded = expanded.has(entry.id)
|
||||
const knownLeaf = childCatalog?.state === 'ready' && childCatalog.entries.length === 0
|
||||
const knownLeaf = !entry.hasChildren
|
||||
const summary = summaries[entry.id]
|
||||
const label = entry.label ?? entry.id
|
||||
const mode = entry.mode === 'one-shot' ? '一次性' : '可继续'
|
||||
|
||||
Reference in New Issue
Block a user