refactor(agents): hide subagent list helpers · openclaw/openclaw@65b1638
vincentkoc
·
2026-06-17
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -143,7 +143,7 @@ export function buildLatestSubagentRunIndex(
|
143 | 143 | } |
144 | 144 | |
145 | 145 | /** Create a cached descendant counter for repeated list rendering checks. */ |
146 | | -export function createPendingDescendantCounter(runsSnapshot?: Map<string, SubagentRunRecord>) { |
| 146 | +function createPendingDescendantCounter(runsSnapshot?: Map<string, SubagentRunRecord>) { |
147 | 147 | const pendingDescendantCache = new Map<string, number>(); |
148 | 148 | return (sessionKey: string) => { |
149 | 149 | if (pendingDescendantCache.has(sessionKey)) { |
@@ -157,7 +157,7 @@ export function createPendingDescendantCounter(runsSnapshot?: Map<string, Subage
|
157 | 157 | } |
158 | 158 | |
159 | 159 | /** Return whether a run should be shown in the active subagent section. */ |
160 | | -export function isActiveSubagentRun( |
| 160 | +function isActiveSubagentRun( |
161 | 161 | entry: SubagentRunRecord, |
162 | 162 | pendingDescendantCount: (sessionKey: string) => number, |
163 | 163 | ) { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。