(callID: string)
| 22 | // A newer turn supersedes stale incomplete rows; never resume an older assistant projection. |
| 23 | const latestAssistantIndex = () => state.messages.findLastIndex((message) => message.type === "assistant") |
| 24 | const activeShellIndex = (callID: string) => |
| 25 | state.messages.findLastIndex((message) => message.type === "shell" && message.callID === callID) |
| 26 | |
| 27 | return { |
| 28 | getCurrentAssistant() { |
no outgoing calls
no test coverage detected