




















@@ -21,16 +21,7 @@ import {
2121waitForAgentRunAndReadUpdatedAssistantReply,
2222} from "./run-wait.js";
2323import { resolveStoredSubagentCapabilities } from "./subagent-capabilities.js";
24-import {
25-buildLatestSubagentRunIndex,
26-buildSubagentList,
27-createPendingDescendantCounter,
28-isActiveSubagentRun,
29-resolveSessionEntryForKey,
30-type BuiltSubagentList,
31-type SessionEntryResolution,
32-type SubagentListItem,
33-} from "./subagent-list.js";
24+import { buildLatestSubagentRunIndex, resolveSessionEntryForKey } from "./subagent-list.js";
3425import { subagentRuns } from "./subagent-registry-memory.js";
3526import {
3627getLatestSubagentRunByChildSessionKey,
@@ -50,8 +41,8 @@ import { resolveInternalSessionKey, resolveMainSessionAlias } from "./tools/sess
5041export const DEFAULT_RECENT_MINUTES = 30;
5142export const MAX_RECENT_MINUTES = 24 * 60;
5243export const MAX_STEER_MESSAGE_CHARS = 4_000;
53-export const STEER_RATE_LIMIT_MS = 2_000;
54-export const STEER_ABORT_SETTLE_TIMEOUT_MS = 5_000;
44+const STEER_RATE_LIMIT_MS = 2_000;
45+const STEER_ABORT_SETTLE_TIMEOUT_MS = 5_000;
5546const SUBAGENT_REPLY_HISTORY_LIMIT = 50;
56475748const steerRateLimit = new Map<string, number>();
@@ -104,14 +95,6 @@ export type ResolvedSubagentController = {
10495callerIsSubagent: boolean;
10596controlScope: "children" | "none";
10697};
107-export type { BuiltSubagentList, SessionEntryResolution, SubagentListItem };
108-export {
109-buildSubagentList,
110-createPendingDescendantCounter,
111-isActiveSubagentRun,
112-resolveSessionEntryForKey,
113-};
114-11598export function resolveSubagentController(params: {
11699cfg: OpenClawConfig;
117100agentSessionKey?: string;
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。