(
identity: RuntimeMessageRunIdentity,
input: StopSessionInput,
)
| 4788 | } |
| 4789 | |
| 4790 | private stopLinkedRoot( |
| 4791 | identity: RuntimeMessageRunIdentity, |
| 4792 | input: StopSessionInput, |
| 4793 | ): Promise<void> { |
| 4794 | const authority = isRuntimeHostedRootAuthority(this.deps.messageAuthority) |
| 4795 | ? this.deps.messageAuthority |
| 4796 | : undefined; |
| 4797 | return authority |
| 4798 | ? authority.stopRoot(identity, input) |
| 4799 | : this.runtimeKernel.stopSession(identity.sessionId, input); |
| 4800 | } |
| 4801 | |
| 4802 | /** Queue a user message for mid-turn injection at the next step boundary. */ |
| 4803 | steer(sessionId: string, text: string): QueueEnqueueOutcome { |
no test coverage detected