import{r as e}from"./delivery-context.shared-j5hC5qb1-BSLQG47q.mjs";import{a as t,c as n,d as r,i,l as a,m as o,n as s,o as c,p as l,r as u,s as d}from"./subagent-registry-steer-runtime-DFgZFC0j-XYS1_qwl.mjs";function f(t){let n=r(d(o),t);return n?{requesterSessionKey:n.requesterSessionKey,requesterOrigin:e(n.requesterOrigin)}:null}function p(e){return n(o,e)}function m(e){return l(d(o),e)}function h(e,t){return a(o,e,t)}function g(e){return c(d(o),e)}function _(e,n){return t(d(o),e,n)}export{u as countActiveDescendantRuns,g as countPendingDescendantRuns,_ as countPendingDescendantRunsExcludingRun,i as getLatestSubagentRunByChildSessionKey,p as isSubagentSessionRunActive,h as listSubagentRunsForRequester,s as replaceSubagentRunAfterSteer,f as resolveRequesterForChildSession,m as shouldIgnorePostCompletionAnnounceForSession};