@@ -21,16 +21,7 @@ import {
2121 waitForAgentRunAndReadUpdatedAssistantReply ,
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 {
3627 getLatestSubagentRunByChildSessionKey ,
@@ -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 ;
5647
5748const steerRateLimit = new Map < string , number > ( ) ;
@@ -104,14 +95,6 @@ export type ResolvedSubagentController = {
10495 callerIsSubagent : boolean ;
10596 controlScope : "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 : {
11699 cfg : OpenClawConfig ;
117100 agentSessionKey ?: string ;
0 commit comments